# Amp Formatter

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

PromptScript compiles your `.prs` sources to native Amp 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:
  - amp
```

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

```yaml
targets:
  - amp:
      version: full
```

## At a Glance

| Property        | Value                                  |
| --------------- | -------------------------------------- |
| **Tier**        | Tier 2                                 |
| **Main output** | `AGENTS.md`                            |
| **Skills**      | Yes (`.agents/skills/<name>/SKILL.md`) |
| **Agents**      | Yes (`.agents/agents/<name>.md`)       |
| **Commands**    | No                                     |
| **Local files** | No                                     |

## Output Files

| File              | Path                             | Purpose                    |
| ----------------- | -------------------------------- | -------------------------- |
| Main instructions | `AGENTS.md`                      | Primary rule file          |
| Skills            | `.agents/skills/<name>/SKILL.md` | Reusable skill definitions |
| Agents            | `.agents/agents/<name>.md`       | Agent configurations       |

## Output Versions

| Version          | Output                                                                |
| ---------------- | --------------------------------------------------------------------- |
| `simple`         | Single AGENTS.md file                                                 |
| `multifile`      | Single AGENTS.md file                                                 |
| `full` (default) | Multifile + .agents/skills/<name>/SKILL.md + .agents/agents/<name>.md |

## MCP and Hooks

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

Native hook reference: <https://promptscript.dev/docs/guides/hooks/>

## Supported Features

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

## 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)