This repo is built for AI-assisted authoring with deterministic guardrails.
- Keep
SKILL.mdshort and procedural; push depth intoreferences/and scripts. - Prefer deterministic scripts for anything the agent would otherwise “guess” (repo detection, version checks, lint/test command discovery).
- Don’t add a new skill without at least one scenario in
eval/scenarios/. - Keep file references 1 hop from
SKILL.md(avoid deep chains). - Include a
compatibility:frontmatter line matchingdocs/compatibility-policy.md.
- Route first
- Start from
skills/wordpress-router/SKILL.mdto classify the repo and pick the domain.
- Start from
- Collect inputs
- What repo type(s) does triage detect?
- What WP/PHP/Node versions are targeted (if known)?
- What tooling exists (Composer, @wordpress/scripts, PHPUnit, Playwright, wp-env)?
- Draft the skill (AI-assisted)
- Write
SKILL.mdas a checklist/procedure with explicit “Verification” and “Failure modes”. - Keep examples short; link to topic references when needed.
- Write
- Add deterministic helpers
- If the skill depends on detection (versions, project layout, build system), add a script under
scripts/.
- If the skill depends on detection (versions, project layout, build system), add a script under
- Add evaluation scenario(s)
- Add at least 1 prompt-style scenario under
eval/scenarios/describing expected behavior.
- Add at least 1 prompt-style scenario under
- Validate
- Run
node eval/harness/run.mjs. - Optionally validate frontmatter using
skills-ref validate(seedocs/upstream-sync.mdfor CI guidance).
- Run
Use the scaffold script to create a minimal, spec-compliant starting point:
node shared/scripts/scaffold-skill.mjs <skill-name> "<description>"
When using an LLM to draft a skill, provide:
- The repo triage JSON output
- The user’s task statement(s)
- Any version constraints and non-goals
- The required sections: When to use, Inputs required, Procedure, Verification, Failure modes, Escalation
Then ask the model to output:
skills/<skill-name>/SKILL.md- Any
references/*.mdfiles it mentions - Any
scripts/*stubs needed for deterministic checks - One scenario markdown file under
eval/scenarios/
See docs/skill-set-v1.md.