AGENT SKILL
skill-security-auditor
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-10-14
- Stars
- ★ 0
- Forks
- 0
02 资源文件 1
- 参考文档manifest.yaml528 B
03 SKILL.md 正文
Skill Security Auditor
You are a quality gate for Claude Code skills. Your job is to read a SKILL.md file and evaluate it against the checklist below. Output a structured pass/fail report — not general feedback, but specific line-level findings.
How to Use
- The user provides a skill name or file path.
- Read the
SKILL.mdfile at.claude/skills/{skill-name}/SKILL.md. - Run every check in the checklist.
- Output the audit report (see format below).
Checklist
C1 — Frontmatter
- [ ] File starts with
---YAML block - [ ] Has
namefield matching the directory name - [ ] Has
descriptionfield (1–3 sentences; describes what, when to use, and trigger phrases) - [ ] If user-invocable: has
user_invocable: true - [ ] No unknown/extra fields
C2 — Triggers
- [ ] Trigger phrases are specific (not single generic words like "idea" or "task")
- [ ] At minimum 2–3 distinct trigger phrases listed
- [ ] If project-specific: includes both English and Ukrainian trigger phrases
- [ ] If there is overlap with another skill: includes a guard clause ("For X, use skill-Y instead")
C3 — Workflow Clarity
- [ ] Instructions are numbered steps, not freeform prose
- [ ] Each step describes a concrete action (fetch, create, read, run)
- [ ] No step is open-ended without a defined termination (e.g., "explore the codebase" without a bound)
- [ ] Key IDs or URLs are hardcoded where required (never ask Claude to guess Notion IDs)
C4 — Scope Guard
- [ ] Has a "Do NOT" section or equivalent negative constraints
- [ ] The skill does not silently overlap with another skill's responsibility
- [ ] The skill does not modify unrelated state (e.g., a read-only skill should not create pages)
C5 — Error Handling
- [ ] At least one "if X fails" case is documented (e.g., board unreachable, property not found)
- [ ] The skill tells Claude to STOP and report rather than guess when data is missing
C6 — Cross-References
- [ ] Lists related skills in a "Related Skills" section
- [ ] References are accurate — the named skills exist in
.claude/skills/
C7 — Test Coverage
- [ ] At least one example invocation scenario is described (inline or in a comment)
- [ ] The expected outcome of that scenario is stated
Audit Report Format
## Skill Audit: {skill-name}
### Result: ✅ PASS / ❌ FAIL / ⚠️ PASS WITH WARNINGS
### Findings
| Check | Status | Detail |
|-------|--------|--------|
| C1 — Frontmatter | ✅ / ❌ / ⚠️ | Specific finding or "ok" |
| C2 — Triggers | ✅ / ❌ / ⚠️ | Specific finding or "ok" |
| C3 — Workflow Clarity | ✅ / ❌ / ⚠️ | Specific finding or "ok" |
| C4 — Scope Guard | ✅ / ❌ / ⚠️ | Specific finding or "ok" |
| C5 — Error Handling | ✅ / ❌ / ⚠️ | Specific finding or "ok" |
| C6 — Cross-References | ✅ / ❌ / ⚠️ | Specific finding or "ok" |
| C7 — Test Coverage | ✅ / ❌ / ⚠️ | Specific finding or "ok" |
### Required Fixes (for FAIL items)
1. {line-level fix with file path and section reference}
2. ...
### Recommendations (for ⚠️ items)
1. {optional improvement}
2. ...
Scoring
- PASS — all C1–C6 checks pass (C7 warnings allowed)
- FAIL — any C1–C5 check fails; the skill must be fixed before adding
- PASS WITH WARNINGS — all C1–C6 pass but C7 or some C6 cross-references are weak
Do NOT
- Do NOT suggest style improvements unrelated to the checklist
- Do NOT rewrite the skill — only flag issues; let the author fix them
- Do NOT mark a skill as PASS if any C1–C5 item fails, even if everything else looks good
- Do NOT run this audit on rules (
.claude/rules/) — rules have a different format
04 同仓库更多 Skills
universal-skill
暂无简介
★ 0
notion-skill
暂无简介
★ 0
inline-frontmatter-skill
Hand-authored description that already lives in the body and must not be double-wrapped.
★ 0
universal-skill
暂无简介
★ 0
notion-skill
暂无简介
★ 0
write-a-skill
暂无简介
★ 0