agentleFS
oniharnantyooniharnantyo/go-ai-ready-boilerplate/.cursor/rules/07-documentation.mdc

go-ai-ready-boilerplate / rules

Cursor rule1 starsChanged 4 months agoMITView on GitHub

Documentation rules; AGENTS.md and CLAUDE.md stay minimal

  • Reads credentials

The file

Files
07-documentation.mdc
---
description: "Documentation rules; AGENTS.md and CLAUDE.md stay minimal"
globs:
alwaysApply: true
---
# Documentation rules

- **`AGENTS.md` and `CLAUDE.md` always stay minimal**: pointers and a few critical lines only. Rules content lives in `rules/` — never duplicate rules into these files.
- **`rules/` is the source of truth**: edit rules only there, then regenerate derived copies with `make rules`. Never edit `.claude/rules/` or `.cursor/rules/` by hand.
- New endpoint or changed API behavior → update `docs/openapi.yaml`.
- New concept/layer/slice → update `docs/architecture.md` (including the canonical slice section).
- User-facing changes → update `README.md`.
- Docs must match reality: when behavior changes, docs change in the same change as the code.
- English only. Keep `.env.example` in sync with config structs (add new env keys with a one-line comment).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.