skills/openspec-brainstorm/SKILL.md
You MUST use this before creative OpenSpec work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation, then hands off to the best matching OpenSpec skill or command without managing OpenSpec artifacts.
npx skillsauth add mrclrchtr/skills openspec-brainstormInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
<HARD-GATE> Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity.OpenSpec addition: do NOT create, edit, sync, archive, or otherwise manage OpenSpec artifacts in this skill. You may inspect existing OpenSpec changes for context, but this skill ends by handing off to the best matching OpenSpec skill/command. </HARD-GATE>
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:
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];
"Propose 2-3 approaches" [shape=box];
"Present design sections" [shape=box];
"User approves design?" [shape=diamond];
"Write handoff brief" [shape=box];
"Brief self-review\n(fix inline)" [shape=box];
"User reviews brief?" [shape=diamond];
"Recommend OpenSpec next step" [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" -> "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?" -> "Write handoff brief" [label="yes"];
"Write handoff brief" -> "Brief self-review\n(fix inline)";
"Brief self-review\n(fix inline)" -> "User reviews brief?";
"User reviews brief?" -> "Write handoff brief" [label="changes requested"];
"User reviews brief?" -> "Recommend OpenSpec next step" [label="approved"];
}
The terminal state is recommending the best next OpenSpec step. Do NOT invoke frontend-design, writing-plans, mcp-builder, or any other implementation skill. Do NOT create or edit OpenSpec artifacts. The ONLY thing you do after brainstorming is hand off to the best matching OpenSpec command or skill.
Understanding the idea:
openspec list --json
openspec/changes/<name>/proposal.mdopenspec/changes/<name>/design.mdopenspec/changes/<name>/tasks.mdopenspec/changes/<name>/specs/**/spec.mdExploring approaches:
Presenting the design:
Design for isolation and clarity:
Working in existing codebases:
Working with existing OpenSpec changes:
proposal.md, design.md, tasks.md, or spec.md in this skill.Handoff Brief:
Write the validated brainstorming outcome in the conversation, not into OpenSpec artifacts
Use a compact structure like:
## Brainstorming Outcome
**Problem**: ...
**Recommended approach**: ...
**Why**: ...
**Constraints / non-goals**: ...
**Open questions**: ...
**Relevant existing change**: ... / none
**Suggested change name**: ... / n/a
Do NOT write proposal.md, design.md, tasks.md, or spec.md in this skill
Do NOT commit anything as part of this skill
Brief Self-Review: After writing the brainstorm outcome, look at it with fresh eyes:
Fix any issues inline. No need to re-review — just fix and move on.
User Review Gate: After the brief review loop passes, ask the user to review the written brainstorming outcome before proceeding:
"Brainstorming outcome captured above. Please review it and let me know if you want to make any changes before we move to the next OpenSpec step."
Wait for the user's response. If they request changes, make them and re-run the brief review loop. Only proceed once the user approves.
Transition to OpenSpec:
/opsx-explore/opsx-new <name>/opsx-propose <name>/opsx-continue <name>/opsx-apply <name>/skill:openspec-explore/skill:openspec-new-change <name>/skill:openspec-propose <name>/skill:openspec-continue-change <name>/skill:openspec-apply-change <name>Recommendation guide:
openspec-exploreopenspec-new-changeopenspec-proposeopenspec-continue-changeopenspec-apply-changeA browser-based companion for showing mockups, diagrams, and visual options during brainstorming. Available as a tool — not a mode. Accepting the companion means it's available for questions that benefit from visual treatment; it does NOT mean every question goes through the browser.
Offering the companion: When you anticipate that upcoming questions will involve visual content (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. Do not combine it with clarifying questions, context summaries, or any other content. The message should contain ONLY the offer above and nothing else. Wait for the user's response before continuing. If they decline, proceed with text-only brainstorming.
Per-question decision: Even after the user accepts, decide FOR EACH QUESTION whether to use the browser or the terminal. The test: would the user understand this better by seeing it than reading it?
A question about a UI topic is not automatically a visual question. "What does personality mean in this context?" is a conceptual question — use the terminal. "Which wizard layout works better?" is a visual question — use the browser.
If they agree to the companion, read the detailed guide before proceeding:
visual-companion.md
development
Check for available upgrades to the pi coding agent framework by comparing the current `@earendil-works/pi-*` or legacy `@mariozechner/pi-*` version in package.json against releases on `earendil-works/pi`. Use this skill whenever the user asks to upgrade pi, update pi, check pi changelogs/releases, or migrate off the deprecated `@mariozechner/*` packages.
development
Fetches and normalizes http(s) web pages into clean Markdown for LLM ingestion. Use when a task includes a URL, needs to fetch docs or asks to convert web docs/articles/pages into Markdown for summarizing, quoting, diffing, or saving.
development
Download Stitch (stitch.withgoogle.com) screen screenshots at best quality from `screenshot.downloadUrl` (often `lh3.googleusercontent.com`). Use to normalize googleusercontent size parameters from canvas dimensions, download with curl, optionally verify pixel dimensions, and avoid committing signed URLs.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.