- profile: remove ~/Brain and ~/Brain/00-inbox/ from AGENTS.md and retire journal-builder from learning-contract.md; default durable notes to repository docs/ and personal learning/agent artifacts to gitignored .internal/. - document: route all 5 epistemic types (Discussion, ADR, Plan, Debug Record, Knowledge) to the active repository's docs/ tree (or .internal/ when personal), and remove journal-authoring.md and draft-curation handoff. - practice: store practice records and scan overdue revisits in gitignored .internal/practice/ at the repository root. - reconcile-docs: read repository-local docs/ (discussions, debug, adr, designs), git history, and Gitea state without external vault or inbox references. - install.sh & README.md: retire journal-builder and draft-curation into OBSOLETE_SKILLS so install.sh backs up and unlinks them cleanly. - tests: add test_repo_scoped_documentation_and_vault_deprecation.
2.5 KiB
2.5 KiB
name, description, disable-model-invocation
| name | description | disable-model-invocation |
|---|---|---|
| build-skill | Interactive design and refinement of agent skills. Use when the user types /build-skill to create a new skill or fix one that misbehaves. | true |
Build Skill
Use when
/build-skill [capability]: turning a recurring workflow or failure into a skill.- Fixing an existing skill after watching it misbehave on a real task.
- Starting from someone else's skill: use
derive-skillfirst; resume here with its approved brief.
Steps
- Find the friction. Ask what recurring workflow, pain point, or failure this addresses. If no capability was given, ask: "What keeps going wrong, or what do you keep repeating?"
- Pick the right tool. Before writing a skill, check whether it is really:
- a rule that always applies: one line in
AGENTS.md; - a fixed command with no judgment: a script;
- a human procedure: a guide in
docs/; - a procedure that needs agent judgment: a skill. Continue.
- a rule that always applies: one line in
- Check overlap. List the skills in this repo (
skills/). Ask where the new skill stops and which existing skill it hands off to. - Size it. Decide the shape: reference (facts consulted on demand), transformation (input to output), procedure (steps with checks between them), or interview (rounds of questions). Add gates or checkpoints only for a failure you can name.
- Write a short spec: name (matching
^[a-z0-9-]+$= slash command), description (3rd person, concrete triggers), manual invocation toggle if needed, steps, "Your call" items, done-when signal, hand-offs, and files in canonical subdirectories (references/,scripts/, etc.). - Write it in this repo following references/skeleton.md, then run the checks in references/checklist.md.
- Dogfood. Run it on a real task, read the agent's actual turns, and fix the smallest thing that went wrong (see the checklist's refinement table). Re-run a case that worked before to make sure nothing regressed.
Write only in this repo. Never create copies elsewhere or wrapper skills for slash commands.
Your call
- Rule, script, guide, or skill? (step 2)
- What the skill refuses to own. (step 3)
- Approve the spec before any file is written. (step 5)
- Whether a dogfood failure is worth a fix, or acceptable.
Done when
- The skill passes the checklist and one real dogfood run behaves as the spec says.
Hands off to
git-manager: for branch isolation, checkpoint commits, or repository operations.