analyze-misfires
Identify skills injected where not needed, propose regex and description tightening
Author a new skill from scratch with paired trigger fixtures and full validation. Use when adding a skill that has no upstream skills.sh source (discipline, meta, or internal-pattern skills).
> /plugin marketplace add iliaal/whetstone > /plugin install whetstone@iliaal-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
/write-skillContext preview
What this command does when you run it.
Author a new skill from scratch with paired trigger fixtures and full validation. Use when adding a skill that has no upstream skills.sh source (discipline, meta, or internal-pattern skills).
name: write-skill description: Author a new skill from scratch with paired trigger fixtures and full validation. Use when adding a skill that has no upstream skills.sh source (discipline, meta, or internal-pattern skills). argument-hint: "<skill-name> (e.g. ia-foo)"
**Skill name:** `$ARGUMENTS`
Scaffold a new plugin skill from scratch, generate paired trigger fixtures, register the regex pattern, and run all gates. For distilling a skill from skills.sh sources, use the `skill-distiller` skill instead — `/write-skill` is for skills with no external upstream.
1. If `$ARGUMENTS` is empty or doesn't start with `ia-`, ask for the skill name. 2. Validate format: must match `^ia-[a-z0-9][a-z0-9-]*$`, no consecutive hyphens, no banned tokens (`anthropic`, `claude`). 3. Confirm the skill doesn't already exist:
4. Read `CLAUDE.md` "Skill compliance checklist" section to refresh the gates this skill must pass.
Use `AskUserQuestion` once to collect everything needed before scaffolding. Do not drip-feed questions across turns.
Ask:
1. **Class** — one of the five values from `CLAUDE.md` "Skill class taxonomy": `language`, `discipline`, `workflow`, `meta`, `tool`. Read that section before asking so the option descriptions match what the validator will accept. 2. **Scope summary** — one or two sentences: what this skill is for, when it fires. 3. **Primary trigger vocabulary** — 3-6 distinctive phrases users would type. 4. **Existing skills it should not overlap with** — names of any close-in-scope `ia-*` skills the user already has in mind.
Read the SKILL.md of every skill the user named in question 4 (and any others that look similar by class). Goals:
Generate four artifacts atomically. Do not split across phases.
Path: `plugins/whetstone/skills/<name>/SKILL.md`
Frontmatter rules (all hard requirements — `validate-plugin` enforces them):
Body rules:
Path: `distillery/tests/fixtures/triggers/<name>.jsonl`
JSONL format. **Required floors: 5 should_trigger AND 5 should_not_trigger** — `test-triggers` fails the run if either count is below floor.
{"prompt": "<realistic phrasing a user would type>", "expect": true, "added_in": "<current-version>", "source": "initial"}
{"prompt": "<adjacent task that must NOT trigger this skill>", "expect": false, "added_in": "<current-version>", "source": "initial"}Drafting guidance:
Read the current plugin version fro
A Claude Code plugin that makes AI coding agents follow engineering discipline. Plan before coding. Verify before claiming done. Find root cause before patching. Review before merge. Skills activate based on file type and task signals, not manual toggling.
Repo: iliaal/whetstone
Identify skills injected where not needed, propose regex and description tightening
Draft X/Twitter announcement post (or thread) for the latest plugin release
Deep quality audit of all skills, agents, and commands for inconsistencies, gaps, duplication, and token waste
Analyze negative-signal sessions for a skill, identify failure patterns, propose and apply fixes
Eval all skills with sufficient data, rank by procedure-following score, identify candidates for optimization
Propose a skill revision and compare fresh executions under a frozen rubric