一键导入
skill-test
Auto-test a skill by generating scenarios and running them. Args: [skill-name]. Use when user says 'skill-test', 'test skill', 'validate skill'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Auto-test a skill by generating scenarios and running them. Args: [skill-name]. Use when user says 'skill-test', 'test skill', 'validate skill'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Convert DOCX / PPTX / XLSX / HTML / EPUB to markdown via Microsoft markitdown. Triggers: markitdown, convert document, extract docx, extract pptx, extract xlsx, .docx file, .pptx file, .xlsx file.
Session-scoped precision mode — read-before-write, verify-before-claim, never-hallucinate-APIs. Use when stakes are high (security, payment, migration). Triggers: 'zero defect', 'precision mode', 'high stakes', 'be careful'.
Read, analyze, and generate Excel/CSV files. Triggers: excel, spreadsheet, csv, export data, create table, .xlsx, .csv.
Read, extract, and analyze PDF documents. Triggers: pdf, read pdf, extract from pdf, analyze pdf, .pdf file path.
Monitor and analyze Sentry errors via MCP. Triggers: sentry, sentry issues, check errors, error tracking, show crashes.
基于 SOC 职业分类
| name | skill-test |
| description | Auto-test a skill by generating scenarios and running them. Args: [skill-name]. Use when user says 'skill-test', 'test skill', 'validate skill'. |
| effort | slow |
| context | fork |
Generates test scenarios for a skill and validates them through subagents.
Read the skill name from args. Search for SKILL.md in:
agents/skills/{name}/SKILL.md (core skills).claude/skills/{name}/SKILL.md (installed skills)If not found — list available skills and stop with error.
Read the SKILL.md file. Extract:
Create 3-5 test scenarios covering:
Each scenario must have:
For each scenario, launch a subagent:
Agent(prompt: "You are testing the /{name} skill.
Scenario: {scenario.name}
Setup: {scenario.setup}
Input: {scenario.input}
Expected: {scenario.expected}
Read the skill at agents/skills/{name}/SKILL.md.
Simulate running this skill mentally (do NOT actually execute MCP tools or CLI).
Analyze: would the skill's algorithm produce the expected behavior given this input?
Check for: missing error handling, unclear instructions, logic gaps.
Report:
- PASS: skill handles this correctly
- FAIL: describe what would go wrong and why
- WARN: handles it but with potential issues",
subagent_type: "general-purpose")
Show a summary table:
| # | Scenario | Result | Details |
|---|---|---|---|
| 1 | Happy path | PASS | ... |
| 2 | Error handling | FAIL | Missing check for... |
Overall verdict:
/plan fix-{name}-skill."agents/skills/) should be edited at root, not in .claude/skills/ (generated copy)./dispatch with real task scenarios instead.