skills/create-walkthrough/SKILL.md
Generate a walkthrough artifact (walkthrough.md) summarizing completed work for PR delivery. Gathers information from plan.md, git history, and test results to produce a comprehensive summary. Use at Phase 6 before creating the draft PR. Triggers on create walkthrough, generate walkthrough, write walkthrough artifact.
npx skillsauth add mthines/gw-tools create-walkthroughInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate .gw/{branch-name}/walkthrough.md — the final summary for PR delivery.
Before invoking this skill:
plan.md must exist and have an up-to-date Progress LogRun this command to get the artifact path and gather git information — do NOT guess the branch name:
BRANCH=$(git branch --show-current) && mkdir -p ".gw/${BRANCH}" && echo "Artifact path: .gw/${BRANCH}/walkthrough.md" && echo "---" && git diff --stat main...HEAD && echo "---" && git log --oneline main...HEAD
From plan.md (read the file — must run in the same shell session as above, or re-assign BRANCH):
BRANCH=$(git branch --show-current) && cat ".gw/${BRANCH}/plan.md"
Extract: Summary, Decisions, Requirements, File Changes table.
From test results:
Recall or re-run the test suite to confirm current status.
Create the file at the path from Step 1 using the template below. Do NOT hardcode or guess the branch name.
After writing the file, output the walkthrough content directly in the conversation so the user sees it immediately.
All timestamps MUST use full ISO 8601 with time: YYYY-MM-DDTHH:MM:SSZ
---
created: { TIMESTAMP }
branch: { BRANCH }
task: { TASK_DESCRIPTION }
pr: { PR_NUMBER }
---
# Walkthrough: {TASK_DESCRIPTION}
## Quick Reference
- **Branch**: `{BRANCH}`
- **PR**: #{PR_NUMBER}
- **Worktree**: `{WORKTREE_PATH}`
## Summary
<!-- 2-3 sentences: what was implemented and the key outcome -->
## Changes
| File | Change | Purpose |
| ---- | ------ | ------- |
<!-- List ALL modified/created/deleted files from git diff -->
## Key Decisions
<!-- Numbered list of important decisions made during implementation.
Pull from plan.md Decisions table — include only the most significant ones. -->
1. {decision and brief rationale}
## Testing Results
<!-- Test outcomes with pass/fail indicators -->
- [x] {test category}: {result summary}
- [x] {test category}: {result summary}
## How to Verify
<!-- Step-by-step instructions for a reviewer to verify the changes work -->
1. {step}
2. {step}
3. {step}
## Next Steps
1. Review draft PR
2. Mark as ready for review
3. After merge: `gw remove {BRANCH}`
After writing walkthrough.md, verify:
git branch --show-current — inside the worktreegit diff --stat output (no missing files)The walkthrough is delivered in two ways:
.gw/{branch-name}/walkthrough.md for reference and handoffBoth are mandatory. Do not announce completion without showing the walkthrough.
tools
Configure .gw/config.json for gw-tools repos — auto-copy files, hooks, cleanup thresholds, update strategy, and the config migration system. Use when: setting up gw for a new project, adding or changing a config field, adding a hook, configuring auto-copy patterns, asking what fields gw config supports, running gw init, adding a migration, bumping configVersion, keeping schema.json in sync, or troubleshooting missing env files in worktrees.
tools
Use the `gw` CLI for ALL Git worktree work — creating, navigating, listing, removing, syncing, updating, checking out PRs, troubleshooting. Replaces raw `git worktree`, `cd ../wt`, `git checkout -b`, and manual file copies. Triggers on: "spin up a branch", "work on a feature", "check out PR", "switch branch without stashing", "create a worktree", "parallel branches", "clean up branches", "gw", "gw add", "gw checkout", "git worktree", or any branch workflow.
development
Autonomous feature development workflow using isolated worktrees. Use to autonomously implement features from task description through tested PR delivery. Handles worktree creation, implementation, testing, iteration, documentation, and PR creation. Triggers on autonomous feature development, end-to-end implementation, or "implement X autonomously."
documentation
Create a comprehensive implementation plan artifact (plan.md) from the current conversation context. Captures all Phase 0-1 discussion into a structured, self-contained document that enables context recovery and session handoff. Use after planning is complete and confidence gate passes. Triggers on create plan, generate plan, write plan artifact.