# Amazon Q Formatter

<!-- Auto-generated by `pnpm docs:formatters`. Do not edit manually. -->

PromptScript compiles your `.prs` sources to native Amazon Q configuration. The main output is `AGENTS.md`. It is not enabled by default, add it to `targets` to use it.

## Enable the Target

```yaml
targets:
  - amazon-q
```

Pick an output version when you need more than the default:

```yaml
targets:
  - amazon-q:
      version: full
```

## At a Glance

| Property        | Value       |
| --------------- | ----------- |
| **Tier**        | Tier 3      |
| **Main output** | `AGENTS.md` |
| **Skills**      | No          |
| **Agents**      | No          |
| **Commands**    | No          |
| **Local files** | No          |

## Output Files

| File              | Path        | Purpose           |
| ----------------- | ----------- | ----------------- |
| Main instructions | `AGENTS.md` | Primary rule file |

## Output Versions

| Version          | Output                |
| ---------------- | --------------------- |
| `simple`         | Single AGENTS.md file |
| `multifile`      | Single AGENTS.md file |
| `full` (default) | Single AGENTS.md file |

## MCP and Hooks

| Block         | Support       |
| ------------- | ------------- |
| `@mcpServers` | Not supported |
| `@hooks`      | Not supported |

Native hook reference: <https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-custom-agents.html>

## Supported Features

| Feature                    | Supported |
| -------------------------- | --------- |
| Markdown Output            | Yes       |
| MDC Format                 | No        |
| Code Blocks                | Yes       |
| Mermaid Diagrams           | No        |
| Single File Output         | Yes       |
| Multiple Rule Files        | No        |
| Workflow Files             | No        |
| Nested Directory Structure | No        |
| YAML Frontmatter           | No        |
| Description in Frontmatter | No        |
| Globs in Frontmatter       | No        |
| Activation Type            | No        |
| Glob Pattern Targeting     | No        |
| Always Apply Rules         | No        |
| Manual Activation          | No        |
| Auto/Model Activation      | No        |
| Structured Examples        | No        |
| Character Limit Validation | No        |
| Content Section Splitting  | No        |
| Guard Dependencies         | No        |
| Context File Inclusion     | No        |
| @-Mentions                 | No        |
| Tool Integration           | No        |
| Path-Specific Rules        | No        |
| Prompt Files               | No        |
| Slash Commands             | No        |
| Skills                     | No        |
| Agent Instructions         | No        |
| Local Memory               | No        |
| Nested Memory              | No        |

## See Also

- [Platform matrix](https://getpromptscript.dev/reference/formatters/index.md)
- [Configuration reference](https://getpromptscript.dev/reference/config/index.md)
- [Target platforms and output families](https://getpromptscript.dev/features/target-platforms/index.md)