agentleFS
Hook12aaaHook12aaa/skill-cheat/skills/skill-scope/SKILL.md

skill-scope

Skill0 starsChanged 41 days agoMITView on GitHub

Stage 1 of skill-cheat pipeline. Trigger /skill-scope whenever the user says "I want to build a skill for X", "scaffold a new Claude Code skill", "let's author a skill", "start a new skill", or "kick off a skill design". Locks name, triggers, verdict tokens, Anti-Pattern phrase, target project path, and plugin-mode before any design work begins. Emits SCOPE_LOCKED, SCOPE_INCOMPLETE, or BLOCKED_NEEDS_USER.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. lost-rob0t/skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 12 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do NOT proceed without a named concept and a declared target project path.

    line 10
  2. Distinctive:

    Do NOT lock scope without naming the Anti-Pattern phrase.

    line 14
  3. Distinctive:

    Ask the user for a skill name and slash command.

    line 50
  4. Distinctive:

    Ask the user for verdict tokens and trigger kinds.

    line 51
  5. Distinctive:

    Ask the user to name the Anti-Pattern phrase.

    line 52
  6. Distinctive:

    Ask the user for the target project path.

    line 53
  7. Distinctive:

    Ask whether this authors a new plugin or extends an existing one.

    line 54
  8. Very specific:

    Write scope.md, scope.json, and evals/eval-set-skeleton.json (run bash scripts/emit-eval-skeleton.sh scope.json > …

    line 55
  9. Very specific:

    Run bash scripts/emit-eval-skeleton.sh scope.json > evals/eval-set-skeleton.json to seed the behavioral benchmark eval set with one …

    line 85
  10. Distinctive:

    BEFORE asking questions: "Am I about to ask more than one thing at once?"

    line 89
  11. Distinctive:

    BEFORE locking scope: "Does the user's Anti-Pattern name a quoted rationalization, or is it a vague statement?"

    line 90
  12. Very specific:

    BEFORE emitting SCOPE_LOCKED: "Does scope.json validate against references/scope-schema.md?"

    line 91
  13. Distinctive:

    BEFORE moving on: "Did the user confirm the target project path exists on disk?"

    line 92
  14. Distinctive:

    One question at a time: No compound prompts.

    line 111
  15. Distinctive:

    ALL-CAPS verdict tokens: No lowercase, no spaces.

    line 113

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- design-region-clean-of-hard-gates -->

skill-scope

<HARD-GATE> Do NOT proceed without a named concept and a declared target project path. STOP and ask the user. </HARD-GATE><HARD-GATE> Do NOT lock scope without naming the Anti-Pattern phrase. STOP and ask until the user names it. </HARD-GATE>

Anti-Pattern

"I can skip the scope step for a simple skill" — every skill gets a scope lock. Simple skills are where unexamined assumptions cause the most wasted authoring work. The scope document is the contract that downstream stages verify against.

Core Principle

Lock the shape of the work before any design begins.

Process Flow

digraph skill_scope {
    rankdir=TB;
    "Intent received" [shape=box];
    "Ask name + command" [shape=box];
    "Ask triggers + verdicts" [shape=box];
    "Ask Anti-Pattern phrase" [shape=box];
    "Ask target project path" [shape=box];
    "Ask new plugin or existing?" [shape=box];
    "Write scope.md" [shape=box];
    "SCOPE_LOCKED" [shape=doublecircle];
    "Intent received" -> "Ask name + command";
    "Ask name + command" -> "Ask triggers + verdicts";
    "Ask triggers + verdicts" -> "Ask Anti-Pattern phrase";
    "Ask Anti-Pattern phrase" -> "Ask target project path";
    "Ask target project path" -> "Ask new plugin or existing?";
    "Ask new plugin or existing?" -> "Write scope.md";
    "Write scope.md" -> "SCOPE_LOCKED";
}

Checklist

  1. Ask the user for a skill name and slash command.
  2. Ask the user for verdict tokens and trigger kinds.
  3. Ask the user to name the Anti-Pattern phrase.
  4. Ask the user for the target project path.
  5. Ask whether this authors a new plugin or extends an existing one.
  6. Write scope.md, scope.json, and evals/eval-set-skeleton.json (run bash scripts/emit-eval-skeleton.sh scope.json > evals/eval-set-skeleton.json).

Step Details

1. Ask the user for a skill name and slash command

One question at a time. Prefer multiple-choice phrasing. Read references/trigger-vocabulary.md first.

2. Ask the user for verdict tokens and trigger kinds

Confirm each token is ALL-CAPS. Confirm at least one slash-command trigger.

3. Ask the user to name the Anti-Pattern phrase

Refuse to proceed on "no Anti-Pattern needed". Every skill has one.

4. Ask the user for the target project path

Absolute path. Confirm the directory exists.

5. Ask whether this authors a new plugin or extends an existing one

Multiple choice: new plugin (full scaffold) or existing plugin (skill-only).

6. Write scope.md, scope.json, and evals/eval-set-skeleton.json

Save scope.md to docs/skill-cheat/skills-in-progress/<skill-name>/scope.md. Include name, triggers, verdicts, Anti-Pattern, target path, plugin-mode as human-readable prose.

Save scope.json to docs/skill-cheat/skills-in-progress/<skill-name>/scope.json. Follow references/scope-schema.md. Downstream stages read scope.json, not scope.md.

Run bash scripts/emit-eval-skeleton.sh scope.json > evals/eval-set-skeleton.json to seed the behavioral benchmark eval set with one positive case per trigger and five adversarial placeholders. The scope author fills in realistic queries before /skill-voice-review dispatches the benchmark (Plan 5).

Gate Functions

  • BEFORE asking questions: "Am I about to ask more than one thing at once?"
  • BEFORE locking scope: "Does the user's Anti-Pattern name a quoted rationalization, or is it a vague statement?"
  • BEFORE emitting SCOPE_LOCKED: "Does scope.json validate against references/scope-schema.md?"
  • BEFORE moving on: "Did the user confirm the target project path exists on disk?"

Rationalization Table

You think...Reality
"The user will figure out the Anti-Pattern later"Later never comes. Ask now or the lint enforcement downstream has nothing to anchor on.
"A simple skill needs no scope"Simple scopes hide the deepest assumptions. Lock scope regardless.
"Multiple questions at once saves time"Ask one question at a time. Refuse batched prompts.

Red Flags

  • "Let's just start drafting"
  • "Scope is obvious"
  • "I can derive the Anti-Pattern from context"
  • "We can skip the target path question"

Key Principles

  • One question at a time. No compound prompts.
  • Refuse to proceed without the Anti-Pattern. It is the anchor for downstream enforcement.
  • ALL-CAPS verdict tokens. No lowercase, no spaces.

The Bottom Line

echo "VERDICT: SCOPE_LOCKED"

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.