/flagrare:work-prepfrom Flagrare
Orchestrates ticket preparation: moves ticket to in-progress, gathers context from Jira/Notion/Figma, grounds in codebase, asks clarifying questions, then produces a TDD-first implementation plan.
Ships in Flagrare. 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.
Full preparation workflow: ticket context gathering followed by implementation planning.
This skill orchestrates two existing skills in sequence. It does not duplicate their logic.
SKU-123, ST-456, CORE-789)Hard requirement. Before invoking any sub-skill, you (the executing model) MUST call /goal yourself. work-prep is a multi-skill chain (intake → atdd-plan → confirm) that emits a large context brief and a large plan mid-flow, both are points where the model tends to read "turn complete" and stop. A /goal is a session-scoped Stop-hook: after every turn a fast evaluator checks your condition against the conversation and makes you continue if it is unmet. Set it here, once, spanning the whole chain. (Grounded in docs/research/2026-06-11-claude-code-goal-anti-stall.md.)
Phrase the condition as something your own output demonstrates, the evaluator cannot run tools or read files, only judge what you have surfaced:
The ticket has been moved to its started status (or a one-line note says why it was not); a codebase-grounded context brief has been produced; the most blocking clarifying questions have been asked via the
AskUserQuestiontool and answered (or none were blocking);/flagrare:atdd-planhas produced an implementation plan with acceptance tests; and the closing next-stepAskUserQuestion(Start implementation / Adjust the plan / Stop here) has been presented and answered. Stop after 20 turns if not met.
One goal per session. Because work-prep sets this spanning goal, /flagrare:intake must NOT set its own, the [work-prep] prefix in Step 1 signals it to skip (a second goal would silently replace this one). Likewise do not re-set the goal between steps.
If /goal is unavailable (untrusted workspace, or disableAllHooks / allowManagedHooksOnly set): proceed without it and rely on the same-turn handoffs and the sub-skills' own no-yield notes.
Also create a Todo list (TodoWrite) with one item per stage of the chain, starting with "Move the ticket to started".
/flagrare:intakeCall /flagrare:intake with the ticket reference prefixed by [work-prep] (e.g., args: [work-prep] SKU-123). This prefix tells intake two things: (1) skip setting its own /goal, work-prep's Step 0 goal already spans the chain, and (2) skip its Step 6 next-step prompt and hand off directly. This skill will:
<plugin root>/lib/tickets/LIFECYCLE.md. If intake returns without having moved it, move it yourself before Step 2./flagrare:codebase-explore, finding the files, utilities, and prior attempts the plan will touchsrc/x.ts or fork it?", not abstract: "where should this live?")/flagrare:measure-impact (quick), or record a skip for a small fix, and pass it to /flagrare:atdd-plan. Intake does this in its [work-prep] hand-off, right before invoking atdd-plan.Wait for /flagrare:intake to complete before proceeding. The context brief must be finalized, codebase findings populated, and open questions resolved.
/flagrare:atdd-planOnce /flagrare:intake has produced a complete, codebase-grounded context brief, invoke /flagrare:atdd-plan. Pass the brief as opening context. This skill will:
/flagrare:codebase-explore pass (atdd-plan stays self-sufficient, intake's findings in the brief are additional input, not a substitute)After the plan is presented, issue an AskUserQuestion tool call, same interaction shape as intake's next-step prompt and plan-mode's accept tool. Do NOT phrase this as prose; that lets the turn end ambiguously.
Options:
/goal. It's the forcing function that carries the model across the brief and the plan without stopping. The [work-prep] prefix on intake assumes this goal exists./flagrare:intake and jump to planning. Context gaps turn into rework./flagrare:atdd-plan before clarifying questions are resolved./flagrare:intake already gathered. Pass the brief forward./flagrare:codebase-explore before Step 5./flagrare:codebase-explore runs twice in this flow, once in intake (scoped to inform questions) and once in atdd-plan (scoped to anchor the plan). atdd-plan stays standalone-callable; that requires it to do its own pass.AskUserQuestion prompt, same UX contract as plan-mode's accept tool. A button, not a typing prompt.The [work-prep] prefix in intake's args is the signal. When intake sees it, intake skips its next-step prompt and immediately invokes /flagrare:atdd-plan itself. This means:
[work-prep] prefix.If you are executing work-prep and intake finishes WITHOUT invoking atdd-plan (e.g., it returned with just the brief), you MUST invoke /flagrare:atdd-plan yourself before proceeding to Step 3.
/flagrare:work-prep [ticket ID or URL]
|
v
[Step 0: /goal locked, spans the whole chain, anti-stall]
|
v
/flagrare:intake [work-prep] <- 0. skip own /goal (work-prep owns it)
1. read ticket, move it to started, follow references in parallel
2. synthesise brief (no questions yet)
3. /flagrare:codebase-explore <- ground brief in code
4. ask codebase-informed clarifying questions
5. resolve, finalize brief
6. detect [work-prep] prefix → invoke atdd-plan directly
|
v
/flagrare:atdd-plan <- runs its own /flagrare:codebase-explore pass
(stays self-sufficient for standalone use),
then produces ATDD-first plan
|
v
[user reviews plan]
|
v
[implementation begins]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ticket-workflow, jira, context-gathering, implementation-planning, tdd
npx claudepluginhub flagrare/agent-skills --plugin flagrare43 skills in this plugin
/atdd-planProduce an ATDD-first implementation plan in Claude Code's native plan mode, with named design patterns called out where they earn their keep. The skill enters plan mode automatically (via the EnterPlanMode tool), runs /flagrare:codebase-explore to ground the plan in the actual codebase, then produces a plan-mode plan that MUST include both: (1) 3-5 acceptance tests in plain English defining 'done' before any implementation, written behavior-first against the public API only; and (2) any non-trivial structural decisions named as design patterns with a one-line rationale. Plan mode's native approve/edit/reject button UI is the close, ExitPlanMode is how the skill ends. Use whenever the user wants to plan a feature, fix, or refactor, 'how should we implement X', 'plan this', 'let's design X', 'where do we start on Y'. Tests follow Kent Dodds Testing Trophy: behavior over implementation, integration-heavy, public-API-only, refactor-proof. The skill stops at the plan; it does not write implementation code./brag-docGenerate a comprehensive, impact-framed brag-doc entry for a chosen time window (day, week, biweek, month, or custom). Pulls authored PRs, reviews given, commits, deploys, and linked tickets across GitHub, local git, and configured MCPs, then synthesises a themed narrative, leading with outcomes, quantifying impact, owning the work in first-person past tense, separating IC contributions from amplification, and naming the judgment exercised. Output is designed to drop straight into a developer journal, a personal bragging sheet, or a performance-review packet. Accepts a mode argument, `/flagrare:brag-doc resumancer` renders the output as ready-to-paste Resumancer CLI commands (`resumancer impact "..." --branch ...`) instead of markdown. Use whenever the user says "brag doc", "brag sheet", "what did I do this week", "weekly recap", "monthly recap", "performance review prep", "what should I tell my manager", "summarise my impact", "career log entry", "give me my wins", "biweekly recap", or any variant about looking back over a longer window than a single day's standup. Also trigger near review season ("self-review", "perf packet", "evaluation prep"), and on phrases like "log my wins to resumancer" or "make resumancer entries for this week" (which should pass the `resumancer` mode). For windows longer than about a month, a tenure retrospective, a departure record, or "everything I did at this company", hand off to `/flagrare:impact-timeline` instead; this skill's window tops out at a month./bug-bashProgrammatic bug bashing, ingest a prescribed test plan (Notion, markdown, pasted spec), drive a real running system (browser via Chrome DevTools / Playwright MCP, backend via API tools when relevant), run every prescribed case with evidence, then do exploratory passes (viewports, edge inputs, multi-actor flows, codebase-driven concerns, additional context like meeting transcripts, emails and links checked in the real inbox with a control case, other languages, failures and races) without ever claiming a bug it didn't itself reproduce. Fills free-text fields with tagged, playful test data that also probes something (unicode, HTML, template syntax, length). Lands results in a local MD file by default, optionally writes back to the source (Notion bug DB, test case Eng QA columns, etc.) in the user's voice. Use whenever the user says 'bug bash', 'QA this feature', 'run the test cases', 'go through this test plan', 'verify these scenarios', 'do a bash on X', when they hand over a Notion test case page, or any time programmatic end-to-end verification of a feature against a checklist is needed. Also use it when a smoke test passed but the user wants more cases tested, or asks 'what else should we test' and then 'test it yourself'. Make sure to use this skill even when the user just says 'test this Notion page' or 'check these scenarios', anything that smells like running someone else's prescribed test plan against a live system./careerRun the career skills that are due, in one pass, and return one short combined digest plus an updated board. It reads timestamps and flags to decide: the promotion map's first run when there is none (after asking), a refresh of map sections that are older than 90 days or flagged by a scan, an opportunity scan when the last one is a month old, and an impact scan every time. The digest leads with the initiative the user owns and its next step, then up to 5 threads worth weighing in on, one line on the promotion map (open rubric rows, people who haven't seen the work, when to talk to the manager, the packet deadline), anything that needs the user, and an "all answering, nothing owned" warning when the user keeps replying but owns nothing. A scheduled run (from /loop or a schedule) never asks questions and never posts; it lists what needs the user as pending. Use when the user says "career", "career check", "career digest", "run my career skills", "what should I do for my promotion this week", "daily career scan", or sets up a recurring career run. Also trigger for a scheduled career run./codebase-exploreExplore the codebase to map conventions, reusable utilities, analogous features, and data flows relevant to a planned change. Returns raw findings (file paths, patterns, code snippets), does NOT produce a plan. Used by /flagrare:atdd-plan as its codebase understanding step./communication-setupSet up, change or remove how Claude talks to you: a custom output style with your reply rules, a reminder of those rules on every message, and a Stop hook that quietly nudges Claude when a reply runs a little long and blocks one that runs far past your limit. Use when the user says Claude's replies are too long, exhausting, hard to skim, full of process narration or caveats, 'you make me work for the information', 'talk to me shorter', 'communication setup', 'set up how you talk to me'; when the length check or reply-length hook blocked a reply it shouldn't have, or the user wants a different limit or style; or asks to remove or undo it ('remove communication setup', 'go back to normal replies').Other plugins' skills for the same job