execute-skill-using-skills-rules

Installation
SKILL.md

execute-skill-using-skills-rules

What you can do

execute-skill-using-skills-rules gives you three practices you can drop into any agent or repo layout.

What to point at: Treat the skill being directly executed by the user or the agent as the center of attention — the --skill-root package. Read its rules/, run scanners against that skill, and validate its output.

  1. When an agent uses a skill to produce output, have it read that skill's rules first — Before substantive work, go through rules/*.md and the Bundled rules block in SKILL.md. The point is not "I saw the headings"; it is using the skill according to those rules (constraints, DO/DON'T, examples), not generic habits or a skim of SKILL.md alone. You can make that a hard gate: no main task until the pass is done. Walk it with quality-steps-checklist.md § Step 1.

  2. Validate output against the rules — Do both: an AI / rules pass (read rules/*.md and bundled rules; judge whether the deliverable fits — not only "scanners green") and a scanner pass (run_scanners.py on --workspace). Treat that pair as the normal "does this match the rules?" workflow. Save scanner output somewhere durable (for example scanner-report/); fix failures and re-run; the rules pass still matters even when scanners pass.

  3. After something is wrong, follow the correction process — See guidance/log-and-fix-skill-errors for the full loop: identify, log, re-generate, iterate on the output until correct, then optionally improve the source. Put the log under the engagement or project tree — not inside the installed skill package.

The Target Skill Layout

For this skill to work the target skill must have rules/*.md — the rule files produced when you build the skill with the flow that creates those rules. Otherwise the executor has nothing real to run.

Installs
1
First Seen
May 19, 2026