---
name: projections
description: Generate tool-specific rules and configuration files (Cursor, Copilot, Windsurf, Claude) from your project's intent.yaml.
argument-hint: "[optional: specific tool to generate for]"
---

# Generate Projections

Generate tool-specific configuration and rules files from the project's intent.yaml. These files encode your project's intent, constraints, and guardrails into formats that each AI coding tool understands natively.

## Steps

1. Call `fathom_generate_tool_configs` with no arguments
2. Report which files were generated and where they are located

## Output Format

List the generated files under `.fathom/projections/`:

| Tool | Generated File |
|------|---------------|
| Claude | `.fathom/projections/claude/SKILL.md` |
| Cursor | `.fathom/projections/cursor/.cursorrules` |
| Copilot | `.fathom/projections/copilot/copilot-instructions.md` |
| Windsurf | `.fathom/projections/windsurf/.windsurfrules` |
| Generic | `.fathom/projections/generic/SYSTEM_PROMPT.md` |

After presenting the list, note:

> These files are auto-generated from your intent.yaml. Edit intent.yaml to change the rules, then re-run this skill.

## Error Handling

If intent.yaml is not found, tell the user to run `fathom init` first to create a project configuration with an intent file.

If the `fathom_generate_tool_configs` MCP tool is not available, tell the user to check their MCP configuration. They may need to run `npx fathom-token-mcp` or verify that the Fathom MCP server is configured in their `.mcp.json`.
