agentleFS
UiPathUiPath/skills/.cursor/rules/skill-structure.mdc

skills / rules

Cursor rule166 starsChanged 2 months agoMITView on GitHub

Skill folder layout, SKILL.md frontmatter, naming conventions, and build-time flavors

The file

We split this skill-structure.mdc into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are 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.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every skill under skills/uipath-<kebab-case>/ must have a SKILL.md with valid YAML frontmatter: name (matching folder name exactly) and …

    line 6
  2. Very specific:

    Before changing flavor markers, sparse overrides, generic discovery, package construction, publishing, or flavor CI, read …

    line 14

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill-structure.mdc
---
description: Skill folder layout, SKILL.md frontmatter, naming conventions, and build-time flavors
globs: ["skills/**/SKILL.md", "skills/**/references/**/*.md", "skills/**/assets/**/*", "skill-flavors/**/*", "scripts/compose-skill-flavor.mjs", "scripts/npm-package-lifecycle.mjs", "scripts/select-skill-package.mjs", ".github/workflows/publish.yml", ".github/workflows/publish-skill-flavor.yml", ".github/workflows/*skill-flavor*.yml"]
---

Every skill under `skills/uipath-<kebab-case>/` must have a `SKILL.md` with valid YAML frontmatter: `name` (matching folder name exactly) and `description` (under 1024 characters — repo cap; Claude Code's hard truncation for `description` + `when_to_use` is 1,536 chars).

The `description` must front-load skill identity and unique file/domain signals (e.g. `.cs`, `.xaml`, `.flow`, `servo`) within the first ~100 characters. Use compact `→` redirects for commonly confused sibling skills (e.g. `For XAML→uipath-rpa`). Start with `[PREVIEW]` for unstable skills. Do NOT use verbose `TRIGGER when:` / `DO NOT TRIGGER when:` clauses or nest fields under `metadata:` — both cause Claude Code to drop the field.

SKILL.md body order: Title → When to Use → Critical Rules (numbered) → Workflow/Quick Start → Reference Navigation → Anti-patterns. Reference files use kebab-case; guides end with `-guide.md`; templates end with `-template.md` or `-template.<ext>`. Skills must be self-contained — no cross-skill references.

Full reference: `.claude/rules/skill-structure.md`.

Before changing flavor markers, sparse overrides, generic discovery,
package construction, publishing, or flavor CI, read
`.claude/skills/manage-skill-flavors/SKILL.md` completely and follow its
reference-routing instructions.

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.