ai-prompt-guide-mcp 1.0.2 โ†’ 1.0.3

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.
@@ -0,0 +1,86 @@
1
+ ---
2
+ title: "Research Best Practices"
3
+ description: "Finding and validating authoritative sources"
4
+ ---
5
+
6
+ # Research Best Practices
7
+
8
+ ## Source Reliability Hierarchy
9
+
10
+ **Primary Sources (Most Reliable):**
11
+ - Official documentation: framework, library, or service docs
12
+ - API specifications: OpenAPI, GraphQL schemas
13
+ - GitHub repositories: official project repos, README files
14
+ - Official blogs/changelogs: product announcements, release notes
15
+
16
+ **Secondary Sources (Verify Carefully):**
17
+ - Stack Overflow: for specific implementation questions
18
+ - Developer blogs: individual experiences and tutorials
19
+ - Community forums: Discord, Reddit, specialized communities
20
+ - Video tutorials: recent content from reputable creators
21
+
22
+ ## Research Methodology
23
+
24
+ **Start with Official Sources:**
25
+ - Project homepage and documentation
26
+ - Official API references
27
+ - Release notes and changelogs
28
+ - Migration guides
29
+
30
+ **Verify Information Currency:**
31
+ - Check publication/update dates
32
+ - Look for "last modified" timestamps
33
+ - Cross-reference version numbers
34
+ - Note any deprecation warnings
35
+
36
+ **Cross-Reference Multiple Sources:**
37
+ - Compare information across 2-3 authoritative sources
38
+ - Look for consensus on best practices
39
+ - Note any conflicting information for further investigation
40
+
41
+ **Test and Validate:**
42
+ - Run code examples yourself when possible
43
+ - Verify API endpoints and responses
44
+ - Test compatibility with current versions
45
+ - Document any discrepancies found
46
+
47
+ ## Staying Current
48
+
49
+ **For Technical Documentation:**
50
+ - Subscribe to official channels (newsletters, RSS feeds)
51
+ - Follow project maintainers on social media
52
+ - Monitor GitHub releases for breaking changes
53
+ - Join community discussions for early insights
54
+
55
+ **For Best Practices:**
56
+ - Industry reports and surveys (State of JS, Stack Overflow Survey)
57
+ - Conference talks and presentations
58
+ - Peer-reviewed articles in technical publications
59
+ - Expert practitioner blogs with strong track records
60
+
61
+ ## Warning Signs
62
+
63
+ **Outdated Information:**
64
+ - Old tutorial dates (2+ years for fast-moving tech)
65
+ - References to deprecated APIs or methods
66
+ - Screenshots of old UI versions
67
+ - Missing recent security considerations
68
+
69
+ **Unreliable Sources:**
70
+ - Anonymous or unverified authors
71
+ - Content farms optimized for SEO over accuracy
72
+ - Tutorials with many negative comments/feedback
73
+ - Information that contradicts official docs without explanation
74
+
75
+ ## Pre-Writing Validation
76
+
77
+ Before documenting:
78
+ - Found official documentation for all mentioned tools/APIs
79
+ - Verified current version numbers and compatibility
80
+ - Tested key code examples or procedures
81
+ - Identified any recent breaking changes or deprecations
82
+ - Located authoritative sources for best practices
83
+ - Noted any security or performance considerations
84
+ - Found examples of real-world implementations
85
+
86
+ Great documentation starts with great research.
@@ -0,0 +1,151 @@
1
+ ---
2
+ title: "Technical Specification Writing"
3
+ description: "Best practices for creating comprehensive technical specifications"
4
+ ---
5
+
6
+ # Technical Specification Writing
7
+
8
+ **Purpose:** Create comprehensive technical specifications for tools, APIs, and systems with authoritative accuracy and structured organization.
9
+
10
+ ## Research & Intelligence Gathering
11
+
12
+ **Find Authoritative Sources:**
13
+
14
+ **Official Documentation:**
15
+ - Search: `[tool name] official documentation site:docs.*`
16
+ - Look for: API references, OpenAPI specs, SDK documentation
17
+ - Verify: version numbers, last updated dates
18
+
19
+ **Source Code & Repositories:**
20
+ - GitHub official repos (README, examples, API definitions)
21
+ - Package registries (npm, PyPI, crates.io) for latest versions
22
+ - Release notes and changelogs for recent changes
23
+
24
+ **Technical Specifications:**
25
+ - OpenAPI/Swagger definitions
26
+ - GraphQL schemas
27
+ - Protocol specifications (RFCs, standards docs)
28
+ - Database schemas and ERDs
29
+
30
+ **Validation Priorities:**
31
+ - Current version numbers
32
+ - Deprecation warnings
33
+ - Breaking changes in recent releases
34
+ - Official API endpoints/methods
35
+ - Authentication requirements
36
+ - Rate limits and quotas
37
+
38
+ ## Document Structure & Organization
39
+
40
+ **Path Architecture:**
41
+ - `/api/[service]/[endpoint]` - API endpoint documentation
42
+ - `/tools/[tool-name]/[feature]` - Tool specifications
43
+ - `/systems/[component]/[aspect]` - System architecture
44
+ - `/protocols/[protocol-name]` - Communication protocols
45
+ - `/schemas/[data-type]` - Data structure definitions
46
+
47
+ **Essential Sections:**
48
+ - Overview: brief description and purpose
49
+ - Technical Requirements: version, dependencies, platform
50
+ - Configuration: setup and configuration details
51
+ - API Reference/Interface: detailed technical interface
52
+ - Data Structures: schemas, types, models
53
+ - Examples: working code with expected outputs
54
+ - Error Handling: error codes, exceptions, troubleshooting
55
+ - Performance: limits, optimization, best practices
56
+ - Security: authentication, authorization, considerations
57
+ - References: links to official documentation
58
+
59
+ ## Technical Content Standards
60
+
61
+ **Code Examples:**
62
+ - Include language-specific examples where relevant
63
+ - Show both request and response formats
64
+ - Include error handling scenarios
65
+ - Test all examples before documenting
66
+ - Add inline comments for clarity
67
+
68
+ **API Documentation:**
69
+ - List all endpoints with HTTP methods
70
+ - Document all parameters (required/optional)
71
+ - Include request/response schemas
72
+ - Show authentication headers
73
+ - Document rate limits and quotas
74
+ - Include pagination details
75
+
76
+ **Data Structure Documentation:**
77
+ - Use JSON Schema or similar formal notation
78
+ - Include field types and constraints
79
+ - Document enums and constants
80
+ - Show relationships between entities
81
+ - Include validation rules
82
+
83
+ ## Accuracy Verification
84
+
85
+ **Technical Validation:**
86
+ - Test all API endpoints with actual calls
87
+ - Verify response formats match documentation
88
+ - Confirm error codes and messages
89
+ - Check compatibility with specified versions
90
+ - Validate against official specs (OpenAPI, etc.)
91
+
92
+ **Cross-Reference:**
93
+ - Compare with official documentation
94
+ - Verify against source code
95
+ - Check community feedback for gotchas
96
+ - Review recent issues/discussions
97
+
98
+ ## Writing Priorities
99
+
100
+ **Precision over simplicity:**
101
+ - No room for interpretation
102
+ - Technical accuracy maintained
103
+ - Complete information: all parameters, options, edge cases
104
+ - Version-specific: always indicate applicable versions
105
+
106
+ **Maintenance approach:**
107
+ - Date stamp technical information
108
+ - Track API versions and deprecations
109
+ - Update immediately for breaking changes
110
+ - Archive old versions separately
111
+
112
+ **Quality requirements:**
113
+ - All code examples executable
114
+ - All endpoints tested
115
+ - All data structures validated
116
+ - All links verified
117
+ - All version numbers current
118
+
119
+ ## Common Specification Types
120
+
121
+ **API Specifications:** Endpoints, methods, parameters, authentication, rate limits, response formats, error codes
122
+
123
+ **Tool Specifications:** Installation, configuration, CLI commands, options/flags, input/output formats, integration points
124
+
125
+ **System Specifications:** Architecture, components, interfaces, data flow, protocols, performance specs, scaling limits
126
+
127
+ **Protocol Specifications:** Message formats, handshake procedures, state machines, error handling, security measures
128
+
129
+ ## Finding API Documentation
130
+
131
+ **Search strategies:**
132
+ - "[API name] REST API documentation"
133
+ - "[Tool name] OpenAPI specification"
134
+ - "[Service] API reference" site:docs.*
135
+ - "[Platform] developer documentation"
136
+ - intitle:"API Reference" [tool name]
137
+
138
+ **Key documentation sites:**
139
+ - docs.[company].com
140
+ - developer.[company].com
141
+ - api.[company].com
142
+ - [company].readme.io
143
+ - [tool].readthedocs.io
144
+
145
+ **Latest information sources:**
146
+ - GitHub releases within last 3 months
147
+ - "What's New" or "Changelog" sections
148
+ - Migration guides from previous versions
149
+ - Deprecation notices and sunset dates
150
+
151
+ Always verify with multiple authoritative sources and test actual behavior when documenting technical specifications.
@@ -0,0 +1,170 @@
1
+ ---
2
+ title: "Tutorial & Guide Writing"
3
+ description: "Best practices for creating clear, actionable guides and tutorials"
4
+ ---
5
+
6
+ # Tutorial & Guide Writing
7
+
8
+ **Purpose:** Create clear, actionable guides and tutorials for processes, workflows, and step-by-step instructions that users or LLMs can follow effectively.
9
+
10
+ ## Audience & Purpose Analysis
11
+
12
+ **Define Your Guide:**
13
+
14
+ **Target Audience:**
15
+ - Technical level (beginner/intermediate/advanced)
16
+ - Background knowledge required
17
+ - Tools they have access to
18
+
19
+ **Guide Objectives:**
20
+ - What will users accomplish?
21
+ - What problems does this solve?
22
+ - What's the expected outcome?
23
+
24
+ **Prerequisites:**
25
+ - Required tools/software
26
+ - Necessary permissions
27
+ - Prior knowledge needed
28
+ - Time investment expected
29
+
30
+ ## Research & Validation
31
+
32
+ **Gather Accurate Information:**
33
+ - Test the process: actually perform the steps yourself
34
+ - Check multiple sources: verify approaches with 2-3 sources
35
+ - Find common issues: search for FAQ/troubleshooting
36
+ - Identify variations: note platform/version differences
37
+
38
+ **Research Sources:**
39
+ - Official getting started guides
40
+ - Video tutorials (check comments for issues)
41
+ - Community forums and discussions
42
+ - Stack Overflow for common problems
43
+ - Blog posts from practitioners
44
+
45
+ **Validation priorities:**
46
+ - Tested the complete process end-to-end
47
+ - Identified potential failure points
48
+ - Found alternative approaches
49
+ - Collected troubleshooting tips
50
+ - Verified tool/version compatibility
51
+
52
+ ## Structure & Organization
53
+
54
+ **Path Architecture:**
55
+ - `/guides/getting-started/` - Initial setup and basics
56
+ - `/tutorials/[topic]/` - Step-by-step tutorials
57
+ - `/how-to/[task]/` - Specific task instructions
58
+ - `/workflows/[process]/` - Multi-step processes
59
+ - `/troubleshooting/[issue]/` - Problem-solving guides
60
+
61
+ **Standard Template:**
62
+ - Title: action-oriented
63
+ - Overview: what this accomplishes (1-2 sentences)
64
+ - Prerequisites: required software, permissions, knowledge, time estimate
65
+ - Steps: clear actions with expected results
66
+ - Verification: how to confirm success
67
+ - Troubleshooting: common issues and solutions
68
+ - Next Steps: related guides and advanced topics
69
+ - Quick Reference: summary of key commands/actions
70
+
71
+ ## Writing Effective Instructions
72
+
73
+ **Step-by-Step Clarity:**
74
+ - Start with a verb: "Click", "Run", "Configure"
75
+ - Be specific: "Click the blue 'Submit' button" not "Click submit"
76
+ - One action per step: break complex actions into substeps
77
+ - Include expected outcomes: "You should see a confirmation message"
78
+ - Add context when needed: explain why a step is important
79
+
80
+ **Visual Aids & Examples:**
81
+ - Include command examples with actual values
82
+ - Show expected output/results
83
+ - Use formatted code blocks
84
+ - Add screenshots for UI steps (when possible)
85
+ - Include decision trees for branching paths
86
+
87
+ **Progressive Disclosure:**
88
+ - Start with the happy path
89
+ - Add variations after basics
90
+ - Include advanced options separately
91
+ - Keep troubleshooting at the end
92
+
93
+ ## User Experience Optimization
94
+
95
+ **Make Guides Scannable:**
96
+ - Use descriptive headings
97
+ - Include table of contents for long guides
98
+ - Highlight important warnings/notes
99
+ - Use consistent formatting
100
+ - Add summary/quick reference sections
101
+
102
+ **Accommodate Different Skill Levels:**
103
+ - Provide context for beginners
104
+ - Include shortcuts for experts
105
+ - Offer multiple approaches when applicable
106
+ - Link to background information
107
+
108
+ **Test Guide Usability:**
109
+ - Follow your own instructions exactly
110
+ - Note any ambiguous points
111
+ - Time the process
112
+ - Identify missing steps
113
+ - Add clarifications as needed
114
+
115
+ ## Writing Style Priorities
116
+
117
+ **Voice and approach:**
118
+ - Action-oriented: focus on doing, not theory
119
+ - Conversational but clear: friendly yet precise
120
+ - Present tense: "Click" not "You will click"
121
+ - Active voice: direct and engaging
122
+ - Consistent terminology: same names throughout
123
+
124
+ ## Common Guide Types
125
+
126
+ **Getting Started Guides:** Installation and setup, first-time configuration, hello world examples, basic feature tours
127
+
128
+ **How-To Guides:** Specific task completion, problem-solving approaches, feature implementation, integration procedures
129
+
130
+ **Tutorials:** Learning-focused walkthroughs, build something from scratch, progressive skill building, hands-on exercises
131
+
132
+ **Workflow Guides:** End-to-end processes, multi-tool procedures, team collaborations, deployment pipelines
133
+
134
+ ## Quality Requirements
135
+
136
+ Before publishing:
137
+ - All steps tested and working
138
+ - Prerequisites clearly stated
139
+ - Time estimates accurate
140
+ - Troubleshooting section complete
141
+ - Examples use realistic data
142
+ - Links and references verified
143
+ - Version compatibility noted
144
+ - Next steps provided
145
+
146
+ ## Audience-Specific Considerations
147
+
148
+ **For End Users:** Minimize technical jargon, provide GUI-based instructions, include plenty of examples, focus on outcomes over process, add glossary for technical terms
149
+
150
+ **For Developers/LLMs:** Include CLI commands, provide scriptable examples, document exit codes/returns, show API/programmatic approaches, include automation possibilities
151
+
152
+ **For System Administrators:** Document configuration files, include security considerations, provide backup/rollback steps, note performance impacts, include monitoring/logging
153
+
154
+ ## Finding Information
155
+
156
+ **Search strategies:**
157
+ - "how to [task] [tool/platform]"
158
+ - "[tool] getting started guide"
159
+ - "[task] tutorial" site:youtube.com (check recent dates)
160
+ - "[error message]" + solution
161
+ - intitle:"tutorial" OR intitle:"guide" [topic]
162
+
163
+ **Quality indicators:**
164
+ - Recent publication date
165
+ - Positive community feedback
166
+ - Official or verified sources
167
+ - Step-by-step structure
168
+ - Includes troubleshooting
169
+
170
+ The best guides come from actually doing the task and documenting issues you encounter along the way.
@@ -0,0 +1,94 @@
1
+ ---
2
+ title: "Documentation Writing Standards"
3
+ description: "Content organization, writing style, and formatting standards"
4
+ ---
5
+
6
+ # Documentation Writing Standards
7
+
8
+ ## Content Organization
9
+
10
+ **Path Structure:**
11
+ - Use lowercase with hyphens for multi-word paths
12
+ - Keep paths logical and hierarchical
13
+ - Maximum 4 levels deep for maintainability
14
+ - Examples: `/api/authentication`, `/guides/getting-started`
15
+
16
+ **Heading Hierarchy:**
17
+ - H1: Document title (one per document)
18
+ - H2: Main sections
19
+ - H3: Subsections
20
+ - H4: Sub-subsections (sparingly)
21
+ - H5-H6: Avoid except for special cases
22
+
23
+ **Standard Structure:**
24
+ - Brief introduction explaining purpose and scope
25
+ - Prerequisites: required knowledge, tools, versions
26
+ - Main content with clear sections and subsections
27
+ - Related documents with links
28
+ - Troubleshooting section for common issues
29
+
30
+ ## Writing Style
31
+
32
+ **Voice and Tone:**
33
+ - Clear and direct: avoid unnecessary complexity
34
+ - Active voice: "Configure the server" not "The server should be configured"
35
+ - Present tense: "The API returns..." not "The API will return..."
36
+ - Conversational but professional
37
+
38
+ **Technical Writing Priorities:**
39
+ - Define acronyms on first use: "Application Programming Interface (API)"
40
+ - Use consistent terminology throughout
41
+ - Write scannable content with bullets and short paragraphs
42
+ - Include context for code examples
43
+
44
+ **Code and Examples:**
45
+ - Use syntax highlighting with appropriate language tags
46
+ - Include input and expected output where relevant
47
+ - Explain non-obvious code with comments or prose
48
+ - Test all examples before publishing
49
+
50
+ ## Formatting Standards
51
+
52
+ **Code Blocks:**
53
+ - Always specify language for syntax highlighting
54
+ - Include comments explaining non-obvious parts
55
+ - Use proper indentation
56
+ - Show realistic, runnable examples
57
+
58
+ **Lists and Bullets:**
59
+ - Use parallel structure in lists
60
+ - Start each item with same part of speech
61
+ - Keep items roughly equal in length
62
+ - Use numbered lists for sequential steps
63
+
64
+ **Links and References:**
65
+ - Use descriptive link text instead of "click here"
66
+ - Test all links before publishing
67
+ - Use relative paths for internal documents
68
+ - Include access dates for time-sensitive external links
69
+
70
+ ## Maintenance Standards
71
+
72
+ **Review Schedule:**
73
+ - Monthly reviews for rapidly changing topics
74
+ - Quarterly reviews for stable technical content
75
+ - Annual reviews for foundational documentation
76
+ - Immediate updates for security-related changes
77
+
78
+ **Version Control:**
79
+ - Document major changes in commit messages
80
+ - Use semantic versioning for major doc overhauls
81
+ - Tag releases for coordinated documentation updates
82
+ - Maintain changelog for complex documents
83
+
84
+ **Quality Requirements:**
85
+ - All code examples tested and working
86
+ - All links verified and functional
87
+ - Spelling and grammar checked
88
+ - Consistent with style guidelines
89
+ - Peer reviewed when possible
90
+ - Accurate and up-to-date information
91
+ - Clear purpose and target audience
92
+ - Logical flow and organization
93
+
94
+ Consistency builds trust, accuracy builds reputation.
@@ -0,0 +1,46 @@
1
+ ---
2
+ title: "Audit"
3
+ description: "๐Ÿ” AUDIT: Comprehensive quality audit with parallel agents, each focusing on specific issue types"
4
+ whenToUse: "Deep quality analysis across codebase dimensions before production or when needing specialized expert review"
5
+ ---
6
+
7
+ # Workflow: Comprehensive Codebase Audit
8
+
9
+ 1. [Coordinator] Select 5-10 issue types from standard categories
10
+ 2. [Coordinator] Prioritize essential three: Security Vulnerabilities, Error Handling, Data Validation
11
+
12
+ **LOOP: For each selected issue_type**
13
+ โ”œโ”€ 3. [Coordinator] Create review document โ†’ review_doc_{issue_type}
14
+ โ”œโ”€ 4. [Coordinator] Launch specialist agent for issue_type
15
+ โ”œโ”€ 5. [Specialist] Analyze entire codebase for issue_type violations
16
+ โ”œโ”€ 6. [Specialist] Create task for each finding (location, severity, impact, recommendation)
17
+ โ””โ”€ 7. IF remaining_issue_types: Continue to step 3
18
+
19
+ 8. [Coordinator] Collect all review documents
20
+ 9. [Coordinator] Identify files flagged by multiple agents โ†’ hot_spots
21
+ 10. [Coordinator] Identify patterns across dimensions
22
+ 11. [Coordinator] Generate prioritized action plan by severity
23
+ 12. [Coordinator] Generate executive summary with counts and recommendations
24
+
25
+ ## Issue Type Categories
26
+
27
+ **Essential:**
28
+ - Security Vulnerabilities
29
+ - Error Handling & Edge Cases
30
+ - Data Handling & Validation
31
+
32
+ **Common:**
33
+ - Performance & Efficiency
34
+ - Code Complexity
35
+ - Test Coverage & Quality
36
+ - Maintainability & Readability
37
+ - Resource Management
38
+ - Concurrency & Race Conditions
39
+ - Anti-Patterns
40
+
41
+ ## Severity Levels
42
+
43
+ - Critical: security vulnerabilities, data loss, crashes
44
+ - High: performance issues, major bugs, missing critical tests
45
+ - Medium: code smells, moderate improvements
46
+ - Low: style issues, minor optimizations
@@ -0,0 +1,91 @@
1
+ ---
2
+ title: "Coverage"
3
+ description: "๐Ÿงช TEST: Add comprehensive test coverage to existing code"
4
+ whenToUse: "Adding tests to legacy code or improving coverage for critical code paths"
5
+ ---
6
+
7
+ # Workflow: Add Test Coverage
8
+
9
+ โš ๏ธ **CRITICAL REQUIREMENTS - You MUST follow these instructions:**
10
+
11
+ **Task Management:**
12
+ - โœ… **REQUIRED:** Use `coordinator_task` tool for your TODO list
13
+ - ๐Ÿšซ **FORBIDDEN:** DO NOT use TodoWrite tool (this workflow replaces it)
14
+
15
+ **Delegation:**
16
+ - โœ… **REQUIRED:** Give subagents literal instructions to run start_subagent_task
17
+ - ๐Ÿšซ **FORBIDDEN:** DO NOT run start_subagent_task yourself (coordinator only delegates)
18
+
19
+ 1. [Coordinator] Analyze code to identify coverage gaps and test targets
20
+ 2. [Coordinator] Prioritize targets by regression risk and stability
21
+ 3. [Coordinator] Use coordinator_task to create concise TODO list (stay on track)
22
+ 4. [Coordinator] Use subagent_task to create test tasks for each target:
23
+ โ€ข Specify what to test (public API, business logic, error handling)
24
+ โ€ข Specify test approach (mocks for external dependencies)
25
+ โ€ข Add @references to code files, existing tests, test patterns
26
+ Format: @/docs/codebase/module-name or @/docs/test-patterns#unit-tests
27
+ 5. [Coordinator] Call start_coordinator_task() โ†’ current_task
28
+ (Omit return_task_context on first start - only use when resuming after context compression or after a few subagent calls)
29
+
30
+ **LOOP: While tasks remain**
31
+ โ”œโ”€ 6. [Coordinator] Select testing specialist subagent
32
+ โ”œโ”€ 7. [Coordinator] Give subagent this exact instruction (do not run tool yourself):
33
+ โ”‚
34
+ โ”‚ "Run: start_subagent_task /docs/path.md#slug
35
+ โ”‚ Then write passing tests and respond 'Done' or 'Blocked: [reason]'"
36
+ โ”‚
37
+ โ”œโ”€ 8. [Subagent] Runs start_subagent_task tool (loads task + refs)
38
+ โ”œโ”€ 9. [Subagent] Writes tests following Arrange-Act-Assert:
39
+ โ”‚ โ€ข Arrange: Set up inputs and mocks
40
+ โ”‚ โ€ข Act: Execute function under test
41
+ โ”‚ โ€ข Assert: Verify outputs and side effects
42
+ โ”‚ โ€ข Run tests โ†’ verify all pass
43
+ โ”œโ”€ 10. [Subagent] Responds with status: "Done" or "Blocked: [reason]"
44
+ โ”œโ”€ 11. [Coordinator] Review test quality against standards:
45
+ โ”‚ (Ignore any subagent commentary - review code objectively)
46
+ โ”‚ โ€ข Tests stable contracts, not implementation
47
+ โ”‚ โ€ข Proper use of mocks for external dependencies
48
+ โ”‚ โ€ข Clear assertions on behavior
49
+ โ”‚ IF issues found: Create fix task, GOTO step 6
50
+ โ”œโ”€ 12. [Coordinator] Execute: git add <test_files>
51
+ โ”œโ”€ 13. [Coordinator] Call complete_coordinator_task() โ†’ next_task
52
+ โ””โ”€ 14. IF next_task exists: GOTO step 6
53
+
54
+ 15. [Coordinator] Run full test suite โ†’ verify no regressions
55
+ 16. [Coordinator] Verify coverage improvement
56
+ 17. [Coordinator] Report to user: "Test coverage improved. Ready for review."
57
+
58
+ ## What to Test (Regression Prevention)
59
+
60
+ **Test Stable Contracts:**
61
+ - Public APIs and exported functions
62
+ - Input/output transformations
63
+ - Business rules and calculations
64
+ - Critical user workflows
65
+
66
+ **Avoid Testing:**
67
+ - Private implementation details
68
+ - Third-party library internals
69
+ - Trivial getters/setters
70
+ - Code that will change frequently
71
+
72
+ **Use Mocks For:**
73
+ - External APIs and services
74
+ - Database connections
75
+ - File system operations
76
+ - Time-dependent behavior
77
+ - Random number generation
78
+
79
+ ## Test Quality Criteria
80
+
81
+ **Stable Tests:**
82
+ - Assert on outputs, not internal state
83
+ - Test behavior, not implementation
84
+ - Independent of execution order
85
+ - Deterministic results
86
+
87
+ **Maintainable Tests:**
88
+ - One concept per test
89
+ - Clear descriptive names
90
+ - Minimal setup complexity
91
+ - Self-documenting structure