Add brainstorming and issue-triage Claude Code skills#9
Conversation
Closes #3 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
📝 WalkthroughWalkthroughAdded two new Claude Skills (brainstorming and issue-triage) as Markdown skill definitions and documented them in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (3)
.claude/skills/issue-triage/SKILL.md (1)
63-87: Add a language to the fenced code block to satisfy markdown linting.The sample block is currently an untyped fence, which triggers MD040.
Proposed fix
-``` +```markdown ## Triage Summary **Type:** <type> **Priority:** <priority> **Areas:** <comma-separated areas> **Duplicates/Related:** <issue numbers or "None found"> @@ <1-3 actionable items for addressing the issue></details> <details> <summary>🤖 Prompt for AI Agents</summary>Verify each finding against the current code and only fix it if needed.
In @.claude/skills/issue-triage/SKILL.md around lines 63 - 87, The fenced code
block containing the "## Triage Summary" sample is missing a language tag
(triggering MD040); update the opening fence fromtomarkdown so the
block is explicitly typed, keeping the same content and the closing ``` intact;
ensure the change is made in the sample block around the "## Triage Summary"
header so markdown linters recognize the block language.</details> </blockquote></details> <details> <summary>CLAUDE.md (1)</summary><blockquote> `29-29`: **Align `/issue-triage` usage text with the skill’s accepted inputs.** The skill supports issue number **or URL** (and can list recent untriaged issues when omitted), but this line currently implies number-only usage. Expanding this sentence would make the docs fully consistent. <details> <summary>Proposed wording</summary> ```diff -- `/issue-triage` — Classify, prioritize, and label a GitHub issue. Pass an issue number (e.g. `/issue-triage 12`) to get a structured triage summary with type, priority, affected code areas, and suggested labels. +- `/issue-triage` — Classify, prioritize, and label a GitHub issue. Pass an issue number or URL (e.g. `/issue-triage 12`), or run without an argument to triage recent untriaged issues; returns a structured summary with type, priority, affected code areas, and suggested labels. ``` </details> <details> <summary>🤖 Prompt for AI Agents</summary> ``` Verify each finding against the current code and only fix it if needed. In `@CLAUDE.md` at line 29, Update the `/issue-triage` usage line to reflect accepted inputs: mention that it accepts an issue number or a full issue URL, and that omitting the argument lists recent untriaged issues; replace the current number-only phrasing with a sentence like "Use `/issue-triage` with an issue number (e.g. `/issue-triage 12`) or a full issue URL (e.g. `/issue-triage https://github.com/org/repo/issues/12`), or run `/issue-triage` with no argument to list recent untriaged issues" so the documentation for `/issue-triage` matches the skill's actual behavior. ``` </details> </blockquote></details> <details> <summary>.claude/skills/brainstorming/SKILL.md (1)</summary><blockquote> `34-50`: **Use en dashes for number ranges for consistent technical writing style.** Consider replacing `200-300` and `2-3` with `200–300` and `2–3`. <details> <summary>🤖 Prompt for AI Agents</summary> ``` Verify each finding against the current code and only fix it if needed. In @.claude/skills/brainstorming/SKILL.md around lines 34 - 50, Replace hyphen-minus ranges with en dashes in the SKILL.md text to match the style guideline: change "200-300" to "200–300" in the "Break it into sections of 200-300 words" line and change "2-3" to "2–3" in the "Always propose 2-3 approaches" line; scan the rest of .claude/skills/brainstorming/SKILL.md for any other numeric ranges or similar constructs and update them to use en dashes for consistency. ``` </details> </blockquote></details> </blockquote></details> <details> <summary>🤖 Prompt for all review comments with AI agents</summary>Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In @.claude/skills/brainstorming/SKILL.md:
- Around line 34-50: Replace hyphen-minus ranges with en dashes in the SKILL.md
text to match the style guideline: change "200-300" to "200–300" in the "Break
it into sections of 200-300 words" line and change "2-3" to "2–3" in the "Always
propose 2-3 approaches" line; scan the rest of
.claude/skills/brainstorming/SKILL.md for any other numeric ranges or similar
constructs and update them to use en dashes for consistency.In @.claude/skills/issue-triage/SKILL.md:
- Around line 63-87: The fenced code block containing the "## Triage Summary"
sample is missing a language tag (triggering MD040); update the opening fence
fromtomarkdown so the block is explicitly typed, keeping the same
content and the closing ``` intact; ensure the change is made in the sample
block around the "## Triage Summary" header so markdown linters recognize the
block language.In
@CLAUDE.md:
- Line 29: Update the
/issue-triageusage line to reflect accepted inputs:
mention that it accepts an issue number or a full issue URL, and that omitting
the argument lists recent untriaged issues; replace the current number-only
phrasing with a sentence like "Use/issue-triagewith an issue number (e.g.
/issue-triage 12) or a full issue URL (e.g./issue-triage https://github.com/org/repo/issues/12), or run/issue-triagewith no argument
to list recent untriaged issues" so the documentation for/issue-triage
matches the skill's actual behavior.</details> --- <details> <summary>ℹ️ Review info</summary> <details> <summary>⚙️ Run configuration</summary> **Configuration used**: Organization UI **Review profile**: CHILL **Plan**: Pro **Run ID**: `8d36c9ed-a62d-483e-9bf5-e8455cf5baff` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between becdfe1a1d6322c70b2929f7bc79234fd8d94449 and 73f93b9b90cfdac1e85487eb2f3d3d394e30f1c6. </details> <details> <summary>📒 Files selected for processing (3)</summary> * `.claude/skills/brainstorming/SKILL.md` * `.claude/skills/issue-triage/SKILL.md` * `CLAUDE.md` </details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
- Add language tag to fenced code block in issue-triage skill (MD040) - Expand /issue-triage docs to mention URL and no-argument usage - Add markdown-lint job to pull request workflow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Addressed 2 of 3 CodeRabbit nitpicks in f5114c8:
|
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@CLAUDE.md`:
- Around line 28-29: The two markdown list items for the slash commands
(`/brainstorming` and `/issue-triage`) exceed the 80-character MD013 limit; fix
by wrapping their descriptions to multiple lines so no line is longer than 80
characters, keeping the leading "- `/brainstorming` —" and "- `/issue-triage` —"
prefixes on the first line and continuing the remainder of each description on
subsequent indented lines (preserve punctuation and examples like
"`/issue-triage 12`" intact) so markdown-lint passes.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 1737d329-9b48-4d1e-8cf9-01d30cd1847e
📒 Files selected for processing (3)
.claude/skills/issue-triage/SKILL.md.github/workflows/build.ymlCLAUDE.md
✅ Files skipped from review due to trivial changes (1)
- .claude/skills/issue-triage/SKILL.md
| - `/brainstorming` — Collaborative design session for new features, API coverage, or SDK improvements. Asks questions one at a time, proposes approaches with trade-offs, then outputs a design document to `docs/plans/`. | ||
| - `/issue-triage` — Classify, prioritize, and label a GitHub issue. Pass an issue number or URL (e.g. `/issue-triage 12`), or run without an argument to triage recent untriaged issues; returns a structured summary with type, priority, affected code areas, and suggested labels. |
There was a problem hiding this comment.
Fix MD013 on Line 28 and Line 29 to unblock CI.
Both lines exceed the configured 80-character limit, so markdown-lint fails and blocks the workflow.
Suggested patch
-- `/brainstorming` — Collaborative design session for new features, API coverage, or SDK improvements. Asks questions one at a time, proposes approaches with trade-offs, then outputs a design document to `docs/plans/`.
-- `/issue-triage` — Classify, prioritize, and label a GitHub issue. Pass an issue number or URL (e.g. `/issue-triage 12`), or run without an argument to triage recent untriaged issues; returns a structured summary with type, priority, affected code areas, and suggested labels.
+- `/brainstorming` — Collaborative design session for new features,
+ API coverage, or SDK improvements. Asks questions one at a time,
+ proposes approaches with trade-offs, then outputs a design document
+ to `docs/plans/`.
+- `/issue-triage` — Classify, prioritise, and label a GitHub issue.
+ Pass an issue number or URL (e.g. `/issue-triage 12`), or run without
+ an argument to triage recent untriaged issues; returns a structured
+ summary with type, priority, affected code areas, and suggested labels.📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| - `/brainstorming` — Collaborative design session for new features, API coverage, or SDK improvements. Asks questions one at a time, proposes approaches with trade-offs, then outputs a design document to `docs/plans/`. | |
| - `/issue-triage` — Classify, prioritize, and label a GitHub issue. Pass an issue number or URL (e.g. `/issue-triage 12`), or run without an argument to triage recent untriaged issues; returns a structured summary with type, priority, affected code areas, and suggested labels. | |
| - `/brainstorming` — Collaborative design session for new features, | |
| API coverage, or SDK improvements. Asks questions one at a time, | |
| proposes approaches with trade-offs, then outputs a design document | |
| to `docs/plans/`. | |
| - `/issue-triage` — Classify, prioritise, and label a GitHub issue. | |
| Pass an issue number or URL (e.g. `/issue-triage 12`), or run without | |
| an argument to triage recent untriaged issues; returns a structured | |
| summary with type, priority, affected code areas, and suggested labels. |
🧰 Tools
🪛 GitHub Check: markdown-lint
[failure] 29-29: Line length
CLAUDE.md:29:81 MD013/line-length Line length [Expected: 80; Actual: 277] https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md013.md
[failure] 28-28: Line length
CLAUDE.md:28:81 MD013/line-length Line length [Expected: 80; Actual: 218] https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md013.md
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@CLAUDE.md` around lines 28 - 29, The two markdown list items for the slash
commands (`/brainstorming` and `/issue-triage`) exceed the 80-character MD013
limit; fix by wrapping their descriptions to multiple lines so no line is longer
than 80 characters, keeping the leading "- `/brainstorming` —" and "-
`/issue-triage` —" prefixes on the first line and continuing the remainder of
each description on subsequent indented lines (preserve punctuation and examples
like "`/issue-triage 12`" intact) so markdown-lint passes.
Summary
/brainstormingskill for collaborative design sessions (one-question-at-a-time dialogue, approach proposals, incremental design output)/issue-triageskill for classifying, prioritizing, and labeling GitHub issues with structured triage summariesCloses #3
Test plan
/brainstormingskill triggers and walks through the design process/issue-triage <number>reads an issue and produces a triage summary🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
Chores