/rubypowers:brainstormingfrom rubypowers
Guides collaborative design and specification before any implementation. Use when starting creative work to turn ideas into approved designs and specs through structured dialogue.
Ships in rubypowers. 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; scripts run unread.
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
Start by understanding the current project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design and get user approval.
Do NOT write any code, scaffold any project, invoke any implementation skill, or take any implementation action until ALL of these are true: a design was presented and approved, the spec is written and committed, the user has reviewed the written spec, and the writing-plans skill has been invoked. Chat approval of a design ("looks good, go ahead") clears the NEXT checklist item only — it is not permission to implement. This applies to EVERY project regardless of perceived simplicity.Every project goes through this process. A todo list, a single-function utility, a config change — all of them. "Simple" projects are where unexamined assumptions cause the most wasted work. The design can be short (a few sentences for truly simple projects), but you MUST present it and get approval.
You MUST create a task for each of these items and complete them in order:
docs/rubypowers/specs/; if docs/superpowers/specs/ already exists, keep the draft and final spec there.digraph brainstorming {
"Explore project context" [shape=box];
"Visual questions ahead?" [shape=diamond];
"Offer Visual Companion\n(own message, no other content)" [shape=box];
"Ask clarifying questions" [shape=box];
"Create DRAFT spec\n(append decisions as they land)" [shape=box];
"Propose 2-3 approaches" [shape=box];
"Present design sections" [shape=box];
"User approves design?" [shape=diamond];
"Finalize design doc\n(promote DRAFT, add Decisions)" [shape=box];
"Spec self-review\n(fix inline)" [shape=box];
"User reviews spec?" [shape=diamond];
"Invoke writing-plans skill" [shape=doublecircle];
"Explore project context" -> "Visual questions ahead?";
"Visual questions ahead?" -> "Offer Visual Companion\n(own message, no other content)" [label="yes"];
"Visual questions ahead?" -> "Ask clarifying questions" [label="no"];
"Offer Visual Companion\n(own message, no other content)" -> "Ask clarifying questions";
"Ask clarifying questions" -> "Create DRAFT spec\n(append decisions as they land)";
"Create DRAFT spec\n(append decisions as they land)" -> "Propose 2-3 approaches";
"Propose 2-3 approaches" -> "Present design sections";
"Present design sections" -> "User approves design?";
"User approves design?" -> "Present design sections" [label="no, revise"];
"User approves design?" -> "Ask clarifying questions" [label="no, misunderstood the goal"];
"User approves design?" -> "Finalize design doc\n(promote DRAFT, add Decisions)" [label="yes"];
"Finalize design doc\n(promote DRAFT, add Decisions)" -> "Spec self-review\n(fix inline)";
"Spec self-review\n(fix inline)" -> "User reviews spec?";
"User reviews spec?" -> "Finalize design doc\n(promote DRAFT, add Decisions)" [label="changes requested"];
"User reviews spec?" -> "Invoke writing-plans skill" [label="approved"];
}
The terminal state is invoking writing-plans. Do NOT invoke frontend-design, mcp-builder, or any other implementation skill. The ONLY skill you invoke after brainstorming is writing-plans.
Understanding the idea:
Persist as you go:
Status: DRAFT header at top) and append each resolved decision when it's madeExploring approaches:
Presenting the design:
Design for isolation and clarity:
Working in existing codebases:
Documentation:
docs/rubypowers/specs/. If
docs/superpowers/specs/ already exists, use that legacy folder for the
draft, promotion, final save, and any reviewer instructions. Keep using the
selected actual folder throughout the workflow; do not split a project's
specs between both locations.<selected specs folder>/YYYY-MM-DD-<topic>-design.md (remove the DRAFT header)
## Decisions section: every explicit user decision from the brainstorm, stated verbatim or near-verbatim, each with a one-line rationale. Downstream spec reviews and plan-fidelity checks key off this section.Spec Self-Review: After writing the spec document, look at it with fresh eyes:
Fix any issues inline. No need to re-review — just fix and move on.
For complex or high-stakes specs, additionally dispatch a fresh-context reviewer subagent using the template in spec-document-reviewer-prompt.md (same directory as this skill). Skip it for small specs — the inline check is enough.
User Review Gate: After the spec review loop passes, ask the user to review the written spec before proceeding:
"Spec written and committed to
<path>. Please review it and let me know if you want to make any changes before we start writing out the implementation plan."
Wait for the user's response. If they request changes, make them and re-run the spec review loop. Only proceed once the user approves.
Implementation:
| Excuse | Reality |
|---|---|
| "User told me exactly what they want" | They gave a solution, not the open decisions hiding inside it. A 3-sentence design + one-word approval surfaces them in seconds. |
| "User said to skip the design process" | Compress it, don't skip it: shortest possible design, single approval message. Speed comes from brevity, not from skipping the gate. |
| "User approved in chat, so I'm cleared to code" | Chat approval clears ONE checklist item. Spec write → commit → user review of the written file → writing-plans all still stand. |
| "Skip the doc, it's tiny" | The committed spec is what plans and future sessions build from. Chat history evaporates; the user approved a chat blurb, not a reviewed spec. |
| "I'll present the design and the code together to save time" | Defeats the gate — wrong assumptions must be caught before the work, or the time is already wasted. |
All of these mean: return to the checklist and complete the current item.
A browser-based companion for showing mockups, diagrams, and visual options during brainstorming. A tool, not a mode — accepting it does NOT route every question through the browser.
Offering the companion: When you anticipate visual questions (mockups, layouts, diagrams), offer it once for consent:
"Some of what we're working on might be easier to explain if I can show it to you in a web browser. I can put together mockups, diagrams, comparisons, and other visuals as we go. This feature is still new and can be token-intensive. Want to try it? (Requires opening a local URL)"
This offer MUST be its own message — no other content, wait for the response. If declined, proceed text-only.
Per-question decision after acceptance: browser only when the user would understand it better by SEEING it (mockups, layout comparisons, diagrams); terminal for everything textual (requirements, tradeoffs, scope). A question about a UI topic is not automatically a visual question.
If they accept, read the detailed guide before proceeding: skills/brainstorming/visual-companion.md
scripts/frame-template.html (opens in a new tab)scripts/helper.js (opens in a new tab)scripts/server.cjs (opens in a new tab)scripts/start-server.sh (opens in a new tab)scripts/stop-server.sh (opens in a new tab)spec-document-reviewer-prompt.md (opens in a new tab)visual-companion.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lucianghinda/rubypowers --plugin rubypowers35 skills in this plugin
/37signals-styleRails coding patterns derived from analysis of 37signals' Fizzy codebase. Use when writing Rails code in 37signals/Basecamp style or when asked to follow 37signals patterns. Covers controllers, models, views, Hotwire, testing, database, security, and team philosophy./brakemanStatic analysis security vulnerability scanner for Ruby on Rails applications. Use when analyzing Rails code for security issues, running security audits, reviewing code for vulnerabilities, setting up security scanning in CI/CD, managing security warnings, or investigating specific vulnerability types (SQL injection, XSS, command injection, etc.). Also use when configuring Brakeman, reducing false positives, or integrating with automated workflows./compoundUse when a problem has just been solved and verified working — the fix is fresh, the investigation is in recent history, and the solution is non-trivial enough to capture for future reference/compound-refreshUse when docs/solutions/ learnings may be stale — after refactors, migrations, or dependency upgrades, when a retrieved learning feels outdated or contradicts a recently solved problem, when pattern docs no longer reflect current code, or when reviewing docs/solutions/ for accuracy./consulting-an-oracleUse when stuck after multiple debug attempts and want to escalate to a stronger one-shot model (GPT-5 Pro, Opus, Gemini Pro) — packages a self-contained "oracle prompt" with Ruby/Rails project briefing, verbatim error, what-was-tried, constraints, and just-enough attached files. Triggers include "ask the oracle", "write a letter to GPT-5", "I'm stuck, draft a prompt for another model", "/tmp/letter.md"./dispatching-parallel-agentsUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesOther plugins' skills for the same job