code-review
Comprehensive code review with actionable feedback using extended thinking
Resume multi-session work - runs startup checklist and identifies next action
> /plugin marketplace add aws-solutions-library-samples/guidance-for-claude-code-with-amazon-bedrockHow it fires
How this command gets triggered: by you, by Claude, or both.
/epcc-resumeContext preview
What this command does when you run it.
Resume multi-session work - runs startup checklist and identifies next action
name: epcc-resume description: Resume multi-session work - runs startup checklist and identifies next action version: 1.1.0 argument-hint: "[--status|--feature F001|--validate]"
You are in the **RESUME** phase of the EPCC workflow. Your mission is to quickly orient and identify the next action for continuing multi-session work.
**Opening Principle**: Every session starts with clear context. No progress is lost when handoffs are done right.
@../docs/EPCC_BEST_PRACTICES.md - Comprehensive guide covering clarification strategies, error handling patterns, sub-agent delegation, and EPCC workflow optimization
$ARGUMENTS
Parse mode from arguments:
Before proceeding, verify progress tracking exists:
# Check for EPCC state files
if [ ! -f "epcc-features.json" ] && [ ! -f "epcc-progress.md" ]; then
# Check for legacy setup
if [ -f "PRD.md" ]; then
# Legacy repo detected - trigger migration flow
trigger_legacy_migration()
else
echo "No EPCC progress tracking found."
echo "Start a new tracked project with: /prd or /epcc-plan"
exit 0
fi
fiIf no state files exist, inform user and suggest starting with `/prd` or `/epcc-plan`.
---
If `PRD.md` exists but `epcc-features.json` does NOT exist, this is a legacy EPCC repo that predates the v3 tracking system.
# Detection logic
legacy_files = {
"PRD.md": exists("PRD.md"),
"TECH_REQ.md": exists("TECH_REQ.md"),
"EPCC_PLAN.md": exists("EPCC_PLAN.md"),
"EPCC_EXPLORE.md": exists("EPCC_EXPLORE.md")
}
v3_files = {
"epcc-features.json": exists("epcc-features.json"),
"epcc-progress.md": exists("epcc-progress.md")
}
if any(legacy_files.values()) and not any(v3_files.values()):
trigger_migration_prompt()Display detection results and offer migration:
๐ **Legacy EPCC repo detected** Found: โ PRD.md (Core Features documented) โ TECH_REQ.md (Technical requirements) [or โ if missing] โ EPCC_PLAN.md (Implementation plan) [or โ if missing] โ epcc-features.json (Feature tracking) โ epcc-progress.md (Session log) This repo was created with EPCC v2 and doesn't have v3 tracking. Migrate to EPCC v3 tracking? [Y/n] - Y: Parse existing documents, generate tracking files - n: Continue without long-running project support
Use AskUserQuestion tool:
{
"questions": [{
"question": "Legacy EPCC repo detected (PRD.md found, no feature tracking). Migrate to EPCC v3?",
"header": "Migrate?",
"multiSelect": false,
"options": [
{
"label": "Yes, migrate",
"description": "Parse PRD.md/TECH_REQ.md, generate epcc-features.json and epcc-progress.md"
},
{
"label": "No, skip",
"description": "Continue without v3 tracking (limited session continuity)"
}
]
}]
}If user confirms migration:
Look for feature sections in PRD.md:
Extract each feature:
{
"id": "F001",
"name": "[Feature name]",
"description": "[Feature description]",
"priority": "[P0/P1/P2]",
"status": "pending",
"passes": false,
"source": "PRD.md#[section]"
}If TECH_REQ.md exists, parse for:
Add subtasks to features:
{
"subtasks": [
{"name": "Database schema", "status": "pending"},
{"name": "API endpoint", "status": "pending"},
{"name": "Unit tests", "status": "pending"}
]
}Add infrastructure features (INFRA-*):
{
"id": "INFRA-001",
"name": "Database Setup",
"priority": "P0",
"status": "pending"
}Create the tracking file with all features as pending:
{
"project": "[Project name from PRD]",
"version": "3.0.0",
"created": "[current timestamp]",
"lastUpdated": "[current timestamp]",
"migratedFrom": "EPCC v2",
"migrationDate": "[current timestamp]",
"sourceFiles": ["PRD.md", "TECH_REQ.md"],
"WARNING": "Feature definitions are IMMUTABLE. Only modify passes, status, and subtasks[].status fields.",
"features": [
// ... extracted features
],
"metrics": {
"total": X,
"verified": 0,
"inProgress": 0,
"pending": X,
"percentComplete": 0
}
}Create progress log with migration entry:
# EPCC Progress Log **Project**: [Project Name] **Started**: [Original PRD date if available, else today] **Migrated to v3**: [Today's date] **Progress**: 0/X features (0%) --- ## Session: Migration - [timestamp] ### Migration from EPCC v2 Imported features from legacy EPCC setup: - Source: PRD.md, TECH_REQ.md - Features imported: X - Infrastructure tasks: Y ### Feature Summary | ID | Name | Priority | Status | |----|------|----------|--------| | F001 | [Name] | P0 | pending | | F002 | [Name] | P0 | pending | ... ### Next Session - Review imported features for accuracy - Mark any already-completed features - Begin implementation with `/epcc-code [feature-id]`
Stage and commit migration files:
git add epcc-features.json epcc-progress.md git commit -m "chore: migrate to EPCC v3 tracking system - Imported X features from PRD.md - Added Y infrastructure tasks from TE
This guidance enables enterprise deployment of Claude Code and Claude Cowork on Amazon Bedrock across command-line (CLI) and desktop surfaces โ with secure single sign-on (SSO), usage monitoring, and cost controls.
Comprehensive code review with actionable feedback using extended thinking
Complete architecture design and documentation workflow using simple-architect and simple-architecture-documenter agents inโฆ
Intelligent refactoring with strategic thinking and parallel analysis
Create comprehensive documentation with intelligent type detection and orchestration
Create in-depth explanations that build conceptual understanding of complex topics
Create practical how-to guides for solving specific problems and accomplishing tasks