一键导入
skill-enhancer
Use when you need to audit, fix, or improve an existing agent skill to meet Gold Standard compliance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when you need to audit, fix, or improve an existing agent skill to meet Gold Standard compliance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when decomposing tasks into parallel sub-tasks or spawning sub-agents. Vendor-agnostic core; load a per-vendor reference for concrete tool names, directory conventions, and invocation syntax.
Use when performing Verification-Driven Development with adversarial approach. Actively challenge assumptions and find weak spots.
Use when performing VDD adversarial review with an opt-in sarcastic, provocative delivery style — a stylistic skin over vdd-adversarial mechanics (exhaustive reporting + objective bar).
Performance critic in adversarial style (optional sarcastic skin). Part of VDD Multi-Adversarial pipeline.
Use when performing OWASP security critique in adversarial style (optional sarcastic skin). Part of VDD Multi-Adversarial pipeline.
Use when performing security vulnerability assessment (OWASP, secrets, dependencies, IaC, LLM, API, MCP/agentic) or when "thinking like a hacker" to find exploits.
| name | skill-enhancer |
| description | Use when you need to audit, fix, or improve an existing agent skill to meet Gold Standard compliance. |
| tier | 2 |
| version | 1.3 |
Purpose: This meta-skill analyzes other skills for compliance with TDD, CSO, and Script-First standards, guiding the agent through upgrades.
STOP and READ THIS if you are thinking:
analyze_gaps.py.Execution Mode, Script Contract, Safety Boundaries, and Validation Evidence sections.skill-validator (e.g., curl | bash, secrets, weak permissions).references/refactoring_patterns.md.hybridpython3 scripts/analyze_gaps.py <target-skill-path> [--json]analyze_gaps.py output.python3 scripts/analyze_gaps.py <target-skill-path>.MUST/ALWAYS + explanation why — if the explanation is missing, add itMUST without rationale, add the rationale; if weak "should"/"could", strengthen to imperative + reasonscript/.Execution Mode section exists and is explicit (prompt-first, script-first, or hybrid).scripts/, verify Script Contract section defines command, inputs, outputs, and exit behavior.Safety Boundaries section defines scope limits and non-default destructive behavior.Validation Evidence section defines objective verification outputs.If transcripts or logs from real skill usage exist, analyze them for patterns:
scripts/.references/.If no usage logs are available, skip this phase — it will become relevant after the skill is deployed.
examples/, assets/, or references/.scripts/.MUST + why for safety, explain-why + imperative for behavioral.SKILL.md to insert the new sections.
replace_file_content or multi_replace_file_content.write_to_file to overwrite existing content (Data Loss Risk).references/refactoring_patterns.md for the style guide.analyze_gaps.py. Expect output "No Gaps Found".skill-validator JSON output.references/security_refactoring.md to find safe alternatives for flagged patterns.curl | bash with download -> inspect -> execute.references/vdd_checklist.md.evals/evals.json or documented inline. If none exist, create them based on the skill's intended use cases.| DO THIS | DO NOT DO THIS |
|---|---|
| Specific Red Flags: "Don't skip tests" | Generic Red Flags: "Don't be lazy" |
| Trigger-Based Desc: "Use when debugging race conditions" | Summary Desc: "Guide for debugging" |
| Strong Verbs: "MUST", "EXECUTE", "VERIFY" | Weak Verbs: "should", "consider", "try" |
| Agent Excuse | Reality / Counter-Argument |
|---|---|
| "The skill is too simple for Red Flags" | Simple skills are skipped most often. Explicit rules prevent this. |
| "I don't have time to write examples" | Examples save time by preventing hallucinations later. |
| "It's easier to write logic in text" | Text logic is unreliable. Scripts are deterministic. |
[!TIP] See
examples/usage_example.mdfor a complete Before & After walkthrough of upgrading a legacy skill.
Input:
python3 scripts/analyze_gaps.py ../target-skill
Output:
⚠️ Gaps Detected...
Recommendation: Run 'Execute Improvement Plan'...
scripts/analyze_gaps.py: The gap detection tool.references/writing_skills_best_practices_anthropic.md: The authoritative "Gold Standard" guide used to verify compliance.references/testing-skills-with-subagents.md: Methodology for verifying fixes using TDD (Red-Green-Refactor).../skill-creator/agents/grader.md: Prompt for evaluating skill execution results against expectations.../skill-creator/agents/comparator.md: Prompt for blind A/B comparison of two skill outputs.../skill-creator/agents/analyzer.md: Prompt for post-hoc analysis — identifies why one skill version outperforms another.