---
description: {Detailed description with security/compliance focus}
argument-hint: [{param1}] [{param2}]
allowed-tools:
  - Read
  - Grep
  - Glob
  - Bash(git diff *)
  - Bash(git log *)
  # - Write          # Uncomment if modifications needed
  # - Edit           # Uncomment if modifications needed
model: claude-3-5-sonnet-20241022
hooks:
  PostToolUse:
    - matcher: Write
      command: "npx prettier --write $FILE"
    - matcher: Edit
      command: "npx prettier --write $FILE"
  # PreToolUse:
  #   - matcher: Bash
  #     command: "scripts/validate-command.sh"
---

# {Command Title}

{Detailed description of the command's purpose and security considerations.}

## Environment Compatibility

This command uses optional features that may not be available in all environments:

| Feature | Purpose | If Unavailable |
|---------|---------|----------------|
| `hooks.PostToolUse` | Auto-format written files | Run formatter manually |
| `model` override | Force specific model | Uses default session model |

## Context Gathering

### Project Configuration
@.eslintrc.json
@tsconfig.json

### Current State
!git status
!git diff --staged

## Task

Using $ARGUMENTS, perform the following:

<instructions>
1. {Step 1}
2. {Step 2}
3. {Step 3}
</instructions>

<thinking>
Before proceeding, analyze:
- What are the potential risks?
- What validations are needed?
- What is the expected outcome?
</thinking>

## Output Format

<output_format>
## Summary
{Brief summary}

## Findings
| Category | Finding | Severity |
|----------|---------|----------|
| ... | ... | ... |

## Recommendations
1. {Recommendation}
</output_format>

## Constraints

<constraints>
- Never {dangerous action} without explicit confirmation
- Always {safety requirement}
- Do not {prohibited action}
</constraints>

## Escalation

If any of the following occur, stop and ask for guidance:
- {Condition requiring human review}
- {Edge case not covered}
