Agent skill

implementation-phase

Standard Operating Procedure for /implement phase. TDD workflow, anti-duplication checks, task execution, and continuous testing.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/implementation-phase

SKILL.md

Implementation Phase: Quick Reference

Purpose: Execute tasks from tasks.md using Test-Driven Development, preventing code duplication, and maintaining high quality.

Phase Overview

Inputs:

  • specs/NNN-slug/tasks.md - Task breakdown (20-30 tasks)
  • specs/NNN-slug/plan.md - Implementation plan with reuse strategy

Outputs:

  • Implemented code (models, services, APIs, UI components)
  • Test suites (unit, integration, E2E)
  • Updated tasks.md and workflow-state.yaml

Expected duration: 2-10 days (varies by complexity)


Quick Start Checklist

Before you begin:

  • Tasks phase completed (tasks.md exists with 20-30 tasks)
  • Plan phase completed (plan.md exists)
  • Development environment set up
  • Test framework configured
  • Git working tree clean

Core workflow:

  1. Load Tech Stack Constraints - Prevent hallucinated tech choices
  2. Review Task Dependencies - Identify parallel work opportunities
  3. Execute Tasks Using TDD - RED → GREEN → REFACTOR
  4. Update Task Status - Keep NOTES.md current
  5. Run Anti-Duplication Checks - Search before writing
  6. Continuous Testing - Test after each task triplet
  7. Commit Implementation - Small, frequent commits

Detailed Resources

🎯 Core Workflow

🛡️ Quality Gates

🚧 Advanced Topics

📋 Reference


Completion Criteria

Required:

  • All tasks completed (or blocked tasks documented)
  • Test coverage ≥80% (unit + integration)
  • All tests passing (CI green)
  • No code duplication (DRY violations <3)
  • Code review checklist passed
  • Git commits made with descriptive messages

Optional (if applicable):

  • UI components have accessibility tests (WCAG 2.1 AA)
  • E2E tests cover critical user flows
  • Performance benchmarks met (API <200ms, page load <2s)

Next Phase

After implementation complete: → /optimize - Code review, performance validation, production readiness


See also:

Didn't find tool you were looking for?

Be as detailed as possible for better results