/flagrare:codebase-explorefrom Flagrare
Explores codebase to map conventions, reusable utilities, analogous features, and data flows for a planned change. Returns raw findings (file paths, patterns, snippets) without a plan. Used by /atdd-plan for codebase understanding.
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.
Return raw exploration findings for a planned change. No plan, no tests, no implementation steps. Just facts about the codebase that a planning skill needs to make informed decisions.
/flagrare:atdd-plan before it writes acceptance testsReceive one of:
/flagrare:intake)Search for branches, PRs, and commits related to this work:
git branch -a | grep -i "<ticket-key-or-keyword>"
git log --all --oneline | grep -i "<ticket-key-or-keyword>"
gh pr list --search "<ticket-key-or-keyword>" --state all
If found, read them. They reveal: abandoned approaches, partial implementations, reviewer feedback, constraints discovered during prior attempts.
From the context brief or description, determine which directories and files the change will touch. Start broad, narrow fast:
The strongest predictor of how new code should look is how the codebase already solved a similar problem.
Search for:
Read 1-2 complete analogous files. These become the template.
For the feature area, identify:
| Convention | How to find it |
|---|---|
| File organization | ls the directories where changes will live |
| Naming patterns | Read 2-3 files in the same directory |
| Testing style | Read the closest existing test file |
| State management | How do sibling features manage state? |
| Error handling | How do sibling features handle failures? |
| i18n / messaging | What pattern do message definitions follow? |
| Imports / dependencies | What shared utilities are imported? |
Find utilities, helpers, shared components, and abstractions that the implementation should use instead of creating from scratch:
For each, note the import path and a one-line description of what it does.
.eslintrc, prettier.config, or equivalentReturn findings in this structure (no headers beyond these, no plan, no steps):
## Prior Attempts
[branches, PRs, commits found, or "none found"]
## Feature Area Map
[entry point → data flow → dependencies, with file paths]
## Analogous Features
[1-2 similar features with file paths and what makes them analogous]
## Conventions
[table of conventions observed in this area]
## Reusable Utilities
[list: import path + one-line description]
## Constraints
[lint rules, type system requirements, gating, project guidelines]
/flagrare:intake ← context brief produced
↓
/flagrare:atdd-plan
├── /flagrare:codebase-explore ← THIS SKILL (returns raw findings)
├── writes acceptance tests
├── names design patterns
├── SOLID audit
└── gap review
What SKILL.md sets; muted values are Claude Code's defaults
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.Other plugins' skills for the same job