RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/hiromaily/go-crypto-wallet

Cursor rule

.cursor/rules/ssot.mdc

Single Source of Truth (SSOT) Rules

Cursor rules

Quality

84/100

Scores the file, not the repository.

Length

424 words

17 headings · 4 code blocks

Repository

126

— · pushed 103 days ago

Last changed

3 days ago

First indexed 3 days ago.
hiromaily/go-crypto-wallet/.cursor/rules/ssot.mdcRawGitHub
1---
2description: Single Source of Truth (SSOT) Rules
3globs:
4 - "**/*.md"
5 - "**/*.mdc"
6alwaysApply: false
7---
8 
9 
10# Single Source of Truth (SSOT) Rules
11 
12## Overview
13 
14This project follows SSOT principles. When editing documentation, always identify and update the SSOT location first.
15 
16## SSOT Locations
17 
18### AI Agent Configuration
19 
20| 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/` | - |
25 
26### Project Documentation
27 
28| 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` | - |
37 
38## Key Principles
39 
40### 1. Define Once, Reference Everywhere
41 
42```
43SSOT Location (edit here)
44 ↓
45Referenced by other docs (add links, not duplicate content)
46```
47 
48### 2. Identification Rules
49 
50Before editing, ask:
51 
521. **Is this the SSOT?** → Edit directly
532. **Is this a reference?** → Find and edit the SSOT instead
543. **Creating new content?** → Determine appropriate SSOT location
55 
56### 3. Reference Patterns
57 
58**Good (reference):**
59 
60```markdown
61For verification commands, see `.claude/rules/go.md`.
62```
63 
64**Bad (duplication):**
65 
66```markdown
67## Verification Commands
68 
69make go-lint
70make check-build
71... (duplicating content from rules/go.md)
72```
73 
74## File-Type Rules SSOT
75 
76| 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) |
86 
87## Sync Requirements
88 
89After editing `.claude/rules/*.md`:
90 
91```bash
92make sync-cursor-rules
93```
94 
95This generates `.cursor/rules/*.mdc` automatically.
96 
97## Editing Guidelines
98 
99### When Editing SSOT Files
100 
1011. Make changes in the SSOT location
1022. Run sync script if editing `.claude/rules/`
1033. Verify references are still accurate
104 
105### When Editing Reference Files
106 
1071. Check if content should be in SSOT instead
1082. If duplicating SSOT content, convert to reference link
1093. Keep references concise
110 
111## Quick Checklist
112 
113- [ ] Identified the SSOT location for this information
114- [ ] Editing the SSOT (not a duplicate)
115- [ ] References link to SSOT (not duplicating content)
116- [ ] Sync script run after editing `.claude/rules/`
117 
118## Related Documentation
119 
120- @AGENTS.md - SSOT structure overview
121- @docs/guidelines/ - Project standards
122- @.claude/rules/ - File-type specific rules (SSOT)
123 

Commands it names

  • make go-lint
  • make check-build
  • make sync-cursor-rules

Sections

  • Single Source of Truth (SSOT) Rules
  • Overview
  • SSOT Locations
  • AI Agent Configuration
  • Project Documentation
  • Key Principles
  • 1. Define Once, Reference Everywhere
  • 2. Identification Rules
  • 3. Reference Patterns
  • Verification Commands
  • File-Type Rules SSOT
  • Sync Requirements
  • Editing Guidelines
  • When Editing SSOT Files
  • When Editing Reference Files
  • Quick Checklist
  • Related Documentation

What it covers

code-stylearchitecturetypesdo-notagent-behaviourdocs

Stack — with the evidence

go

(1.00)

biome

(0.70)

typescript

(0.60)

javascript

(0.60)

bun

(0.60)

github-actions

(0.60)

Glob targeting

  • **/*.md
  • **/*.mdc

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
hiromaily
Language
—
License
—
Archived
no

All configs in this repo

Also in hiromaily/go-crypto-wallet

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
hiromaily/go-crypto-wallet.cursor/rules/agent-files.mdc · 126Cursor rulesgobiome+4lint-formatarchdo-notagent-behaviour77/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/documentation-language.mdc · 126Cursor rulesgobiome+4archdo-notdocs36/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/general.mdc · 126Cursor rulesgobiome+4buildtestarchgit+283/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/task-context-loading.mdc · 126Cursor rulesgobiome+4archtypesdatabasedo-not+193/1003 days ago
hiromaily/go-crypto-walletpkg/AGENTS.md · 126AGENTS.mdgobiome+4stylearchdo-not80/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/github-actions.mdc · 126Cursor rulesgobiome+4stylearchgitperformance+477/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/proto.mdc · 126Cursor rulesgobiome+4buildlint-formatstylearch+396/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/security.mdc · 126Cursor rulesgobiome+4archsecuritydo-notagent-behaviour76/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/shell-script.mdc · 126Cursor rulesgobiome+4setupteststylearch+173/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/yaml.mdc · 126Cursor rulesgobiome+4lint-formatstylearchtypes+384/1003 days ago
hiromaily/go-crypto-wallet.github/copilot-instructions.md · 126Copilot instructionsgobiome+4teststylearchsecurity+156/1003 days ago
hiromaily/go-crypto-walletAGENTS.md · 126AGENTS.mdgobiome+4archtypesdo-notagent-behaviour+179/1003 days ago
hiromaily/go-crypto-walletCLAUDE.md · 126CLAUDE.mdgobiome+4archtypesdo-notagent-behaviour+179/1003 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.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
markstev/mark-starter.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+14setuptestlint-formatstyle+699/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1Cursor rulestypescriptnextjs+5setuptestlint-formatstyle+799/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack