Set up a living harness for this project — discover the stack, define conventions, generate HARNESS.md with enforcement
From ai-literacy-superpowersnpx claudepluginhub russmiles/ai-literacy-superpowers --plugin ai-literacy-superpowers/harness-initInitialize the codeharness harness in the current project — detect stack, configure enforcement, install dependencies, set up hooks.
/harness-initInitialize a long-running build project. Decomposes a high-level goal into a granular feature_list.json, sets up claude-progress.txt, creates an init.sh bootstrap script, and makes an initial git commit. Run once before your first /harness-run session.
Set up a living harness for this project. This is the guided on-ramp that produces a working HARNESS.md from a conversation.
Read the harness-engineering and context-engineering skills from
this plugin before proceeding. They provide the conceptual framework
and convention-writing guidance needed for this conversation.
Dispatch the harness-discoverer agent to scan the project. Wait for
its discovery report before proceeding.
Show the user what was discovered:
Frame this as: "Here's what your project already has. Let's build on it."
Ask the user about their conventions, one topic at a time. Use the discovery report to make informed suggestions. Cover:
For each topic, offer concrete options based on what the discoverer
found. Use the convention patterns from the context-engineering skill
to ensure conventions are enforceable.
For each convention, ask whether the user wants it enforced. For each that should be enforced:
deterministicunverifiedAsk about scope: should this check run at commit time (fast feedback), PR time (strict gate), or weekly (periodic sweep)?
Ask whether the user wants periodic checks for:
For each, set frequency and auto-fix preference.
Read the template from ${CLAUDE_PLUGIN_ROOT}/templates/HARNESS.md.
Replace all placeholder values with discovered facts and user responses.
Write the result to HARNESS.md at the project root.
If GitHub Actions was detected (or the user confirms it), read the
template from ${CLAUDE_PLUGIN_ROOT}/templates/ci-github-actions.yml.
Add deterministic tool steps for each PR-scoped deterministic
constraint. Write to .github/workflows/harness.yml.
If no CI was detected, offer the generic script from
${CLAUDE_PLUGIN_ROOT}/templates/ci-generic.sh.
Add the harness badge to the project's README.md. Use the badge update
script at ${CLAUDE_PLUGIN_ROOT}/scripts/update-badge.sh or insert
manually:
[](HARNESS.md)
Stage and commit all generated files:
Commit message: "Initialize project harness with HARNESS.md"
Tell the user:
/harness-constrain to add more rules,
/harness-status to check health, /harness-audit to verify
enforcement