repo-harness-init

Solid

Installs 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

View on GitHub

Quality Score: 90/100

Stars 20%
87
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
61
Issue Health 10%
80
License 10%
100
Description 5%
100

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