Skip to content

Commit 83201b3

Browse files
committed
feat: improve-skills now leverages skill-creator skill
**Enhancement**: /improve-skills uses skill-creator for better quality ## What Changed Updated /improve-skills command to use the skill-creator skill throughout the improvement process. ### Before v4.7.1 improve-skills did everything manually: - Manual analysis of skills - Manual rewriting of descriptions - No templates or guidance - Inconsistent results ### After v4.7.1 improve-skills leverages skill-creator: - ✅ Uses skill-creator's templates - ✅ Follows skill-creator's structure guidance - ✅ Applies skill-creator's best practices - ✅ Consistent quality across all improvements ## Implementation **Added references to skill-creator at key steps**: 1. **Step 2 (Analyze)**: - Now uses skill-creator to analyze skills - Follows skill-creator's structure templates 2. **Step 3 (Rewrite)**: - Uses skill-creator's patterns for descriptions - Applies skill-creator's best practices 3. **Step 4 (Format)**: - Uses skill-creator's structure template - Follows activation criteria guidelines 4. **Step 5 (Final message)**: - Informs user skill-creator was used - Points to skill-creator for reference ## Benefits **For Users**: - ✅ Higher quality skill improvements - ✅ Consistent structure across all skills - ✅ Leverages existing expertise - ✅ Better activation criteria **For Ecosystem**: - ✅ Commands use skills (dogfooding) - ✅ Consistent patterns across tools - ✅ Better integration of features ## Files Modified - droid_cli/default/commands/improve-skills.md - claude/default/commands/improve-skills.md --- Closes #improve-skills-quality
1 parent d8930c9 commit 83201b3

File tree

4 files changed

+86
-24
lines changed

4 files changed

+86
-24
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,26 @@ Without this, Factory CLI ignores the skill file completely.
147147
- `claude/default/skills/*/SKILL.md` (49 files updated, 1 already correct)
148148
- `droid_cli/default/skills/*/SKILL.md` (49 files updated, 1 already correct)
149149

150+
## [4.7.1] - 2024-11-24
151+
152+
### Enhanced
153+
- **improve-skills now uses skill-creator skill**: Command leverages skill-creator for better quality
154+
- skill-creator provides templates, structure guidance, and best practices
155+
- Automatically activated when improving skills
156+
- Ensures consistent skill format across all improvements
157+
- Better activation criteria and examples
158+
159+
### Changed
160+
- `/improve-skills` command now references skill-creator throughout the process
161+
- Added guidance to use skill-creator's templates and patterns
162+
- Updated final message to mention skill-creator was used
163+
164+
### Impact
165+
- ✅ Higher quality skill improvements
166+
- ✅ Consistent skill structure
167+
- ✅ Leverages existing skill-creator skill
168+
- ✅ Better use of Droidz ecosystem
169+
150170
## [4.7.0] - 2024-11-24
151171

152172
### Changed
Lines changed: 37 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,51 @@
1-
I want you to help me improve the files that make up my Claude Code Skills by rewriting their descriptions so that they can be more readily discovered and used by Claude Code when it works on coding tasks.
1+
I want you to help me improve the files that make up your Skills by rewriting their descriptions so that they can be more readily discovered and used when working on coding tasks.
22

3-
You can refer to the Claude Code documentation on the Skills feature here: https://docs.claude.com/en/docs/claude-code/skills
3+
You can refer to the skills documentation here: https://docs.claude.com/en/docs/claude-code/skills
44

5-
All of the Skills in our project are located in `.claude/skills/`. Each Skill has its own folder and inside each Skill folder is a file called `SKILL.md`.
5+
All of the Skills in our project are located in `.factory/skills/`. Each Skill has its own folder and inside each Skill folder is a file called `SKILL.md`.
6+
7+
## Using the skill-creator Skill
8+
9+
**IMPORTANT**: Use the `skill-creator` skill to improve each SKILL.md file. The skill-creator provides templates, best practices, and patterns for creating high-quality skills.
10+
11+
To activate: The skill-creator skill will automatically activate when you start working on skill improvement tasks.
612

713
LOOP through each `SKILL.md` file and FOR EACH use the following process to revise its content and improve it:
814

9-
## Claude Code Skill Improvement Process
15+
## Skill Improvement Process
1016

1117
### Step 1: Confirm which skills to improve
1218

13-
First, ask the user to confirm whether they want ALL of their Claude Code skills to be improved, only select Skills. Assume the answer will be "all" but ask the user to confirm by displaying the following message, then WAIT for the user's response before proceeding to Step 2:
19+
First, ask the user to confirm whether they want ALL of their skills to be improved, or only select Skills. Assume the answer will be "all" but ask the user to confirm by displaying the following message, then WAIT for the user's response before proceeding to Step 2:
1420

