ShtukbaseStandard
package page→ /norms/rules/skills/SKL-R01.md

pages/norms/rules/skills/SKL-R01.md

30 lines, 1.6 KB. As a page.

  1. ---
  2. type: Rule
  3. ruleId: SKL-R01
  4. title: 'The agent gets its skills as they are now'
  5. requirement: 'A skill is written in the Agent Skills format; the agent prompt with skills and the copy of skills for Claude Code are built from the current skills'
  6. level: SHOULD
  7. floor: false
  8. status: active
  9. appliesTo: [/skills, /agents]
  10. enforcers: [.shtukbase/packages/blueprint-skilled-agent/checks/k01_skills.ts]
  11. enforcerKind: gate
  12. mode: enforce
  13. followsFrom: ''
  14. because: 'A scheduled agent reads the built prompt. If a skill was fixed and the prompt was not rebuilt, the agent works by the old skill, and nobody sees it.'
  15. baseline: 0
  16. reviewBy: 2027-05-28
  17. pack: blueprint-skilled-agent
  18. evidence: []
  19. sources: []
  20. ---
  21. A skill is a folder `skills/<id>/` with a page `SKILL.md`: the header has `name` (the same as the folder: lowercase Latin letters, digits, hyphen) and `description` (when to apply it, up to 1024 characters), and below it is the instruction. An agent with skills: the header has `skills` (a list of ids or `all`) and `instructions: /agents/prompts/<agent>.md`. The prompt and the `.claude/skills/` copy are built by the `build` action from the current skills.
  22. **Why.** The agent is started without a person. It sees only the built prompt. A skill fix that was not built silently does not reach the agent.
  23. **How to fix.** Fix the skill or the agent page by the check line, then run `shtuk run blueprint-skilled-agent build`.
  24. **Run.** From the project root: `bun .shtukbase/packages/blueprint-skilled-agent/checks/k01_skills.ts`. A violation is one line per record and exit code 1; no violations is exit code 0.
  25. The enforcer is the `skills` check of the `blueprint-skilled-agent` package.