create-agent-skills 1.0.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -41,6 +41,12 @@ npx create-agent-skills
41
41
  | `code-review` | Reviews code for bugs, style, and security issues |
42
42
  | `create-agent-skill` | Helps create new skills following guidelines |
43
43
  | `documentation` | Creates clear READMEs, API docs, and comments |
44
+ | `git-commit` | Writes conventional commit messages |
45
+ | `git-pr` | Creates well-structured pull requests |
46
+ | `git-review` | Reviews PRs for code quality and best practices |
47
+ | `maestro-testing` | Write E2E tests for mobile/web apps using Maestro |
48
+ | `tailwindcss-v4` | Tailwind CSS v4 setup and migration guide |
49
+ | `tauri-v2` | Build desktop apps with Tauri v2 + React |
44
50
  | `testing` | Helps write unit, integration, and E2E tests |
45
51
 
46
52
  ## Creating New Skills
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-agent-skills",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "CLI tool to install Agent Skills for AI coding assistants",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -80,25 +80,65 @@ mkdir -p .agent/skills/<skill-name>/examples
80
80
  mkdir -p .agent/skills/<skill-name>/resources
81
81
  ```
82
82
 
83
- ## When to Use External Files
83
+ ## Managing Long Skills
84
+
85
+ > [!WARNING]
86
+ > **SKILL.md MUST NOT exceed 500 lines.** If your skill is getting too long, you MUST split content into external files.
87
+
88
+ ### File Length Rules
89
+
90
+ | SKILL.md Length | Action Required |
91
+ |-----------------|-----------------|
92
+ | < 300 lines | ✅ OK - Keep everything in SKILL.md |
93
+ | 300-500 lines | ⚠️ Consider splitting large examples |
94
+ | > 500 lines | ❌ MUST split into external files |
95
+
96
+ ### How to Split Long Skills
97
+
98
+ 1. **Move examples to `examples/` folder**
99
+ ```bash
100
+ mkdir -p .agent/skills/<skill-name>/examples
101
+ ```
102
+
103
+ 2. **Move reference docs to `resources/` folder**
104
+ ```bash
105
+ mkdir -p .agent/skills/<skill-name>/resources
106
+ ```
107
+
108
+ 3. **Keep SKILL.md focused on:**
109
+ - Overview and when to use
110
+ - Quick start / essential commands
111
+ - Links to detailed examples
112
+ - Best practices summary
113
+
114
+ 4. **Link external files in SKILL.md:**
115
+ ```markdown
116
+ ## Examples & Resources
117
+
118
+ ### Examples
119
+ - [Basic Usage](examples/basic-usage.md) - Getting started example
120
+ - [Advanced Patterns](examples/advanced-patterns.md) - Complex use cases
121
+
122
+ ### Resources
123
+ - [Commands Reference](resources/commands-reference.md) - Full command list
124
+ - [Configuration Guide](resources/configuration.md) - All config options
125
+ ```
126
+
127
+ ### What Goes Where
128
+
129
+ | Content Type | Location | Max Size |
130
+ |--------------|----------|----------|
131
+ | Overview, when to use | `SKILL.md` | - |
132
+ | Quick examples (< 50 lines) | `SKILL.md` | 50 lines each |
133
+ | Long examples (> 50 lines) | `examples/*.md` | No limit |
134
+ | Full API/command reference | `resources/*.md` | No limit |
135
+ | Helper scripts | `scripts/*.js` | No limit |
136
+ | Templates, configs | `resources/*` | No limit |
137
+
138
+ ### Links Requirement
84
139
 
85
- Split content into folders if SKILL.md exceeds ~500 lines:
86
-
87
- | Folder | Use For |
88
- |--------|---------|
89
- | `examples/` | Complete, runnable code examples |
90
- | `scripts/` | Helper scripts the agent should run |
91
- | `resources/` | Templates, config files, assets |
92
-
93
- Link to external files using relative paths:
94
-
95
- ```markdown
96
- ## Examples
97
-
98
- See complete examples:
99
- - [Basic Usage](./examples/basic-usage.js)
100
- - [Advanced Patterns](./examples/advanced-patterns.js)
101
- ```
140
+ > [!IMPORTANT]
141
+ > Every file in `examples/`, `scripts/`, and `resources/` folders **MUST be linked** in SKILL.md. Unlinked files will not be discovered by the agent.
102
142
 
103
143
  ## SKILL.md Template
104
144