1521
```
16-
Before I proceed with improving your Claude Code Skills, can you confirm that you want me to revise and improve ALL Skills in your .claude/skills/ folder?
22+
Before I proceed with improving your Skills, can you confirm that you want me to revise and improve ALL Skills in your .factory/skills/ folder?
1723
1824
If not, then please specify which Skills I should include or exclude.
1925
```
2026

2127
### Step 2: Analyze what this Skill does
2228

23-
Analyze and read the skill file to understand what it is, what it should be used for, and when it should be used. The specific best practices are described and linked within it. Look to these places to read and understand each skill:
29+
**Use the skill-creator skill** to analyze and understand each skill file.
30+
31+
Analyze and read the skill file to understand what it is, what it should be used for, and when it should be used. The skill-creator skill provides guidance on:
32+
- Proper skill structure and format
33+
- Clear activation criteria
34+
- Effective examples and patterns
35+
- Resource links and documentation
2436

37+
Look to these places to read and understand each skill:
2538
- The Skill's name and file name.
2639
- The Skill.md contains a link that points to `droidz/standards/...` — Follow that link and read its contents.
40+
- Use skill-creator's templates to guide improvements
2741

2842
### Step 3: Rewrite the Skill description
2943

30-
The most important element of a skill.md file that impacts its discoverability and trigger-ability by Claude Code is the content we write in the `description` in the skill.md frontmatter.
44+
**Use the skill-creator skill** to rewrite the description following best practices.
3145

32-
Rewrite this description using the following guidelines:
46+
The most important element of a skill.md file that impacts its discoverability and trigger-ability is the content we write in the `description` in the skill.md frontmatter.
47+
48+
The skill-creator provides templates and patterns for effective descriptions. Rewrite this description using the following guidelines:
3349

3450
- The first sentence should clearly describe what this skill is. For example: "Write Tailwind CSS code and structure front-end UIs using Tailwind CSS utility classes."
3551
- The second sentence and subsequent sentences should clearly and directly describe multiple examples where and when this skill should be used.
@@ -40,9 +56,11 @@ Rewrite this description using the following guidelines:
4056

4157
### Step 4: Insert a section for 'When to use this skill'
4258

59+
**Use the skill-creator skill's structure template** to format this section properly.
60+
4361
At the top of the content of skill.md, below the frontmatter, insert an H2 heading, "When to use this skill" followed by a list of use case examples.
4462

45-
The use case examples can repeat the same one(s) listed in the description and/or expand on them.
63+
The skill-creator provides guidance on writing clear activation criteria. The use case examples can repeat the same one(s) listed in the description and/or expand on them.
4664

