mcp-digger: Skill for Claude Code

.claude/skills/dev/SKILL.md

dev is a skill for Claude Code from janeksm/mcp-digger. It costs 20 tokens per session (854 once invoked), scanned A, original, MIT.

A full test-driven development cycle that plans a task, reviews the plan, implements the code, verifies the result, and accepts the completed work. Test-driven development, or TDD, means using tests to guide and check the implementation.

In plain words
What is it for?
Use it to develop a task from a TODO item or description, consult project knowledge files, run planning and skeptical review, implement the change, and verify it automatically.
Why use it?
It provides a repeatable path from an unfinished task to verified code while considering the project’s recorded decisions, patterns, and handoff notes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Codex.

This is janeksm/mcp-digger's own configuration. It tells Claude Code how to work on mcp-digger 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 mcp-digger configures →

Reuse

Borrowing it

Nothing to install: this file belongs to janeksm/mcp-digger. 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/janeksm/mcp-digger/main/.claude/skills/dev/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/janeksm/mcp-digger

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 dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/janeksm/mcp-digger/dev/github.svg)](https://agentmods.dev/skills/janeksm/mcp-digger/dev)
Your own site
<a href="https://agentmods.dev/skills/janeksm/mcp-digger/dev"><img src="https://agentmods.dev/badge/skills/janeksm/mcp-digger/dev/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 dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/janeksm/mcp-digger/dev"><img src="https://agentmods.dev/badge/skills/janeksm/mcp-digger/dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 854 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.
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.00020 $0.00854
Opus 5.5 $0.00008 $0.00342
Sonnet 5.5 $0.00004 $0.00171
Haiku 4.5 $0.00002 $0.00085

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

Security

Grade A, and why

dev 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 2mo 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/dev/SKILL.md · 81 lines

How it starts

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

Dev Cycle

Full TDD development cycle from planning through verified implementation. Reads/writes CMCM knowledge files (decisions, patterns, handoff).

Task: $ARGUMENTS

Instructions

Phase 1 — Dual-Source Plan + Skeptic Review

  1. Resolve task context.

    • If $ARGUMENTS is a step number: read TODO.md for task details (description, rationale, files).
    • If $ARGUMENTS is a description: use it directly.
    • Read CMCM files (if they exist, skip silently if missing):
      • HANDOFF.md — if present, display session continuity before proceeding (covers the case where /load was skipped)
      • DECISIONS.md — prior technical decisions (stays in context for planning)
      • PATTERNS.md — established code patterns (stays in context for planning)
      • CC.md — Node.js / TypeScript clean code rules (stays in context for planning and implementation)
  2. Run /plan-x. Invoke the plan-x skill with the task description. This handles:

    • Launching Codex planning in background
    • Interactive plan mode with the user
    • Merging Codex additions into the approved plan
    • Skeptic review via /plan-review

    DECISIONS.md and PATTERNS.md are already in context from step 1. When formulating the plan:

    • Reference relevant decisions — the plan must not contradict prior decisions without explicitly revisiting them.
    • Reference applicable patterns — the plan should reuse established patterns rather than inventing new approaches.
  3. Wait for /plan-x to complete (plan approved, reviewed, and finalized) before continuing.

Phase 2 — Record Decisions & Session State

  1. Log rejected alternatives — MANDATORY CHECK. After the plan is approved, explicitly review the planning discussion and ask: "Were any alternative approaches considered and rejected?"

    • If YES → append to DECISIONS.md:
      ## YYYY-MM-DD — short title
      Chose X over Y.
      Why: reasoning from the plan discussion
      
    • If NO (straightforward, no real alternatives) → skip, but confirm in output: DECISIONS.md: no new entries (no alternatives considered)

Read the full file on GitHub · 81 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. 2mo ago First seen · 81 lines · 20 tokens per session scan A 3603563ed34a

Subscribe to this mod's changes

dev is a skill published in the GitHub repository janeksm/mcp-digger (0 stars, last pushed 5mo ago), licensed MIT. It adds 20 tokens to every session and 854 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-31.

Related

Other skills, from other repositories

outside-in-tdd

Use when writing tests from the outside-in, defining behavior before code, or any feature where tests should start from observable business behavior and let internal design emerge.

SebastienDegodez/copilot-instructions · 35 tokens

tdd

Use test-driven development for behavior-changing feature or fix work, and whenever the user mentions TDD, test-first, red-green-refactor, tracer bullets, integration tests, or public-interface behavior tests. Skip for docs-only, path-only rename, formatting-only, or purely mechanical chores unless explicitly…

youdotcom-oss/agent-skills · 63 tokens

red-synthesize-green

Use when implementing any feature or fix using TDD, before writing any implementation code.

SebastienDegodez/copilot-instructions · 21 tokens

test-writer

Write thorough tests following TDD and BDD principles.

athola/skrills · 14 tokens

sumo-qa-implementing-with-tdd

Use after sumo-qa-deciding-approach picks tdd-scaffold, regression-first, or coverage-first-then-refactor — e.g. "write a regression test for this bug" or "scaffold the failing tests first". Walks plan → name-the-risk-and-test-idea → confirm → red → hand off → green → review, one section per turn with confirmation…

sumithr/sumo-qa · 103 tokens

cratis-screenplay-specifications

Use when writing Screenplay specification syntax or checking fixture, outcome-comparison, rejection and denial semantics. Not for choosing scenario coverage or writing C# and TypeScript tests.

Cratis/AI · 41 tokens