/sdlc:pre-planfrom sdlc
Gathers context from tickets and code before discussing solutions or writing plans. Useful for structured SDLC workflows where understanding the problem space comes first.
Ships in sdlc. 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.
None: SKILL.md is the whole skill.
Gather everything needed to discuss a solution with the user, so a plan can be written afterward and then implemented. You are NOT writing a plan in this command, and you are NOT implementing anything. The output is a context briefing for discussion.
$ARGUMENTS
Inspect the Scope above:
#number; teamwork:workflow-identify holds the project's real pattern: treat as ticket → run Phase 2.Delegate to ONE subagent. Goal: load the full ticket and everything it transitively references — the ticket's own content and the external systems it links to. This subagent never opens the codebase. Reading code is Phase 3 and Phase 4 work. A ticket subagent that greps a repository or reads source files has left its scope, and what it brings back from there is noise the later phases redo properly.
The subagent must:
glab, gh) — description, discussions, and the diff stat (which files changed, how much) — never the diff itself, and never a local checkout of the repository. Whether a diff is relevant is decided later, once the Phase 3 code map exists../.claude/plans/pre-plan-<ticket-slug>-ticket.md (create the directory if missing) as a single markdown file. Include: full ticket content (title, description, all comments verbatim or near-verbatim where they carry real information), summarized linked context per link, a list of every concrete code/file/table/system reference that the ticket or its linked items mention — transcribed as written, not searched for, not verified against code — and a list of any unresolved questions or ambiguities spotted in the ticket.The subagent prompt must open with a skill-load instruction so it doesn't waste turns guessing CLI syntax. Resolve the tracker with the teamwork:workflow-identify skill first, then name the installed skill that covers that tracker: First, invoke the <skill-name> skill to load its usage guidance before running any commands.
Do the same for every other system the subagent has to read. If the ticket links to chat threads, add the instruction for the chat tool's skill as well.
The prompt must also state the boundary in the subagent's own terms: Do not open, grep, or read any repository checkout or source file. Collect only what the ticket and its links say. Do NOT add domain hints to the prompt ("especially look for table X, class Y, DAG Z") — a hint list reads as a search brief and sends the subagent into the repositories to find the items. If the user restricted the scope (in Scope above or in the conversation), pass that restriction into the prompt verbatim.
Delegate to ONE subagent (subagent_type: Explore, breadth: medium). Goal: map the territory, not deep-dive.
This phase exists so the next phase can be split into focused per-subdomain dives. Resist the urge to deep-dive here.
For each subdomain from Phase 3, spawn a separate subagent (subagent_type: Explore, breadth: very thorough).
Each subagent's goal: deeply understand the relevant code in that subdomain — what it does today, where the change pressure is, gotchas, edge cases, related tests. Return concrete file paths, function names, and current behavior.
Write the briefing to ./.claude/plans/pre-plan-<short-slug>.md (slug from ticket ID or a topic kebab-case; create the directory if missing). Structure:
Problem — what we're solving and why (from ticket / args / conversation).
Current state — how the relevant code works today, synthesized across subdomains.
What would have to change — areas of pressure. Not a chosen design.
Open questions & trade-offs — what needs the user's input before a plan can be written. Each item is a question that ends in an actual choice, followed by a sublist:
When you genuinely have no preference, say so in the Recommended bullet and name what would decide it. Never invent a recommendation to fill the slot.
Suggested next steps — a short bulleted list of directions to consider (e.g. "approach A: change X here; approach B: extract Y"). Not a committed plan.
Omit sections that have nothing to say. No filler.
Current state and What would have to change are where a picture sometimes beats a paragraph. When the flow you are describing crosses three or more components, the behavior is a state machine, the interaction is ordering-sensitive (a race, a retry, a handshake), or the change is a before/after of the same structure — draw it as a diagram, and invoke the diagrams:mermaid skill first so the diagram is written and validated the right way. It is your call. A diagram carries one idea, so two ideas mean two diagrams — and a context file with none is a fine context file.
The Phase 5 file is the argument. The user reads the conclusion first: invoke the sdlc:brief-next-steps skill with the same slug. It writes ./.claude/plans/<slug>-briefing.md — the directions in implementation order, the decisions the user still owes, what is not yet verified — and it defines the chat reply.
brief-next-steps prescribes (path, line count, step headings), plus one line naming the Phase 5 file. Then stop and wait for the user to discuss before doing anything else.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sdlc, pre-planning, context-gathering, ticket-analysis, workflow
npx claudepluginhub fprochazka/claude-code-plugins --plugin sdlc8 skills in this plugin
/brief-next-stepssdlc:brief-next-stepsWrite a short briefing of the proposed next steps into ./.claude/plans/ so the conclusion can be read instead of the argument/mr-babysitsdlc:mr-babysitBabysit MR(s) or PR(s) — a watcher reports every change, an actor triages, fixes and posts, and you decide, until every MR is rebased, green, quiet and handed over/mr-opensdlc:mr-openOpen a draft MR for the current branch — the Why in the ticket, the reviewer's guide in comments, a one-screen description, then babysit itOther plugins' skills for the same job