/flagrare:atdd-planfrom Flagrare
Produces an ATDD-first implementation plan in Claude Code's native plan mode, grounded in the actual codebase via codebase-explore. Includes 3-5 plain-English acceptance tests and named design patterns with rationale. Stops at the plan; does not write implementation code.
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.
This skill produces an implementation plan in Claude Code's native plan mode. It does not reinvent plan mode's output shape, Claude already knows how to write a plan-mode plan. The skill exists to enforce three things plan mode alone won't:
EnterPlanMode at skill start, ExitPlanMode at skill end. The user gets the native approve/edit/reject button UI, not a wall of markdown./flagrare:codebase-explore runs before any planning, so the plan references the actual files, conventions, and reusable pieces that exist.Everything else about the plan's form, length, section ordering, tone, follows plan mode's defaults. Don't impose extra structure on top.
REQUIRED BACKGROUND: Invoke /flagrare:testing-philosophy before writing the Acceptance Tests. It defines, layer-agnostically, what a good test is, behavior over implementation, the Testing Trophy, and the e2e necessity floor below. The AT rules here are its application to planning; read both.
Every plan this skill produces must include both:
3 to 5 acceptance tests, written in plain English, that define "done" before implementation begins. Each test must:
_inner fields. A test that breaks on a behavior-preserving rename is a broken test, not a broken refactor. (Apply the acid test from /flagrare:testing-philosophy: would this break under a behavior-preserving refactor? Does it assert what a real user observes?)"returns an empty Scene when the story has ended" not "test_advance_flag". A name that describes a mechanism ("calls advanceFlag") is the tell of an implementation-detail test.Write 3-5 ATs. Too few leaves behavior undefined; too many creates a brittle harness.
For every non-trivial structural decision, name the pattern and give a one-line rationale that explains why it fits this problem, not what the pattern is in the abstract.
| Problem shape | Pattern to consider |
|---|---|
| Swap implementations without changing callers | Strategy |
| Hide a complex subsystem behind a simple interface | Facade |
| Decouple data access from business logic | Repository |
| Notify dependents without coupling to them | Observer |
| Add behavior without changing the object | Decorator |
| Create objects without specifying the class | Factory / Abstract Factory |
| One algorithm, pluggable steps | Template Method |
| Encapsulate a request as an object | Command |
| Wrap incompatible interfaces | Adapter |
Only name a pattern when it genuinely solves the stated problem. Forcing a pattern where it doesn't fit is worse than no pattern. If a plan's structural decisions are all trivial (one obvious file change, no abstraction needed), say so explicitly, "No design patterns needed; this is a single-function fix in path/to/file", rather than inventing one.
Call EnterPlanMode immediately. Do not preface with a summary or ask for confirmation first, the user invoked a planning skill, plan mode is the right posture, just enter it. Plan mode restricts the session to read-only tools, which is exactly what planning needs.
If EnterPlanMode's schema isn't loaded, use ToolSearch with select:EnterPlanMode,ExitPlanMode to load both before proceeding.
Invoke /flagrare:codebase-explore. Pass it the user's description (or the brief from /flagrare:intake if the skill was chained through /flagrare:work-prep).
Hard requirement: invoke the skill, not a substitute. Do not replace it with a generic Explore agent or manual grep, the skill encodes a specific methodology (prior-branch discovery, convention mapping, utility inventory, dependency tracing) and produces structured findings the plan depends on.
Wait for it to complete. Do not start writing the plan until you have its output.
Before writing the plan, post a 3-5 sentence synthesis of what you understood:
path/to/file.ts:42-style references)Then call AskUserQuestion with three options:
This gate is light by design, it's one button click when the synthesis is correct, which is the common case. Its purpose is to prevent committing to a wrong direction before producing a full plan, not to interrogate the user.
Write a plan-mode plan. Follow Claude Code's normal plan-mode conventions for shape, length, and tone, narrative + targeted lists, scannable, no padding.
Requirements layered on top of plan mode's defaults (the third only when a bet is present):
/flagrare:measure-impact whose tracking does not exist yet, add the event or metric as an early step and one acceptance test that it records the change. Without a bet, add nothing.Do NOT add:
Those were artifacts of an older form that produced deliverable documents. Plan mode plans don't need them, they make the plan long without making it better. If something genuinely matters to the design (a real concurrency risk, a real boundary issue), call it out inline in the prose where it lives. A plan that surfaces 2-3 specific risks based on what exploration found is far more useful than one that enumerates every theoretical category.
Call ExitPlanMode with the plan as the plan argument. This gives the user the native button-driven approve/edit/reject UI, which is what they invoked the skill to get.
Do not follow ExitPlanMode with a prose question or summary. The button UI is the close.
_inner, mock call counts on types you own, private fields). Refactor-proof or it's not an AT.EnterPlanMode and producing a markdown plan in the regular conversation. The user wants the native plan-mode UX; that means the actual tool, not an approximation./flagrare:codebase-explore. The plan must be grounded in the real codebase; references to actual path/to/file.ts:42 locations are what separate this from a generic chatbot plan./flagrare:testing-philosophy.ExitPlanMode. The button UI is the close. Don't double-prompt.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub flagrare/agent-skills --plugin flagrare43 skills in this plugin
/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')./daily-code-reviewGenerate a daily code review report showing stale PRs, items needing your attention, and active work for your team. Use whenever the user asks for a PR report, code review status, daily standup prep, team PR overview, "what needs review", "what's stale", "show me open PRs", "daily review", "PR check", "review report", "what should I look at today", or any question about tracking pull request activity across a team or pod. Also trigger when the user mentions a specific pod name that matches a saved config.Other plugins' skills for the same job