Agent skill · Testing & QA

foreman-tdd

Stack-agnostic test-driven development loop for a single Foreman issue. Implements one vertical slice with strict red-green-refactor (one test at a time, never horizontal slicing) using the foreman-test wrapper, saves completion evidence, then emits a machine-readable FOREMAN-SUMMARY block Foreman parses.

VisionForge-OUgithub.com/VisionForge-OUGitHub ↗
claude-codeNOASSERTION
Install
npx skills add VisionForge-OU/foreman --skill foreman-tdd --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: src/foreman/skills/foreman-tdd/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 421
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# foreman-tdd (Adapted from mattpocock/skills `tdd` — see NOTICE. Made stack-agnostic: test, lint and typecheck commands are injected by Foreman from `config.yaml`, not hard-coded to npm/Husky. Removed interactive "confirm with the user / get user approval" steps — those become escalation triggers. Added the FOREMAN-SUMMARY output block.) ## Inputs (injected by Foreman in the prompt) - The full **issue file** (`ISS-NNN.md`) — its Goal, Acceptance criteria, Out of scope, `prd_refs`, and its `acceptance_check` (a runnable check Foreman re-runs independently — your slice is not done until it passes). This is your slice definition. - The **commands** for the project (`test`, `lint`, `typecheck`) — but you run tests through the **`foreman-test`** wrapper (see below), never the raw runner. - The target repo conventions (`CONTEXT.md`, relevant ADRs). - The **evidence directory** (`runs/<id>/evidence/`) you MUST populate before claiming done. - On a retry, the **failing output** from the previous attempt. You run headless in a git worktree on the issue's branch, cwd set to that worktree. Implement the slice and stop. Do not ask for confirmation. ## The foreman-test wrapper (use it exclusiv

What's inside
Steps it walks through
  1. Inputs (injected by Foreman in the prompt)
  2. The foreman-test wrapper (use it exclusively)
  3. You may NOT write Foreman-owned state
  4. Philosophy
  5. Anti-pattern: horizontal slices
  6. Workflow
  7. 1. Plan from the issue
  8. 2. Tracer bullet
  9. 3. Incremental loop
  10. 4. Refactor (only while GREEN)
  11. 5. Verify, save evidence, and summarise
  12. Required output: FOREMAN-SUMMARY
Ships with 1 file
  • tests.md
More from foreman
All skills →
About this skill
What does the foreman-tdd skill do?

Stack-agnostic test-driven development loop for a single Foreman issue. Implements one vertical slice with strict red-green-refactor (one test at a time, never horizontal slicing) using the foreman-test wrapper, saves completion evidence, then emits a machine-readable FOREMAN-SUMMARY block Foreman parses.

How do I install it?

Run `npx skills add VisionForge-OU/foreman --skill foreman-tdd --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From VisionForge-OU/foreman, a repository with 421 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going