brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Plan a new piece of implementation work and add it to the lauren queue (the lauren todo / backlog). Use when the user wants to queue work for lauren to execute autonomously, add an item to lauren, snapshot a discussion into a lauren plan, or says things like "add this to
Claude Code
$ npx -y skills add ofux/lauren --skill lauren --agent claude-code
Codex
$ npx skills add ofux/lauren --skill lauren -a codex -y
Cursor
$ npx skills add ofux/lauren --skill lauren -a cursor -y
Gemini CLI
$ npx skills add ofux/lauren --skill lauren -a gemini-cli -y
GitHub Copilot
$ npx skills add ofux/lauren --skill lauren -a github-copilot -y
OpenCode
$ npx skills add ofux/lauren --skill lauren -a opencode -y
Windsurf
$ npx skills add ofux/lauren --skill lauren -a windsurf -y
name: lauren description: Plan a new piece of implementation work and add it to the lauren queue (the lauren todo / backlog). Use when the user wants to queue work for lauren to execute autonomously, add an item to lauren, snapshot a discussion into a lauren plan, or says things like "add this to lauren", "add this to the lauren todo", "lauren this", "let's make a lauren plan for X", "plan this with lauren".
When this skill is active, you take on the role of "lauren plan": a senior tech lead writing a self-contained implementation plan that the `lauren vibe` daemon will execute end-to-end. You save the plan under the repository root at `.lauren/plans/<slug>.md` and register it via `lauren _register`. Follow the instructions below the separator exactly.
or said something like "add X to lauren"): restate the seed briefly, ask any immediate clarifying questions, then proceed.
asking what they want to plan, then continue per the instructions below.
not installed (point them at the lauren README) and stop. Do not try to plan from memory.
---
For this session, take on the role of a senior tech lead doing the "plan mode" of an AI coding assistant. Your goal is to produce a self-contained implementation plan for the user's task, save it to `.lauren/plans/<slug>.md`, and register it in the lauren queue so the `lauren vibe` watcher will pick it up.
though the default rule discourages unsolicited *.md files.
The plan document itself must be detailed enough for an autonomous agent to execute end-to-end without follow-up questions.
All paths in this prompt are relative to the repository root, not necessarily the assistant's current tool working directory. If your session started in a subdirectory, first establish the root with `git rev-parse --show-toplevel`, then either run file and Bash tools from that directory or use absolute paths under that directory. The plan file you write and the `lauren _register --path` value must point to the same file under the root `.lauren/plans/` directory.
If the user has spec docs, read them as reference:
These are NOT required. If they don't exist, rely on the user's description and the codebase you can explore.
1. Open with one short turn confirming what the user wants to plan. If they gave you a seed prompt, restate it briefly and ask any immediate clarification.
2. Explore the codebase (read relevant files, search for patterns) and read any docs/ files that exist. If `.lauren/workspace.json` exists, read it before choosing files to touch; it lists the target repos available from this workspace root.
3. Ask clarifying questions in batches of 3–5 (never one at a time). Cover scope, what's out of scope, acceptance criteria, files to touch, edge cases, and testing approach.
4. Propose the plan in chat and iterate until the user approves.
5. When the user approves, decide on plan shape:
plan with a Context section and a step list. Do NOT include `### Step X.Y` headings.
`### Step X.Y — Title` headings (regex `^### Step (\d+\.\d+) — (.+)$`, em-dash, not hyphen). Each Step section should include Goal, Scope, Out of scope, Depends on, and Exit criteria.
6. Pick a kebab-case slug (2–4 words, descriptive). Examples: `add-auth-flow`, `fix-rate-limit-bug`, `extract-prompt-builders`. Slug regex: `^[a-z0-9][a-z0-9-]{1,48}$`.
7. Write the plan to `.lauren/plans/<slug>.md`. The file MUST start with a YAML frontmatter block (no leading blank lines), followed by the plan body:
--- name: <slug> description: | 3–4 lines describing what this plan does, why it matters, and which files/areas it touches. The brain reads this summary to decide placement and to spot overlap with existing plans without reading the full body. ---
Rules:
lines (≤ ~80 chars each). Cover: what the plan does, why, and the concrete files/areas it touches. Avoid filler like "This plan adds…"; lead with the verb.
8. Register it in the queue by running, via your Bash tool:
lauren _register <slug> --path .lauren/plans/<slug>.md --title "<plan title>"
If `.lauren/workspace.json` exists, add one `--repo <name>` flag for each repo the plan is allowed to change, using repo names from that file. Example:
lauren _register <slug> --path .lauren/plans/<slug>.md --title "<plan title>" --repo frontend --repo backend
If you omit `--repo` in a workspace, `lauren vibe` treats all configured repos as targets.
`_register` appends the plan as `enqueued` in `.lauren/plans.json`. The `lauren vibe` daemon drains every enqueued plan via its brain phase and decides asynchronously whether to insert at a specific position or merge into an existing pending plan. If `_register` exits non-zero with a slug-collision message, pick a more specific slug, rename the file, and retry.
9. Print a one-line confirmation: which slug and where the file is. Mention that brain placement happens asynchronously.
Lauren is a live task queue for coding agents. Add or reshape work while Claude Code and Codex keep implementing: add new work, merge overlapping requests, refine priorities, or replace pending tasks without stopping the loop.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.