spec-driven-claude-code: Skill for Claude Code

.claude/skills/incremental-implementation/SKILL.md

incremental-implementation is a skill for Claude Code from dinhnguyenngoc/spec-driven-claude-code. It costs 14 tokens per session (1,022 once invoked), scanned A, original, MIT.

A development method for building software in small, complete steps with tests and verification after each step. TDD, or test-driven development, means writing a failing test before the code that makes it pass.

In plain words
What is it for?
Use it for new features, refactoring, and changes spread across several files by repeating a test, implementation, verification, and cleanup cycle.
Why use it?
It limits the size of each change and catches problems early while the code is still easy to understand.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is dinhnguyenngoc/spec-driven-claude-code's own configuration. It tells Claude Code how to work on spec-driven-claude-code itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything spec-driven-claude-code configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dinhnguyenngoc/spec-driven-claude-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dinhnguyenngoc/spec-driven-claude-code/main/.claude/skills/incremental-implementation/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dinhnguyenngoc/spec-driven-claude-code

Made for: Claude Code.

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 incremental-implementation

README.md
[![agentmods](https://agentmods.dev/badge/skills/dinhnguyenngoc/spec-driven-claude-code/incremental-implementation/github.svg)](https://agentmods.dev/skills/dinhnguyenngoc/spec-driven-claude-code/incremental-implementation)
Your own site
<a href="https://agentmods.dev/skills/dinhnguyenngoc/spec-driven-claude-code/incremental-implementation"><img src="https://agentmods.dev/badge/skills/dinhnguyenngoc/spec-driven-claude-code/incremental-implementation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for incremental-implementation

Your own site · 80×15
<a href="https://agentmods.dev/skills/dinhnguyenngoc/spec-driven-claude-code/incremental-implementation"><img src="https://agentmods.dev/badge/skills/dinhnguyenngoc/spec-driven-claude-code/incremental-implementation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,022 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00014 $0.01022
Opus 5.5 $0.00006 $0.00409
Sonnet 5.5 $0.00003 $0.00204
Haiku 4.5 $0.00001 $0.00102

Measured 1mo ago against content hash 081addd07d89, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

incremental-implementation 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 1mo ago.

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/incremental-implementation/SKILL.md · 211 lines

How it starts

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

Incremental Implementation Skill

Philosophy

"The simplest thing that could work."

Build in thin vertical slices. Each increment leaves the system working and testable.


When to Apply

Use this skill when:

  • Multi-file changes
  • New features
  • Refactoring work
  • Any change > 100 lines

Skip for:

  • Single-file, small changes
  • Simple bug fixes
  • Configuration updates

The Increment Cycle

┌─────────────────────────────────────────┐
│  1. Pick smallest complete piece        │
│                 ↓                       │
│  2. Write failing test (RED)            │
│                 ↓                       │
│  3. Implement minimal code (GREEN)      │
│                 ↓                       │
│  4. Refactor if needed                  │
│                 ↓                       │
│  5. Run all tests                       │
│                 ↓                       │
│  6. Commit with clear message           │
│                 ↓                       │
│  7. Repeat for next piece               │
└─────────────────────────────────────────┘

Vertical vs Horizontal Slicing

Vertical Slices (Correct)

Each slice delivers end-to-end functionality:

Task 1: User can create a task
        └── DB model + API route + UI component

Task 2: User can view task list
        └── DB query + API endpoint + List component

Task 3: User can complete a task
        └── DB update + API handler + Toggle UI

Horizontal Slices (Anti-pattern)

Layers completed separately:

Task 1: Create all DB models
Task 2: Create all API routes
Task 3: Create all UI components

❌ Problem: Nothing works until everything is done

Slicing Strategies

1. Happy Path First

Slice 1: Basic flow works
Slice 2: Add validation
Slice 3: Add error handling
Slice 4: Add edge cases

2. Risk-First

Slice 1: Uncertain/complex piece (reduce risk early)
Slice 2: Dependent pieces (build on verified foundation)
Slice 3: Polish (now safe to invest time)

Read the full file on GitHub · 211 lines

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. 1mo ago First seen · 211 lines · 14 tokens per session scan A 081addd07d89

Subscribe to this mod's changes

incremental-implementation is a skill published in the GitHub repository dinhnguyenngoc/spec-driven-claude-code (21 stars, last pushed 2mo ago), licensed MIT. It adds 14 tokens to every session and 1,022 once invoked, about $0.0001 per session on Opus 5.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-08-30.