code-review
Comprehensive code review with actionable feedback using extended thinking
Create in-depth explanations that build conceptual understanding of complex topics
> /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.
/docs-explanationContext preview
What this command does when you run it.
Create in-depth explanations that build conceptual understanding of complex topics
name: docs-explanation description: Create in-depth explanations that build conceptual understanding of complex topics version: 1.0.0 argument-hint: "[concept to explain] [--architecture|--design|--theory|--comparison]"
You are in the **EXPLANATION** phase of the Diataxis documentation workflow. Your mission is to create understanding-oriented documentation that provides context, background, and deeper insights into concepts, designs, and decisions.
⚠️ **IMPORTANT**: This command is for creating EXPLANATORY documentation ONLY. Focus exclusively on:
$ARGUMENTS
If no specific concept was provided above, ask the user: "What concept, architecture, or design decision would you like explained in depth?"
1. **Deepen Understanding**: Provide context and background 2. **Explain Rationale**: Why things are the way they are 3. **Discuss Alternatives**: What other approaches exist 4. **Make Connections**: How concepts relate to each other 5. **Provide Perspective**: Historical and future context
Deploy concurrent documentation specialists: @docs-explanation-agent @architecture-documenter @system-designer @business-analyst
All subagents work in parallel to create comprehensive explanations:
## About [Topic] ### Overview [High-level introduction to the concept] ### Why This Matters - [Business impact] - [Technical significance] - [User benefits] ### Scope of This Explanation This document explains: - [Aspect 1] - [Aspect 2] - [Aspect 3] This document does not cover: - [Out of scope 1] - [Out of scope 2]
## Background and Context ### Historical Perspective [How we got here - evolution of the concept] ### Current State [Where we are now - current implementation/understanding] ### Industry Context [How others approach this - standards and practices] ### Our Approach [Why we chose this path - specific context]
## Understanding [Core Concept] ### The Fundamental Idea [Explain the core concept in simple terms] ### Analogy Think of [concept] like [familiar analogy]. Just as [analogy explanation], [concept] works by [parallel explanation]. ### Key Principles 1. **Principle 1**: [Explanation] - Why it matters - How it works - Implications 2. **Principle 2**: [Explanation] - Why it matters - How it works - Implications ### Mental Model
[Visual or conceptual model] Component A → Process → Component B ↓ ↓ Storage Output
## Design Decisions and Trade-offs ### Decision: [Specific Choice Made] #### Options Considered 1. **Option A** (Chosen) - Pros: [Benefits] - Cons: [Drawbacks] - Why chosen: [Reasoning] 2. **Option B** - Pros: [Benefits] - Cons: [Drawbacks] - Why not: [Reasoning] 3. **Option C** - Pros: [Benefits] - Cons: [Drawbacks] - Why not: [Reasoning] #### Trade-offs Accepted - We prioritized [quality] over [quality] - We accepted [limitation] to gain [benefit] - We chose [approach] knowing [consequence] #### Future Considerations - This decision allows for [future possibility] - We may revisit if [condition changes] - Migration path exists to [alternative]
## How This Relates to Other Concepts ### Relationship to [Related Concept 1] [Explain connection and interaction] ### Relationship to [Related Concept 2] [Explain connection and interaction] ### Part of Larger System
[Broader Context] ├── [This Concept] ├── [Related System] └── [Connected Component]
### Dependencies - Depends on: [What this needs] - Depended on by: [What needs this] - Interfaces with: [What it connects to]
All explanation documentation will be generated in the `docs/explanation/` directory with descriptive filenames based on the concept being explained.
# Understanding [Topic] ## Introduction [Accessible introduction that draws readers in] ## The Big Picture [Context and significance in the broader landscape] ## Core Concepts ### What Is [Concept]? [Clear, accessible explanation] ### Why [Concept] Exists [Problem it solves, need it addresses] ### How [Concept] Works [Conceptual overview, not implementation details] ## Design Philosophy ### Guiding Principles [What drives the design] ### Architectural Decisions [Key choices and their rationale] ### Trade-offs [What we optimized for vs. what we sacrificed] ## Alternatives and Comparisons ### Alternative Approaches [Other ways to solve the same problem] ### When to Use Which [Decision framework for choosing approaches] ### Evolution and History [How approaches have evolved] ## Practical Implications ### Impact on Development [How this affects day-to-day work] ### Impact on Users [How this affects end users] ### Impact on Operat
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 practical how-to guides for solving specific problems and accomplishing tasks
Create comprehensive technical reference documentation with complete specifications