finalize-phase
БесплатноБез исполняемых скриптовНе проверенCompletes feature/epic workflows after deployment with comprehensive walkthrough generation for epics (v5.0+), roadmap updates, artifact archival…
Об этом скилле
This skill orchestrates the /finalize phase, the final step after successful deployment to production, direct-prod, or local build.
For Epic Workflows (v5.0+):
- Generate comprehensive walkthrough.md with velocity metrics, sprint results, lessons learned
- Run post-mortem audit with pattern detection (after 2-3 epics)
- Offer workflow healing with improvement recommendations
- Detect patterns for custom skills/commands generation
For Feature Workflows:
- Standard finalization (roadmap, artifacts, docs, branches)
Inputs: Deployed feature/epic, phase artifacts, ship report, state.yaml Outputs: walkthrough.md (epics only), updated roadmap, archived artifacts, updated documentation Expected duration: 10-15 minutes (features), 20-30 minutes (epics with walkthrough)
Epic Workflows (NEW in v5.0): 0. Generate walkthrough - Comprehensive epic summary with velocity metrics, sprint results, lessons learned, pattern detection
- Run post-mortem audit - Final effectiveness analysis with improvement recommendations
- Offer workflow healing - Apply discovered improvements with user approval
All Workflows (features + epics):
- Update roadmap - Move to "Shipped" with completion date, version, production URL
- Archive artifacts - Verify all phase artifacts in specs/NNN-slug/ or epics/NNN-slug/
- Update documentation - README, CHANGELOG, user guides (if applicable)
- Clean up branches - Delete feature branch locally and remotely
- Commit finalization - Small commit documenting workflow closure
Key principles:
- Clean closure preserves knowledge and enables learning
- Epic walkthroughs enable self-improving workflow system
- Pattern detection (after 2-3 epics) suggests custom automation
- Deployment completed successfully (/ship-prod, /deploy-prod, or /build-local done)
- Ship report generated (ship-summary.md exists)
- All phase artifacts present in specs/NNN-slug/
- Git working tree clean (all changes committed)
If deployment incomplete, return to /ship phase.
Detect epic vs feature workflow and generate comprehensive walkthrough for epics.
Detection:
if [ -f "epics/*/epic-spec.xml" ]; then
WORKSPACE_TYPE="epic"
EPIC_DIR=$(dirname "epics/*/epic-spec.xml")
else
WORKSPACE_TYPE="feature"
# Skip to Step 1 (standard finalization)
continue
fi
If feature workflow: Skip this step entirely, proceed to Step 1
If epic workflow: Generate walkthrough before standard finalization
Walkthrough Generation Pipeline:
Gather all epic artifacts:
- epic-spec.xml (epic specification)
- research.xml (research phase output)
- plan.xml (plan phase output with meta-prompting)
- sprint-plan.xml (task breakdown with dependency graph)
- state.yaml (state tracking across phases)
- audit-report.xml (workflow effectiveness analysis)
- preview-report.xml (manual testing decision)
- Sprint results from epics/NNN-slug/sprints/*/
Calculate velocity metrics:
- Expected parallelization multiplier (from sprint-plan.xml)
- Actual parallelization multiplier (from audit-report.xml)
- Time saved in hours (parallel vs sequential execution)
- Duration from start to completion
Extract key information:
- Epic goal and success metrics
- Phases completed with timestamps
- Sprint execution results (status, tasks, duration, contracts, tests)
- Validation results (optimization, preview decision)
- Key files modified
- Next steps (enhancements, technical debt, monitoring needs)
Generate walkthrough.xml and walkthrough.md:
- Use template:
.spec-flow/templates/walkthrough.xml - Populate with metrics, sprint results, lessons learned
- Write both machine-readable (XML) and human-readable (Markdown) versions
- Use template:
Run post-mortem audit:
- Invoke
/audit-workflow --post-mortem - Analyze velocity accuracy (expected vs actual)
- Detect bottlenecks and inefficiencies
- Generate improvement recommendations
- Invoke
Pattern detection (if 2+ epics completed):
- Analyze patterns across completed epics
- Detect code generation patterns (service boilerplate repeated 3x)
- Detect architectural patterns (all services use DI + Repository)
- Detect workflow patterns (always clarify auth approach)
- Suggest custom skills/commands if confidence ≥80%
Offer workflow healing:
- Display immediate improvements from audit recommendations
- Categorize by priority (immediate vs deferred)
- Offer `/heal-workf
Установить finalize-phase в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл finalize-phase?
Completes feature/epic workflows after deployment with comprehensive walkthrough generation for epics (v5.0+), roadmap updates, artifact archival, documentation, and branch cleanup. Use after /ship-prod, /deploy-prod, or /build-local completes, or when user asks to finalize. (project)
Как установить скилл finalize-phase?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл finalize-phase запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub