dex-skills / rules
Cursor rule2 starsChanged 2 months agoMITView on GitHub
Maintain the Dex Skills monorepo and its three public skills
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 4,373 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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- dex-app-builderSkill
- dex-connector-contributorSkill
- dex-sdkSkill
The file
We split this dex-skills.mdc into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
When a real application exposes a modeling failure, extract the general decision criteria and validate those invariants generically.
- Distinctive: line 25
All three Skills may be selected by matching natural-language descriptions.
- Distinctive: line 35
If App Builder receives a standalone SDK or official connector-library request, route it to the matching specialist before product …
- Distinctive: line 38
If the user explicitly invokes a specialist, honor that choice and do not expand it into the App Builder workflow.
- Distinctive: line 53
Write that content for agents: mental models, decision tables, rules, anti-patterns, code skeletons, and checklists.
- Very specific: line 94
Keep Codex, Claude Code, and Cursor manifests synchronized on plugin ID, version, repository, skill paths, and display metadata.
- Distinctive: line 103
Never add a skill submodule or a floating branch reference to an application repository.
- Very specific: line 111
Check Gate CI accepts instead.
≈ “Common” is an estimate: at least 1 in 5 of the 7,324 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: Maintain the Dex Skills monorepo and its three public skills alwaysApply: true --- # Dex Skills Repository Instructions The source of truth is superdurable/dex `skills/`. The read-only `superdurable/dex-skills` mirror accepts no pull requests. Dex runs the validators in `.github/workflows/skills-ci.yml`. This repository publishes one `superdurable-dex` plugin for Codex, Claude Code, and Cursor. Its only public skills are `dex-sdk`, `dex-app-builder`, and `dex-connector-contributor`, stored directly at the repository root. ## Skill boundaries - Public Skills contain reusable decision rules and platform guidance, not application-specific scenarios, product names, or named regression examples. When a real application exposes a modeling failure, extract the general decision criteria and validate those invariants generically. Keep application-specific architecture and regression fixtures in that application's repository or its issue/PR context, not in the published Skills. - All three Skills may be selected by matching natural-language descriptions. - `dex-app-builder` is the default end-to-end product workflow for business discovery, Flow and FDG modeling, an explicit no-custom-UI or custom-UI decision, Go backend implementation, and local verification with source-available Dex tooling. - `dex-sdk` is the specialist for implementing, debugging, testing, and operating applications through the public Dex SDK. - `dex-connector-contributor` is the thin bootstrap for official connector-library work. It resolves the correct checkout, then defers to that repository's agent rules and documentation. - If App Builder receives a standalone SDK or official connector-library request, route it to the matching specialist before product discovery. A product or application that uses a released connector remains in App Builder. - If the user explicitly invokes a specialist, honor that choice and do not expand it into the App Builder workflow. - During backend implementation, `dex-app-builder` loads `dex-sdk` and follows only its Core and Go guidance. Do not duplicate those references. - `dex-connector-contributor` loads `dex-sdk` Core and Go guidance when needed. The target connector repository owns connector-specific implementation, acceptance, release, and pull-request rules; `dex-app-builder` owns application use of released connectors. - App Builder constraints are stricter: Go only, strict FDG 2.0, provider effects only in `Execute`, and no provider or Dex mutations in `WaitFor`. ## Skill content: the stable layer for agents The Skills are the coding-agent version of Dex's stable docs layer. They cover the same scope as the docs Primitives, Components, and Design pattern pages. Write that content for agents: mental models, decision tables, rules, anti-patterns, code skeletons, and checklists. Keep every stable fact an agent needs to write correct code. Each rule must be complete without its links. A fact belongs here only if it will still hold in the next minor release. Skills contain no Dex version numbers and no release-tag pins. APIs, parameters, defaults, limits, configuration, flags, error codes, and version differences belong in SDK doc comments and the versioned docs Developer reference. Link to the Developer reference and to `examples/` for those details. Never link to the docs Primitives, Components, or Design pattern pages. Change the Skills only when a stable programming rule, a Primitive concept or relation, a Component, or a design pattern changes. Update the matching docs pages in the same pull request, or state in the pull request why they need no change. A skills change does not wait for a Dex release. ## Public product boundary Dex Skills is public Dex material and contains no information about any product built on Dex (no product names, template contracts or platform concepts). Describe only source-available Dex: the Dex SDKs, `dexcli` including `dexcli dev`, Dex Server (server-zd), Dex Web, the FDG analyzer, and the official connectors. A product built on Dex keeps its own platform-specific guidance in its own repository; nothing here refers to it. ## Dex concept boundary Skills describe Dex concepts and guarantees only. Never mention retired workflow rollover controls, thresholds, or triggers in skill files. Do not describe Temporal or Cadence internals (activity timeout names, Signals, Queries, Updates, workflow history mechanics) in application guidance; state the Dex behavior and guarantee instead. When a guarantee differs by backend, say so in Dex terms without explaining the backend mechanism. Deployment and operations guidance may name server-zd and its configuration, such as object storage, the PostgreSQL Attribute Store, and the search backend. Do not name Temporal or Cadence; Dex Server (server-zd) is the only Dex Server. `check-package.py` rejects these terms. ## Packaging and release Keep Codex, Claude Code, and Cursor manifests synchronized on plugin ID, version, repository, skill paths, and display metadata. Do not reintroduce a `plugins/` wrapper or an unplanned public skill. The Plugin and standalone Skills are mutually exclusive installation paths. Standalone installation always copies all three Skills together. Every local Markdown link must resolve using only those three copied directories; never depend on a repository-root file that an Agent Skills installer omits. Never add a skill submodule or a floating branch reference to an application repository; the coding-agent host supplies the installed Dex Skills release. A stable content change (a rule, a Primitive concept or relation, a Component, a design pattern, skill routing, or packaging) adds a change-log fragment under the Dex repository's `changelog.d/skills/` with its bump level. A typo, link, or wording-only change needs no fragment; its pull request description contains a line `skills-release: no bump needed: <reason>`, which Check Gate CI accepts instead. Never edit `VERSION`, `dex-sdk/VERSION`, the manifests, or `CHANGELOG.md` by hand; a release-prep pull request assembles the fragments and writes them. A Dex release never requires a skills change. `doc-map.yaml` maps each skills file to the docs pages that hold the same stable knowledge. Check Gate CI fails a pull request that changes a mapped file on one side but none of its counterparts, unless its description contains a line `doc-map: no change needed: <reason>`. Keep the map current when you add, move, or delete a mapped file. A new skills file or doc-map docs page needs a mapping or an `unmapped` line.
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.

