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/yaml.mdc

YAML File Rules

Cursor rules

Quality

84/100

Scores the file, not the repository.

Length

337 words

24 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/yaml.mdcRawGitHub
1---
2description: YAML File Rules
3globs: ["**/*.yaml", "**/*.yml"]
4alwaysApply: false
5---
6 
7 
8# YAML File Rules
9 
10## Overview
11 
12Rules for modifying YAML files (`*.yaml`, `*.yml`) in go-crypto-wallet.
13 
14## Applicable Directories
15 
16| Directory | Description |
17|-----------|-------------|
18| `config/` | Application configuration files |
19| `.github/workflows/` | GitHub Actions workflows |
20| `.devcontainer/` | Dev container configuration |
21| Root (`*.yaml`) | Docker Compose, tool configurations |
22 
23## Verification Commands
24 
25| Command | Purpose | Required |
26|---------|---------|----------|
27| `make yaml-lint` | Lint YAML files | Recommended |
28 
29### Target Directories for yaml-lint
30 
31The `yaml-lint` command checks:
32 
33- `.github/workflows/`
34- `.devcontainer/`
35- `config/`
36 
37## Configuration File Types
38 
39### Application Config (`config/`)
40 
41Wallet configuration files for BTC, BCH, ETH, XRP:
42 
43```yaml
44# Example: config/wallet/btc/watch.yaml
45bitcoin:
46 network: testnet
47 host: "127.0.0.1:18332"
48```
49 
50### Docker Compose (`compose*.yaml`)
51 
52Service definitions:
53 
54| File | Description |
55|------|-------------|
56| `compose.yaml` | Base services (database, etc.) |
57| `compose.btc.yaml` | Bitcoin services |
58| `compose.bch.yaml` | Bitcoin Cash services |
59| `compose.eth.yaml` | Ethereum services |
60| `compose.xrp.yaml` | Ripple services |
61 
62### GitHub Actions (`.github/workflows/`)
63 
64CI/CD workflow definitions.
65 
66## Validation
67 
68### Manual Validation
69 
70```bash
71# Validate YAML syntax
72python -c "import yaml; yaml.safe_load(open('file.yaml'))"
73 
74# Or using yq
75yq eval '.' file.yaml > /dev/null
76```
77 
78### Docker Compose Validation
79 
80```bash
81docker compose config
82```
83 
84## Best Practices
85 
86### Formatting
87 
88- Use 2 spaces for indentation
89- Use quotes for strings that could be misinterpreted
90- Keep lines under 120 characters
91 
92### Structure
93 
94```yaml
95# Good: Explicit quotes for version strings
96version: "3.8"
97 
98# Good: Explicit quotes for port mappings
99ports:
100 - "8080:80"
101 
102# Good: Anchors for repeated values
103defaults: &defaults
104 restart: unless-stopped
105
106services:
107 app:
108 <<: *defaults
109```
110 
111## Quick Checklist
112 
113- [ ] Valid YAML syntax
114- [ ] Consistent indentation (2 spaces)
115- [ ] Sensitive values use environment variables, not hardcoded
116- [ ] Port mappings are quoted
117- [ ] Comments explain non-obvious configurations
118 
119## Related Documentation
120 
121- @compose.yaml - Main Docker Compose configuration
122- @config/ - Application configuration files
123- @.github/workflows/ - CI/CD workflows
124 
125## Related Skills
126 
127- `devops` - CI/CD and DevOps workflow
128 

Commands it names

  • python -c "import yaml; yaml.safe_load(open('file.yaml'))"
  • docker compose config
  • make yaml-lint

Sections

  • YAML File Rules
  • Overview
  • Applicable Directories
  • Verification Commands
  • Target Directories for yaml-lint
  • Configuration File Types
  • Application Config (`config/`)
  • Example: config/wallet/btc/watch.yaml
  • Docker Compose (`compose*.yaml`)
  • GitHub Actions (`.github/workflows/`)
  • Validation
  • Manual Validation
  • Validate YAML syntax
  • Or using yq
  • Docker Compose Validation
  • Best Practices
  • Formatting
  • Structure
  • Good: Explicit quotes for version strings
  • Good: Explicit quotes for port mappings
  • Good: Anchors for repeated values
  • Quick Checklist
  • Related Documentation
  • Related Skills

What it covers

lint-formatcode-stylearchitecturetypesdeploymentdo-notdocs

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

  • **/*.yaml
  • **/*.yml

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/ssot.mdc · 126Cursor rulesgobiome+4stylearchtypesdo-not+284/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/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/ssot.mdc Diff against .cursor/rules/typescript.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