skills/create-repo-skill/SKILL.md
Generate a repository-local skill from live repo discovery and user intent. Use when: "create QA skill", "generate repo skill", "make a local skill", "persona acceptance skill", "value proposition QA", "bespoke repo QA", "scaffold local skill". Creates concrete `.agents/skills/<name>/` guidance with harness-specific bridges when useful. Trigger: /create-repo-skill, /repo-skill, /create-qa-skill.
npx skillsauth add phrazzld/agent-skills create-repo-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Agentic compiler: repo evidence + user intent -> one repo-local skill. Not global. Not a runtime. Rust tools scaffold and typecheck artifacts; the lead agent still owns discovery, product judgment, oracle design, and final report.
| Need | Load |
|---|---|
| repo-specific QA skill | references/qa.md |
| persona/value-proposition acceptance skill | references/persona-acceptance.md |
| skill-writing rules | references/authoring.md |
| readiness profile present | Load .harness-kit/agent-readiness.yaml for gate commands, mock policy, stack feedback strength, and waivers |
/qa, /demo,
/design, or /agent-readiness already owns the job with minor parameters,
do not generate a repo-local shadow..agents/skills/<name>/ as shared root; bridge .claude/skills/,
.codex/skills/, and .pi/skills/ when those dirs exist..agents/skills/qa/.SKILL.md under 300 lines unless the repo proves otherwise.Use the tools as rails, not the generator:
cargo run --locked -p harness-kit-checks -- repo-skill scaffold <name> --kind qa|persona-acceptance|generic --repo <target-repo>
cargo run --locked -p harness-kit-checks -- repo-skill validate <target-repo>/.agents/skills/<name>
cargo run --locked -p harness-kit-checks -- eval-grader create-repo-skill <target-repo>/.agents/skills/<name>
scaffold creates the manifest for the agent to fill. validate rejects
placeholders, missing gates, missing eval seeds, missing concrete repo anchors,
and copied harness bridges. It cannot prove product fit; the agentic critic
must still attack the generated skill for generic wording, guessed commands,
invented routes, and weak oracles.
delegate on judgment per the shared Roster contract: native subagents
by default; add cross-model critics, roster providers, or sprite lanes
(/sprites) only when they answer a distinct question. See
harnesses/shared/AGENTS.md (Roster).
Local lane guidance: Use split lanes: one maps repo truth, one attacks the generated skill for generic wording, missing oracles, and workflow mismatch.
Generated local skill includes:
SKILL.md with trigger phrases, repo commands, live surfaces, output format.references/ only for material too large for the entry file.evals/README.md, evals/cases/<case>.md, and a small grader or rubric.The final report includes:
Before claiming the generated repo skill is usable, compare it against live repo evidence. Passing frontmatter or scaffold validation is structural proof only.
## Acceptance Evidence
- Live repo evidence read: repo files, docs, commands, routes, configs, harness roots, and user corrections inspected.
- Acceptance source: user request, repo-local workflow, value proposition, ticket, or explicit absence.
- Evidence that proves it: diff, smoke output, eval result, generated artifact path, or transcript proving the repo-local workflow is connected.
- Exact command/path/route exercised: command, URL, route, tool call, generated path, or smoke oracle run.
- Oracle / acceptance artifact hash: sha256 digest for any fixture, transcript, screenshot, or contract used by the generated skill, or state that no artifact-backed oracle exists.
- Contract-change acknowledgment: reason when generating the skill changes an existing repo-local acceptance contract, or state that no contract changed.
- Repo-fit check: language, commands, docs, shared root, bridge topology, and observable surfaces match this repo.
- Structural gate: frontmatter, eval seed, scaffold validation, or smoke check result.
- Residual risk: missing product truth, untested command, skipped bridge, or none with reason.
tools
Enumerates the peer AI agent CLIs installed on this machine (codex, claude, pi, opencode, cursor-agent, grok, agy, hermes, thinktank) and how to invoke each headlessly. A capability map, not a quota: useful for fresh-context adversarial review on a different model family, second opinions, competing attempts, and wide benches. Use when: "ask codex", "ask another model", "second opinion", "cross-model review", "what AI tools do I have", "other agents", "different model family", "adversarial critique from another provider". Trigger: /roster.
development
Run lane cards on Fly Sprites: remote, isolated, scale-to-zero sandboxes for heavy or parallel agent work. Golden-checkpoint provisioning so lanes start on a ready sprite with zero setup tokens. Use when: "run this on a sprite", "remote lane", "offload to a sandbox", "dispatch to sprites", "bake a sprite", "sprite fleet", heavy/long-running/parallel sub-agent work that should not run on this machine. Trigger: /sprites, /sprite-lane.
testing
Compose and launch roster-backed specialist lanes with prompt-native lane cards and receipts. Use when: "dispatch agents", "use subagents", "compose a team", "run provider lanes", "make lane cards". Trigger: /dispatch, /subagents, /lanes.
tools
Fast session-start repository orientation from live local evidence. Use when: "orient yourself", "start of session", "new session", "where are we", "catch me up before acting", "what should I do next", after compaction, after switching worktrees, or before choosing a Harness Kit workflow. Trigger: /orient, /ground, /session-start.