Loading...
Loading...
Analyze and optimize document quality issues of other Skills, including checks on frontmatter format, progressive disclosure structure, file reference integrity, AI-friendliness, etc. When to use: When users say "optimize this skill", "check skill quality", "review skill", "there's something wrong with the skill", "help me look at this skill", "diagnose the skill"
npx skill4agent add steelan9199/wechat-publisher skill-optimizer-yashu| User Input Examples | AI Execution |
|---|---|
| "check / diagnose / review / look at / analyze / evaluate xxx skill" | Run analyze.py for quality analysis |
| "optimize / improve / fix / upgrade / refactor xxx skill" | Run optimize.py to generate optimized documents |
| Scenario | Step | AI Action | Specific Command |
|---|---|---|---|
| Analysis | 1 | Run analysis script | |
| Analysis | 2 | Parse output results | Extract the number of errors/warnings/suggestions/hints and detailed problem lists |
| Analysis | 3 | Output analysis report | Display results to users according to the [Analysis Result Template] |
| Optimization | 1 | Run optimization script | |
| Optimization | 2 | Confirm optimization completion | Check if the output file exists |
| Optimization | 3 | Output optimization summary | Display an overview of optimized content and file path to users |
==================================================
Analysis Result: {Level}
==================================================
Errors: {N} | Warnings: {N} | Suggestions: {N} | Hints: {N}
Issues Found:
- {Type}: {Issue Description}
- {Type}: {Issue Description}✅ Optimization Completed!
📄 Optimized document saved to: {File Path}
Optimization Overview:
- {Optimization Item 1}
- {Optimization Item 2}
- {Optimization Item 3}| Level | Conditions | Explanation |
|---|---|---|
| Needs Fix | Errors exist | Critical issues that must be fixed, affecting normal use of the skill |
| Good | No errors, with warnings | Minor issues that need attention but do not affect usage |
| Excellent | No errors/warnings, with suggestions | Optimization suggestions to further improve quality |
| Very Good | No errors/warnings/suggestions, with hints | Minor hints, overall quality is high |
| Perfect | No issues at all | Fully compliant with specifications, no problems |
| Error Scenario | Handling Method |
|---|---|
| Skill does not exist | Prompt that the specified skill folder cannot be found |
| Invalid path | Prompt for invalid folder path |
| SKILL.md missing | Mark as error, prompt for missing main document |