From completely
Scaffold the completely thin layer into the current repository — Definition of Done, the harness rules snippet in CLAUDE.md, and an optional project-specific quality command. Use when setting up claude-harness in a new project, or when the user says "harness init", "set up the harness", or "wire up the quality gates here".
How this skill is triggered — by the user, by Claude, or both
Slash command
/completely:init [--force][--force]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are scaffolding the **claude-harness** project thin layer into the current repo. The
You are scaffolding the claude-harness project thin layer into the current repo. The
heavy logic (hooks, evaluator agent) ships with the plugin/global install; this only adds
the small per-project pieces. Never overwrite an existing file without asking (unless
the user passed --force).
Locate the repo root (git rev-parse --show-toplevel, else cwd) and detect the stack:
pyproject.toml / setup.cfg → Python (commands: ruff check, mypy, pytest)package.json → JS/TS (read its scripts; commands likely eslint ., tsc --noEmit, vitest run / jest)go.mod → Go; Cargo.toml → Rust. Record the real lint/typecheck/test commands.Create .claude/ and .claude/harness/ if missing.
Write .claude/DEFINITION_OF_DONE.md. Copy the harness template. Locate it under the
installed plugin (try ${CLAUDE_PLUGIN_ROOT}/templates/DEFINITION_OF_DONE.md, then
~/.claude/harness/core/); if you can't find it, regenerate it from the canonical content
you know (default-FAIL checklist). Fill in the detected stack's commands.
Merge the harness rules into the project CLAUDE.md. If CLAUDE.md exists, append the
CLAUDE.harness.md snippet (between its <!-- claude-harness --> markers) — do not
duplicate if already present. If no CLAUDE.md, create a minimal one with the snippet.
Fill in the real project commands you detected in step 1.
Project quality command (optional). If the repo already has an aggregate check script
(e.g. scripts/check.sh, a Makefile check target, or a package.json check script),
create .claude/harness/quality-gate.local.sh that delegates to it — this makes the
harness quality-gate hook reuse the project's own gate instead of guessing. Make it
executable. If there is no such script, skip this (the hook's built-in stack detection handles it).
Confirm hook activation. If the plugin is installed, the gates are already active
globally — say so. Otherwise tell the user to run install.sh --project <repo> (manual path).
Report exactly what you created/changed and what you skipped (and why). Suggest a
one-line verification:
echo '{"tool_input":{"command":"rm -rf /"}}' | bash <guard-dangerous.sh>; echo exit=$? (expect exit=2)
blocked with the reason — do not silently skip a piece.npx claudepluginhub 23ag1/completely --plugin completelyGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.