diagnose
Review, audit and rewrite a lyric with Pat Pattison's methods: demo review at any stage, full-draft diagnosis, the pre-lock audit checklist, labeled variations across six axes and critique-driven rewrite. Use when: 'what's wrong with my song', 'review my draft', 'is this any good', 'review this demo', 'audit this line before I lock it', 'give me 5 versions of line 3', 'rewrite this using Pat's checklist'. For blank-page starts use /songwriting:workflow.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 30
- Forks
- 7
01 前言 Front Matter
- description
- Review, audit and rewrite a lyric with Pat Pattison's methods: demo review at any stage, full-draft diagnosis, the pre-lock audit checklist, labeled variations across six axes and critique-driven rewrite. Use when: 'what's wrong with my song', 'review my draft', 'is this any good', 'review this demo', 'audit this line before I lock it', 'give me 5 versions of line 3', 'rewrite this using Pat's checklist'. For blank-page starts use /songwriting:workflow.
- argument-hint
- [diagnose|demo|audit|variations|rewrite] [args]
- user-invocable
- true
- disable-model-invocation
- false
02 资源文件 1
- 参考文档evals/evals.json2.9 KB
03 SKILL.md 正文
Arguments. [diagnose|demo|audit|variations|rewrite] [args]. e.g., /songwriting:diagnose,
/songwriting:diagnose audit "...", /songwriting:diagnose variations "...". Full actions in body.
Mandatory pre-flight. Response Filter
Before emitting a critique, diagnosis, audit verdict, variation set, or rewrite, run §3 Critique filter and §8 Pre-lock filter of response-filter (add §2 Line-writing when producing rewritten lines). NAME each box's pass / fail / skip-with-reason (aloud or in reasoning); correct before emission. Skips are valid; silent skips are not. List-and-leave critique is the default this filter catches.
variations and rewrite EMIT lines. §2's Reference: line is a load list, not a
bibliography: §2 has not run until the files it names were read this session, at minimum
meter and
phrasing before the first candidate, plus
metaphor when the fix calls for an image or a
figure, per response-filter "§2
Line-writing filter". The Action Router's Load column is a routing hint; this is a precondition
of emission. A candidate table written before those files were opened ran on model priors, the
failure §2 exists to catch, and naming the §2 boxes does not undo it. Then cycle §2's boxes inside
line-edit-rubric, the full cycle per
candidate before it is shown. Auditing a line the writer already HAS is the other direction: that
stays audit-checklist (pre-lock). Line
emission is /songwriting:co-write's, and its input gate travels with the lines: same gate,
checked here. (Plugin-authored, not Pat Pattison's.)
Diagnosis names problems; it does not silently rewrite the whole song.
Method content is Pat Pattison's, under the plugin-root ../../context/pat-pattison/; a future
author's method plugs in at context/<author>/ without changing this skill, the author seam per
the plugin-root ../../README.md "Method content and the author seam".
Action Router
/songwriting:diagnose <action> [args]. Parse $ARGUMENTS: first token = action when it matches
a listed action, remainder = args; otherwise treat all of $ARGUMENTS as payload for the default.
No action → route on completion stage (partway draft → demo; near-complete → diagnose).
| Action | Use when the user asks for | Load |
|---|---|---|
diagnose (default) |
"what's wrong with my song", "review my draft" (near-complete) | five-compositional-elements, stable-unstable-meta, prosody |
demo |
"review this demo", "where do I take this", "lyric is partway done" | demo-review, templates/demo-review-prompt |
audit |
"line-by-line review", "pre-lock checklist", "should this lock" | audit-checklist, templates/audit-checklist-prompt, templates/diagnose-section-prompt |
variations |
"give me 5 versions of this line", "different POV / image / vowel", "alternate this" | variations, templates/variations-prompt, line-edit-rubric, meter, phrasing |
rewrite |
a lyric critique or rewrite using Pat's checklist | stable-unstable-meta, five-compositional-elements, prosody, meter, phrasing, line-edit-rubric, object-writing, rhyme-strategy, cliche |
Handlers
- Name the dominant problem; offer one focused revision. Do not list every issue.
- Audit boxes are tools, not gates: present each as a deliberate choice point, pass/fail/skip. A writer may skip any box, but a skip names a reason; silent skips are not OK.
- The rubric's passes are not skippable: they are the writer's standing rule for every
candidate, not choice points offered to him. Run the countable passes as commands, per the rubric
row of line-emission-gate (syllables from
${CLAUDE_PLUGIN_ROOT}/context/pat-pattison/scripts/datamuse.sh syllables <word>, repeats from a word-frequency count), and let that gate's skeptic row test the judgment passes from a fresh context, at the levelbash "${CLAUDE_PLUGIN_ROOT}/lib/read-verification.sh" --plugin songwriting --skill diagnoseprints, under that row's rules for each level. Rewrites and variation sets are line emission: cycle line-edit-rubric in full on every candidate, pass 1 clean, and DROP any candidate a pass flagged rather than presenting it flagged. Two rejected executions in one slot ends generation for that slot: hand the concept back per/songwriting:co-writeHandlers. variationsoutput reaches the writer as full section blocks IN CONTEXT: changed lines marked►, one labeled block per variation, 3-4 per chat menu; scansion maps and per-candidate craft notes go to thevariations/file. Never a bare one-line candidate in a table. See variations "Presenting the candidates: chat vs file".variationsandauditjudge candidates against the WRITER's register, not genre and not taste. Load voiceprint; if none exists, name that as a skipped gate instead of ruling on register anyway.- An incomplete fragment, idea or half-song is the wrong skill: invoke
/songwriting:workflow(fragment/idea) via the Skill tool.
Persistence and template overrides
Write generated files to the paths in
artifact-persistence "Where
generated work persists", and honor a consuming project's own songwriting layout when it defines
one. Before loading any bundled templates/<name>.md, check
${CLAUDE_PROJECT_DIR}/songwriting/templates/pat-pattison/<name>.md first: a project-level
override wins over the bundled default, first match, per that file's "Template override".
Related skills
- Blank page, seed, or stuck fragment →
/songwriting:workflow - The craft dimensions a diagnosis names →
/songwriting:rhyme,/songwriting:meter-prosody,/songwriting:song-form,/songwriting:object-writing
04 同仓库更多 Skills
track
Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.
reviewer-media
Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from /review:explain-change's digest, has /explainer-video:produce render it and hands the manifest to /source-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.
route
Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.
route
Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.
principles
Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is /architecture:improve.
write
Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').