You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Organize names from general to specific, using a hierarchical structure: `<project>-<domain>-<topic>-<subtopic>-<action>`. This keeps related skills grouped together and makes names predictable.
33
+
34
+
- Start with the project prefix (e.g. `usethis-`).
35
+
- Follow with the domain or category (e.g. `python-`, `qa-`, `prek-`).
36
+
- Then the topic (e.g. `code`, `hook`, `skills`).
37
+
- Optionally narrow with a subtopic (e.g. `bespoke`).
38
+
- End with a specific action if the skill is narrow in scope (e.g. `create`, `modify`).
39
+
40
+
For example, skills about bespoke prek hooks would be named:
41
+
42
+
-`usethis-prek-hook-bespoke` — general guidance on bespoke hooks (topic-level skill)
43
+
-`usethis-prek-hook-bespoke-create` — creating a new bespoke hook
44
+
-`usethis-prek-hook-bespoke-modify` — modifying an existing bespoke hook
45
+
46
+
**Bad:**`usethis-prek-bespoke-hook` — this breaks the general-to-specific order by placing the subtopic (`bespoke`) before the topic (`hook`).
47
+
48
+
When in doubt, think about how the name would sort alphabetically alongside related skills. Related skills should cluster together.
49
+
30
50
## YAML frontmatter format
31
51
32
52
All `SKILL.md` files must include the following YAML frontmatter:
@@ -119,6 +139,7 @@ If content grows beyond this, split details into separate reference files in the
119
139
Before finalizing a new skill, verify:
120
140
121
141
-[ ] Name is descriptive and uses kebab-case
142
+
-[ ] Name follows general-to-specific hierarchical order
122
143
-[ ] YAML frontmatter has all required fields (`name`, `description`, `compatibility`, `license`, `metadata.version`)
123
144
-[ ] Version is a quoted string in `"MAJOR.MINOR"` format (e.g. `"1.0"`)
124
145
-[ ] Description includes what the skill does and when to use it
0 commit comments