Agent skill

Debrief

by joshukraine in joshukraine/dotfiles

Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions.

MITAuto-check passedTesting & QA

Install Debrief

skills CLI
$ npx skills add joshukraine/dotfiles --skill debrief -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install joshukraine/dotfiles debrief --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/joshukraine/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/claude/.claude/skills/debrief .claude/skills/debrief && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
debrief
GitHub stars
429
Token cost
~2.5k tokens
SKILL.md length
1,356 words
Files
2
Skills in repo
24
Repo updated
First seen
Licence
MIT

At a glance

Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions.

  • Works in 5 steps: What We Built (and Why It Matters) → Architecture & Design Decisions → Test Coverage & Quality → …
  • Tasks that involve Architecture decision records
  • SKILL.md covers Context, Your Task and Tone & Approach
  • Calls rails

What it does

Debrief is an agent skill from joshukraine/dotfiles. Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.

It sits in Testing & QA, covering Architecture decision records and Test coverage. The repository describes itself as: :roundpushpin: My dotfiles for macOS using Neovim, Zsh, and Ghostty + Tmux. The licence is MIT.

When your agent uses it

  • Tasks that involve Architecture decision records
  • Tasks that involve Test coverage

Example prompts

  • “/debrief”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. What We Built (and Why It Matters)
  2. Architecture & Design Decisions
  3. Test Coverage & Quality
  4. Product Tour — Try It Yourself
  5. Save Debrief Files

What it can do on your machine

Read from SKILL.md and the folder at commit b59ad5b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • rails

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Debrief loads about 2.5k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 1,356 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from joshukraine/dotfiles at commit b59ad5b, republished under its MIT licence (© joshukraine). 1,356 words, ~2,492 tokens.

Download SKILL.mdSave it as .claude/skills/debrief/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
debrief
description
Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions.

Debrief

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:

  • /checkpoint — a quick 2-minute status orientation; this is the deep sit-down walkthrough.
  • /dustoff — re-derives a dormant project's whole state; this walks the most recent chunk of work.

Context

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.

Your Task

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.


1. What We Built (and Why It Matters)
  • Summarize the feature(s) completed since the last debrief or major checkpoint.
  • Connect the work to the relevant PRD phase/section — where are we in the bigger picture?
  • Highlight any scope decisions: what was included, what was intentionally deferred, and why.
2. Architecture & Design Decisions

Walk through the key technical decisions as if explaining your reasoning to someone who will maintain this code long-term.

  • Models, associations, and schema choices — why this structure?
  • Patterns used (concerns, service objects, enums, STI, etc.) — why this approach over alternatives?
  • Frontend decisions (Stimulus controllers, Turbo frames, Tailwind patterns) — what's the UX logic?
  • Anything you considered but rejected, and why.

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..."

POODR Spotlight

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.

3. Test Coverage & Quality

Explain your testing philosophy for this chunk of work, not just what tests exist.

  • What did you choose to test and why? What's the highest-value coverage?
  • What did you intentionally skip testing, and what's the rationale?
  • Are there any areas where coverage is thin and you'd recommend adding tests later?
  • Run the test suite and report results. If anything fails, explain why.

Provide commands the executive can run to verify:

