oliver-kriska/phx-brief
Interactive briefing of a plan file — explains reasoning, schema decisions, component choices. Use when developers need to understand a plan before approving.
npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill phx-brief
Interactive walkthrough of a plan's reasoning, decisions, and solution
shape. Designed for developers who need to understand a plan in 1-2
minutes instead of reading the full document.
Plans answer "what to do" but bury "why." This skill bridges that
gap with an interactive walkthrough.
phx-brief # Latest plan
phx-brief .claude/plans/user-auth/plan.md # Specific plan
$ARGUMENTS = Path to plan file (optional, auto-detects latest)Read the plan file and determine mode from phase statuses:
[PENDING] = Pre-work briefing (what WILL happen)[COMPLETED] or [IN_PROGRESS] = Post-work briefing(what WAS done and why)
$ARGUMENTS has a path, use itUse Glob to find .claude/plans/*/plan.md and pick the most recent.
phx-planRead what's available (don't fail if missing):
.claude/plans/{slug}/summaries/consolidated.md (research summary).claude/plans/{slug}/scratchpad.md (decisions, dead-ends).claude/plans/{slug}/progress.md (work log, post-work only)Present ONE section at a time, wrapped in the visual briefing block
(see references/briefing-guide.md Visual Formatting).
**The section MUST be emitted as visible response text BEFORE the
AskUserQuestion call.** Content composed only in thinking/reasoning
is invisible to the user, and the question field is too short to
carry it. If the user would see only a "Continue?" dialog, the section
was never shown. Write the ★ Briefing block as normal output first,
then ask:
"Next: {title}", "Ask me a question about this", "Stop here"
| # | Title | Source |
|---|-------|--------|
| 1 | What We're Building | Summary + Scope |
| 2 | Key Decisions | Technical Decisions + scratchpad rationale |
| 3 | Solution Shape | Phases overview + Data Model |
| 4 | Risks & Confidence | Risks table + unknowns/spikes |
| # | Title | Source |
|---|-------|--------|
| 1 | What Was Built | Summary + completion status |
| 2 | Key Decisions & Why | Technical Decisions + scratchpad |
| 3 | How It Was Built | Phases with implementation notes |
| 4 | Lessons & Patterns | Risks encountered + patterns used |
See references/briefing-guide.md for section content templates.
plan's research, decisions, and scratchpad entries, not general
programming concepts
not a lecture
phx-work without explicit user requestvisible response text emitted before its AskUserQuestion; never
deliver a section only inside thinking or the question field
After final section (or when user stops):
That's the briefing! For full details, see:
{plan_path}
Ready to proceed? Try `phx-work {plan_path}` to start execution.
Post-work variant:
That's what was built! For full details, see:
{plan_path}
Consider `phx-compound` to capture key learnings for future reference.
phx-plan --> phx-brief (optional) --> phx-work --> phx-brief (optional)
create understand before execute understand after
For plans with 5+ phases or 4+ key decisions, consider suggesting
visual rendering after Section 3. See
references/visual-explainer.md for thresholds and commands.
Take oliver-kriska/phx-brief from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.