agileflow 2.76.0 โ 2.78.0
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 +3 -3
- package/package.json +6 -1
- package/scripts/agileflow-configure.js +185 -13
- package/scripts/agileflow-statusline.sh +266 -27
- package/scripts/agileflow-welcome.js +160 -52
- package/scripts/auto-self-improve.js +63 -20
- package/scripts/check-update.js +1 -4
- package/scripts/damage-control-bash.js +232 -0
- package/scripts/damage-control-edit.js +243 -0
- package/scripts/damage-control-write.js +243 -0
- package/scripts/get-env.js +15 -7
- package/scripts/lib/frontmatter-parser.js +4 -1
- package/scripts/obtain-context.js +59 -48
- package/scripts/ralph-loop.js +25 -13
- package/scripts/validate-expertise.sh +19 -15
- package/src/core/agents/accessibility.md +124 -53
- package/src/core/agents/adr-writer.md +192 -52
- package/src/core/agents/analytics.md +139 -60
- package/src/core/agents/api.md +173 -63
- package/src/core/agents/ci.md +139 -57
- package/src/core/agents/compliance.md +159 -68
- package/src/core/agents/configuration/damage-control.md +356 -0
- package/src/core/agents/database.md +162 -61
- package/src/core/agents/datamigration.md +179 -66
- package/src/core/agents/design.md +179 -57
- package/src/core/agents/devops.md +160 -3
- package/src/core/agents/documentation.md +204 -60
- package/src/core/agents/epic-planner.md +147 -55
- package/src/core/agents/integrations.md +197 -69
- package/src/core/agents/mentor.md +158 -57
- package/src/core/agents/mobile.md +159 -67
- package/src/core/agents/monitoring.md +154 -65
- package/src/core/agents/multi-expert.md +115 -43
- package/src/core/agents/orchestrator.md +77 -24
- package/src/core/agents/performance.md +130 -75
- package/src/core/agents/product.md +151 -55
- package/src/core/agents/qa.md +162 -74
- package/src/core/agents/readme-updater.md +178 -76
- package/src/core/agents/refactor.md +148 -95
- package/src/core/agents/research.md +143 -72
- package/src/core/agents/security.md +154 -65
- package/src/core/agents/testing.md +176 -97
- package/src/core/agents/ui.md +170 -79
- package/src/core/commands/adr/list.md +171 -0
- package/src/core/commands/adr/update.md +235 -0
- package/src/core/commands/adr/view.md +252 -0
- package/src/core/commands/adr.md +207 -50
- package/src/core/commands/agent.md +16 -0
- package/src/core/commands/assign.md +148 -44
- package/src/core/commands/auto.md +18 -1
- package/src/core/commands/babysit.md +361 -36
- package/src/core/commands/baseline.md +14 -0
- package/src/core/commands/blockers.md +170 -51
- package/src/core/commands/board.md +144 -66
- package/src/core/commands/changelog.md +15 -0
- package/src/core/commands/ci.md +179 -69
- package/src/core/commands/compress.md +18 -0
- package/src/core/commands/configure.md +16 -0
- package/src/core/commands/context/export.md +193 -4
- package/src/core/commands/context/full.md +191 -18
- package/src/core/commands/context/note.md +248 -4
- package/src/core/commands/debt.md +17 -0
- package/src/core/commands/deploy.md +208 -65
- package/src/core/commands/deps.md +15 -0
- package/src/core/commands/diagnose.md +16 -0
- package/src/core/commands/docs.md +196 -64
- package/src/core/commands/epic/list.md +170 -0
- package/src/core/commands/epic/view.md +242 -0
- package/src/core/commands/epic.md +192 -69
- package/src/core/commands/feedback.md +191 -71
- package/src/core/commands/handoff.md +162 -48
- package/src/core/commands/help.md +9 -0
- package/src/core/commands/ideate.md +446 -0
- package/src/core/commands/impact.md +16 -0
- package/src/core/commands/metrics.md +141 -37
- package/src/core/commands/multi-expert.md +77 -0
- package/src/core/commands/packages.md +16 -0
- package/src/core/commands/pr.md +161 -67
- package/src/core/commands/readme-sync.md +16 -0
- package/src/core/commands/research/analyze.md +568 -0
- package/src/core/commands/research/ask.md +345 -20
- package/src/core/commands/research/import.md +562 -19
- package/src/core/commands/research/list.md +173 -5
- package/src/core/commands/research/view.md +181 -8
- package/src/core/commands/retro.md +135 -48
- package/src/core/commands/review.md +219 -47
- package/src/core/commands/session/end.md +209 -0
- package/src/core/commands/session/history.md +210 -0
- package/src/core/commands/session/init.md +116 -0
- package/src/core/commands/session/new.md +296 -0
- package/src/core/commands/session/resume.md +166 -0
- package/src/core/commands/session/status.md +166 -0
- package/src/core/commands/skill/create.md +115 -17
- package/src/core/commands/skill/delete.md +117 -0
- package/src/core/commands/skill/edit.md +104 -0
- package/src/core/commands/skill/list.md +128 -0
- package/src/core/commands/skill/test.md +135 -0
- package/src/core/commands/skill/upgrade.md +542 -0
- package/src/core/commands/sprint.md +17 -1
- package/src/core/commands/status.md +133 -21
- package/src/core/commands/story/list.md +176 -0
- package/src/core/commands/story/view.md +265 -0
- package/src/core/commands/story-validate.md +101 -1
- package/src/core/commands/story.md +204 -51
- package/src/core/commands/template.md +16 -1
- package/src/core/commands/tests.md +226 -64
- package/src/core/commands/update.md +17 -1
- package/src/core/commands/validate-expertise.md +16 -0
- package/src/core/commands/velocity.md +140 -36
- package/src/core/commands/verify.md +14 -0
- package/src/core/commands/whats-new.md +30 -0
- package/src/core/skills/_learnings/README.md +91 -0
- package/src/core/skills/_learnings/_template.yaml +106 -0
- package/src/core/skills/_learnings/commit.yaml +69 -0
- package/src/core/templates/damage-control-patterns.yaml +234 -0
- package/src/core/templates/skill-template.md +53 -11
- package/tools/cli/commands/list.js +3 -1
- package/tools/cli/commands/start.js +180 -0
- package/tools/cli/commands/uninstall.js +4 -5
- package/tools/cli/commands/update.js +11 -3
- package/tools/cli/lib/content-injector.js +6 -1
- package/tools/cli/tui/Dashboard.js +66 -0
- package/tools/cli/tui/StoryList.js +69 -0
- package/tools/cli/tui/index.js +16 -0
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Edit an existing skill's SKILL.md, cookbook entries, or references
|
|
3
3
|
argument-hint: [SKILL_NAME] (optional)
|
|
4
|
+
compact_context:
|
|
5
|
+
priority: medium
|
|
6
|
+
preserve_rules:
|
|
7
|
+
- "ACTIVE COMMAND: /agileflow:skill:edit - Modifies existing skills"
|
|
8
|
+
- "MUST list available skills if SKILL_NAME not provided"
|
|
9
|
+
- "MUST show skill structure before asking what to edit"
|
|
10
|
+
- "MUST offer special edits: rename, add cookbook, full rewrite (Plan Mode)"
|
|
11
|
+
- "MUST preview changes with diff before writing"
|
|
12
|
+
- "MUST ask for confirmation before any file writes"
|
|
13
|
+
- "For full rewrite: MUST enter Plan Mode and research before regenerating"
|
|
14
|
+
state_fields:
|
|
15
|
+
- selected_skill
|
|
16
|
+
- edit_target_file
|
|
17
|
+
- has_changes_pending
|
|
4
18
|
---
|
|
5
19
|
|
|
6
20
|
# /agileflow:skill:edit
|
|
@@ -9,6 +23,96 @@ Modify an existing skill in `.claude/skills/`.
|
|
|
9
23
|
|
|
10
24
|
---
|
|
11
25
|
|
|
26
|
+
<!-- COMPACT_SUMMARY_START -->
|
|
27
|
+
|
|
28
|
+
## ๐จ COMPACT SUMMARY - /agileflow:skill:edit IS ACTIVE
|
|
29
|
+
|
|
30
|
+
**CRITICAL**: This command modifies existing skills with preview and confirmation.
|
|
31
|
+
|
|
32
|
+
### ๐จ RULE #1: Select Skill
|
|
33
|
+
If SKILL_NAME not provided:
|
|
34
|
+
```bash
|
|
35
|
+
ls -d .claude/skills/*/ | xargs -I {} basename {}
|
|
36
|
+
```
|
|
37
|
+
Show options and ask user which to edit.
|
|
38
|
+
|
|
39
|
+
### ๐จ RULE #2: Show Skill Structure
|
|
40
|
+
Display current skill contents before asking what to edit:
|
|
41
|
+
```
|
|
42
|
+
๐ Editing: skill-name
|
|
43
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
44
|
+
Files:
|
|
45
|
+
1. SKILL.md (main skill file)
|
|
46
|
+
2. references.md (documentation links)
|
|
47
|
+
3. cookbook/use-case-1.md
|
|
48
|
+
4. cookbook/use-case-2.md
|
|
49
|
+
5. .mcp.json (MCP configuration)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### ๐จ RULE #3: Ask What to Edit
|
|
53
|
+
Offer these options:
|
|
54
|
+
1. **SKILL.md** - Main skill instructions
|
|
55
|
+
2. **references.md** - Update documentation links
|
|
56
|
+
3. **Cookbook entry** - Edit specific use-case workflow
|
|
57
|
+
4. **Add new cookbook** - Create new use-case workflow
|
|
58
|
+
5. **MCP configuration** - Modify MCP server settings
|
|
59
|
+
6. **Rename skill** - Change skill name and folder
|
|
60
|
+
|
|
61
|
+
### ๐จ RULE #4: Read Current Content
|
|
62
|
+
Before editing, always read the file:
|
|
63
|
+
```bash
|
|
64
|
+
cat .claude/skills/<skill>/<file>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### ๐จ RULE #5: Preview Before Writing
|
|
68
|
+
For any change:
|
|
69
|
+
1. Show diff preview (- old, + new)
|
|
70
|
+
2. Ask for confirmation
|
|
71
|
+
3. Only write if confirmed
|
|
72
|
+
|
|
73
|
+
### ๐จ RULE #6: Special Edits
|
|
74
|
+
| Edit Type | Process |
|
|
75
|
+
|-----------|---------|
|
|
76
|
+
| Full rewrite | Enter Plan Mode, research, generate with approval |
|
|
77
|
+
| Rename | Validate name, create new dir, copy files, update frontmatter, delete old |
|
|
78
|
+
| Add cookbook | Create from template, update SKILL.md references |
|
|
79
|
+
| Regular edits | Read โ Edit โ Preview โ Confirm โ Write |
|
|
80
|
+
|
|
81
|
+
### ๐จ RULE #7: For Full Rewrite
|
|
82
|
+
If user selects "Full rewrite (Recommended)":
|
|
83
|
+
1. Enter Plan Mode
|
|
84
|
+
2. Research web/local/codebase again
|
|
85
|
+
3. Show updated plan to user
|
|
86
|
+
4. Get approval
|
|
87
|
+
5. Exit Plan Mode
|
|
88
|
+
6. Regenerate the file with new research
|
|
89
|
+
|
|
90
|
+
### Critical Edit Operations
|
|
91
|
+
| Operation | Check | Action |
|
|
92
|
+
|-----------|-------|--------|
|
|
93
|
+
| Rename | Name is valid | Copy dir + update frontmatter + delete old |
|
|
94
|
+
| Add cookbook | Template ready | Create file + update SKILL.md |
|
|
95
|
+
| Change SKILL.md | Diff ready | Show preview + confirm + write |
|
|
96
|
+
| Modify references.md | Links valid | Show preview + confirm + write |
|
|
97
|
+
|
|
98
|
+
### Anti-Patterns
|
|
99
|
+
- โ DON'T modify files without preview
|
|
100
|
+
- โ DON'T skip diff confirmation
|
|
101
|
+
- โ DON'T rename without validating new name
|
|
102
|
+
- โ DON'T offer "full rewrite" without Plan Mode
|
|
103
|
+
- โ DON'T leave skill in broken state (always backup before changes)
|
|
104
|
+
|
|
105
|
+
### REMEMBER AFTER COMPACTION
|
|
106
|
+
- Edit is always: Select โ Show structure โ Ask what โ Read โ Edit โ Preview โ Confirm โ Write
|
|
107
|
+
- Full rewrite means Plan Mode + research + approval
|
|
108
|
+
- Always show diffs before writing
|
|
109
|
+
- Rename requires copying and updating frontmatter
|
|
110
|
+
- New cookbook entries need SKILL.md updated too
|
|
111
|
+
|
|
112
|
+
<!-- COMPACT_SUMMARY_END -->
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
12
116
|
## Workflow
|
|
13
117
|
|
|
14
118
|
### STEP 1: Select skill to edit
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: List all installed skills with their descriptions and status
|
|
3
3
|
argument-hint: (no arguments)
|
|
4
|
+
compact_context:
|
|
5
|
+
priority: medium
|
|
6
|
+
preserve_rules:
|
|
7
|
+
- "ACTIVE COMMAND: /agileflow:skill:list - Shows installed skills inventory"
|
|
8
|
+
- "MUST scan .claude/skills/ directory for all skill subdirectories"
|
|
9
|
+
- "MUST extract name/description from each SKILL.md frontmatter"
|
|
10
|
+
- "MUST count supporting files (cookbook/*, references.md, .mcp.json)"
|
|
11
|
+
- "MUST show MCP status indicator if .mcp.json exists"
|
|
12
|
+
- "MUST offer skill management actions after listing"
|
|
13
|
+
state_fields:
|
|
14
|
+
- skills_found_count
|
|
15
|
+
- has_mcp_skills
|
|
4
16
|
---
|
|
5
17
|
|
|
6
18
|
# /agileflow:skill:list
|
|
@@ -9,6 +21,79 @@ Display all skills installed in `.claude/skills/` with their metadata.
|
|
|
9
21
|
|
|
10
22
|
---
|
|
11
23
|
|
|
24
|
+
<!-- COMPACT_SUMMARY_START -->
|
|
25
|
+
|
|
26
|
+
## ๐จ COMPACT SUMMARY - /agileflow:skill:list IS ACTIVE
|
|
27
|
+
|
|
28
|
+
**CRITICAL**: This command inventories all installed skills and their metadata.
|
|
29
|
+
|
|
30
|
+
### ๐จ RULE #1: Check Directory Exists
|
|
31
|
+
```bash
|
|
32
|
+
ls -la .claude/skills/ 2>/dev/null
|
|
33
|
+
```
|
|
34
|
+
If directory missing or empty, show helpful message to create a skill.
|
|
35
|
+
|
|
36
|
+
### ๐จ RULE #2: Scan Each Skill
|
|
37
|
+
For EACH subdirectory in `.claude/skills/`:
|
|
38
|
+
1. Read SKILL.md frontmatter for `name:` and `description:`
|
|
39
|
+
2. Count supporting files:
|
|
40
|
+
- cookbook/*.md (all files)
|
|
41
|
+
- references.md (if exists)
|
|
42
|
+
- .mcp.json (if exists)
|
|
43
|
+
3. Check for MCP: If `.mcp.json` exists, mark "MCP: โ"
|
|
44
|
+
|
|
45
|
+
### ๐จ RULE #3: Format Output
|
|
46
|
+
Display in clean table format:
|
|
47
|
+
```
|
|
48
|
+
๐ฆ Installed Skills (N total)
|
|
49
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
50
|
+
skill-name Description here MCP: โ
|
|
51
|
+
โโ X files: file1, file2, file3
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### ๐จ RULE #4: Show File Count
|
|
55
|
+
- Total files per skill (SKILL.md + references.md + cookbook/*.md + .mcp.json)
|
|
56
|
+
- List cookbook files by name (only cookbook/, not full path)
|
|
57
|
+
- Note MCP configuration status
|
|
58
|
+
|
|
59
|
+
### ๐จ RULE #5: Offer Actions After Listing
|
|
60
|
+
After showing all skills, ask:
|
|
61
|
+
```
|
|
62
|
+
What would you like to do?
|
|
63
|
+
- Create new skill
|
|
64
|
+
- Edit a skill
|
|
65
|
+
- Delete a skill
|
|
66
|
+
- Test a skill
|
|
67
|
+
- Done
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Critical Output Elements
|
|
71
|
+
| Element | Shows |
|
|
72
|
+
|---------|-------|
|
|
73
|
+
| Total count | "N total" in header |
|
|
74
|
+
| Skill names | From SKILL.md `name:` field |
|
|
75
|
+
| Description | From SKILL.md `description:` field |
|
|
76
|
+
| File count | Total files in skill directory |
|
|
77
|
+
| MCP status | "โ" if .mcp.json exists, nothing otherwise |
|
|
78
|
+
|
|
79
|
+
### Anti-Patterns
|
|
80
|
+
- โ DON'T fail if directory doesn't exist (create helpful message)
|
|
81
|
+
- โ DON'T list hidden files or system files
|
|
82
|
+
- โ DON'T show full file paths (just filenames)
|
|
83
|
+
- โ DON'T try to parse corrupt SKILL.md (skip with warning)
|
|
84
|
+
- โ DON'T forget to offer next actions
|
|
85
|
+
|
|
86
|
+
### REMEMBER AFTER COMPACTION
|
|
87
|
+
- List is inventory-only, no modifications
|
|
88
|
+
- Always scan .claude/skills/ directory
|
|
89
|
+
- Extract metadata from SKILL.md frontmatter
|
|
90
|
+
- Show file counts and MCP status indicators
|
|
91
|
+
- Offer management actions after listing
|
|
92
|
+
|
|
93
|
+
<!-- COMPACT_SUMMARY_END -->
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
12
97
|
## Output Format
|
|
13
98
|
|
|
14
99
|
```
|
|
@@ -153,3 +238,46 @@ If frontmatter can't be parsed:
|
|
|
153
238
|
# List all installed skills
|
|
154
239
|
/agileflow:skill:list
|
|
155
240
|
```
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## POST-LISTING ACTIONS
|
|
245
|
+
|
|
246
|
+
After displaying the skill inventory, offer actions:
|
|
247
|
+
|
|
248
|
+
```xml
|
|
249
|
+
<invoke name="AskUserQuestion">
|
|
250
|
+
<parameter name="questions">[{
|
|
251
|
+
"question": "What would you like to do?",
|
|
252
|
+
"header": "Actions",
|
|
253
|
+
"multiSelect": false,
|
|
254
|
+
"options": [
|
|
255
|
+
{"label": "Create new skill", "description": "Build a research-backed custom skill"},
|
|
256
|
+
{"label": "Test a skill", "description": "Verify a skill works correctly"},
|
|
257
|
+
{"label": "Edit a skill", "description": "Modify an existing skill"},
|
|
258
|
+
{"label": "Done", "description": "Exit"}
|
|
259
|
+
]
|
|
260
|
+
}]</parameter>
|
|
261
|
+
</invoke>
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
**If "Create new skill"**:
|
|
265
|
+
- Run `/agileflow:skill:create`
|
|
266
|
+
|
|
267
|
+
**If "Test a skill"**:
|
|
268
|
+
- Ask which skill to test
|
|
269
|
+
- Run `/agileflow:skill:test SKILL=<selected>`
|
|
270
|
+
|
|
271
|
+
**If "Edit a skill"**:
|
|
272
|
+
- Ask which skill to edit
|
|
273
|
+
- Run `/agileflow:skill:edit SKILL=<selected>`
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## Related Commands
|
|
278
|
+
|
|
279
|
+
- `/agileflow:skill:create` - Build new research-backed skill
|
|
280
|
+
- `/agileflow:skill:test` - Test a skill with sample inputs
|
|
281
|
+
- `/agileflow:skill:edit` - Modify an existing skill
|
|
282
|
+
- `/agileflow:skill:delete` - Remove a skill
|
|
283
|
+
- `/agileflow:skill:upgrade` - Update skill with new patterns
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Verify a skill works correctly by testing its activation and functionality
|
|
3
3
|
argument-hint: [SKILL_NAME] (optional)
|
|
4
|
+
compact_context:
|
|
5
|
+
priority: medium
|
|
6
|
+
preserve_rules:
|
|
7
|
+
- "ACTIVE COMMAND: /agileflow:skill:test - Validates skill structure and functionality"
|
|
8
|
+
- "MUST list available skills if SKILL_NAME not provided"
|
|
9
|
+
- "MUST run structure validation checks (file existence, frontmatter, sizes)"
|
|
10
|
+
- "MUST run content validation checks (section presence, file references)"
|
|
11
|
+
- "MUST offer optional activation test with sample prompts"
|
|
12
|
+
- "MUST generate test report with pass/fail/warning indicators"
|
|
13
|
+
- "MUST suggest fixes for validation failures"
|
|
14
|
+
state_fields:
|
|
15
|
+
- selected_skill
|
|
16
|
+
- validation_results
|
|
17
|
+
- test_report_generated
|
|
4
18
|
---
|
|
5
19
|
|
|
6
20
|
# /agileflow:skill:test
|
|
@@ -9,6 +23,127 @@ Test a skill to verify it activates correctly and produces expected results.
|
|
|
9
23
|
|
|
10
24
|
---
|
|
11
25
|
|
|
26
|
+
<!-- COMPACT_SUMMARY_START -->
|
|
27
|
+
|
|
28
|
+
## ๐จ COMPACT SUMMARY - /agileflow:skill:test IS ACTIVE
|
|
29
|
+
|
|
30
|
+
**CRITICAL**: This command validates skills through structure, content, and optional activation testing.
|
|
31
|
+
|
|
32
|
+
### ๐จ RULE #1: Select Skill
|
|
33
|
+
If SKILL_NAME not provided:
|
|
34
|
+
```bash
|
|
35
|
+
ls -d .claude/skills/*/ | xargs -I {} basename {}
|
|
36
|
+
```
|
|
37
|
+
Show options and ask user which to test.
|
|
38
|
+
|
|
39
|
+
### ๐จ RULE #2: Run Structure Validation
|
|
40
|
+
Check these in order:
|
|
41
|
+
```
|
|
42
|
+
โ
SKILL.md exists (file present)
|
|
43
|
+
โ
Frontmatter has name and description
|
|
44
|
+
โ
references.md exists
|
|
45
|
+
โ ๏ธ cookbook/ directory (ok if missing for simple skills)
|
|
46
|
+
โ ๏ธ .mcp.json (ok if MCP not configured)
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### ๐จ RULE #3: Run Content Validation
|
|
50
|
+
Check these in order:
|
|
51
|
+
```
|
|
52
|
+
โ
"When to Use" section present
|
|
53
|
+
โ
Description under 1024 characters
|
|
54
|
+
โ
SKILL.md under 500 lines
|
|
55
|
+
โ
All cookbook files referenced in SKILL.md actually exist
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### ๐จ RULE #4: Show Validation Results
|
|
59
|
+
Display in report format:
|
|
60
|
+
```
|
|
61
|
+
๐งช Testing: skill-name
|
|
62
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
63
|
+
Structure: โ
PASS (5/5 checks)
|
|
64
|
+
Content: โ
PASS (4/4 checks)
|
|
65
|
+
MCP Config: โ ๏ธ NOT CONFIGURED
|
|
66
|
+
|
|
67
|
+
Overall: โ
SKILL IS FUNCTIONAL
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### ๐จ RULE #5: Offer Activation Test (Optional)
|
|
71
|
+
Ask after structure/content validation:
|
|
72
|
+
```
|
|
73
|
+
Would you like to test skill activation with sample prompts?
|
|
74
|
+
- Yes, test activation (Recommended)
|
|
75
|
+
- Skip activation test
|
|
76
|
+
- View SKILL.md content
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### ๐จ RULE #6: Run Activation Test (if requested)
|
|
80
|
+
1. Extract sample triggers from "When to Use" section
|
|
81
|
+
2. Present 2-3 test prompts to user
|
|
82
|
+
3. Ask user to pick one or provide custom
|
|
83
|
+
4. Execute skill by reading SKILL.md and following instructions
|
|
84
|
+
5. Report activation results
|
|
85
|
+
|
|
86
|
+
### ๐จ RULE #7: Generate Final Report
|
|
87
|
+
Report MUST include:
|
|
88
|
+
- Structure validation pass/fail
|
|
89
|
+
- Content validation pass/fail
|
|
90
|
+
- Activation test pass/fail (if run)
|
|
91
|
+
- Issues found (if any)
|
|
92
|
+
- Recommendations (if any)
|
|
93
|
+
- Overall status: PASS/WARNINGS/FAIL
|
|
94
|
+
|
|
95
|
+
### Validation Checks Table
|
|
96
|
+
| Category | Check | Pass Condition |
|
|
97
|
+
|----------|-------|----------------|
|
|
98
|
+
| Structure | SKILL.md exists | File present |
|
|
99
|
+
| Structure | Frontmatter valid | Has name + description |
|
|
100
|
+
| Structure | references.md | File exists (optional) |
|
|
101
|
+
| Structure | cookbook/ | Directory exists (optional) |
|
|
102
|
+
| Content | When to Use | Section present with triggers |
|
|
103
|
+
| Content | Description | Under 1024 characters |
|
|
104
|
+
| Content | SKILL.md size | Under 500 lines |
|
|
105
|
+
| Content | Cookbook refs | All files exist |
|
|
106
|
+
| MCP | JSON valid | Parses without errors |
|
|
107
|
+
| MCP | mcpServers | Object present |
|
|
108
|
+
|
|
109
|
+
### Test Report Format
|
|
110
|
+
```
|
|
111
|
+
๐งช Skill Test Report: <skill-name>
|
|
112
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
113
|
+
|
|
114
|
+
STRUCTURE VALIDATION
|
|
115
|
+
โ
SKILL.md exists
|
|
116
|
+
โ
Frontmatter valid
|
|
117
|
+
โ ๏ธ references.md exists
|
|
118
|
+
โ
cookbook/ directory
|
|
119
|
+
|
|
120
|
+
CONTENT VALIDATION
|
|
121
|
+
โ
"When to Use" section
|
|
122
|
+
โ
Description < 1024 chars (456)
|
|
123
|
+
โ
SKILL.md < 500 lines (287)
|
|
124
|
+
โ
Cookbook refs valid
|
|
125
|
+
|
|
126
|
+
OVERALL: โ
PASS
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Anti-Patterns
|
|
130
|
+
- โ DON'T skip structure validation (foundation of quality)
|
|
131
|
+
- โ DON'T fail on missing optional files (warn instead)
|
|
132
|
+
- โ DON'T run activation test without user consent
|
|
133
|
+
- โ DON'T generate complex test prompts (keep simple)
|
|
134
|
+
- โ DON'T forget to suggest fixes for failures
|
|
135
|
+
|
|
136
|
+
### REMEMBER AFTER COMPACTION
|
|
137
|
+
- Test has 2-3 phases: Structure โ Content โ [Activation if requested]
|
|
138
|
+
- Always generate full report with pass/fail indicators
|
|
139
|
+
- Activation test is optional (ask first)
|
|
140
|
+
- Warn on optional files missing, fail on required files
|
|
141
|
+
- Suggest fixes for any validation failures
|
|
142
|
+
|
|
143
|
+
<!-- COMPACT_SUMMARY_END -->
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
12
147
|
## Workflow
|
|
13
148
|
|
|
14
149
|
### STEP 1: Select skill to test
|