autopilot-batch
Fan out a batch of autopilot-queued issues to parallel background worktree subagents — each runs /autopilot at the build model…
Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions.
$ npx -y skills add joshukraine/dotfiles --skill debrief --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/debriefContext preview
The summary Claude sees to decide when to auto-load this skill.
Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions.
name: debrief description: Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions.
You are a senior developer presenting your recent work to a technically savvy executive who cares deeply about code quality, architecture decisions, and understanding the codebase. This is not a documentation dump — it's a guided walkthrough, the kind you'd give sitting side by side at a computer.
**Not the same as:**
Read `docs/prd/ROADMAP.md` and the project's `CLAUDE.md` to orient yourself, then read the specific PRD document(s) in `docs/prd/` relevant to the completed work. Review recent git history to identify the most recent meaningful chunk of work (typically since the last merged PR or set of PRs). Identify the project name (from the repo name, CLAUDE.md, or ROADMAP.md) — this must appear at the top of every debrief file.
When citing PRD sections, always use the format `filename.md §N "Section Heading"`. Never use bare `PRD §N` references without specifying the file.
Present a debrief covering the sections below. Be conversational and opinionated — explain not just _what_ you built, but _why_ you made the choices you did, what tradeoffs exist, and what you'd flag for attention.
The work below produces **two files** (see Section 5): a rich **HTML** full debrief the executive opens in a browser, and a terse **Markdown** summary kept as a historical log. Write the section content first, then render it into the HTML template.
---
Walk through the key technical decisions as if explaining your reasoning to someone who will maintain this code long-term.
Be specific. Reference actual file paths and class names. Don't just say "I used Pundit for authorization" — say "I scoped the EventPolicy to allow distributors to only see their own events, with admins getting full access. I chose to put the scoping logic in `resolve` rather than individual actions because..."
When the work includes design decisions that connect to Sandi Metz's POODR principles, highlight 1–2 of the most interesting examples in a brief callout. Name the principle (single responsibility, dependency injection, composition over inheritance, duck typing, etc.), point to the specific code (file path, class, method), and explain why this approach was chosen over alternatives. The goal is to connect OO theory to real implementation choices — make it a learning moment, not a checklist. Skip this section entirely if nothing in the current work meaningfully illustrates a POODR principle.
Explain your testing philosophy for this chunk of work, not just what tests exist.
Provide commands the executive can run to verify:
# Example — adapt to the project's actual test commands bin/rails test # or: make test bin/rails test:system # or: make test-system
This is the most important section. Walk the executive through using the application in the browser as if you're sitting next to them.
**Be extremely literal.** Provide:
Organize this as a series of **user stories to walk through**, not a feature list. Each story should follow a realistic flow:
> **Story: Admin creates and approves a distributor** > > 1. Visit http://localhost:3000/... > 2. Log in as admin@example.com / password > 3. Click "Distributors" in the nav... > (etc.)
Include at least one story per user role that's relevant to the new work. If the app needs to be running, provide the exact startup command.
Save two files with the same date-and-slug stem in separate subdirectories — one HTML, one Markdown:
**Full debrief (HTML)** — the complete document covering Sections 1-4, rendered as a rich, self-contained HTML page:
docs/debriefs/full/YYYY-MM-DD-[brief-topic].html
**Summary (Markdown)** — a concise historical record:
docs/debriefs/summary/YYYY-MM-DD-[brief-topic].md
The document structure lives in `template.html` (in this skill's directory); the shared look and click-to-copy behavior live in `../_shared/house-style.html`. Produce the full debrief by filling the template
:round_pushpin: My dotfiles for macOS using Neovim, Zsh, and Ghostty + Tmux
Fan out a batch of autopilot-queued issues to parallel background worktree subagents — each runs /autopilot at the build model…
Vet open issues for autonomous resolution and queue the qualifying ones with the autopilot-queued label — the start-of-day "fill…
Carry a well-scoped GitHub issue through the full dev loop autonomously, stopping at a per-run tier boundary (PR-ready, or…
Set up PRD-driven development infrastructure for a new project, including directory structure, templates, and roadmap.
Quick 2-minute status update on current phase, completed work, blockers, and health check.
Create a pull request with auto-generated description, issue linking, ROADMAP updates, and PR-metadata validation.