Cursor rule
.cursor/rules/agent-files.mdcAgent Files
Cursor rules
Quality
77/100
Scores the file, not the repository.Length
489 words
17 headings · 5 code blocksRepository
126
— · pushed 103 days agoLast changed
3 days ago
First indexed 3 days ago.123456789101112# Agent Files1314This rule applies when editing `.claude/`, `.cursor/`, `.codex/`, or `.github/copilot-instructions.md`.1516## Single Source of Truth (SSOT) Design1718AI Agent configuration files are managed with **Claude Code's `.claude/` directory as the single source**. Other agent configurations are auto-generated or symlinked.1920```21.claude/ ← SSOT (Source of Truth)22├── commands/ ← Slash commands23├── rules/ ← Rules (*.md)24└── skills/ ← Skills (SKILL.md)2526.cursor/ ← Auto-generated / Symlinked27├── commands/README.md ← Reference only (uses .claude/commands)28├── rules/*.mdc ← Auto-generated (make sync-cursor-rules)29└── skills/ ← Symlink → ../.claude/skills3031.codex/ ← TODO (Future support)32.github/copilot-instructions.md ← TODO (Future support)33```3435## Supported AI Agents3637| Agent | Version | Status | Config Location |38|-------|---------|--------|-----------------|39| Claude Code | v2 | ✅ Active | `.claude/` (SSOT) |40| Cursor | v2 | ✅ Active | `.cursor/` (Auto-generated) |41| Codex | v0.80 | 📋 TODO | `.codex/` |42| GitHub Copilot | 2026 | 📋 TODO | `.github/copilot-instructions.md` |4344## File Reference Format4546### Claude Code4748```markdown49- Follow @AGENTS.md for guidelines50- Refer to @docs/guidelines/coding-conventions.md51```5253### Cursor5455Supports the same `@path` format. No conversion needed.5657## Directory-Specific Rules5859### `.claude/commands/`6061Location for slash command definitions. Automatically loaded by Cursor as well.6263**Editing Notes:**6465- Create new commands in `.claude/commands/`66- Only place README.md in `.cursor/commands/`6768### `.claude/rules/`6970Rule files for Claude Code (`.md`).7172**Format:**7374```markdown75---76paths:77 - "**/*.go"78 - "**/*.ts"79---8081# Rule Title8283Rule content...84```8586- Without `paths:` → Applies to all instructions (global rule)87- With `paths:` → Applies when editing files matching the specified patterns8889### `.claude/skills/`9091Location for Skills (MCP) definitions. Each skill has `SKILL.md` in its subdirectory.9293```94.claude/skills/95├── go-development/SKILL.md96├── git-workflow/SKILL.md97└── db-migration/SKILL.md98```99100### `.cursor/rules/`101102**Auto-generated files - DO NOT EDIT DIRECTLY**103104Auto-generated from Claude rules. Conversion rules:105106| Claude | Cursor |107|--------|--------|108| No `paths:` | `alwaysApply: true` |109| Has `paths:` | `globs:` + `alwaysApply: false` |110| First `# Heading` | `description:` |111| `.md` | `.mdc` |112113**Sync Command:**114115```bash116make sync-cursor-rules117```118119> **IMPORTANT**: After modifying any files in `.claude/rules/`, you MUST run `make sync-cursor-rules` to synchronize with `.cursor/rules/`. This ensures both Claude Code and Cursor use the same rules.120121## Model Context Protocol (MCP) / Skills122123MCP, proposed since late 2024, is now widespread as of 2026. AI Agents can use repository scripts and local servers as "Skills".124125### Claude Code / Cursor126127Place `SKILL.md` in `.claude/skills/` or `.cursor/skills/`.128129### Codex (Future Support)130131For CLI-based Codex agent, Shell/Python scripts are expected to be bound as Skills and invoked like `@database_tool`.132133## Editing Checklist134135When editing `.claude/` or `.cursor/`:136137- [ ] Make changes to `.claude/` (SSOT)138- [ ] Do NOT edit `.cursor/rules/` directly139- [ ] **Run `make sync-cursor-rules` after modifying `.claude/rules/`** (Required)140- [ ] Check if README.md needs updating141142## Related Documents143144- @.cursor/rules/README.md - Cursor rules specification145- @.cursor/commands/README.md - Commands description146- @AGENTS.md - Project-wide guidelines147
Also in hiromaily/go-crypto-wallet
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/documentation-language.mdc · 126 | Cursor rules | archdo-notdocs | 36/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/general.mdc · 126 | Cursor rules | buildtestarchgit+2 | 83/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/task-context-loading.mdc · 126 | Cursor rules | archtypesdatabasedo-not+1 | 93/100 | 3 days ago | |
| hiromaily/go-crypto-walletpkg/AGENTS.md · 126 | AGENTS.md | stylearchdo-not | 80/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/github-actions.mdc · 126 | Cursor rules | stylearchgitperformance+4 | 77/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/proto.mdc · 126 | Cursor rules | buildlint-formatstylearch+3 | 96/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/security.mdc · 126 | Cursor rules | archsecuritydo-notagent-behaviour | 76/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/shell-script.mdc · 126 | Cursor rules | setupteststylearch+1 | 73/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/ssot.mdc · 126 | Cursor rules | stylearchtypesdo-not+2 | 84/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/yaml.mdc · 126 | Cursor rules | lint-formatstylearchtypes+3 | 84/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.github/copilot-instructions.md · 126 | Copilot instructions | teststylearchsecurity+1 | 56/100 | 3 days ago | |
| hiromaily/go-crypto-walletAGENTS.md · 126 | AGENTS.md | archtypesdo-notagent-behaviour+1 | 79/100 | 3 days ago | |
| hiromaily/go-crypto-walletCLAUDE.md · 126 | CLAUDE.md | archtypesdo-notagent-behaviour+1 | 79/100 | 3 days ago |
Diff against .cursor/rules/documentation-language.mdc Diff against .cursor/rules/general.mdc Diff against .cursor/rules/task-context-loading.mdc Diff against pkg/AGENTS.md Diff against .cursor/rules/github-actions.mdc Diff against .cursor/rules/proto.mdc Diff against .cursor/rules/security.mdc Diff against .cursor/rules/shell-script.mdc Diff against .cursor/rules/ssot.mdc Diff against .cursor/rules/typescript.mdc Diff against .cursor/rules/yaml.mdc Diff against .github/copilot-instructions.md Diff against AGENTS.md Diff against CLAUDE.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
