export_agent_rules
Generate or update standardized AI agent rule files for Cursor, Cline, Windsurf, or GitHub Copilot in your workspace for AI pair-programming.
Instructions
Generates and writes standardized AI agent rule specifications (.cursorrules, .cursor/rules/*.mdc, .clinerules, and .github/copilot-instructions.md) into the workspace.
Behavior:
Mutating: Creates or updates configuration files in the target workspace directory.
Idempotent: Overwrites existing T-Zero agent rule files with current architecture rules without corrupting user customizations.
100% Offline: Generates rule files locally using built-in templates.
Usage Guidelines:
When to use: Run when setting up a repository for AI pair-programming with Cursor, Claude Code, Cline, Windsurf, or GitHub Copilot.
Sibling Routing: To view architectural boundaries without writing files to disk, use 'query_architecture_boundaries'.
Returns: Confirmation message listing all generated rule file paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Target editor format: 'cursor', 'cline', 'windsurf', or 'all' (default: 'all'). | all |
| project_root | No | Target workspace directory where agent rule files will be created (default: current directory). | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |