← ClaudeAtlas

cf-tddlisted

Use when writing new production code, adding features, implementing changes, or refactoring existing code — e.g. "implement this", "build this feature", "create a function", "add a new endpoint", "write the implementation", "refactor this", "clean up this code", "extract into a module", "simplify this function", "scaffold", "write a test", "add tests", "create a component", "implement the API", "add a route", "write a service", "create the handler". Also auto-invoke when the conversation transitions from planning/discussion to actual code writing — any time production code is about to be written, this skill MUST be loaded first. By default uses direct implementation (no new tests written). TDD is enabled when `--add-tests` is present or config `tdd: true`. This is the gate for all code writing in the project. Do NOT auto-invoke for documentation-only changes, config edits, non-code file updates, or when the user is only asking questions about code without requesting changes.
dinhanhthi/coding-friend · ★ 2 · Testing & QA · score 71
Install: claude install-skill dinhanhthi/coding-friend
# Implementation Workflow > **CLI Requirement:** NONE — Works without `coding-friend-cli`. See [CLI requirements](../../../docs/cli-requirements.md) for the full matrix. ## Custom Guide Run: `bash "${CLAUDE_PLUGIN_ROOT}/lib/load-custom-guide.sh" cf-tdd` If output is not empty, integrate returned sections: `## Before` → before first step, `## Rules` → apply throughout, `## After` → after final step. ## Mode Detection Determine the implementation mode BEFORE doing anything else: 1. Check if the user's invocation or task description contains `--add-tests` 2. Check if `.coding-friend/config.json` exists and has `"tdd": true` 3. Check if the user's invocation or task description contains `--auto` (orthogonal to mode — autopilot can combine with both Direct and TDD mode). **Result:** - `--add-tests` present OR `tdd: true` in config → **TDD mode**. Show: `> TDD mode enabled — RED → GREEN → REFACTOR` - Neither → **Direct mode** (default). Show: `> Direct mode — implementing without new tests` - Additionally, if `--auto` is present → **Autopilot active**. Show: `> 🤖 Autopilot enabled — will auto-review, auto-fix Critical+Important, and auto-commit after implementation.` ## Skip Conditions Check these BEFORE starting. If a skip condition is met, bypass the workflow entirely and proceed directly to implementation. ### Auto-skip whitelist If **ALL** changed/new files match these extensions, skip entirely — note why and proceed: - **Styles**: `.css`, `.scss`, `.sass`, `.les