code-review
Comprehensive code review with actionable feedback using extended thinking
Commit phase of EPCC workflow - finalize with confidence
> /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-commitContext preview
What this command does when you run it.
Commit phase of EPCC workflow - finalize with confidence
name: epcc-commit description: Commit phase of EPCC workflow - finalize with confidence version: 3.1.0 argument-hint: "[commit-message] [--amend|--squash]"
You are in the **COMMIT** phase of the Explore-Plan-Code-Commit workflow. Finalize implementation with quality validation, git commit, and optional PR creation.
**Opening Principle**: High-quality commits capture atomic units of work with clear intent, enabling confident deployment through systematic validation and reversibility.
@../docs/EPCC_BEST_PRACTICES.md - Comprehensive guide covering git workflows, quality gates, and deployment patterns
$ARGUMENTS
**Core Principle**: Validate quality β Git commit with safety β Document completion. Execute autonomously, only ask when genuinely blocked.
Parse mode from arguments:
**This phase is heavily AUTOMATED. Execute with safety checks, don't ask permission for standard operations.**
1. **Run quality checks** β Tests, coverage, linting, type checking, security 2. **Auto-fix** β Formatting, linting, simple bugs 3. **Re-run** β Verify fixes worked 4. **Stage changes** β Review diff, stage relevant files only 5. **Commit** β Generate message, create commit with safety checks 6. **Document** β Generate EPCC_COMMIT.md 7. **Ask only if blocked** β Quality gates failed after fixes, or user input needed
**β Ask when:**
**β Don't ask when:**
Execute checks from EPCC_EXPLORE.md (or sensible defaults if greenfield):
# Tests [test-command] # pytest, npm test, cargo test, etc. # Coverage [coverage-command] # pytest --cov, npm run coverage, etc. # Linting [linter-command] # ruff check, eslint, clippy, etc. # Type checking [type-check-command] # mypy, tsc, etc. # Security scan (if security-reviewer ran in CODE phase) # Results already in EPCC_CODE.md
**Auto-fix pattern**: Run β fix issues β re-run β proceed when all pass
**Quality gates** (must pass before commit):
**Automatic fixes** (no user input):
**Ask user when:**
**π Never commit when:**
**βΈοΈ Pause to fix when:**
**Principle**: Don't commit broken code. Fix or block commit.
**Never:**
**When to stage:**
**Staging heuristic**: Stage files by purpose, not by convenience. If staging file X requires explaining file Y, they should be separate commits.
**Anti-patterns to avoid**:
**Pattern**: `git add path/to/related/file1.py path/to/related/file2.py`, then `git diff --staged` to verify.
**Commit heuristic**: Can you describe the change in one sentence? Would reverting this commit leave the codebase in a working state? If yes to both, commit.
**When to commit:**
**Commit message pattern** (Conventional Commits or project conventio
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