makecoder 4.0.56 → 4.0.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/cc.mjs +2 -2
  2. package/dist/coder.js +39 -39
  3. package/dist/darwin-arm64/cc.js +2 -2
  4. package/dist/darwin-x64/cc.js +2 -2
  5. package/dist/gemini/{chunk-P6AAZN7C.js → chunk-266SNVZB.js} +1 -1
  6. package/dist/gemini/{chunk-C7WYZFGG.js → chunk-2AH4XFVC.js} +2 -2
  7. package/dist/gemini/{chunk-YHLOYN7E.js → chunk-2BCRFXVD.js} +1 -1
  8. package/dist/gemini/{chunk-GMCQZQGQ.js → chunk-2I73JSEP.js} +3 -3
  9. package/dist/gemini/{chunk-VVPG7N67.js → chunk-3AZIBTSH.js} +1 -1
  10. package/dist/gemini/{chunk-UC3K4MCZ.js → chunk-7U34TXLX.js} +1 -1
  11. package/dist/gemini/{chunk-LA23QQDZ.js → chunk-C7ISM6PN.js} +1 -1
  12. package/dist/gemini/{chunk-QQRA4YFW.js → chunk-FJ6IIWF5.js} +1 -1
  13. package/dist/gemini/{chunk-QCMDS3PD.js → chunk-JKCNEXJF.js} +3 -3
  14. package/dist/gemini/{chunk-JNCEWGIV.js → chunk-JX43KPLT.js} +1 -1
  15. package/dist/gemini/{chunk-RKJKHDZC.js → chunk-P6YMHMJL.js} +1 -1
  16. package/dist/gemini/{chunk-HCTUJMZR.js → chunk-PZSSXHHP.js} +1 -1
  17. package/dist/gemini/{chunk-YG6QM4WI.js → chunk-QTFKUXKM.js} +1 -1
  18. package/dist/gemini/{chunk-MUVQ2FAZ.js → chunk-QYJUTNIU.js} +1 -1
  19. package/dist/gemini/{chunk-ZJ2D6ILW.js → chunk-STX7FBUU.js} +1 -1
  20. package/dist/gemini/{chunk-NJ4BSMX7.js → chunk-YJXXYFOM.js} +2 -2
  21. package/dist/gemini/{cleanup-S2LRI2Y4.js → cleanup-HVASUFMM.js} +1 -1
  22. package/dist/gemini/{cleanup-ZZNAJRKJ.js → cleanup-MJ7HQT46.js} +1 -1
  23. package/dist/gemini/{core-C22BYMS6.js → core-EOYLD74V.js} +1 -1
  24. package/dist/gemini/{devtoolsService-EGQAB3JU.js → devtoolsService-B7SSRNHW.js} +2 -2
  25. package/dist/gemini/{devtoolsService-YXEESS76.js → devtoolsService-FLOV3S5Z.js} +2 -2
  26. package/dist/gemini/{dist-X3AUJEIX.js → dist-NVGK4PVU.js} +1 -1
  27. package/dist/gemini/{gemini-X6HMGNFO.js → gemini-2Z2AJTYC.js} +5 -5
  28. package/dist/gemini/{gemini-ENBHDO7W.js → gemini-DRGPGRHF.js} +5 -5
  29. package/dist/gemini/gemini.js +2 -2
  30. package/dist/gemini/{interactiveCli-SZJWTGR5.js → interactiveCli-4K2UKYKF.js} +3 -3
  31. package/dist/gemini/{interactiveCli-CI6V7WL5.js → interactiveCli-TAIO5CBT.js} +9 -9
  32. package/dist/gemini/{liteRtServerManager-J7BSXFBK.js → liteRtServerManager-TUTNSHFW.js} +1 -1
  33. package/dist/gemini/{liteRtServerManager-BDF74U3A.js → liteRtServerManager-XJXZSOE7.js} +1 -1
  34. package/dist/gemini/{oauth2-provider-P65NTFUD.js → oauth2-provider-NEH5B4N6.js} +1 -1
  35. package/dist/gemini/{oauth2-provider-3MTIBHLN.js → oauth2-provider-QU5NILIP.js} +1 -1
  36. package/dist/gemini/{start-DYZJFE46.js → start-SOY6W5ZY.js} +1 -1
  37. package/dist/gemini/{start-KAI6HBJ2.js → start-TUGBMFO3.js} +1 -1
  38. package/dist/linux-x64/cc.js +2 -2
  39. package/dist/win32-x64/cc.js +2 -2
  40. package/package.json +5 -5
  41. package/packages/mcp-channel/wecom/package-lock.json +1313 -0
  42. package/scripts/postinstall.js +12 -12
  43. package/claude/commands/dev/ultra-think.md +0 -153
  44. package/claude/commands/docs/generate-api-documentation.md +0 -80
  45. package/claude/commands/git/commit.md +0 -63
  46. package/claude/commands/git/status.md +0 -39
  47. package/claude/commands/setup/migrate-to-typescript.md +0 -76
  48. package/claude/commands/test/generate-test-cases.md +0 -76
  49. /package/{claude → packages}/mcp-channel/wecom/.mcp.json +0 -0
  50. /package/{claude → packages}/mcp-channel/wecom/package.json +0 -0
  51. /package/{claude → packages}/mcp-channel/wecom/server.js +0 -0
