skills / rules
Cursor rule166 starsChanged 2 months agoMITView on GitHub
Writing standards for AI-agent-facing documentation in skills and references
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,533 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 repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skills/uipath-rpa/CLAUDE.mdCLAUDE.md
- .cursor/rules/pr-review.mdcCursor rule
- .cursor/rules/skill-review.mdcCursor rule
- .cursor/rules/skill-structure.mdcCursor rule
- .cursor/rules/token-optimization.mdcCursor rule
- manage-skill-flavorsSkill
- uipath-activity-migratorSkill
- uipath-adminSkill
- uipath-agentsSkill
- uipath-aopsSkill
- uipath-api-workflowSkill
- uipath-automation-discoverySkill
- uipath-automationhubSkill
- uipath-coded-appsSkill
- uipath-connector-builderSkill
- uipath-feedbackSkill
- uipath-functionsSkill
- uipath-governanceSkill
- uipath-human-in-the-loopSkill
- uipath-insightsSkill
- uipath-ixpSkill
- uipath-knowledge-bundlesSkill
- uipath-maestro-bpmnSkill
- uipath-maestro-caseSkill
- uipath-maestro-flowSkill
- uipath-mcp-serversSkill
- uipath-plannerSkill
- uipath-platformSkill
- uipath-process-miningSkill
- uipath-reviewSkill
- uipath-rpaSkill
- uipath-rulesSkill
- uipath-solutionSkill
- uipath-tasksSkill
- uipath-testSkill
- uipath-troubleshootSkill
The file
We split this content-quality.mdc into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Do NOT include: marketing language, version-specific facts that will go stale (link to latest docs instead), duplicate content across …
≈ “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: Writing standards for AI-agent-facing documentation in skills and references
globs: ["skills/**/*.md", "references/**/*.md", ".claude/rules/**/*.md"]
---
Primary audience is AI coding agents, not humans. Be prescriptive ("Run X") not descriptive ("You could run X"). Include exact CLI commands with all required flags. Use `--output json` on any command whose output the agent parses. Specify what to do when a command fails, not just the happy path. Number rules — agents follow numbered lists more reliably than prose. Include anti-patterns — "what NOT to do" prevents the most expensive mistakes.
Markdown: ATX headers (`#`, `##`), no underline-style. Fenced code blocks with language identifiers (` ```bash `, ` ```yaml `, ` ```csharp `, ` ```json `). Tables for structured data. `>` blockquotes for warnings. Heading hierarchy must not skip levels.
CLI docs: use `<PLACEHOLDER>` (angle brackets, UPPER_SNAKE_CASE) for user-provided values. Specify required vs optional flags. Shell commands must use Unix syntax (never `del`/`dir`/`nul`); escape backslashes in Windows paths (`C:\\path\\file.txt`).
Do NOT include: marketing language, version-specific facts that will go stale (link to latest docs instead), duplicate content across files, auto-generated `--help` output, images or binary files.
Full reference: `.claude/rules/content-quality.md`.
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.

