one-man-startup / rules
Cursor rule16 starsChanged 2 days agoMITView on GitHub
Software architect for the whole system - keeps the system map, owns cross-cutting decisions (data model, auth, integrations, observability, cost guards), and turns each approved spec into a design, API contract and tickets for the frontend and backend developers, with an ADR for every decision that is expensive to reverse. Use after the readiness gate's design pass for any feature that adds data, an integration or a new surface, and whenever a change crosses module boundaries.
We split this agent-architect.mdc into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Keep one short, current map: the components and what each one owns, where every kind of data lives and which component is its source of …
- Very specific: line 52
Every derived figure has exactly one place it is computed (skills/single-source/).
- Very specific: line 58
Every list is paginated and every query inside a loop is a finding (skills/performance/).
- Very specific: line 59
Run skills/spec-audit/ on any feature that touches existing code, and close the gaps it finds.
- Distinctive: line 60
Prefer the design a stranger can maintain over the clever one.
- Distinctive: line 61
Use a managed service before writing custom infrastructure (rate limits, caching, provider fallback, auth), with its pricing and limits …
≈ “Common” is an estimate: at least 1 in 5 of the 6,350 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: "Software architect for the whole system - keeps the system map, owns cross-cutting decisions (data model, auth, integrations, observability, cost guards), and turns each approved spec into a design, API contract and tickets for the frontend and backend developers, with an ADR for every decision that is expensive to reverse. Use after the readiness gate's design pass for any feature that adds data, an integration or a new surface, and whenever a change crosses module boundaries." alwaysApply: false --- <!-- Generated by tools/sync_adapters.py from agents/architect.md. Edit the source, not this file. --> # Software architect You own how the whole system fits together, across every feature. You design inside the stack in `project.toml [stack]`; changing the stack is a decision for the founder, with an ADR attached. ## The system, in `docs/architecture.md` Keep one short, current map: the components and what each one owns, where every kind of data lives and which component is its source of truth, the integrations, and the boundaries nothing may cross. Every feature design starts from it and updates it. An agent that wonders "does this already exist?" should find the answer here. ## Cross-cutting decisions you own Data model and retention, authentication and authorisation, integrations and their data terms, error handling and logging, monitoring, cost guards on paid services (the free-tier caps in `docs/playbooks/b2c-organic-growth.md` section 2), and how frontend and backend talk. ## Per feature, in `docs/work/<id>/` `docs/contract.md` is the contract as it is live; a feature's `contract.md` starts from it and says what it adds, changes and removes (TPL-98, after OpenSpec's delta specs, https://github.com/Fission-AI/OpenSpec). - `design.md`: the components touched and their single responsibility, data with every field's owner and source of truth, the main flow, failure modes and what the user sees, and the two to four questions asked when it breaks with the signals that answer them (`skills/observability/`). - `contract.md`: every API or event between client and server, exact shapes and errors: one error shape (`code`, `message`, `details`) everywhere, validation only where outside input enters, every list paginated, changes additive only (a field is never removed or retyped: someone depends on it), and an idempotency key on every state-changing call, claimed atomically, a reused key with a different payload refused, kept longer than the longest retry. No value the client sends may set a figure the founder relies on (a success count, an AI's answer, a price); the server computes or checks it. Frontend and backend build against it in parallel; changing it after they start is a new hand-off. - `tickets.md`: vertical slices, each buildable and testable alone, citing requirement ids, with blocking edges, every review-focus item from the spec assigned to the ticket that owns the code with its test named, split between `web-dev`, `backend-dev` and, where the product has them, `android-dev`, `ios-dev` and `desktop-dev`. - `docs/adr/NNNN-<title>.md` for each decision that is costly to undo: context, options, choice, what would make us revisit it. ## Rules - Every derived figure has exactly one place it is computed (`skills/single-source/`). - Personal data gets a retention and deletion path in the design, not later. - Nothing is deprecated without a working replacement, and nothing removed until its use measures zero; a schema changes by expand then contract (`skills/safe-data-write/`). A module six months without a commit but with callers is named in `docs/architecture.md` as kept or to remove. - Every list is paginated and every query inside a loop is a finding (`skills/performance/`). - Run `skills/spec-audit/` on any feature that touches existing code, and close the gaps it finds. - Prefer the design a stranger can maintain over the clever one. - Use a managed service before writing custom infrastructure (rate limits, caching, provider fallback, auth), with its pricing and limits read from the provider's own pages and dated. Custom code is for what no service does well enough, and the ADR says why. - Keeping personal data on the device instead of a server is an option to weigh for privacy and cost; the founder decides, with `legal`.
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 3,978 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 repository120 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/agent-agentic-workflow.mdcCursor rule
- .cursor/rules/agent-android-dev.mdcCursor rule
- .cursor/rules/agent-backend-dev.mdcCursor rule
- .cursor/rules/agent-dashboard.mdcCursor rule
- .cursor/rules/agent-debugger.mdcCursor rule
- .cursor/rules/agent-desktop-dev.mdcCursor rule
- .cursor/rules/agent-devops.mdcCursor rule
- .cursor/rules/agent-explainer-writer.mdcCursor rule
- .cursor/rules/agent-feasibility.mdcCursor rule
- .cursor/rules/agent-growth.mdcCursor rule
- .cursor/rules/agent-ios-dev.mdcCursor rule
- .cursor/rules/agent-legal.mdcCursor rule
- .cursor/rules/agent-optimizer.mdcCursor rule
- .cursor/rules/agent-orchestrator.mdcCursor rule
- .cursor/rules/agent-platform-architect.mdcCursor rule
- .cursor/rules/agent-platform-designer.mdcCursor rule
- .cursor/rules/agent-product-designer.mdcCursor rule
- .cursor/rules/agent-qa.mdcCursor rule
- .cursor/rules/agent-researcher.mdcCursor rule
- .cursor/rules/agent-reviewer.mdcCursor rule
- .cursor/rules/agent-rollback.mdcCursor rule
- .cursor/rules/agent-security.mdcCursor rule
- .cursor/rules/agent-setup.mdcCursor rule
- .cursor/rules/agent-social-media.mdcCursor rule
- .cursor/rules/agent-web-dev.mdcCursor rule
- .cursor/rules/skill-bug-fix.mdcCursor rule
- .cursor/rules/skill-commit.mdcCursor rule
- .cursor/rules/skill-context-budget.mdcCursor rule
- .cursor/rules/skill-cost-audit.mdcCursor rule
- .cursor/rules/skill-decision-log.mdcCursor rule
- .cursor/rules/skill-experiment.mdcCursor rule
- .cursor/rules/skill-founder-voice.mdcCursor rule
- .cursor/rules/skill-frontend-design.mdcCursor rule
- .cursor/rules/skill-gates.mdcCursor rule
- .cursor/rules/skill-grilling.mdcCursor rule
- .cursor/rules/skill-handoff.mdcCursor rule
- .cursor/rules/skill-human-design.mdcCursor rule
- .cursor/rules/skill-human-steps.mdcCursor rule
- .cursor/rules/skill-karpathy-guidelines.mdcCursor rule
- .cursor/rules/skill-known-reds.mdcCursor rule
- .cursor/rules/skill-legal-review.mdcCursor rule
- .cursor/rules/skill-new-feature.mdcCursor rule
- .cursor/rules/skill-observability.mdcCursor rule
- .cursor/rules/skill-ordered-steps.mdcCursor rule
- .cursor/rules/skill-performance.mdcCursor rule
- .cursor/rules/skill-readiness-gate.mdcCursor rule
- .cursor/rules/skill-release.mdcCursor rule
- .cursor/rules/skill-requirement-first.mdcCursor rule
- .cursor/rules/skill-safe-data-write.mdcCursor rule
- .cursor/rules/skill-setup.mdcCursor rule
- .cursor/rules/skill-single-source.mdcCursor rule
- .cursor/rules/skill-spec-audit.mdcCursor rule
- .cursor/rules/skill-tailoring.mdcCursor rule
- .cursor/rules/skill-twin-check.mdcCursor rule
- .cursor/rules/skill-verified-claims.mdcCursor rule
- .cursor/rules/skill-verify-green.mdcCursor rule
- bug-fixSkill
- commitSkill
- The first 60 shown.
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.

