implementation-phase

implementation-phase is a skill for Claude Code, Codex from marcusgoll/Spec-Flow. It costs 57 tokens per session (3,967 once invoked), scanned A, original, MIT.

An implementation workflow that writes tests before code, runs continuous checks, and tracks feature tasks. TDD, or test-driven development, means writing a failing test first, then code to pass it, then improving the code.

In plain words
What is it for?
It helps implement tasks from a plan, create test suites, run tests and type checks, enforce project technology choices, and update task records.
Why use it?
It reduces duplicate code and catches type, security, and test problems while features are being built.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/marcusgoll/spec-flow/implementation-phase
Any agent
npx skills add marcusgoll/Spec-Flow --skill implementation-phase
Clone the repo
git clone --depth 1 https://github.com/marcusgoll/Spec-Flow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for implementation-phase

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcusgoll/spec-flow/implementation-phase.svg)](https://agentmods.dev/skills/marcusgoll/spec-flow/implementation-phase)
Your own site
<a href="https://agentmods.dev/skills/marcusgoll/spec-flow/implementation-phase"><img src="https://agentmods.dev/badge/skills/marcusgoll/spec-flow/implementation-phase.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,967 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00057 $0.03967
Opus 5 $0.00028 $0.01983
Sonnet 5 $0.00011 $0.00793
Haiku 4.5 $0.00006 $0.00397

Measured yesterday against content hash 7692d1473c11, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

implementation-phase scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/implementation-phase/SKILL.md · 614 lines

How it starts

The opening of the file, as written. The whole thing — 614 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Inputs: tasks.md (20-30 tasks), plan.md (implementation plan) Outputs: Implemented code, test suites, updated tracking files Expected duration: 2-10 days (varies by complexity)

<quick_start> Execute implementation tasks systematically:

  1. Load tech stack constraints from docs/project/tech-stack.md
  2. Review task dependencies in tasks.md for parallel work
  3. Generate test suite using test-architect (complex features)
  4. Execute tasks using TDD (RED → GREEN → REFACTOR)
  5. Update task status in NOTES.md after completion
  6. Run anti-duplication checks before writing new code
  7. Run tests + type-check after each task triplet
  8. Validate type safety with type-enforcer (TypeScript)
  9. Validate security with security-sentry (auth/API/uploads)
  10. Commit implementation with descriptive messages

Key principle: Test first, implement second. Never write code without tests. </quick_start>

Validate environment with test run before proceeding.

Before writing any code, load technology constraints from docs/project/tech-stack.md:

# Read tech stack documentation
cat docs/project/tech-stack.md

# Extract: database, framework, libraries, deployment platform

Prevents hallucinating wrong technologies (e.g., suggesting MongoDB when PostgreSQL required).

See resources/tech-stack-validation.md for validation checklist.

Analyze tasks.md for dependency relationships:

# Look for dependencies in tasks.md

T001: Create User model [no dependencies]
T002: Create AuthService [depends: T001]
T003: Create LoginController [depends: T002]

Identify parallel work opportunities:

  • Independent tasks can run concurrently
  • Dependent tasks must run sequentially

See resources/task-batching.md for parallel execution strategy.

For complex features (>10 tasks, multiple components), use test-architect agent:

# Launch test-architect to convert acceptance criteria → tests
# Agent reads tasks.md acceptance criteria
# Generates comprehensive test suite (unit + integration + E2E)

Benefits:

  • Tests written before implementation (pure TDD)
  • Coverage of happy paths, edge cases, error conditions
  • Executable specification from acceptance criteria

See resources/tdd-workflow.md#test-architect for detailed usage.

For each task, follow RED → GREEN → REFACTOR cycle:

RED (Write Failing Test):

def test_user_can_login_with_valid_credentials():
    """Test user authentication with correct email/password"""
    user = create_user(email="[email protected]", password="secure123")
    result = auth_service.login("[email protected]", "secure123")

    assert result.success is True
    assert result.user.email == "[email protected]"
    assert result.token is not None

GREEN (Minimal Implementation):

def login(email, password):
    user = User.query.filter_by(email=email).first()
    if user and user.check_password(password):
        token = generate_jwt(user.id)
        return LoginResult(success=True, user=user, token=token)
    return LoginResult(success=False)

REFACTOR (Clean Up):

  • Extract magic values to constants
  • Remove duplication
  • Improve naming
  • Add error handling

See resources/tdd-workflow.md for complete RED → GREEN → REFACTOR guide.

Read the full file on GitHub · 614 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 614 lines · 57 tokens per session scan A 7692d1473c11

Subscribe to this mod's changes

implementation-phase is a skill published in the GitHub repository marcusgoll/Spec-Flow (92 stars, last pushed 4mo ago), licensed MIT. It adds 57 tokens to every session and 3,967 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.