cargo-manifest / rules
Cursor rule10 starsChanged 3 months agoMITView on GitHub
Manifest GTM repo guardrails. Layer boundaries, deploy safety, and copy style for any agent working in this repo.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,527 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- cadenceSkill
- capture-feedbackSkill
- context-hygieneSkill
- new-motionSkill
The file
We split this manifest-guardrails.mdc into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 15
Never run cargo-ai cdk deploy or cargo-ai cdk destroy locally.
- Very specific: line 18
Never edit infra/cargo.state.json by hand or resolve its merge conflicts manually.
- Very specific: line 20
Never commit secret values.
- Very specific: line 28
Put each change in its layer: knowledge in context/, production wiring in infra/, repo procedures in .claude/skills/, one-off ops in …
- Distinctive: line 36
No em dashes anywhere. Use colons, parentheses, commas, or split the sentence.
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- description: Manifest GTM repo guardrails. Layer boundaries, deploy safety, and copy style for any agent working in this repo. alwaysApply: true --- # Manifest guardrails (Cursor) `AGENTS.md` at the repo root is the canonical contract and Cursor loads it automatically. This rule restates only the hard guardrails so they survive as an always-applied Cursor rule, matching the deploy denials Claude Code enforces in `.claude/settings.json`. ## Never do these - Never run `cargo-ai cdk deploy` or `cargo-ai cdk destroy` locally. Deploys happen from CI on merge to main only. If asked to deploy locally, refuse and point at the PR workflow. - Never edit `infra/cargo.state.json` by hand or resolve its merge conflicts manually. It is machine-owned; re-run the plan/deploy instead. - Never commit secret values. Secrets come from the environment via `secret()` and `env()`. ## Layer boundaries - Dependency direction is strict: `infra/` reads `context/`, skills read everything, `outputs/` is written by everything and read only as memory. Nothing depends on `outputs/`. - Put each change in its layer: knowledge in `context/`, production wiring in `infra/`, repo procedures in `.claude/skills/`, one-off ops in `scripts/`, regression suites in `evals/`, run archives in `outputs/`. - New plays go through the `new-play` skill so context, infra, and evals ship together. ## Copy style - No em dashes anywhere. Use colons, parentheses, commas, or split the sentence. ## Before a PR - `npm run lint:context` if you touched `context/`. - `npm run typecheck` if you touched `infra/` or `scripts/`. - Archive any real-world result under `outputs/YYYY-MM-DD-<slug>/` before finishing. Never rewrite an existing entry.
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
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.