@@ -86,21 +86,21 @@ function main() {
86
86
  }
87
87
 
88
88
  const homeDir = os.homedir();
89
- const claudeDestDir = path.join(homeDir, '.claude');
90
- const claudeSrcDir = path.join(__dirname, '..', 'claude');
91
-
92
- if (!fs.existsSync(claudeSrcDir)) {
93
- console.log('Claude directory not found, skipping postinstall setup');
89
+ const coderDestDir = path.join(homeDir, '.coder');
90
+ const coderSrcDir = path.join(__dirname, '..', 'packages');
91
+
92
+ if (!fs.existsSync(coderSrcDir)) {
93
+ console.log('Source directory not found, skipping postinstall setup');
94
94
  return;
95
95
  }
96
-
97
- if (!fs.existsSync(claudeDestDir)) {
98
- fs.mkdirSync(claudeDestDir, { recursive: true });
99
- console.log('Created .claude directory in home folder');
96
+
97
+ if (!fs.existsSync(coderDestDir)) {
98
+ fs.mkdirSync(coderDestDir, { recursive: true });
99
+ console.log('Created .coder directory in home folder');
100
100
  }
101
-
102
- copyRecursive(claudeSrcDir, claudeDestDir);
103
- console.log('Successfully copied claude configuration files to ~/.claude (existing files overwritten)');
101
+
102
+ copyRecursive(coderSrcDir, coderDestDir);
103
+ console.log('Successfully copied configuration files to ~/.coder (existing files overwritten)');
104
104
 
105
105
  } catch (error) {
106
106
  console.error('Error during postinstall setup:', error.message);
@@ -1,153 +0,0 @@
1
- # Deep Analysis and Problem Solving Mode
2
-
3
- Deep analysis and problem solving mode
4
-
5
- ## Instructions
6
-
7
- 1. **Initialize Ultra Think Mode**
8
- - Acknowledge the request for enhanced analytical thinking
9
- - Set context for deep, systematic reasoning
10
- - Prepare to explore the problem space comprehensively
11
-
12
- 2. **Parse the Problem or Question**
13
- - Extract the core challenge from: **$ARGUMENTS**
14
- - Identify all stakeholders and constraints
15
- - Recognize implicit requirements and hidden complexities
16
- - Question assumptions and surface unknowns
17
-
18
- 3. **Multi-Dimensional Analysis**
19
- Approach the problem from multiple angles:
20
-
21
- ### Technical Perspective
22
- - Analyze technical feasibility and constraints
23
- - Consider scalability, performance, and maintainability
24
- - Evaluate security implications
25
- - Assess technical debt and future-proofing
26
-
27
- ### Business Perspective
28
- - Understand business value and ROI
29
- - Consider time-to-market pressures
30
- - Evaluate competitive advantages
31
- - Assess risk vs. reward trade-offs
32
-
33
- ### User Perspective
34
- - Analyze user needs and pain points
35
- - Consider usability and accessibility
36
- - Evaluate user experience implications
37
- - Think about edge cases and user journeys
38
-
39
- ### System Perspective
40
- - Consider system-wide impacts
41
- - Analyze integration points
42
- - Evaluate dependencies and coupling
43
- - Think about emergent behaviors
44
-
45
- 4. **Generate Multiple Solutions**
46
- - Brainstorm at least 3-5 different approaches
47
- - For each approach, consider:
48
- - Pros and cons
49
- - Implementation complexity
50
- - Resource requirements
51
- - Potential risks
52
- - Long-term implications
53
- - Include both conventional and creative solutions
54
- - Consider hybrid approaches
55
-
56
- 5. **Deep Dive Analysis**
57
- For the most promising solutions:
58
- - Create detailed implementation plans
59
- - Identify potential pitfalls and mitigation strategies
60
- - Consider phased approaches and MVPs
61
- - Analyze second and third-order effects
62
- - Think through failure modes and recovery
63
-
64
- 6. **Cross-Domain Thinking**
65
- - Draw parallels from other industries or domains
66
- - Apply design patterns from different contexts
67
- - Consider biological or natural system analogies
68
- - Look for innovative combinations of existing solutions
69
-
70
- 7. **Challenge and Refine**
71
- - Play devil's advocate with each solution
72
- - Identify weaknesses and blind spots
73
- - Consider "what if" scenarios
74
- - Stress-test assumptions
75
- - Look for unintended consequences
76
-
77
- 8. **Synthesize Insights**
78
- - Combine insights from all perspectives
79
- - Identify key decision factors
80
- - Highlight critical trade-offs
81
- - Summarize innovative discoveries
82
- - Present a nuanced view of the problem space
83
-
84
- 9. **Provide Structured Recommendations**
85
- Present findings in a clear structure:
86
- ```
87
- ## Problem Analysis
88
- - Core challenge
89
- - Key constraints
90
- - Critical success factors
91
-
92
- ## Solution Options
93
- ### Option 1: [Name]
94
- - Description
95
- - Pros/Cons
96
- - Implementation approach
97
- - Risk assessment
98
-
99
- ### Option 2: [Name]
100
- [Similar structure]
101
-
102
- ## Recommendation
103
- - Recommended approach
104
- - Rationale
105
- - Implementation roadmap
106
- - Success metrics
107
- - Risk mitigation plan
108
-
109
- ## Alternative Perspectives
110
- - Contrarian view
111
- - Future considerations
112
- - Areas for further research
113
- ```
114
-
115
- 10. **Meta-Analysis**
116
- - Reflect on the thinking process itself
117
- - Identify areas of uncertainty
118
- - Acknowledge biases or limitations
119
- - Suggest additional expertise needed
120
- - Provide confidence levels for recommendations
121
-
122
- ## Usage Examples
123
-
124
- ```bash
125
- # Architectural decision
126
- /project:ultra-think Should we migrate to microservices or improve our monolith?
127
-
128
- # Complex problem solving
129
- /project:ultra-think How do we scale our system to handle 10x traffic while reducing costs?
130
-
131
- # Strategic planning
132
- /project:ultra-think What technology stack should we choose for our next-gen platform?
133
-
134
- # Design challenge
135
- /project:ultra-think How can we improve our API to be more developer-friendly while maintaining backward compatibility?
136
- ```
137
-
138
- ## Key Principles
139
-
140
- - **First Principles Thinking**: Break down to fundamental truths
141
- - **Systems Thinking**: Consider interconnections and feedback loops
142
- - **Probabilistic Thinking**: Work with uncertainties and ranges
143
- - **Inversion**: Consider what to avoid, not just what to do
144
- - **Second-Order Thinking**: Consider consequences of consequences
145
-
146
- ## Output Expectations
147
-
148
- - Comprehensive analysis (typically 2-4 pages of insights)
149
- - Multiple viable solutions with trade-offs
150
- - Clear reasoning chains
151
- - Acknowledgment of uncertainties
152
- - Actionable recommendations
153
- - Novel insights or perspectives
@@ -1,80 +0,0 @@
1
- # Generate API Documentation
2
-
3
- Auto-generate API reference documentation
4
-
5
- ## Instructions
6
-
7
- 1. **API Documentation Strategy Analysis**
8
- - Analyze current API structure and endpoints
9
- - Identify documentation requirements (REST, GraphQL, gRPC, etc.)
10
- - Assess existing code annotations and documentation
11
- - Determine documentation output formats and hosting requirements
12
- - Plan documentation automation and maintenance strategy
13
-
14
- 2. **Documentation Tool Selection**
15
- - Choose appropriate API documentation tools:
16
- - **OpenAPI/Swagger**: REST API documentation with Swagger UI
17
- - **Redoc**: Modern OpenAPI documentation renderer
18
- - **GraphQL**: GraphiQL, Apollo Studio, GraphQL Playground
19
- - **Postman**: API documentation with collections
20
- - **Insomnia**: API documentation and testing
21
- - **API Blueprint**: Markdown-based API documentation
22
- - **JSDoc/TSDoc**: Code-first documentation generation
23
- - Consider factors: API type, team workflow, hosting, interactivity
24
-
25
- 3. **Code Annotation and Schema Definition**
26
- - Add comprehensive code annotations for API endpoints
27
- - Define request/response schemas and data models
28
- - Add parameter descriptions and validation rules
29
- - Document authentication and authorization requirements
30
- - Add example requests and responses
31
-
32
- 4. **API Specification Generation**
33
- - Set up automated API specification generation from code
34
- - Configure OpenAPI/Swagger specification generation
35
- - Set up schema validation and consistency checking
36
- - Configure API versioning and changelog generation
37
- - Set up specification file management and version control
38
-
39
- 5. **Interactive Documentation Setup**
40
- - Configure interactive API documentation with try-it-out functionality
41
- - Set up API testing and example execution
42
- - Configure authentication handling in documentation
43
- - Set up request/response validation and examples
44
- - Configure API endpoint categorization and organization
45
-
46
- 6. **Documentation Content Enhancement**
47
- - Add comprehensive API guides and tutorials
48
- - Create authentication and authorization documentation
49
- - Add error handling and status code documentation
50
- - Create SDK and client library documentation
51
- - Add rate limiting and usage guidelines
52
-
53
- 7. **Documentation Hosting and Deployment**
54
- - Set up documentation hosting and deployment
55
- - Configure documentation website generation and styling
56
- - Set up custom domain and SSL configuration
57
- - Configure documentation search and navigation
58
- - Set up documentation analytics and usage tracking
59
-
60
- 8. **Automation and CI/CD Integration**
61
- - Configure automated documentation generation in CI/CD pipeline
62
- - Set up documentation deployment automation
63
- - Configure documentation validation and quality checks
64
- - Set up documentation change detection and notifications
65
- - Configure documentation testing and link validation
66
-
67
- 9. **Multi-format Documentation Generation**
68
- - Generate documentation in multiple formats (HTML, PDF, Markdown)
69
- - Set up downloadable documentation packages
70
- - Configure offline documentation access
71
- - Set up documentation API for programmatic access
72
- - Configure documentation syndication and distribution
73
-
74
- 10. **Maintenance and Quality Assurance**
75
- - Set up documentation quality monitoring and validation
76
- - Configure documentation feedback and improvement workflows
77
- - Set up documentation analytics and usage metrics
78
- - Create documentation maintenance procedures and guidelines
79
- - Train team on documentation best practices and tools
80
- - Set up documentation review and approval processes
@@ -1,63 +0,0 @@
1
- # Commit
2
-
3
- Create well-formatted commits with conventional commit messages and emojis.
4
-
5
- ## Features:
6
-
7
- - Runs pre-commit checks by default (lint, build, generate docs)
8
- - Automatically stages files if none are staged
9
- - Uses conventional commit format with descriptive emojis
10
- - Suggests splitting commits for different concerns
11
- - Maintain good submission formatting, do not include invisible characters in submissions, use utf-8 encoding for submissions
12
- - NEVER include ANSI color codes or escape sequences in commit messages
13
- - Do NOT add "🤖 Generated with [Claude Code]" or "Co-Authored-By: Claude" signatures to commit messages
14
-
15
- ## Usage:
16
-
17
- - `/commit` - Standard commit with pre-commit checks
18
- - `/commit --no-verify` - Skip pre-commit checks
19
-
20
- ## Commit Types:
21
-
22
- | Emoji | Devmoji Code | Description |
23
- | ---------------------- | ----------------- | ----------------------------------------------------------------------------------------------------------------- |
24
- | :sparkles: | `:feat:` | **feat:** a new feature |
25
- | :bug: | `:fix:` | **fix:** a bug fix |
26
- | :books: | `:docs:` | **docs:** documentation only changes |
27
- | :art: | `:style:` | **style:** changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) |
28
- | :recycle: | `:refactor:` | **refactor:** a code change that neither fixes a bug nor adds a feature |
29
- | :zap: | `:perf:` | **perf:** a code change that improves performance |
30
- | :rotating_light: | `:test:` | **test:** adding missing or correcting existing tests |
31
- | :wrench: | `:chore:` | **chore:** changes to the build process or auxiliary tools and libraries such as documentation generation |
32
- | :rocket: | `:chore-release:` | **chore(release):** code deployment or publishing to external repositories |
33
- | :link: | `:chore-deps:` | **chore(deps):** add or delete dependencies |
34
- | :package: | `:build:` | **build:** changes related to build processes |
35
- | :construction_worker: | `:ci:` | **ci:** updates to the continuous integration system |
36
- | :rocket: | `:release:` | code deployment or publishing to external repositories |
37
- | :lock: | `:security:` | Fixing security issues. |
38
- | :globe_with_meridians: | `:i18n:` | Internationalization and localization. |
39
- | :boom: | `:breaking:` | Introducing breaking changes. |
40
- | :gear: | `:config:` | Changing configuration files. |
41
- | :heavy_plus_sign: | `:add:` | add something |
42
- | :heavy_minus_sign: | `:remove:` | remove something |
43
-
44
- ## Process:
45
-
46
- 1. Check for staged changes (`git status`)
47
- 2. If no staged changes, review and stage appropriate files
48
- 3. Run pre-commit checks (unless --no-verify)
49
- 4. Analyze changes to determine commit type
50
- 5. Generate descriptive commit message (plain text only, no color codes)
51
- 6. Include scope if applicable: `type(scope): description`
52
- 7. Add body for complex changes explaining why
53
- 8. Execute commit with clean message formatting
54
-
55
- ## Best Practices:
56
-
57
- - Keep commits atomic and focused
58
- - Write in imperative mood ("Add feature" not "Added feature")
59
- - Explain why, not just what
60
- - Reference issues/PRs when relevant
61
- - Split unrelated changes into separate commits
62
- - Use clean, plain text commit messages without color codes or signatures
63
- - Prefer emoji codes (:gear:) over actual emoji characters (⚙️) for better compatibility and readability
@@ -1,39 +0,0 @@
1
- # Git Status Command
2
-
3
- Show detailed git repository status
4
-
5
- *Command originally created by IndyDevDan (YouTube: https://www.youtube.com/@indydevdan) / DislerH (GitHub: https://github.com/disler)*
6
-
7
- ## Instructions
8
-
9
- Analyze the current state of the git repository by performing the following steps:
10
-
11
- 1. **Run Git Status Commands**
12
- - Execute `git status` to see current working tree state
13
- - Run `git diff HEAD origin/main` to check differences with remote
14
- - Execute `git branch --show-current` to display current branch
15
- - Check for uncommitted changes and untracked files
16
-
17
- 2. **Analyze Repository State**
18
- - Identify staged vs unstaged changes
19
- - List any untracked files
20
- - Check if branch is ahead/behind remote
21
- - Review any merge conflicts if present
22
-
23
- 3. **Read Key Files**
24
- - Review README.md for project context
25
- - Check for any recent changes in important files
26
- - Understand project structure if needed
27
-
28
- 4. **Provide Summary**
29
- - Current branch and its relationship to main/master
30
- - Number of commits ahead/behind
31
- - List of modified files with change types
32
- - Any action items (commits needed, pulls required, etc.)
33
-
34
- This command helps developers quickly understand:
35
- - What changes are pending
36
- - The repository's sync status
37
- - Whether any actions are needed before continuing work
38
-
39
- Arguments: $ARGUMENTS
@@ -1,76 +0,0 @@
1
- # Migrate to TypeScript
2
-
3
- Migrate JavaScript project to TypeScript
4
-
5
- ## Instructions
6
-
7
- 1. **Project Analysis and Migration Planning**
8
- - Analyze current JavaScript codebase structure and complexity
9
- - Identify external dependencies and their TypeScript support
10
- - Assess project size and determine migration approach (gradual vs. complete)
11
- - Review existing build system and bundling configuration
12
- - Create migration timeline and phased approach plan
13
-
14
- 2. **TypeScript Installation and Configuration**
15
- - Install TypeScript and related dependencies (@types packages)
16
- - Create comprehensive tsconfig.json with strict configuration
17
- - Configure path mapping and module resolution
18
- - Set up incremental compilation and build optimization
19
- - Configure TypeScript for different environments (development, production, testing)
20
-
21
- 3. **Build System Integration**
22
- - Update build tools to support TypeScript compilation
23
- - Configure webpack, Vite, or other bundlers for TypeScript
24
- - Set up development server with TypeScript support
25
- - Configure hot module replacement for TypeScript files
26
- - Update build scripts and package.json configurations
27
-
28
- 4. **File Migration Strategy**
29
- - Start with configuration files and utility modules
30
- - Migrate from least to most complex modules
31
- - Rename .js files to .ts/.tsx incrementally
32
- - Update import/export statements to use TypeScript syntax
33
- - Handle mixed JavaScript/TypeScript codebase during transition
34
-
35
- 5. **Type Definitions and Interfaces**
36
- - Create comprehensive type definitions for project-specific types
37
- - Install @types packages for external dependencies
38
- - Define interfaces for API responses and data structures
39
- - Create custom type declarations for untyped libraries
40
- - Set up shared types and interfaces across modules
41
-
42
- 6. **Code Transformation and Type Annotation**
43
- - Add explicit type annotations to function parameters and return types
44
- - Convert JavaScript classes to TypeScript with proper typing
45
- - Transform object literals to typed interfaces
46
- - Add generic types for reusable components and functions
47
- - Handle complex types like union types, mapped types, and conditional types
48
-
49
- 7. **Error Resolution and Type Safety**
50
- - Resolve TypeScript compiler errors systematically
51
- - Fix type mismatches and undefined behavior
52
- - Handle null and undefined values with strict null checks
53
- - Configure ESLint rules for TypeScript best practices
54
- - Set up type checking in CI/CD pipeline
55
-
56
- 8. **Testing and Validation**
57
- - Update test files to TypeScript
58
- - Configure testing framework for TypeScript support
59
- - Add type testing with tools like tsd or @typescript-eslint
60
- - Validate type safety in test suites
61
- - Set up type coverage reporting
62
-
63
- 9. **Developer Experience Enhancement**
64
- - Configure IDE/editor for optimal TypeScript support
65
- - Set up IntelliSense and auto-completion
66
- - Configure debugging for TypeScript source maps
67
- - Set up type-aware linting and formatting
68
- - Create TypeScript-specific code snippets and templates
69
-
70
- 10. **Documentation and Team Onboarding**
71
- - Update project documentation for TypeScript setup
72
- - Create TypeScript coding standards and best practices guide
73
- - Document migration decisions and type system architecture
74
- - Set up type documentation generation
75
- - Train team members on TypeScript development workflows
76
- - Create troubleshooting guide for common TypeScript issues
@@ -1,76 +0,0 @@
1
- # Generate Test Cases
2
-
3
- Generate comprehensive test cases automatically
4
-
5
- ## Instructions
6
-
7
- 1. **Target Analysis and Scope Definition**
8
- - Parse target file or function from arguments: `$ARGUMENTS`
9
- - If no target specified, analyze current directory and prompt for specific target
10
- - Examine the target code structure, dependencies, and complexity
11
- - Identify function signatures, parameters, return types, and side effects
12
- - Determine testing scope (unit, integration, or both)
13
-
14
- 2. **Code Structure Analysis**
15
- - Analyze function logic, branching, and control flow
16
- - Identify input validation, error handling, and edge cases
17
- - Examine external dependencies, API calls, and database interactions
18
- - Review data transformations and business logic
19
- - Identify async operations and error scenarios
20
-
21
- 3. **Test Case Generation Strategy**
22
- - Generate positive test cases for normal operation flows
23
- - Create negative test cases for error conditions and invalid inputs
24
- - Generate edge cases for boundary conditions and limits
25
- - Create integration test cases for external dependencies
26
- - Generate performance test cases for complex operations
27
-
28
- 4. **Unit Test Implementation**
29
- - Create test file following project naming conventions
30
- - Set up test framework imports and configuration
31
- - Generate test suites organized by functionality
32
- - Create comprehensive test cases with descriptive names
33
- - Implement proper setup and teardown for each test
34
-
35
- 5. **Mock and Stub Generation**
36
- - Identify external dependencies requiring mocking
37
- - Generate mock implementations for APIs and services
38
- - Create stub data for database and file system operations
39
- - Set up spy functions for monitoring function calls
40
- - Configure mock return values and error scenarios
41
-
42
- 6. **Data-Driven Test Generation**
43
- - Create test data sets for various input scenarios
44
- - Generate parameterized tests for multiple input combinations
45
- - Create fixtures for complex data structures
46
- - Set up test data factories for consistent data generation
47
- - Generate property-based test cases for comprehensive coverage
48
-
49
- 7. **Integration Test Scenarios**
50
- - Generate tests for component interactions
51
- - Create end-to-end workflow test cases
52
- - Generate API integration test scenarios
53
- - Create database integration tests with real data
54
- - Generate cross-module integration test cases
55
-
56
- 8. **Error Handling and Exception Testing**
57
- - Generate tests for all error conditions and exceptions
58
- - Create tests for timeout and network failure scenarios
59
- - Generate tests for invalid input validation
60
- - Create tests for resource exhaustion and limits
61
- - Generate tests for concurrent access and race conditions
62
-
63
- 9. **Test Quality and Coverage**
64
- - Ensure comprehensive code coverage for target functions
65
- - Generate tests for all code branches and paths
66
- - Create tests for both success and failure scenarios
67
- - Validate test assertions are meaningful and specific
68
- - Ensure tests are isolated and independent
69
-
70
- 10. **Test Documentation and Maintenance**
71
- - Generate clear test descriptions and documentation
72
- - Create comments explaining complex test scenarios
73
- - Document test data requirements and setup procedures
74
- - Generate test maintenance guidelines and best practices
75
- - Create test execution and debugging instructions
76
- - Validate generated tests execute successfully and provide meaningful feedback