4765
Example:
4866
```markdown
@@ -56,19 +74,22 @@ Example:
5674

5775
### Step 5: Advise the user on improving their skills further
5876

59-
After revising ALL Skill.md files located in the project's `.claude/skills/` folder, display the following message to the user to advise them on how to improve their Claude Code Skills further:
77+
After revising ALL Skill.md files located in the project's `.factory/skills/` folder, display the following message to the user to advise them on how to improve their Skills further:
6078

6179
```
62-
All Claude Code Skills have been analyzed and revised!
80+
All Skills have been analyzed and revised using the skill-creator skill! ✅
6381
6482
RECOMMENDATION 👉 Review and revise them further using these tips:
6583
6684
- Make Skills as descriptive as possible
67-
- Use their 'description' frontmatter to tell Claude Code when it should proactively use this skill.
85+
- Use their 'description' frontmatter to describe when this skill should proactively be used.
6886
- Include all relevant instructions, details and directives within the content of the Skill.
6987
- You can link to other files (like your Droidz standards files) using markdown links.
70-
- You can consolidate multiple similar skills into single skills where it makes sense for Claude to find and use them together.
88+
- You can consolidate multiple similar skills into single skills where it makes sense to find and use them together.
89+
90+
💡 The skill-creator skill was used to ensure proper structure, clear activation criteria, and effective patterns.
7191
72-
For more best practices, refer to the official Claude Code documentation on Skills:
73-
https://docs.claude.com/en/docs/claude-code/skills
92+
For more best practices, refer to:
93+
- Skills documentation: https://docs.claude.com/en/docs/claude-code/skills
94+
- The skill-creator skill in your skills directory for templates and examples
7495
```

droidz_installer/payloads/droid_cli/default/commands/improve-skills.md

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ You can refer to the skills documentation here: https://docs.claude.com/en/docs/
44

55
All of the Skills in our project are located in `.factory/skills/`. Each Skill has its own folder and inside each Skill folder is a file called `SKILL.md`.
66

7+
## Using the skill-creator Skill
8+
9+
**IMPORTANT**: Use the `skill-creator` skill to improve each SKILL.md file. The skill-creator provides templates, best practices, and patterns for creating high-quality skills.
10+
11+
To activate: The skill-creator skill will automatically activate when you start working on skill improvement tasks.
12+
713
LOOP through each `SKILL.md` file and FOR EACH use the following process to revise its content and improve it:
814

915
## Skill Improvement Process
@@ -20,16 +26,26 @@ If not, then please specify which Skills I should include or exclude.
2026

2127
### Step 2: Analyze what this Skill does
2228

23-
Analyze and read the skill file to understand what it is, what it should be used for, and when it should be used. The specific best practices are described and linked within it. Look to these places to read and understand each skill:
29+
**Use the skill-creator skill** to analyze and understand each skill file.
30+
31+
Analyze and read the skill file to understand what it is, what it should be used for, and when it should be used. The skill-creator skill provides guidance on:
32+
- Proper skill structure and format
33+
- Clear activation criteria
34+
- Effective examples and patterns
35+
- Resource links and documentation
2436

37+
Look to these places to read and understand each skill:
2538
- The Skill's name and file name.
2639
- The Skill.md contains a link that points to `droidz/standards/...` — Follow that link and read its contents.
40+
- Use skill-creator's templates to guide improvements
2741

2842
### Step 3: Rewrite the Skill description
2943

30-
The most important element of a skill.md file that impacts its discoverability and trigger-ability by Claude Code is the content we write in the `description` in the skill.md frontmatter.
44+
**Use the skill-creator skill** to rewrite the description following best practices.
3145

32-
Rewrite this description using the following guidelines:
46+
The most important element of a skill.md file that impacts its discoverability and trigger-ability is the content we write in the `description` in the skill.md frontmatter.
47+
48+
The skill-creator provides templates and patterns for effective descriptions. Rewrite this description using the following guidelines:
3349

3450
- The first sentence should clearly describe what this skill is. For example: "Write Tailwind CSS code and structure front-end UIs using Tailwind CSS utility classes."
3551
- The second sentence and subsequent sentences should clearly and directly describe multiple examples where and when this skill should be used.
@@ -40,9 +56,11 @@ Rewrite this description using the following guidelines:
4056

4157
### Step 4: Insert a section for 'When to use this skill'
4258

59+
**Use the skill-creator skill's structure template** to format this section properly.
60+
4361
At the top of the content of skill.md, below the frontmatter, insert an H2 heading, "When to use this skill" followed by a list of use case examples.
4462

45-
The use case examples can repeat the same one(s) listed in the description and/or expand on them.
63+
The skill-creator provides guidance on writing clear activation criteria. The use case examples can repeat the same one(s) listed in the description and/or expand on them.
4664

4765
Example:
4866
```markdown
@@ -59,7 +77,7 @@ Example:
5977
After revising ALL Skill.md files located in the project's `.factory/skills/` folder, display the following message to the user to advise them on how to improve their Skills further:
6078

6179
```
62-
All Skills have been analyzed and revised!
80+
All Skills have been analyzed and revised using the skill-creator skill! ✅
6381
6482
RECOMMENDATION 👉 Review and revise them further using these tips:
6583
@@ -69,6 +87,9 @@ RECOMMENDATION 👉 Review and revise them further using these tips:
6987
- You can link to other files (like your Droidz standards files) using markdown links.
7088
- You can consolidate multiple similar skills into single skills where it makes sense to find and use them together.
7189
72-
For more best practices, refer to the skills documentation:
73-
https://docs.claude.com/en/docs/claude-code/skills
90+
💡 The skill-creator skill was used to ensure proper structure, clear activation criteria, and effective patterns.
91+
92+
For more best practices, refer to:
93+
- Skills documentation: https://docs.claude.com/en/docs/claude-code/skills
94+
- The skill-creator skill in your skills directory for templates and examples
7495
```

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ safe_read() {
3131
fi
3232
}
3333

34-
VERSION="4.7.0"
34+
VERSION="4.7.1"
3535
REPO_URL="https://github.com/korallis/Droidz"
3636
BRANCH="${DROIDZ_BRANCH:-main}"
3737
GITHUB_RAW="https://raw.githubusercontent.com/korallis/Droidz/${BRANCH}"

0 commit comments

Comments
 (0)