From skills
Sets up a full agent harness for any repository: legible docs, custom lints, one-command dev stack, e2e gate, and commit hygiene. Use when onboarding a codebase to agent-driven development.
How this skill is triggered — by the user, by Claude, or both
Slash command
/skills:setup-codebase-harnessThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Harness engineering:** the model is fixed — what you engineer is the *scaffolding*
Harness engineering: the model is fixed — what you engineer is the scaffolding around it (the environment, the docs, the feedback loops) so an agent can build and verify software with minimal human attention. Humans steer; agents execute. Your job is to make the repo legible, executable, and verifiable.
Work incrementally and depth-first: assess what exists, build the one missing capability, use it to unlock the next. Don't boil the ocean — set up what the repo actually needs. When the agent struggles, the fix is almost never "try harder" — ask "what capability is missing, and how do I make it legible and enforceable?" and add it.
This skill orchestrates the focused sub-skills: dev-local-setup,
e2e-setup, crabbox-setup (cloud/parallel), and pr.
Survey the repo: stack, package manager, services/ports, infra deps, existing docs/tests/CI, and the implicit rules (buried in READMEs, PR comments, people's heads). Note what's missing per pillar below.
What the agent can't see doesn't exist. Knowledge in chat threads / heads is invisible — push it into versioned, repo-local artifacts.
AGENTS.md / CLAUDE.md) to a
~100-line table of contents: one-line overview, project tree, golden rules
(the hard invariants), and a "where to look" table. Move the depth into a
structured docs/ system-of-record (architecture, frontend, testing, domain
topics) with a docs/index.md. A monolithic instruction file rots and crowds out
the task — keep the map small and stable, disclose detail progressively.any,
forbidden imports, file-size, structured logging). Write the error message to
inject the fix ("X isn't allowed here — do Y") so the remediation lands in agent
context. Wire them into the repo's linter + CI.dev-local-setup → a one-command, reproducible local stack
(scripts/dev-local.sh up) running every service + infra.playwright-cli skill; logs reachable.crabbox-setup → an isolated cloud box per agent — the parallel-safe
counterpart to dev-local. Reach for it when loops run concurrently: one laptop
can't host N full stacks (fixed ports, one Docker daemon, one DB), and per-worktree
local doesn't fix it — the worktrees still share the host. crabbox gives each agent
its own stack + an in-box browser, so parallel verification never collides.e2e-setup → a trustworthy e2e gate: real flows (not bypass), a reusable
auth/session helper, layered client → server → product assertions, video/trace
evidence, sandbox-only external services.pr → the verify-before-ship loop: a fresh verifier sub-agent drives the
real app to confirm the just-built feature works; the main agent fixes until
green, runs the codified regression sweep, and opens a PR with a reviewable proof
link. Add the session helper so the verifier can reach login-gated features.1a (map) → 2 (dev-local) → 3 (e2e + /pr), then 1b (lints) and 4 as the
repo matures. The artifacts — slim map + docs/, scripts/dev-local.sh, an e2e/
suite, the /pr skill, and custom lints — are each a reusable, legible capability
that compounds. Prefer "boring", composable, stable tech the agent can fully model.
npx claudepluginhub ai-builder-club/skills --plugin skillsBootstraps repositories with harness engineering scaffolding: AGENTS.md orientation map, docs/ system of record, boundary tests, linter rules, CI pipeline, GC scripts. Use for new projects, agent-readiness, or architecture boundaries.
Structures repositories for maximum AI agent effectiveness via three pillars: context engineering (AGENTS.md failure ledger), architectural constraints, garbage collection. Use for AI dev repos, agent failure diagnosis, AGENTS.md writing, CI gates.
Scaffolds a long-running agent harness with context docs, AGENTS.md, style guides, session hooks, drift detection, and setup reports. Use when a project needs Maestro-owned project setup.