analyze-misfires
Identify skills injected where not needed, propose regex and description tightening
**Best for:** Simple bugs, small improvements, clear features
> /plugin marketplace add iliaal/whetstone > /plugin install whetstone@iliaal-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
/workflow-plan-templatesContext preview
What this command does when you run it.
**Best for:** Simple bugs, small improvements, clear features
**Best for:** Simple bugs, small improvements, clear features
**Includes:** Problem statement, basic acceptance criteria, essential context only
---
title: [Issue Title]
type: [feat|fix|refactor]
status: active
date: YYYY-MM-DD
origin: docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md # if originated from brainstorm, otherwise omit
---
# [Issue Title]
[Brief problem/feature description]
## Acceptance Criteria
- [ ] Core requirement 1
- [ ] Core requirement 2
## Context
[Any critical information]
## MVP
### example.ts
```typescript
class Example {
private name: string;
constructor() {
this.name = "test";
}
}## MORE (Standard Issue) **Best for:** Most features, complex bugs, team collaboration **Includes everything from MINIMAL plus:** Detailed background and motivation, technical considerations, success metrics, dependencies and risks, basic implementation suggestions ```markdown --- title: [Issue Title] type: [feat|fix|refactor] status: active date: YYYY-MM-DD origin: docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md # if originated from brainstorm, otherwise omit --- # [Issue Title] ## Overview [Comprehensive description] ## Problem Statement / Motivation [Why this matters] ## Proposed Solution [High-level approach] ## Technical Considerations - Architecture impacts - Performance implications - Security considerations ## System-Wide Impact - **Interaction graph**: [What callbacks/middleware/observers fire when this runs?] - **Error propagation**: [How do errors flow across layers? Do retry strategies align?] - **State lifecycle risks**: [Can partial failure leave orphaned/inconsistent state?] - **API surface parity**: [What other interfaces expose similar functionality and need the same change?] - **Integration test scenarios**: [Cross-layer scenarios that unit tests won't catch] ## Acceptance Criteria - [ ] Detailed requirement 1 - [ ] Detailed requirement 2 - [ ] Testing requirements ## Success Metrics [How we measure success] ## Dependencies & Risks [What could block or complicate this] ## Sources & References - **Origin brainstorm:** [docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md](path) -- include if plan originated from a brainstorm - Similar implementations: [file_path:line_number] - Best practices: [documentation_url] - Related PRs: #[pr_number]
**Best for:** Major features, architectural changes, complex integrations
**Includes everything from MORE plus:** Detailed implementation plan with phases, alternative approaches considered, extensive technical specifications, resource requirements, future considerations, risk mitigation strategies, documentation requirements
--- title: [Issue Title] type: [feat|fix|refactor] status: active date: YYYY-MM-DD origin: docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md # if originated from brainstorm, otherwise omit --- # [Issue Title] ## Overview [Executive summary] ## Problem Statement [Detailed problem analysis] ## Proposed Solution [Comprehensive solution design] ## Technical Approach ### Architecture [Detailed technical design] ### Implementation Phases #### Phase 1: [Foundation] - Tasks and deliverables - Success criteria - Estimated effort (Small / Medium / Large by scope, not wall-clock) #### Phase 2: [Core Implementation] - Tasks and deliverables - Success criteria - Estimated effort (Small / Medium / Large by scope, not wall-clock) #### Phase 3: [Polish & Optimization] - Tasks and deliverables - Success criteria - Estimated effort (Small / Medium / Large by scope, not wall-clock) ## Alternative Approaches Considered [Other solutions evaluated and why rejected] ## System-Wide Impact ### Interaction Graph [Map the chain reaction: what callbacks, middleware, observers, and event handlers fire when this code runs? Trace at least two levels deep. Document: "Action X triggers Y, which calls Z, which persists W."] ### Error & Failure Propagation [Trace errors from lowest layer up. List specific error classes and where they're handled. Identify retry conflicts, unhandled error types, and silent failure swallowing.] ### State Lifecycle Risks [Walk through each step that persists state. Can partial failure orphan rows, duplicate records, or leave caches stale? Document cleanup mechanisms or their absence.] ### API Surface Parity [List all interfaces (classes, DSLs, endpoints) that expose equivalent functionality. Note which need updating and which share the code path.] ### Integration Test Scenarios [3-5 cross-layer test scenarios that unit tests with mocks would never catch. Include expected behavior for each.] ## Acceptance Criteria ### Functional Requirements - [ ] Detailed functional criteria ### Non-Functional Requirements - [ ] Performance targets - [ ] Security requirements - [ ] Accessibility standards ### Quality Gates - [ ] Test coverage requirements - [ ] Documentation completeness - [ ] Code review approval ## Success Metrics [Detailed KPIs and measurement methods] ## Dependencies & Prerequisites [Detailed dependency analysis] ## Risk Analysis & Mitigation [Comprehensive risk assessment] ## Resource Requirements [Team, time, infrastructure needs] ## Future Considerations [Extensibility and long-term vision] ## Documentation Plan [What docs need updating] ## Sources & References ### Origin - **Brainstorm document:** [docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md](path) -- include if plan originated from a brainstorm. Key decisions carried forward: [list 2-3 major decisions from brainstorm] ### Internal References - Architecture decisions: [file_path:line_number] - Similar features: [file_path:line_n
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