---
title: Claude Code Formatter
description: PromptScript output format for Claude Code
---

# Claude Code Formatter

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

| Property | Value |
|----------|-------|
| **Tier** | Custom |
| **Main output** | `CLAUDE.md` |
| **Dot directory** | `.claude/` |
| **Skills** | Yes (`.claude/skills/<name>/SKILL.md`) |
| **Agents** | Yes (`.claude/agents/<name>.md`) |
| **Commands** | Yes (`.claude/commands/<name>.md`) |
| **Local files** | Yes (`CLAUDE.local.md`) |

<!-- generated:end:overview -->

## Output Files

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

| File | Path | Purpose |
|------|------|---------|
| Main instructions | `CLAUDE.md` | Primary rule file |
| Local overrides | `CLAUDE.local.md` | Private instructions (gitignored) |
| Skills | `.claude/skills/<name>/SKILL.md` | Reusable skill definitions |
| Commands | `.claude/commands/<name>.md` | Slash commands |
| Agents | `.claude/agents/<name>.md` | Agent configurations |

<!-- generated:end:output-files -->

## Supported Features

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

| 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 | No |
| Globs in Frontmatter | Yes |
| Activation Type | No |
| Glob Pattern Targeting | Yes |
| Always Apply Rules | Yes |
| Manual Activation | No |
| Auto/Model Activation | No |
| Character Limit Validation | No |
| Content Section Splitting | Yes |
| Context File Inclusion | Planned |
| @-Mentions | No |
| Tool Integration | Yes |
| Path-Specific Rules | Yes |
| Prompt Files | No |
| Slash Commands | Yes |
| Skills | Yes |
| Agent Instructions | Yes |
| Local Memory | Partial |
| Nested Memory | Planned |

<!-- generated:end:features -->

## Limitations & Quirks

- `CLAUDE.md` is gitignored by many project templates - you may need to `git add -f CLAUDE.md`
- `CLAUDE.local.md` is intentionally not committed to git (private developer overrides)
- Skills support frontmatter fields: `name`, `description`, plus newer fields like `model`, `allowedTools`, `disallowedTools`, `permissionMode`, `specModel`, `specReasoningEffort`
- Agent files support: `name`, `description`, `model`, `allowedTools`, `disallowedTools`, `permissionMode`, `specModel`, `specReasoningEffort`, `skills`
- The `@local` block content goes to `CLAUDE.local.md` with an import statement added to the main `CLAUDE.md`

## Example Output

```
project-root/
├── CLAUDE.md                          # Main instructions
├── CLAUDE.local.md                    # Local overrides (gitignored)
└── .claude/
    ├── skills/
    │   └── my-skill/
    │       └── SKILL.md               # Skill with YAML frontmatter
    └── agents/
        └── reviewer.md                # Agent config with frontmatter
```

## Official Documentation

- [Claude Code Documentation](https://docs.anthropic.com/en/docs/claude-code)
- [Claude Code Skills](https://docs.anthropic.com/en/docs/claude-code/skills)


<claude-mem-context>
# Recent Activity

### Mar 17, 2026

| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #2423 | 7:06 PM | 🔵 | All 37 Formatter Names Extracted for Homepage Display | ~324 |
| #2422 | " | 🔵 | Complete 37 Formatter List Confirmed in Documentation | ~434 |
</claude-mem-context>