Ships in grey-matter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Summary visual menu and placement guidance below are modified from HumanLayer show-me for PR descriptions. See credits and licenses.
Use this template for writing the PR body:
## Summary
<diagram, diff-sketch, or tree>
## Evidence
- **Before:** <screenshot/output/failing test run>
**After:** <screenshot/output/passing test run>
## Merge Danger
**Door:** <one-way or two-way>
<optional: description>
**Blast Radius:** <one-word description>
<optional: potential ramifications of merge>
When the repo has existing PRs, first read references/repo-pr-conventions.md and match how its accepted PRs read; it also catches the rejection triggers (too big, no tests, scope creep). Skip it only for a new or solo repo with no PR history.
Skip all preambles and keep prose brief: brief means high signal density, not dropping the why. Use the user's domain language from GLOSSARY.md.
The reader has the commits and the diff one click away, so the body is not a retelling of them. Don't list files changed, narrate commit-by-commit, or walk the code line by line: that is sausage-making the reviewer can look up. Spend the body on what the diff doesn't show, the why, the shape of the change, the evidence it works, and the merge risk, and leave the line-level detail to the diff itself.
Pick the smallest view that makes the key point clear. Prefer one view, and emit a visual only if you can ground it in the actual diff: an agent-drawn call tree or Mermaid that misreads the code is worse than prose.
on(save)
if content is unchanged
return cached result
write new content
return fresh result
submitForm
createSession
persistPrompt
launchAgent
navigateToSession
<SessionPage> (apps/example/src/routes/session.tsx)
useSessionEvents()
<SessionToolbar>
<RunSkillButton> (packages/ui)
src/
├── commands/ # parses user actions
├── sessions/ # owns session state
└── transport/ # sends API requests
sequenceDiagram
participant User
participant UI
participant Daemon
User->>UI: choose command
UI->>Daemon: send expanded prompt
Daemon-->>UI: stream result
diff when the point is what changes and the surrounding shape already exists. Match the diff shape to the topic.For a component change:
<SessionPage>
useSessionEvents()
<SessionToolbar>
+ <RunSkillButton />
<SessionTimeline>
+ <SkillResultCard />
For a file-layout change:
src/
├── commands/
+│ └── show-me.ts # expands the slash command
├── sessions/
-└── transport.ts
+└── transport/
+ ├── client.ts
+ └── stream.ts
For a call-tree or call-stack change:
submitForm
createSession
persistPrompt
+ expandSkillMention
launchAgent
- navigateToSession
+ navigateToSession
+ subscribeToEvents
For a state or control-flow change:
on(save)
- write content
+ if content is unchanged
+ return cached result
+ write new content
+ invalidate cache
function expandSkill(command: string): string {
const skillName = command.slice(1);
return `use the ${skillName} skill`;
}
Place each visual next to the short text it supports. Keep only the calls, files, props, states, and boundaries needed to answer the user's current question or the options to resolve the current discussion point.
Prefer a single highest-value view. You may use several where they each answer a distinct question, but a wall of auto-generated diagrams is noise; don't overwhelm, and never emit a visual you can't derive from the diff.
Concrete evidence that the change works. Show a before and after.
Capture evidence from a real run; never compose it. A pasted test block that didn't execute, or a described-but-unrun result, is the single most common agent-PR failure: a description claiming changes that aren't there. Run it, paste the real output. When the repo uses gate.mjs, include the real node scripts/gate.mjs verdict <stage> line (PASS or NOT-READY with reasons) so reviewers see whether every expected check actually ran and passed.
Screenshots are S-tier when the change is visual and you can actually capture one; for a game, a short clip or a deterministic replay is the equivalent proof of behaviour over time. Otherwise execution-based evidence is your top tier: test results, console output. Show the exact test that now fails and passes, using the real output.
Surface candidate risks for the human to judge; don't assert a final verdict. Reversibility and blast radius are easy to misjudge (a schema migration can look reversible when it isn't), so flag what the reviewer should scrutinise rather than ruling it safe.
Describe whether it's a one-way or two-way door. You can walk back through two-way doors, but not one-way doors. A PR that is cheap to roll back is lower risk. Changes that involve destructive actions or hard-to-reverse decisions are one-way doors.
The blast radius is the potential impact or scope of the changes introduced by this PR. Consider all possibilities. Examples are layout shift, breakages for consumers, mobile responsiveness, etc.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub smileynet/grey-matter --plugin grey-matterOther plugins' skills for the same job
51 skills in this plugin
/adopt-projectAdopt a brownfield repo into grey-matter: characterize its as-is model, subsume existing agent config, seed a triaged board, and wire plumbing./changelogMaintain CHANGELOG.md in Keep a Changelog format with user-facing entries. Use when recording what changed for a release, updating the Unreleased section, or asked to write/update the changelog./cheat-sheetList every skill in this set by category with a one-line description. Use when the user wants a quick reference card of available skills, asks "what skills are there", or "list all commands".