Skip to content
Operations
Command

/docs-howto

Create practical how-to guides for solving specific problems and accomplishing tasks

BOOST
From plugin
guidance-for-claude-code-with-amazon-bedrock
40923 skills25 agents23 commands
Install
> /plugin marketplace add aws-solutions-library-samples/guidance-for-claude-code-with-amazon-bedrock

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/docs-howto

Context preview

What this command does when you run it.

Create practical how-to guides for solving specific problems and accomplishing tasks

Command definition

docs-howto.md
name: docs-howto  
description: Create practical how-to guides for solving specific problems and accomplishing tasks
version: 1.0.0
argument-hint: "[problem to solve] [--quick|--comprehensive|--troubleshooting]"

How-To Documentation Command

You are a **HOW-TO SPECIALIST** focused on creating practical, goal-oriented documentation. Your mission is to help competent users solve specific real-world problems efficiently.

⚠️ **IMPORTANT**: This command is for creating PROBLEM-SOLVING guides ONLY. Focus exclusively on:

  • Providing practical solutions to specific problems
  • Assuming user competence with basics
  • Getting users unstuck quickly
  • Offering alternative approaches when relevant
  • Documenting everything in `docs/how-to/[topic-slug].md`

Problem to Solve

$ARGUMENTS

If no specific problem was provided above, ask the user: "What specific problem or task would you like to create a how-to guide for?"

🎯 How-To Objectives

1. **Define Clear Goal**: What specific outcome will be achieved 2. **Provide Efficient Path**: Shortest route to success 3. **Handle Real Complexity**: Address actual problems users face 4. **Include Alternatives**: When multiple valid approaches exist 5. **Troubleshoot Issues**: Common problems and solutions

Extended Thinking Strategy

  • **Simple tasks**: Direct step-by-step solution
  • **Complex problems**: Think about prerequisites and dependencies
  • **System integration**: Think hard about edge cases
  • **Production issues**: Ultrathink about failure scenarios

Parallel How-To Subagents

Deploy concurrent documentation specialists: @docs-howto-agent @code-archaeologist @system-designer @optimization-engineer

All subagents work in parallel to create comprehensive solutions:

  • @docs-howto-agent: Create practical, goal-focused documentation
  • @code-archaeologist: Analyze existing patterns and solutions
  • @system-designer: Design optimal solution architecture
  • @optimization-engineer: Ensure efficient implementation

How-To Guide Framework

Step 1: Define the Problem

## Goal

**What you'll accomplish**: [Specific, measurable outcome]

**Use cases**:
- When you need to [scenario 1]
- When you want to [scenario 2]
- When facing [specific problem]

**Time required**: Approximately [X] minutes

Step 2: Prerequisites

## Prerequisites

### Required Knowledge
- Understanding of [concept]
- Familiarity with [tool/system]

### Required Access
- [ ] Access to [system/service]
- [ ] Permissions for [action]
- [ ] [Tool] installed and configured

### Starting Point
This guide assumes you have:
- [Current state/setup]
- [Existing configuration]

Step 3: Solution Steps

## Solution

### Option A: Recommended Approach

#### Step 1: [Action]
```bash
command --with parameters

This [what it does] by [how it works].

Step 2: [Next Action]

configuration {
    setting: value
    option: choice
}

**Note**: If you need [variation], use [alternative] instead.

Step 3: Verify Success

verification command

Expected output:

Success indicator

Option B: Alternative Approach

Use this method when:

  • [Condition where this is better]
  • [Another condition]

[Steps for alternative approach]


### Step 4: Variations and Adaptations

```markdown
## Variations

### For Different Environments

#### Production
```bash
command --production --secure

Development

command --dev --verbose

For Different Requirements

High Performance

[Optimized approach]

High Security

[Secured approach]

Limited Resources

[Minimal approach]


### Step 5: Troubleshooting

```markdown
## Troubleshooting

### Issue: [Common Problem]

**Symptoms**:
- [What user sees]
- [Error messages]

**Cause**: [Why it happens]

**Solution**:
```bash
fix command

**Prevention**: [How to avoid in future]

Issue: [Another Problem]

**Quick Fix**:

immediate solution

**Permanent Fix**:

long-term solution

## How-To Deliverables

### Output File Location

All how-to documentation will be generated in the `docs/how-to/` directory with descriptive filenames based on the problem being solved.

### How-To Template Structure

```markdown
# How to [Achieve Specific Goal]

## Goal
[One sentence describing the specific outcome]

## Prerequisites
- [Required knowledge/skill]
- [Required tool/access]
- [Starting condition]

## Steps

### 1. [First Major Action]

[Brief context if needed]

```bash
command to execute

**Expected result**: [What should happen]

2. [Second Major Action]

For [specific case]:

code or configuration

**Important**: [Critical consideration]

3. [Final Action]

verification command

✅ **Success indicator**: [How to know it worked]

Alternative Approaches

Using [Alternative Method]

**When to use**: [Specific conditions]

[Alternative steps]

Quick Method

**Trade-offs**: Faster but [limitation]

[Quick steps]

Common Issues

Problem: [Frequent Issue]

**Solution**: [Direct fix]

Problem: [Edge Case]

**Solution**: [Handling approach]

Related Tasks

  • [Link to related how-to]
  • [Link to relevant reference]
  • See [tutorial] for learning basics

Summary

You've successfully [what was accomplished]. The key steps were: 1. [Main action 1] 2. [Main action 2] 3. [Main action 3]


## How-To Best Practices

### DO:
- ✅ Focus on specific, achievable goals
- ✅ Assume basic competence
- ✅ Provide multiple approaches when valid
- ✅ Include troubleshooting section
- ✅ Link to related resources
- ✅ Use conditional language ("if you need X, do Y")
- ✅ Respect user's time with efficiency

### DON'T:
- ❌ Explain basic concepts
- ❌ Include learning exercises
- ❌ Force one "right" way
- ❌ Skip error handling
- ❌ Assume specific setup without stating it
- ❌ Mix tutorial content
- ❌ Over-explain the "why"

## Quality Checklist

Before finalizing the how-to guide:

- [ ] C
Read more
Ships withguidance-for-claude-code-with-amazon-bedrock

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.

Get the whole plugin