bash
# Example — adapt to the project's actual test commands
bin/rails test                    # or: make test
bin/rails test:system             # or: make test-system
4. Product Tour — Try It Yourself

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:

  • The exact URL to visit (e.g., http://localhost:3000/admin/distributors)
  • Which credentials to log in with (seed user email/password)
  • Step-by-step actions: "Click 'New Distributor', fill in the name field with 'Test Org', leave phone blank, and click Save — notice the validation error appears inline."
  • What to look for: "The flash message auto-dismisses after 3 seconds. On mobile, the table collapses into a card layout."
  • Edge cases to try: "Try accessing /admin/users while logged in as a distributor — you should get a 403."

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.

5. Save Debrief Files

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:

text
docs/debriefs/full/YYYY-MM-DD-[brief-topic].html

Summary (Markdown) — a concise historical record:

text
docs/debriefs/summary/YYYY-MM-DD-[brief-topic].md
Show full SKILL.md (564 more words)Show less
Rendering the full debrief into HTML

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 and inlining the shared house style:

  1. Read template.html from this skill's directory and use it as the exact structure. Its head comment documents every token and section.
  2. Inline the shared house style — read ../_shared/house-style.html and copy its <style> block in place of the <!-- HOUSE STYLE: ... <style> ... --> marker in <head>, and its <script> block in place of the marker before </body>. The output must be a single self-contained, portable .html (no external assets, no build step). Do not link an external stylesheet.
  3. Replace the {{TOKENS}} ({{PROJECT}}, {{TITLE}}, {{DATE}}, {{SCOPE}}, {{PRS}}, {{ISSUES}}, {{PRD_REFS}}, and the section bodies {{BUILT}}, {{ARCHITECTURE}}, {{TESTS}}, {{TOUR}}). Drop metadata rows that don't apply.
  4. Use the shared components (documented in house-style.html): Product Tour user stories become <div class="story"> cards; the POODR spotlight and any flagged follow-ups become <div class="callout"> blocks; architecture and data-flow structure becomes inline <svg> inside <figure class="diagram"> — never ASCII art.
  5. Make pasteable values click-to-copy. Anything the reader will type into the app — seed credentials, emails, and key URLs in the Product Tour — should be a <button type="button" class="copy" data-copy="VALUE">VALUE</button> control so it copies on click. This removes the single biggest walkthrough papercut.
  6. Keep the TOC in sync with the sections you actually emit, and leave the high-value sections (What We Built, Product Tour) open by default.
  7. JavaScript is limited to the shared click-to-copy helper. Add no other scripts, frameworks, or dependencies. Collapsing uses native <details>/<summary>.
  8. Strip every instructional comment — the template's head how-to block and all explanatory <!-- ... --> notes inside the body guide template-filling only and must not appear in the output. The artifact should contain real content plus the inlined house style, nothing else. (HTML comments do not nest, so a leftover instructional comment can break rendering, not just clutter it.)
The summary file

The Markdown summary should contain:

  • Project name, date, and scope (which PRD phase, which PRs/issues)
  • One-paragraph summary of what was built
  • Key architecture decisions (bullet points)
  • Test coverage status (pass/fail, notable gaps)
  • Any items flagged for follow-up

Begin it with a metadata block (date, scope, PRs, issues, PRD references) formatted as a bulleted list so items render vertically.

Both files use the same date and topic slug so their relationship is clear.

Open the debrief automatically

After saving, open the full debrief in the browser so the executive doesn't have to — it is a single self-contained file, so this is instant and needs no server:

bash
open docs/debriefs/full/YYYY-MM-DD-[brief-topic].html

open uses the system default browser. If the project needs a specific browser (e.g. for the Clipboard API), pin it: open -a "Google Chrome" <file>.

Then tell the executive where both files are:

text
Project:      MyApp
Full debrief: docs/debriefs/full/2026-02-10-user-authentication.html  (opened in your browser)
Summary:      docs/debriefs/summary/2026-02-10-user-authentication.md

Tone & Approach

  • Be a senior dev who takes pride in their work and can defend their decisions.
  • Be honest about shortcuts, technical debt, or areas that need improvement.
  • Anticipate questions the executive would ask: "Why didn't you...?", "What happens if...?", "How does this scale when...?"
  • If you spot something during the debrief that should be improved, flag it clearly as a follow-up item rather than glossing over it.
  • Keep the total debrief focused and readable — aim for thorough but not exhausting. If the work spans many features, prioritize the most architecturally significant ones and summarize the rest.

© joshukraine, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in claude/.claude/skills/debrief of joshukraine/dotfiles.

  • SKILL.md
  • template.html

Open the folder on GitHubat commit b59ad5b

Compare with similar skills

Debrief next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Debrief compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Debrief this skilljoshukraine/dotfiles429—~2.5kAutomated safety check: PassMIT
Plan Eng Reviewmr-daedalium/ostack-saas1141 repos~13kAutomated safety check: NotesMIT
Evaluate PR Testsdotnet/maui23k—~2.9kAutomated safety check: PassMIT
Test Guidelinesgetsentry/sentry-dart873—~3.1kAutomated safety check: PassMIT
Testingdoorkeeper-gem/doorkeeper5.5k—~1.6kAutomated safety check: PassMIT
Reviewwebern/cargo-readme385—~2kAutomated safety check: NotesApache-2.0

Similar skills

  • Plan Eng Review

    mr-daedalium/ostack-saas

    Eng manager-mode plan review. An agent skill from mr-daedalium/ostack-saas.

    114 GitHub starsUsed in 1 repo~13k tokens
    Testing & QAAuto-check: notes
  • Official

    Reviews the tests added in a pull request for fix coverage, quality, edge cases and test type, and recommends lighter test types where they would do.

    23k GitHub stars~2.9k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Test Guidelines

    getsentry/sentry-dart

    Official

    Enforce Sentry Dart/Flutter SDK test conventions for naming, structure, and fixtures.

    873 GitHub stars~3.1k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Testing

    doorkeeper-gem/doorkeeper

    Write correct and complete RSpec tests for Doorkeeper. An agent skill from doorkeeper-gem/doorkeeper.

    5.5k GitHub stars~1.6k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Review

    webern/cargo-readme

    Reviews a GitHub pull request for correctness, architecture, security, backward compatibility, and test coverage.

    385 GitHub stars~2k tokensUpdated 2 days ago
    Testing & QAAuto-check: notes
  • Supercov

    supercorp-ai/supercov

    Measures test coverage and code quality in a repository with the supercov CLI, and turns what it finds into small, focused tests or fixes.

    152 GitHub starsUsed in 1 repo~415 tokens
    Testing & QAAuto-check passed

More from joshukraine/dotfiles

All 24 skills in this repo
  • Todoist CLI

    joshukraine/dotfiles

    Manage Todoist tasks, projects, labels, filters, sections, comments, reminders, and workspaces via the td CLI.

    429 GitHub starsUsed in 1 repo~6.9k tokens
    Auto-check passed
  • Autopilot Triage

    joshukraine/dotfiles

    Vet open issues for autonomous resolution and queue the qualifying ones with the autopilot-queued label — the start-of-day "fill the queue" half of the triage → run split.

    429 GitHub stars~2.1k tokensUpdated 4 days ago
    Auto-check passed
  • Checkpoint

    joshukraine/dotfiles

    Quick 2-minute status update on current phase, completed work, blockers, and health check.

    429 GitHub stars~600 tokensUpdated 4 days ago
    Auto-check passed
  • Create PR

    joshukraine/dotfiles

    Create a pull request with auto-generated description, issue linking, ROADMAP updates, and PR-metadata validation.

    429 GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check passed
  • Drift Check

    joshukraine/dotfiles

    Pre-PR advisory check for deviations from the project spec. An agent skill from joshukraine/dotfiles.

    429 GitHub stars~1.2k tokensUpdated 4 days ago
    Auto-check passed
  • Dustoff

    joshukraine/dotfiles

    Assess a project that's been dormant for months and produce a prioritized re-entry plan — lifecycle stage, what's stale or broken, and how far the project's tooling has drifted from current…

    429 GitHub stars~3.1k tokensUpdated 4 days ago
    Auto-check passed

Questions about Debrief

What does Debrief do?

Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions. Debrief is an agent skill from joshukraine/dotfiles. Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions.

When should I use Debrief?

Debrief fits situations like: tasks that involve Architecture decision records; tasks that involve Test coverage.

How do I install Debrief in Claude Code?

Run `npx skills add joshukraine/dotfiles --skill debrief -a claude-code`. Or copy the skill folder (claude/.claude/skills/debrief in joshukraine/dotfiles) into .claude/skills/debrief in your project. Claude Code loads it when a task matches its description.

How do I install Debrief in Codex?

Run `npx skills add joshukraine/dotfiles --skill debrief -a codex`. Or copy the skill folder (claude/.claude/skills/debrief in joshukraine/dotfiles) into .agents/skills/debrief in your project. Codex loads it when a task matches its description.

Can I use Debrief in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add joshukraine/dotfiles --skill debrief -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/debrief, .gemini/skills/debrief, .github/skills/debrief and .opencode/skills/debrief in your project.

What does Debrief need to run?

Going by SKILL.md and its folder, Debrief needs the command-line tools its instructions call (rails).

Does Debrief access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Debrief safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Debrief use?

Debrief is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Debrief use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Debrief?

Skills that share tags, products or a category with Debrief: Plan Eng Review (mr-daedalium/ostack-saas, 114 stars), Evaluate PR Tests (dotnet/maui, 23k stars), Test Guidelines (getsentry/sentry-dart, 873 stars) and Testing (doorkeeper-gem/doorkeeper, 5.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Debrief?

joshukraine (a GitHub user) maintains it in joshukraine/dotfiles, which has 429 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 6, 2026.

Source: joshukraine/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.