Agent审查
- 作者仓库星标 3,922
- 作者更新于 实时读取
- 作者仓库 claude-scholar
- 领域
- 写作
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 92 / 100 · 已通过审计
- 作者 / 版本 / 许可
- @Galaxy-Dawn · v0.1.0 · 未声明 license
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部 API Key
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 底层运行要求
- 无特殊要求
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 网络行为
- 仅限本地
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: skill-quality-reviewer
description: This skill should be used when the user asks to "analyze skill quality", "evaluate this skill"…
category: 写作
runtime: 无特殊运行时
---
# skill-quality-reviewer 输出预览
## PART A: 任务判断
- 适用问题:文章、文案、发言稿、润色或结构化表达。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“Overview / When to Use This Skill / Review Modes”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于文章、文案、发言稿、润色或结构化表达,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“Overview / When to Use This Skill / Review Modes”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、执行终端命令、主要在本地完成、通常不需要额外 API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件、执行终端命令;主要在本地完成;通常不需要额外 API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文没有稳定的斜杠命令要求。安装验证后通常全局生效,直接在对话里点名这个 Skill 并描述任务即可。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件、执行终端命令。
先用一个小任务确认它会围绕“Overview / When to Use This Skill / Review Modes”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: skill-quality-reviewer
description: This skill should be used when the user asks to "analyze skill quality", "evaluate this skill"…
category: 写作
source: Galaxy-Dawn/claude-scholar
---
# skill-quality-reviewer
## 什么时候使用
- 用于审阅代码、文档或方案并给出可执行反馈 适合处理文章、文案、润色、翻译、总结和结构化表达,核心价值是把输入、判断、执行、验证和交付边界固定下来,避免 Agent 泛泛回答。 把任务拆成可执行、可检查、可继续迭代的步骤;通常不需要额外…
- 面向文章、文案、发言稿、润色或结构化表达,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「Overview / When to Use This Skill / Review Modes」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件、执行终端命令;主要在本地完成;通常不需要额外 API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "skill-quality-reviewer" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> Overview / When to Use This Skill / Review Modes
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> 无特殊运行时 | 读取文件、写入/修改文件、执行终端命令 | 主要在本地完成
安全层 -> 通常不需要额外 API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} Skill Quality Reviewer
Overview
A meta-skill for evaluating the quality of Claude Skills. Perform comprehensive analysis across four key dimensions—description quality (25%), content organization (30%), writing style (20%), and structural integrity (25%)—to generate weighted scores, letter grades, and actionable improvement plans.
Use this skill to validate skills before sharing, identify improvement opportunities, or ensure compliance with skill development best practices.
When to Use This Skill
Invoke this skill when:
- Analyzing a skill's quality before distribution
- Reviewing skill documentation for best practices
- Evaluating adherence to skill development standards
- Generating improvement recommendations for existing skills
- Validating skill structure and completeness
Trigger phrases:
- "Analyze skill quality for ./my-skill"
- "Evaluate this skill: ~/.claude/skills/api-helper"
- "Review skill quality of git-workflow"
- "Check my skill for best practices"
- "Generate quality report for this skill"
Review Modes
Use one of three review modes depending on the task:
- score-only
- fast first-pass grading for one skill.
- remediation-backlog
- convert findings into P0 / P1 / P2 fix queues with concrete evidence.
- batch-portfolio
- review multiple skills together, cluster repeated issues, and produce a prioritized shortlist.
Prefer remediation-backlog when the user asks what to fix next.
Prefer batch-portfolio when auditing many skills at once.
Analysis Workflow
Step 1: Load the Skill
Accept skill path as input. Verify the path exists and contains SKILL.md. Read the complete skill directory structure.
# Example invocation
ls -la ~/.claude/skills/target-skill/
Validate:
- SKILL.md exists
- Directory is readable
- Path points to a valid skill
Step 2: Parse YAML Frontmatter
Extract and validate the YAML frontmatter from SKILL.md.
Required fields:
name- Skill identifierdescription- Trigger description with phrases
Check for:
- Valid YAML syntax
- No prohibited fields
- Proper formatting
Step 3: Evaluate Description Quality (25%)
Assess the quality and effectiveness of the frontmatter description.
Scoring breakdown:
| Criterion | Points | Evaluation |
|---|---|---|
| Trigger phrases clarity | 25 | 3-5 specific user phrases present |
| Third-person format | 25 | Uses "This skill should be used when..." |
| Description length | 25 | 100-300 characters optimal |
| Specific scenarios | 25 | Concrete use cases, not vague |
Red flags:
- Vague triggers like "helps with tasks"
- Second-person descriptions ("Use this when you...")
- Missing or generic descriptions
- No actionable trigger phrases
Reference: references/examples-good.md for exemplary descriptions
Step 4: Evaluate Content Organization (30%)
Assess adherence to progressive disclosure principles.
Scoring breakdown:
| Criterion | Points | Evaluation |
|---|---|---|
| Progressive disclosure | 30 | SKILL.md lean, details in references/ |
| SKILL.md length | 25 | Under 5,000 words (1,500-2,000 ideal) |
| References/ usage | 25 | Detailed content properly moved |
| Logical organization | 20 | Clear sections, good flow |
Check:
- SKILL.md body is concise and focused
- Detailed content moved to
references/ - Examples and templates in appropriate directories
- No information duplication across files
Reference: references/scoring-criteria.md for detailed rubrics
Step 5: Evaluate Writing Style (20%)
Verify adherence to skill writing conventions.
Scoring breakdown:
| Criterion | Points | Evaluation |
|---|---|---|
| Imperative form | 40 | Verb-first instructions throughout |
| No second person in body | 30 | Avoids conversational second person in the main workflow body |
| Objective language | 30 | Factual, instructional tone |
Check for:
- Imperative verbs: "Create the file", "Validate input", "Check structure"
- Absence of: "You should", "You can", "You need to"
- Objective, instructional language
- Consistent style throughout
Good examples:
Create the skill directory structure.
Validate the YAML frontmatter.
Check for required fields.
Bad examples:
You should create the directory.
You need to validate the frontmatter.
Check if the fields are there.
Step 6: Evaluate Structural Integrity (25%)
Verify the skill's physical structure and completeness.
Scoring breakdown:
| Criterion | Points | Evaluation |
|---|---|---|
| YAML frontmatter | 30 | All required fields present |
| Directory structure | 30 | Proper organization |
| Resource references | 40 | All referenced files exist |
Validate:
- YAML frontmatter contains
nameanddescription - Directory structure follows conventions:
skill-name/ ├── SKILL.md ├── references/ (optional) ├── examples/ (optional) └── scripts/ (optional) - All files referenced in SKILL.md actually exist
- Examples are complete and working
- Scripts are executable
Step 7: Calculate Weighted Score
Compute the overall quality score using weighted dimensions.
Formula:
Overall Score = (Description × 0.25) + (Organization × 0.30) +
(Style × 0.20) + (Structure × 0.25)
Letter grade mapping:
| Score Range | Grade | Meaning |
|---|---|---|
| 97-100 | A+ | Exemplary |
| 93-96 | A | Excellent |
| 90-92 | A- | Very Good |
| 87-89 | B+ | Good |
| 83-86 | B | Above Average |
| 80-82 | B- | Solid |
| 77-79 | C+ | Acceptable |
| 73-76 | C | Satisfactory |
| 70-72 | C- | Minimal Acceptable |
| 67-69 | D+ | Below Standard |
| 63-66 | D | Poor |
| 60-62 | D- | Very Poor |
| 0-59 | F | Fail |
Step 8: Generate Reports
Create two output documents in the current working directory.
1. Quality Report (quality-report-{skill-name}.md)
- Executive summary with overall score and grade
- Dimension-by-dimension breakdown
- Strengths and weaknesses for each dimension
- Grade breakdown table
- Link to improvement plan
2. Improvement Plan (improvement-plan-{skill-name}.md)
- Prioritized improvement list (High/Medium/Low)
- Specific file locations and line numbers for issues
- Current vs. suggested content comparisons
- Estimated impact on scores
- Time estimates for fixes
- Expected score improvement
Output Templates
Quality Report Template
# Skill Quality Report: {skill-name}
## Executive Summary
- **Overall Score**: X/100 ({Grade})
- **Evaluated**: {Date}
- **Skill Path**: {path}
## Dimension Scores
### 1. Description Quality (25%)
**Score**: X/100
**Strengths**:
- ✅ {specific strength}
**Weaknesses**:
- ❌ {specific weakness}
**Recommendations**:
1. {actionable recommendation}
[Repeat for other dimensions...]
## Grade Breakdown
| Dimension | Score | Weight | Contribution |
|-----------|-------|--------|--------------|
| Description | X/100 | 25% | X.X |
| Organization | X/100 | 30% | X.X |
| Style | X/100 | 20% | X.X |
| Structure | X/100 | 25% | X.X |
| **Overall** | **X/100** | **100%** | **X.X ({Grade})** |
## Next Steps
See `improvement-plan-{skill-name}.md` for detailed improvement suggestions.
Improvement Plan Template
# Skill Improvement Plan: {skill-name}
## Priority Summary
- **High Priority**: {count} items
- **Medium Priority**: {count} items
- **Low Priority**: {count} items
## High Priority Improvements
### 1. [Issue Title]
**File**: SKILL.md:line:line
**Dimension**: Description Quality
**Impact**: +X points
**Current**:
```yaml
{current content}
Suggested:
{suggested content}
Reason: {why this improves quality}
[Continue with all issues...]
Quick Wins (Easy Fixes)
- {quick fix}
- {quick fix}
Estimated Time to Complete
- High Priority: X hours
- Medium Priority: X hours
- Low Priority: X hours
- Total: X hours
Expected Score Improvement
- Current: X/100 ({Grade})
- After High Priority: X/100 ({Grade})
- After All: X/100 ({Grade})
## Additional Resources
### Reference Files
For detailed evaluation criteria and examples, consult:
- **`references/scoring-criteria.md`** - Comprehensive scoring rubrics for each dimension
- **`references/examples-good.md`** - Exemplary skills demonstrating best practices
- **`references/examples-bad.md`** - Common anti-patterns to avoid
### Scripts
- **`scripts/extract-yaml.sh`** - Utility for extracting YAML frontmatter from SKILL.md
- **`scripts/skill-audit.py`** - Lightweight integrity audit for missing references, word count, and sibling-path checks
### Related Skills
- **`skill-development`** - Comprehensive guide for creating skills
- **`code-review-excellence`** - Best practices for code review
## Best Practices
### When Analyzing Skills
1. **Be objective and specific** - Base scores on observable criteria, not opinions
2. **Provide actionable feedback** - Each recommendation should be concrete and implementable
3. **Include examples** - Show current vs. suggested content for clarity
4. **Estimate impact** - Help users understand which changes matter most
5. **Be constructive** - Frame feedback as opportunities for improvement
### Common Quality Issues
**Description Quality:**
- Vague or generic trigger phrases
- Second-person descriptions
- Missing concrete use cases
**Content Organization:**
- SKILL.md too long (>5,000 words)
- Detailed content not moved to references/
- Poor information hierarchy
**Writing Style:**
- Second-person language ("you", "your")
- Mixed imperative and descriptive styles
- Subjective or conversational tone
**Structural Integrity:**
- Missing required YAML fields
- Referenced files don't exist
- Incomplete examples or broken scripts
### Grade Benchmarks
**A grade (90-100)**: Exemplary skills serving as templates for others
- All dimensions score 85+
- Clear, specific descriptions
- Excellent progressive disclosure
- Consistent imperative style
- Complete, well-organized structure
**B grade (80-89)**: High-quality skills with minor improvements needed
- Most dimensions score 75+
- Good descriptions and organization
- Generally follows best practices
- May have minor style inconsistencies
**C grade (70-79)**: Acceptable skills requiring moderate improvements
- Key areas meet minimum standards
- Some weaknesses in organization or style
- Functional but not exemplary
**D/F grade (below 70)**: Skills needing significant work
- Multiple dimensions below 70
- Major structural or style issues
- Requires comprehensive revision
## Usage Examples
**Example 1: Analyze a local skill**
User: "Analyze skill quality for ~/.claude/skills/git-workflow"
[Claude executes the 8-step workflow and generates:]
- quality-report-git-workflow.md
- improvement-plan-git-workflow.md
**Example 2: Review before sharing**
User: "Review my new skill before I publish it"
[Claude analyzes the skill and provides:]
- Detailed quality assessment
- Specific improvement recommendations
- Expected score after implementing fixes
**Example 3: Quality check for existing skill**
User: "Check skill quality of api-helper"
[Claude evaluates and reports:]
- Current grade and score
- Top improvement opportunities
- Quick wins for easy score gains
**Example 4: Batch portfolio review**
User: "Review all skills in ~/.claude/skills and tell me what to fix first"
[Claude evaluates and reports:]
- portfolio matrix
- grouped issue clusters
- shortlist for second-pass remediation
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核