بنقرة واحدة
plan-tdd
Create a test-driven development plan for the project
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a test-driven development plan for the project
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Autonomous product factory — /make-a-goal in godmode. Point it at a north-star outcome and it runs the whole delivery machine unattended: brainstorm the feature landscape (Discover), put every idea through a Feasibility Court, cluster into a Roadmap of epics, then per epic Plan → adversarial review → Execute (model-paired build) → VERIFY (drive the real UI/TUI/API, not mocks) → ship a stacked PR, looping until the backlog is dry or a budget/time bound fires. One human gate (roadmap blessing), hard stop rules, always-on tabbed RAG dashboard, crash-proof resume from state files. Use when the user says 'godmode', 'run the factory', 'ship X to nirvana', 'execute this whole backlog autonomously', 'goals within goals', or wants a multi-epic programme driven end-to-end with real end-to-end verification. NOT for single features, one-off verification, or scoped builds — use /make-a-goal, browser/tmux verification skills, or a plain plan for those.
Sync user-level agent config changes back to the ainb-toolkit repo (works for Claude, Codex, Copilot)
Produce a self-contained, richly styled HTML explainer for any topic the user asks about. Picks the right template from a bundled set of 22 visual patterns (feature explainer, concept explainer, module map, PR review, ADR, options paper / trade-off analysis, system diagram, flow- chart, status report, slide deck, prototype, editor, etc.), fills it with real content, augments with inline diagrams via sister skills (/fireworks-tech-graph for architecture / flow / sequence diagrams, /graphify for knowledge graphs), applies a Claude-brand polish layer, and publishes it: by default onto the configured here.now custom domain (path mount + searchable categorised index + password lock per the config's protect rule, driven by ~/.herenow/explainers.json), or a plain here.now URL, or a GitHub gist (--gist / --gist --public). Local-only output is available with --local. Use when Stevie says "/explain-to-me", "explain-to-me X", "make me an explainer for X", "give me an HTML explainer", "render this as a webpage", "ADR for
Self-improvement through conversation analysis. Extracts learnings from corrections and success patterns, permanently encoding them into agent definitions. Philosophy - Correct once, never again.
Claude Code observability skill: analyze session traces stored in Langfuse, extract learnings from corrections, identify success patterns, and propose agent/skill improvements based on historical data. Powers self-improvement through trace analysis of Claude Code sessions.
Create well-formatted git commits for changes made during the session
| name | plan-tdd |
| description | Create a test-driven development plan for the project |
| user-invocable | true |
Create a test-driven development (TDD) plan for: $ARGUMENTS
TDD = write a failing test first (red), make it pass with minimal code (green), clean up (refactor). This skill produces plan documents only; it does NOT write code.
| Situation | Use instead |
|---|---|
| No test-first requirement; just want a build plan | /plan |
| Work is a set of GitHub issues to file | /plan-gh |
| Execute an existing plan, not create one | /implement |
Recall prior learnings first so you don't re-decide something already captured.
uv run "{{HOME_TOOL_DIR}}/skills/recall/scripts/recall.py" \
"<QUERY>" \
--limit 5 --format markdown
<QUERY> = task description + "testing strategy" + target module name. Example: "payment webhook testing strategy".
| Result | Action |
|---|---|
| Learning names a relevant constraint / anti-pattern / prior decision | Surface it to the user BEFORE Step 1 |
| Nothing relevant | Proceed silently; don't mention the check |
| Empty output or non-zero exit | Treat as "no prior art" — NOT an error. Never block on it |
spec.md in project root. Absent → ask user for spec path and STOP until given.pytest, vitest, go test): match what the project already uses; if none, pick the language default.tests/test_*.py, *.test.ts).For each chunk, produce a prompt with three explicit phases:
Each prompt references prior chunks' code and keeps their tests passing.
Save to project root, exact names:
| File | Contents |
|---|---|
tdd-development-plan.md | Chunk breakdown, ordering, test levels per chunk |
tdd-implementation-prompts.md | The per-chunk red-green-refactor prompts from Step 4 |
testing-strategy.md | Harness, file layout, naming, mock strategy, e2e/perf milestones, example test skeleton |
Done when all three files exist AND every spec feature maps to at least one failing-test-first chunk. If any spec requirement has no chunk → return to Step 2 and add one.