Brief
Research an issue or task and produce a visual HTML briefing with problem breakdown, architecture diagram, and implementation plan.From its SKILL.md
npx -y skills add junjzhang/riff --skill briefAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.3 KB, as published. Nobody here has run it
Brief
Produce a concise, visual HTML briefing for a feature or bug. The output is a self-contained .html file the user opens in a browser.
Input
The user provides an issue number, a topic, or a description. Examples:
/riff:brief 586/riff:brief refactor the data pipeline/riff:brief why is grad_norm NaN
Process
- Gather context: Read the GitHub issue (if number given via
gh issue view), then read the relevant source files. Understand current state before proposing changes. - Create workspace: Ensure
.workspace/{id}-{slug}/exists (create if not). The.workspace/directory must be in.gitignore— add it if missing. - Write
brief.htmlin the workspace folder.
Output Structure
The HTML must contain these sections in order:
- Title + subtitle — issue number (if any) and one-line summary
- Current Architecture — ASCII diagram (inside
<div class="diagram">) showing how the relevant components connect today - Status Box — what to KEEP, CHANGE, ADD, REMOVE (use
.keep/.change/.add/.removeclasses) - Problem Breakdown — each problem tagged with priority badges (
.tag-p1through.tag-p4), a table or code snippet illustrating the issue - Implementation Plan — table with Phase, Change, Risk, Effort columns
- What We Keep — explicit non-goals to prevent scope creep
- Related Issues — connections to other open issues (if any)
Style
Use the Tokyo Night dark theme. Inline the full CSS from templates/style.css (in the plugin root) as a <style> block — the HTML must be fully self-contained.
Available CSS classes: .tag-p1–.tag-p4, .status-box, .diagram, .keep/.change/.add/.remove, .callout, .subtitle, .footer.
Rules
- HTML only, self-contained, no external resources
- Concise — each problem section 1–3 paragraphs max, prefer tables and code over prose
lang="zh-CN"— explanatory text in Chinese, technical terms in English- Footer:
{project} / {identifier} / .workspace/{folder}/brief.html - After writing the file, tell the user the path so they can open it