summaryrefslogtreecommitdiff
path: root/skills/brainstorming
AgeCommit message (Collapse)Author
2026-03-11Add context isolation principle to all delegation skillsJesse Vincent
Subagents should never inherit the parent session's context or history. The dispatcher constructs exactly what each subagent needs, keeping both sides focused: the subagent on its task, the controller on coordination. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11Fix owner PID tracking: resolve grandparent to get actual harness PIDJesse Vincent
$PPID inside start-server.sh is the ephemeral shell the harness spawns to run the script — it dies immediately when the script exits, causing the server to shut down after ~60s. Now resolves grandparent PID via `ps -o ppid= -p $PPID` to get the actual harness process (e.g. claude). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11Exit server when owner process dies (harness-agnostic cleanup)Jesse Vincent
start-server.sh passes $PPID as BRAINSTORM_OWNER_PID to the server. The server checks every 60s if the owner process is still alive (kill -0). If it's gone, the server shuts down immediately — deletes .server-info, writes .server-stopped, exits cleanly. Works across all harnesses (CC, Codex, Gemini CLI) since it tracks the shell process that launched the script, which dies when the harness dies. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11Auto-exit server after 30 minutes idle, add liveness check to skillJesse Vincent
Server tracks activity (HTTP requests, WebSocket messages, file changes) and exits after 30 minutes of inactivity. On exit, deletes .server-info and writes .server-stopped with reason. Visual companion guide now instructs agents to check .server-info before each screen push and restart if needed. Works on all harnesses, not just CC. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11(fix): declare encoding meta on viz brainstorm server pagesDrew Ritter
2026-03-11Remove vendored node_modules, swap to zero-dep server.jsJesse Vincent
Delete 717 files: index.js, package.json, package-lock.json, and the entire node_modules directory (express, ws, chokidar + deps). Update start-server.sh to use server.js. Remove gitignore exception. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11Add HTTP server, WebSocket handling, and file watching to server.jsJesse Vincent
Complete zero-dep brainstorm server. Uses knownFiles set to distinguish new screens from updates (macOS fs.watch reports 'rename' for both). All 56 tests pass (31 unit + 25 integration). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11Add WebSocket protocol layer for zero-dep brainstorm serverJesse Vincent
Implements RFC 6455 handshake, frame encoding/decoding for text frames. All 31 unit tests pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10Fix brainstorming skill: add spec review loop to checklist and flow diagramJesse Vincent
The spec review loop (dispatch spec-document-reviewer subagent, iterate until approved) existed in the prose "After the Design" section but was missing from both the checklist and the process flow diagram. Since agents follow the diagram and checklist more reliably than prose, the spec review step was being skipped entirely. Added step 7 (spec review loop) to the checklist and a corresponding "Spec review loop" → "Spec review passed?" node pair to the dot graph. Tested with claude --plugin-dir and claude-session-driver: worker now correctly dispatches the spec-document-reviewer subagent after writing the design doc and before presenting to the user for review. Fixes #677.
2026-03-09Remove fsevents from bundled deps (macOS-only native binary)Jesse Vincent
fsevents is an optional chokidar dependency that only works on macOS. Chokidar falls back gracefully without it on all platforms.
2026-03-09Bundle brainstorm server dependencies instead of requiring npm installJesse Vincent
Vendor node_modules into the repo so the brainstorm server works immediately on fresh plugin installs without needing npm at runtime.
2026-03-09Auto-install brainstorm server dependencies on first runJesse Vincent
start-server.sh now runs npm install if node_modules is missing. Fixes broken server when superpowers is installed as a plugin (node_modules are in .gitignore and not included in the clone).
2026-03-09Write server-info to file so agents can find URL after background launchJesse Vincent
The server now writes its startup JSON to $SCREEN_DIR/.server-info. Agents that launch the server via background execution (where stdout is hidden) can read this file to get the URL, port, and screen_dir.
2026-03-09Replace Codex-specific server guidance with per-platform launch instructionsJesse Vincent
The visual companion docs now give concrete launch commands per platform: Claude Code (default mode), Codex (auto-foreground via CODEX_CI), Gemini CLI (--foreground with is_background), and a fallback for other environments.
2026-03-09Move brainstorm-server into skill directory per agentskills specJesse Vincent
Moves lib/brainstorm-server/ → skills/brainstorming/scripts/ so the brainstorming skill uses relative paths (scripts/start-server.sh) instead of ${CLAUDE_PLUGIN_ROOT}/lib/brainstorm-server/. This follows the agentskills.io specification for portable, cross-platform skills. Updates visual-companion.md references and test paths. All tests pass.
2026-03-09fix(brainstorming): add user review gate between spec and writing-plansJesse Vincent
After the spec review loop passes, the skill now asks the user to review the written spec file before invoking writing-plans. This prevents the agent from racing ahead to implementation planning without giving the user a chance to read and adjust the written document. Fixes #565
2026-03-08Fix stale docs/plans path in brainstorming checklistJesse Vincent
2026-03-08Broaden visual companion offer language beyond design-specific use casesJesse Vincent
2026-03-06Add project-level scope assessment to brainstorming pipelineJesse Vincent
Brainstorming now assesses whether a project is too large for a single spec and helps decompose into sub-projects. Scope check is inline in the understanding phase (testing showed it was skipped as a separate step). Spec reviewer also checks scope. Writing-plans has a backstop.
2026-03-06Add architecture guidance and capability-aware escalation to skillsJesse Vincent
Add design-for-isolation and working-in-existing-codebases guidance to brainstorming. Add file size awareness and escalation prompts to SDD implementer and code quality reviewer. Writing-plans gets architecture section sizing guidance. Spec and plan reviewers get architecture and file size checks.
2026-03-06feat: add spec document reviewer prompt templateJesse Vincent
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-06Add visual companion integration to brainstorming skillJesse Vincent
Brainstorming skill now offers an optional browser-based visual companion for questions involving visual decisions (mockups, layouts, diagrams). The companion is a tool, not a mode — each question is evaluated for whether browser or terminal is more appropriate. Includes visual-companion.md progressive disclosure guide with server workflow, screen authoring patterns, and feedback collection. Co-Authored-By: Drew Ritter <drew@ritter.dev>
2026-02-12Enforce brainstorming workflow with hard gates and process flowJesse Vincent
The brainstorming skill described a process but didn't enforce it. Models would skip the design phase and jump straight to implementation skills like frontend-design, or collapse the entire brainstorming process into a single text block. Changes to brainstorming skill: - Add HARD-GATE: no implementation until design is approved - Add explicit checklist that maps to task items - Add graphviz process flow with writing-plans as terminal state - Add anti-pattern callout for "too simple to need a design" - Scale design sections by section complexity, not project complexity - Make writing-plans the only valid next skill after brainstorming Changes to using-superpowers skill: - Add EnterPlanMode intercept to workflow graph - Route plan mode attempts through brainstorming skill instead Tested with claude -p --plugin-dir across three variants (no skill, original skill, updated skill) to verify behavioral compliance.
2025-12-17Tweak the brainstorming skill to try to improve triggeringJesse Vincent
2025-12-17Strengthen brainstorming skill trigger and add skill priority guidanceJesse Vincent
- Update brainstorming description to use imperative "You MUST use this" - Clarify trigger: "before any creative work - creating features, building components, adding functionality, or modifying behavior" - Add Skill Priority section to using-superpowers to ensure process skills (brainstorming, debugging) are invoked before implementation skills
2025-10-30Simplify brainstorming skill to match original visionJesse Vincent
Remove heavyweight 6-phase process with formal checklists and return to conversational approach: - Natural dialogue instead of structured phases - One question at a time without rigid progression - 200-300 word design sections with validation - Keep documentation and implementation handoff - Remove AskUserQuestion tool requirements and complex flowcharts This aligns with the original spec: help turn ideas into designs through collaborative questioning, then present design in small sections.
2025-10-28Apply writing clarity improvements to brainstorming skillJesse Vincent
Applied Strunk's "Elements of Style" principles: - Rule 13: Omitted needless words (removed "already", "genuinely", etc.) - Rule 11: Converted negative to positive form ("don't ask" → "ask only when") - Rule 10: Used active voice where appropriate - Rule 15: Improved parallel construction in lists - General: Made language more direct and concrete Changes maintain the skill's functionality while improving readability.
2025-10-28Refine brainstorming skill for proactive researchJesse Vincent
2025-10-18Update all superpowers skill references to use namespace prefixJesse Vincent
Skills are now namespaced as superpowers:<name> when referenced. Updated all REQUIRED SUB-SKILL, RECOMMENDED SUB-SKILL, and REQUIRED BACKGROUND references to use the superpowers: prefix. Also added -design suffix to brainstorming skill's design document filename to distinguish from implementation plan documents. Files updated: - brainstorming: Added -design suffix, updated skill references - executing-plans: Updated finishing-a-development-branch reference - subagent-driven-development: Updated finishing-a-development-branch reference - systematic-debugging: Updated root-cause-tracing and test-driven-development references - testing-skills-with-subagents: Updated test-driven-development reference - writing-plans: Updated executing-plans and subagent-driven-development references - writing-skills: Updated test-driven-development, systematic-debugging, and testing-skills-with-subagents references
2025-10-18Add design documentation phase to brainstorming skillJesse Vincent
The old brainstorming command included writing the design document before handing off to implementation planning. This was lost when the command was converted to a skill. Added Phase 4: Design Documentation to write the validated design to docs/plans/YYYY-MM-DD-<topic>.md before proceeding to worktree setup and planning. Tested with subagent to verify design document is written and committed even under time pressure.
2025-10-17Add AskUserQuestion tool guidance to brainstorming skillJesse Vincent
- Add explicit guidance to use AskUserQuestion in Phase 1 (Understanding) - Add explicit guidance to use AskUserQuestion in Phase 2 (Exploration) - Add concrete examples showing how to structure questions with options - Add "Question Patterns" section explaining when to use AskUserQuestion vs open-ended - Update Quick Reference table to include Tool Usage column - Update Key Principles to mention structured choices with AskUserQuestion Benefits: - Makes it clear when to use structured vs open-ended questions - Provides concrete examples for effective use of AskUserQuestion - Helps present options with clear trade-offs - 156 lines (well under 500-line Anthropic recommendation)
2025-10-17Improve skill cross-references for clarity and complianceJesse Vincent
Update all skill references to use explicit requirement markers: - REQUIRED BACKGROUND: For prerequisite understanding - REQUIRED SUB-SKILL: For mandatory workflow dependencies - Complementary skills: For optional but helpful related skills Changes: - Remove old path format (skills/collaboration/X → X) - Add explicit "REQUIRED" markers to make dependencies clear - Update Integration sections with categorized skill relationships - Fix non-existent skill references - Update cross-reference documentation in writing-skills This makes it immediately clear which skills MUST be used vs optional references, helping Claude understand and comply with skill dependencies.
2025-10-17Align brainstorming skill with Anthropic best practicesJesse Vincent
- Fix description: correct grammar and use third-person voice - Add Quick Reference table for easy scanning - Add copyable checklist for tracking progress through phases - Add decision flowchart for when to revisit earlier phases - Convert "Remember" section to structured Key Principles table - Remove references to non-existent related skills Follows Anthropic patterns: - Workflow with checklist format - Quick reference table at top - Appropriate use of flowchart for decision points - Scannable table format for principles - 108 lines (well under 500-line recommendation)
2025-10-17Standardize skill frontmatter names to lowercase and kebab-caseJesse Vincent
- Update all 20 skill frontmatter names to match their directory names in lowercase - Fix defense-in-depth name (was Defense-in-Depth-Validation) - Fix receiving-code-review name (was Code-Review-Reception) - Update all skill announcements and cross-references to use lowercase names - Update commands redirects to reference lowercase skill names Ensures consistent naming: skill directory names, frontmatter names, and documentation references all use lowercase kebab-case format (e.g., brainstorming, test-driven-development)
2025-10-16oopsJesse Vincent
2025-10-16Now that skills are a first-class thing in Claude Code, restore them to the ↵Jesse Vincent
primary plugin