Skip to content

Commit 837df70

Browse files
committed
fix: update improve-skills command for Factory Droid CLI
**Critical Fix**: Factory Droid CLI version was looking at wrong directory ## Problem The /improve-skills command in Factory Droid CLI was hardcoded to look for `.claude/skills/` directory, which doesn't exist in Factory installations. When users ran `/improve-skills` in Factory Droid CLI: - ❌ Command failed to find skills - ❌ Checked wrong directory (.claude/skills/ instead of .factory/skills/) - ❌ Referenced "Claude Code" throughout - ❌ User couldn't improve their skills ## Solution Updated Factory Droid CLI version to: - ✅ Check `.factory/skills/` directory - ✅ Use platform-neutral language - ✅ Update all user-facing messages - ✅ Keep Claude Code version unchanged ## Changes `droid_cli/default/commands/improve-skills.md`: - Changed all `.claude/skills/` → `.factory/skills/` - Changed "Claude Code Skills" → "Skills" - Updated confirmation message - Updated final recommendations message `claude/default/commands/improve-skills.md`: - No changes (already correct for Claude Code) ## Impact ✅ Factory Droid CLI users can now use /improve-skills ✅ Command works correctly in both platforms ✅ Each platform checks its own skills directory ## Testing Run in Factory Droid CLI: ``` > /improve-skills AI: Checks .factory/skills/ ✅ AI: Improves skill descriptions ✅ ``` Run in Claude Code: ``` > /improve-skills AI: Checks .claude/skills/ ✅ AI: Improves skill descriptions ✅ ``` Fixes #improve-skills-factory
1 parent 03ef8fe commit 837df70

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
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`.
66

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

9-
## Claude Code Skill Improvement Process
9+
## Skill Improvement Process
1010

1111
### Step 1: Confirm which skills to improve
1212

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:
13+
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:
1414

1515
```
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?
16+
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?
1717
1818
If not, then please specify which Skills I should include or exclude.
1919
```
@@ -56,19 +56,19 @@ Example:
5656

5757
### Step 5: Advise the user on improving their skills further
5858

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:
59+
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:
6060

6161
```
62-
All Claude Code Skills have been analyzed and revised!
62+
All Skills have been analyzed and revised!
6363
6464
RECOMMENDATION 👉 Review and revise them further using these tips:
6565
6666
- Make Skills as descriptive as possible
67-
- Use their 'description' frontmatter to tell Claude Code when it should proactively use this skill.
67+
- Use their 'description' frontmatter to describe when this skill should proactively be used.
6868
- Include all relevant instructions, details and directives within the content of the Skill.
6969
- 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.
70+
- You can consolidate multiple similar skills into single skills where it makes sense to find and use them together.
7171
72-
For more best practices, refer to the official Claude Code documentation on Skills:
72+
For more best practices, refer to the skills documentation:
7373
https://docs.claude.com/en/docs/claude-code/skills
7474
```

0 commit comments

Comments
 (0)