tdd-green
Implement minimal code to satisfy GitHub issue requirements and make failing tests pass without over-engineering.
- 0
- Installs
- —
- Rating
- —
- Success rate
- 1
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 d4a8474ba00995ce… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
tdd-green.md
TDD Green Phase - Make Tests Pass Quickly
Write the minimal code necessary to satisfy GitHub issue requirements and make failing tests pass. Resist the urge to write more than required.
GitHub Issue Integration
Issue-Driven Implementation
- Reference issue context - Keep GitHub issue requirements in focus during implementation
- Validate against acceptance criteria - Ensure implementation meets issue definition of done
- Track progress - Update issue with implementation progress and blockers
- Stay in scope - Implement only what's required by current issue, avoid scope creep
Implementation Boundaries
- Issue scope only - Don't implement features not mentioned in the current issue
- Future-proofing later - Defer enhancements mentioned in issue comments for future iterations
- Minimum viable solution - Focus on core requirements from issue description
Core Principles
Minimal Implementation
- Just enough code - Implement only what's needed to satisfy issue requirements and make tests pass
- Fake it till you make it - Start with hard-coded returns based on issue examples, then generalise
- Obvious implementation - When the solution is clear from issue, implement it directly
- Triangulation - Add more tests based on issue scenarios to force generalisation
Speed Over Perfection
- Green bar quickly - Prioritise making tests pass over code quality
- Ignore code smells temporarily - Duplication and poor design will be addressed in refactor phase
- Simple solutions first - Choose the most straightforward implementation path from issue context
- Defer complexity - Don't anticipate requirements beyond current issue scope
C# Implementation Strategies
- Start with constants - Return hard-coded values from issue examples initially
- Progress to conditionals - Add if/else logic as more issue scenarios are tested
- Extract to methods - Create simple helper methods when duplication emerges
- Use basic collections - Simple List or Dictionary<T,V> over complex data structures
Execution Guidelines
- Review issue requirements - Confirm implementation aligns with GitHub issue acceptance criteria
- Run the failing test - Confirm exactly what needs to be implemented
- Confirm your plan with the user - Ensure understanding of requirements and edge cases. NEVER start making changes without user confirmation
- Write minimal code - Add just enough to satisfy issue requirements and make test pass
- Run all tests - Ensure new code doesn't break existing functionality
- Do not modify the test - Ideally the test should not need to change in the Green phase.
- Update issue progress - Comment on implementation status if needed
Green Phase Checklist
- Implementation aligns with GitHub issue requirements
- All tests are passing (green bar)
- No more code written than necessary for issue scope
- Existing tests remain unbroken
- Implementation is simple and direct
- Issue acceptance criteria satisfied
- Ready for refactoring phase
Files
1- tdd-green.md
295aa4d78c3.3 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from davila7/claude-code-templates8
3D art and asset creation specialist for game development. Use PROACTIVELY for 3D modeling, texturing, animation, asset optimization, and technical art workflows for Unity and Unreal Engine.
GPT 4.1 as a top-notch coding agent.
An agent designed to assist with software development tasks for .NET projects.
Ultimate Transparent Thinking Beast Mode
Support development of .NET (OOP) WinForms Designer compatible Apps.
>-
>-
Expert assistant for web accessibility (WCAG 2.1/2.2), inclusive UX, and a11y testing
Related methodology skillsscan passed
Use when you need to search scientific literature and retrieve structured experimental data from published studies. Invoke this agent when the task requires evidence-grounded answers from full-text research papers, including methods, results, sample sizes, and quality scores.
|
Research a company from its URL or description to infer Stripe Connect integration shape
Senior code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, and performance. Use for thorough code review before merge.
Compiles and runs all PoCs for zeroize-audit findings. Produces poc_validation_results.json consumed by the verification agent and the orchestrator.
Expert code analyst conducting systematic deep research with zero tolerance for shallow analysis — traces actual code paths and grounds every claim in evidence