Prompt file imported from btabaska/simpler-grants-documentation-automation (
.cursor/commands/skill-explain-pattern.md). Copyright stays with the author.
Explain Pattern
In-place explanation of a specific idiom, function, decorator, or hook.
What I Need From You
- Target: file + line range, or a pasted snippet.
- Optional narrower question (e.g. "why
@with_api_logging?").
What Happens Next
- Identifies the idiom category.
- Searches rules and ADRs for governing guidance.
- Returns a terse explanation with citations and another-usage reference.
Tips
- Use before copying a pattern into new code.
- Pair with
/skill-check-conventionsif the pattern looks off. - Ask targeted questions; the skill is focused, not exploratory.
