brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
meta-skill-creatorCreate or update a pack SKILL.md (frontmatter, house limits, T1–T8). Use when authoring a kenji skill. Prompt-only upgrade → enhance-skill-prompts. Cursor skill wizard → create-skill.
Independent GitHub snapshot · Automated classification · Original documentation governs
Degree of freedom: MIXED. Authoring judgment is [HIGH freedom];
house limits, frontmatter shape, and the T1–T8 checklist are
[LOW freedom — do not skip].
Guidance for creating effective skills.
Skills are modular, self-contained packages that extend Claude's capabilities by providing specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific domains or tasks—they transform Claude from a general-purpose agent into a specialized agent equipped with procedural knowledge that no model can fully possess.
The context window is a public good. Skills share the context window with everything else Claude needs: system prompt, conversation history, other Skills' metadata, and the actual user request.
Default assumption: Claude is already very smart. Only add context Claude doesn't already have. Challenge each piece of information: "Does Claude really need this explanation?" and "Does this paragraph justify its token cost?"
Prefer concise examples over verbose explanations.
Every line must earn its tokens. Sweep each skill with these tests (adapted from mattpocock/skills, MIT):
Two modes, trading different costs:
disable-model-invocation: true. The description leaves
the agent's always-on context — zero token cost — but only the user typing its
name can fire it. Right for compactors, wrappers, and rituals the user always
initiates deliberately (e.g. handoff).Match the level of specificity to the task's fragility and variability:
High freedom (text-based instructions): Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.
Medium freedom (pseudocode or scripts with parameters): Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.
Low freedom (specific scripts, few parameters): Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.
Think of Claude as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).
New skills should be born with these, not retrofitted later. Full procedure:
docs/PROMPT-ENHANCEMENT-PLAYBOOK.md.
Upgrade an existing skill's prompt (not its behavior) with
enhance-skill-prompts.
| # | Technique | One-line rule |
|---|---|---|
| T1 | Degrees of freedom | Declare register under the H1; tag fragile phases LOW, interpretive HIGH |
| T2 | Classification contract | One named-stage record of what a finding contains, at judgment points; it never steers thinking ("think step by step") |
| T3 | One worked example | Chain and output shape on one realistic case, labeled illustrative |
| T4 | Self-critique rubric | Evidence conditions the output must satisfy (a command re-run, a form re-searched, a file listed) — never generic "double-check your work" items, which the model does unprompted |
| T5 | Terminology consistency | One term per concept |
| T6 | Conciseness | Cut restatements of trained defaults; never trim a LOW-freedom step's exactness |
| T7 | Effort declaration | effort: high for judgment, low for mechanical, omit for implementation (Step 4) |
| T8 | Volume, shape, communication | Each rule once at normal volume with its reason; outcomes, not choreography; never suppress updates |
House limits: description ≤320 chars (Claude Code caps description + when_to_use at 1,536), body <500 lines, name matches dir. Every description rides in every request — roughly 168 skills × 300 chars is 12-15k always-on tokens — so a description earns its length by routing, and a ritual nobody should auto-trigger goes disable-model-invocation: true.
Never write the retired layout alias (use audit-responsive).
Observe: user wants a skill for "pin down glossary terms before coding." Interpret: that is
docs-domain-modeling, not a new unprefixed name. Classify: do not authorglossary; update the existing skill or stop. If truly new:docs-<topic>, T1 under H1, one T3, T4 rubric, description carries the trigger.
enhance-skill-promptsEvery skill consists of a required SKILL.md file and optional bundled resources:
skill-name/
├── SKILL.md (required)
│ ├── YAML frontmatter metadata (required)
│ │ ├── name: (required)
│ │ └── description: (required)
│ └── Markdown instructions (required)
└── Bundled Resources (optional)
├── scripts/ - Executable code (Python/Bash/etc.)
├── references/ - Documentation intended to be loaded into context as needed
└── assets/ - Files used in output (templates, icons, fonts, etc.)
Every SKILL.md consists of:
name and description route the skill (Claude Code also reads when_to_use and paths), so the description must say what the skill does and when it fires; the optional keys listed in Step 4 control effort, invocation, and context.scripts/)Executable code (Python/Bash/etc.) for tasks that require deterministic reliability or are repeatedly rewritten.
scripts/rotate_pdf.py for PDF rotation tasksreferences/)Documentation and reference material intended to be loaded as needed into context to inform Claude's process and thinking.
references/finance.md for financial schemas, references/mnda.md for company NDA template, references/policies.md for company policies, references/api_docs.md for API specificationsassets/)Files not intended to be loaded into context, but rather used within the output Claude produces.
assets/logo.png for brand assets, assets/slides.pptx for PowerPoint templates, assets/frontend-template/ for HTML/React boilerplate, assets/font.ttf for typographyA skill should only contain essential files that directly support its functionality. Do NOT create extraneous documentation or auxiliary files, including:
The skill should only contain the information needed for an AI agent to do the job at hand.
Skills use a three-level loading system to manage context efficiently:
Skill creation involves these steps:
To create an effective skill, clearly understand concrete examples of how the skill will be used. This understanding can come from either direct user examples or generated examples that are validated with user feedback.
For example, when building an image-editor skill, relevant questions include:
Conclude this step when there is a clear sense of the functionality the skill should support.
To turn concrete examples into an effective skill, analyze each example by:
Create the skill directory structure:
skill-name/
├── SKILL.md
├── scripts/ (optional)
├── references/ (optional)
└── assets/ (optional)
When editing the skill, remember that the skill is being created for another instance of Claude to use. Include information that would be beneficial and non-obvious to Claude.
Writing Guidelines: Imperative/infinitive form. Say exactly what you mean at normal volume and give the reason — MUST/NEVER/CRITICAL over-trigger, and hedges ("try to", "if possible") read as permission to under-deliver. State outcomes, constraints, and how to verify; keep numbered exact steps for fragile operations only (destructive commands, auth, migrations, baseline capture). No "think step by step", "be thorough", or "double-check" scaffolds — effort controls thinking and the model self-verifies; keep evidence-grounding rules ("cite the tool result"). The always-on verification rule already asks for an intent line, load-bearing notes, and a recap — do not repeat it per skill and never suppress it ("no preamble", "hold findings"); skills that run unattended say when the turn may end. Anti-formatting rules strip structure the reader wanted — say when formatting fits (lists for multifaceted content, prose otherwise). Model-agnostic guardrails stay: no deleting or skipping tests to go green, no weakened assertions, no metric gaming.
Write the YAML frontmatter with name and description:
name: The skill namedescription: This is the primary triggering mechanism for your skill, and helps Claude understand when to use the skill.Other fields, all optional and ignored by hosts that do not know them:
effort: — Opus 5.5 defaults to medium (earlier models defaulted to high), and effort is its only thinking control; prose like "think step by step" or "double-check" does nothing. Declare it by family:
| Family | effort |
|---|---|
| audit-, plan-, judge/reviewer agents, security, architecture, debug-* | high |
| the hardest planning only, with a measured gain | xhigh |
| ordinary implementation (build, enhance, workflow) | omit (medium) |
| mechanical / read-only / formatting / handoff / inventory / smoke checks | low |
disable-model-invocation: true — user-only rituals (see "Invocation — who pays the cost").
user-invocable: false — reference-only skills that other skills load (protocols, maps); hidden from the menu, still model-loadable.
context: fork + agent: Explore — a read-only inventory skill that should not fill the main context.
license.
Write using the skill and its bundled resources.
After testing the skill, users may request improvements. Often this happens right after using the skill, with fresh context of how the skill performed.
Iteration workflow:
audit-skill-conflicts — after a batch of skills: contradictions, trigger overlap, stale refsenhance-skill-prompts — upgrade an existing skill's prompt (T1–T8), not its behaviormeta-mcp-builder — MCP servers, not SKILL.mdenhance-agent-guardrails — app-repo policy, not pack authoring