Cursor rule
.cursor/rules/ssot.mdcSingle Source of Truth (SSOT) Rules
Cursor rules
Quality
84/100
Scores the file, not the repository.Length
424 words
17 headings · 4 code blocksRepository
126
— · pushed 103 days agoLast changed
3 days ago
First indexed 3 days ago.12345678910# Single Source of Truth (SSOT) Rules1112## Overview1314This project follows SSOT principles. When editing documentation, always identify and update the SSOT location first.1516## SSOT Locations1718### AI Agent Configuration1920| Category | SSOT Location | Auto-Generated |21| --------------- | --------------------------- | --------------------- |22| File-type Rules | `.claude/rules/*.md` | `.cursor/rules/*.mdc` |23| Skills | `.claude/skills/*/SKILL.md` | - |24| Commands | `.claude/commands/` | - |2526### Project Documentation2728| Category | SSOT Location | References |29| ---------------- | ------------------------------------ | ---------------------------------------------- |30| Coding Standards | `.claude/rules/*.md` (per file type) | `docs/guidelines/coding-conventions.md` |31| Security | `docs/guidelines/security.md` | `.claude/rules/security.md` |32| Testing | `docs/guidelines/testing.md` | - |33| Workflow | `docs/guidelines/workflow.md` | - |34| Database | `docs/database/db-management.md` | `.claude/rules/sql.md`, `.claude/rules/hcl.md` |35| Architecture | `ARCHITECTURE.md` | - |36| Agent Behavior | `AGENTS.md` | - |3738## Key Principles3940### 1. Define Once, Reference Everywhere4142```43SSOT Location (edit here)44 ↓45Referenced by other docs (add links, not duplicate content)46```4748### 2. Identification Rules4950Before editing, ask:51521. **Is this the SSOT?** → Edit directly532. **Is this a reference?** → Find and edit the SSOT instead543. **Creating new content?** → Determine appropriate SSOT location5556### 3. Reference Patterns5758**Good (reference):**5960```markdown61For verification commands, see `.claude/rules/go.md`.62```6364**Bad (duplication):**6566```markdown67## Verification Commands6869make go-lint70make check-build71... (duplicating content from rules/go.md)72```7374## File-Type Rules SSOT7576| File Type | SSOT Rule File |77| --------------- | ----------------------------------- |78| `*.go` | `.claude/rules/go.md` |79| `*.ts`, `*.js` | `.claude/rules/typescript.md` |80| `*.sh` | `.claude/rules/shell-script.md` |81| `*.sql` | `.claude/rules/sql.md` |82| `*.hcl` | `.claude/rules/hcl.md` |83| `*.proto` | `.claude/rules/proto.md` |84| `*.yaml` | `.claude/rules/yaml.md` |85| `*.md`, `*.mdc` | `.claude/rules/ssot.md` (this file) |8687## Sync Requirements8889After editing `.claude/rules/*.md`:9091```bash92make sync-cursor-rules93```9495This generates `.cursor/rules/*.mdc` automatically.9697## Editing Guidelines9899### When Editing SSOT Files1001011. Make changes in the SSOT location1022. Run sync script if editing `.claude/rules/`1033. Verify references are still accurate104105### When Editing Reference Files1061071. Check if content should be in SSOT instead1082. If duplicating SSOT content, convert to reference link1093. Keep references concise110111## Quick Checklist112113- [ ] Identified the SSOT location for this information114- [ ] Editing the SSOT (not a duplicate)115- [ ] References link to SSOT (not duplicating content)116- [ ] Sync script run after editing `.claude/rules/`117118## Related Documentation119120- @AGENTS.md - SSOT structure overview121- @docs/guidelines/ - Project standards122- @.claude/rules/ - File-type specific rules (SSOT)123
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/agent-files.mdc · 126 | Cursor rules | lint-formatarchdo-notagent-behaviour | 77/100 | 3 days ago | |
| 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/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/agent-files.mdc 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/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 |
