repo-harness-init
SolidInstalls or refreshes the repo-harness workflow in an existing repository. Adds hooks, docs/spec.md, tasks, plans, .ai/context, .ai/harness, helpers, and policy without creating an application stack.
AI & Automation 397 stars
27 forks Updated yesterday MIT
Install
Quality Score: 90/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# repo-harness-init
Use this command for an existing repository that needs the repo-local agentic workflow installed or refreshed.
## Protocol
1. Confirm the target repo path.
2. If running from the target repo root, use `repo-harness adopt`; do not require `--repo .`.
3. Run `bun scripts/inspect-project-state.ts --repo <repo> --format text`.
4. If the repo is legacy, route to `repo-harness-migrate`.
5. Apply the canonical transaction with `repo-harness adopt --repo <repo>`.
6. If user-level runtime dependencies are missing, run `repo-harness update` separately; repo adoption must not write HOME.
7. Verify with `repo-harness run check-task-workflow --strict` inside the target repo.
## Failure Modes
- If the repo has legacy workflow docs, route to `repo-harness-migrate`.
- If the user asks for a new product skeleton, route to `repo-harness-scaffold`.
- If global runtime setup is missing, report the exact target and rerun the focused `repo-harness update` command.
## Boundaries
- Does not create a new application stack.
- Does not call `scripts/init-project.sh` for product scaffold work.
- Preserves existing user-authored repo files unless the workflow contract explicitly owns the generated surface.
Details
- Author
- Ancienttwo
- Repository
- Ancienttwo/repo-harness
- Created
- 4 months ago
- Last Updated
- yesterday
- Language
- TypeScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
repo-harness-upgrade
Refreshes an already-installed repo-harness harness using manifest-owned upgrade actions from assets/workflow-contract.v1.json.
397 Updated yesterday
Ancienttwo AI & Automation Solid
repo-harness-setup
Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository.
397 Updated yesterday
Ancienttwo AI & Automation Solid
repo-harness-migrate
Migrates older Claude/Codex workflow repos to the current tasks-first harness while preserving or archiving user-authored docs and hooks.
397 Updated yesterday
Ancienttwo