create-walkthrough
Create Walkthrough Artifact
Generate .gw/{branch-name}/walkthrough.md — the final summary for PR delivery.
Prerequisites
Before invoking this skill:
- All tests must be passing
- Documentation must be updated
plan.mdmust exist and have an up-to-date Progress Log- You must be inside the worktree
Procedure
Step 1: Determine file location and gather information
Run 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.
Step 2: Write walkthrough.md
Create the file at the path from Step 1 using the template below. Do NOT hardcode or guess the branch name.
Step 3: Present to user
After writing the file, output the walkthrough content directly in the conversation so the user sees it immediately.
Template
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}`
Validation Checklist
After writing walkthrough.md, verify:
- File location: Path from
git branch --show-current— inside the worktree - Frontmatter: created, branch, task, pr — all filled
- Timestamps: ISO 8601 with time
- Summary: Concise, describes what was done and the outcome
- Changes table: Matches actual
git diff --statoutput (no missing files) - Key Decisions: Pulled from plan.md, covers the important choices
- Testing Results: Reflects actual test run outcomes
- How to Verify: Actionable steps a reviewer can follow
- Presented to user: Walkthrough content shown in conversation (not just written to file)
Delivery
The walkthrough is delivered in two ways:
- File — saved to
.gw/{branch-name}/walkthrough.mdfor reference and handoff - Inline — presented in the conversation with PR link so the user sees the summary immediately
Both are mandatory. Do not announce completion without showing the walkthrough.
More from mthines/gw-tools
autonomous-workflow
>
34@gw-git-worktree-workflows
Master Git worktrees and gw-tools workflows for parallel development. Use this skill when creating worktrees, managing multiple branches simultaneously, navigating between worktrees, troubleshooting worktree issues, or setting up feature branch workflows. Triggers on tasks involving git worktree commands, branch isolation, parallel development, or gw CLI usage.
17@gw-autonomous-workflow
Autonomous feature development workflow using isolated worktrees. Use this skill to autonomously implement features from task description through tested PR delivery. Handles worktree creation, implementation, testing, iteration, documentation, and PR creation. Triggers on requests for autonomous feature development, end-to-end implementation, or "implement X feature autonomously.
15@gw-multi-worktree-dev
Advanced patterns for developing across multiple Git worktrees simultaneously. Use this skill when managing dependencies across worktrees, synchronizing files, handling databases for multiple branches, running parallel tests, or orchestrating services across worktrees. Triggers on tasks involving multi-branch development, dependency sharing, database isolation, or service orchestration with gw.
4confidence
>
2@gw/config-management
Configure and optimize gw-tools for different project types and team needs. Use this skill when setting up gw for new projects, configuring auto-copy files, troubleshooting configuration issues, or customizing gw for Next.js, Node.js APIs, monorepos, or React SPAs. Triggers on tasks involving .gw/config.json, auto-copy patterns, environment files, or gw init commands.
1