Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

review-skill-format复习技能格式

Agent Skill

review-skill-format 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

419

周安装

18

GitHub Stars

12

下载量

147
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:review-skill-format(复习技能格式)
来源仓库:https://github.com/pjt222/development-guides
仓库路径:skills/review-skill-format
安装命令:
npx skills add https://github.com/pjt222/development-guides --skill review-skill-format
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/pjt222/development-guides --skill review-skill-format

简介

review-skill-format 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合围绕仓库状态和代码变更进行整理。

  • 适用于需要同步项目进展、跟踪协作事项或分析代码变更的开发场景。
  • 通过调用可获取仓库元数据、Issue 内容和 PR 详情等信息。
  • 安装前需确认权限范围和维护状态,注意是否会触发网络请求或文件操作。
  • 可通过 npx skills add 命令从指定 GitHub 仓库安装使用。

SKILL.md

Review Skill Format

Validate a SKILL.md file against the agentskills.io open standard. This skill checks YAML frontmatter completeness, required section presence, procedure step format (Expected/On failure blocks), line count limits, and registry synchronization. Use this before merging any new or modified skill.

When to Use

  • A new skill has been authored and needs format validation before merge
  • An existing skill has been modified and needs re-validation
  • Performing a batch audit of all skills in a domain
  • Verifying a skill created by the create-skill meta-skill
  • Reviewing a contributor's skill submission in a pull request

Inputs

  • Required: Path to the SKILL.md file (e.g., skills/setup-vault/SKILL.md)
  • Optional: Strictness level (lenient or strict, default: strict)
  • Optional: Whether to check registry sync (default: yes)

Procedure

Step 1: Verify File Exists and Read Content

Confirm the SKILL.md file exists at the expected path and read its full content.

# Verify file exists
test -f skills/<skill-name>/SKILL.md && echo "EXISTS" || echo "MISSING"

# Count lines
wc -l < skills/<skill-name>/SKILL.md

Expected: File exists and content is readable. Line count is displayed.

On failure: If the file does not exist, check the path for typos. Verify the skill directory exists with ls skills/<skill-name>/. If the directory is missing, the skill has not been created yet — use create-skill first.

Step 2: Check YAML Frontmatter Fields

Parse the YAML frontmatter block (between --- delimiters) and verify all required and recommended fields are present.

Required fields:

  • name — matches directory name (kebab-case)
  • description — under 1024 characters, starts with a verb
  • license — typically MIT
  • allowed-tools — comma-separated or space-separated tool list

Recommended metadata fields:

  • metadata.author — author name
  • metadata.version — semantic version string
  • metadata.domain — one of the domains listed in skills/_registry.yml
  • metadata.complexity — one of: basic, intermediate, advanced
  • metadata.language — primary language or multi
  • metadata.tags — comma-separated, 3-6 tags, includes domain name
# Check required frontmatter fields exist
head -30 skills/<skill-name>/SKILL.md | grep -q '^name:' && echo "name: OK" || echo "name: MISSING"
head -30 skills/<skill-name>/SKILL.md | grep -q '^description:' && echo "description: OK" || echo "description: MISSING"
head -30 skills/<skill-name>/SKILL.md | grep -q '^license:' && echo "license: OK" || echo "license: MISSING"
head -30 skills/<skill-name>/SKILL.md | grep -q '^allowed-tools:' && echo "allowed-tools: OK" || echo "allowed-tools: MISSING"

Expected: All four required fields present. All six metadata fields present. name matches directory name. description is under 1024 characters.

On failure: Report each missing field as BLOCKING. If name does not match directory name, report as BLOCKING with the expected value. If description exceeds 1024 characters, report as SUGGEST with current length.

Step 3: Locale-Specific Validation (Translations Only)

If the frontmatter contains a locale field, the file is a translated SKILL.md. Perform these additional checks. If no locale field is present, skip this step.

  1. Translation frontmatter fields — Verify these five fields are present:

- locale — target locale code (e.g., de, ja, zh-CN, es) - source_locale — origin locale (typically en) - source_commit — commit hash of the English source used for translation - translator — who or what produced the translation - translation_date — ISO 8601 date of translation

  1. Prose language scan — Sample 3-5 body paragraphs (outside code blocks, frontmatter, and headings). Verify the prose is written in the target locale, not English. Ignore: code blocks, inline code, tool names, field names, file paths, and English terms that have no standard translation in the target language.
  2. Code block identity check — Compare code blocks in the translated file against the English source at skills/<skill-name>/SKILL.md. Code blocks must be identical (code is never translated). Flag any code block whose content differs from the English source.
# Check translation frontmatter fields
for field in "locale:" "source_locale:" "source_commit:" "translator:" "translation_date:"; do
  grep -q "^${field}\|^  ${field}" i18n/<locale>/skills/<skill-name>/SKILL.md \
    && echo "$field OK" || echo "$field MISSING"
done

Expected: All five translation fields present. Body paragraphs are in the target locale. Code blocks match the English source exactly.

On failure: Report missing translation fields as BLOCKING. If body paragraphs are in English despite a non-English locale, report as BLOCKING — the file has untranslated prose. If code blocks differ from the English source, report as BLOCKING — code must not be translated or modified.

Step 4: Check Required Sections

Verify all six required sections are present in the skill body (after frontmatter).

Required sections:

  1. ## When to Use
  2. ## Inputs
  3. ## Procedure (with ### Step N: sub-sections)
  4. ## Validation (may also appear as ## Validation Checklist)
  5. ## Common Pitfalls
  6. ## Related Skills
# Check each required section
for section in "## When to Use" "## Inputs" "## Procedure" "## Common Pitfalls" "## Related Skills"; do
  grep -q "$section" skills/<skill-name>/SKILL.md && echo "$section: OK" || echo "$section: MISSING"
done

# Validation section may use either heading
grep -qE "## Validation( Checklist)?" skills/<skill-name>/SKILL.md && echo "Validation: OK" || echo "Validation: MISSING"

Expected: All six sections present. Procedure section contains at least one ### Step sub-heading.

On failure: Report each missing section as BLOCKING. A skill without all six sections is non-compliant with the agentskills.io standard. Provide the section template from the create-skill meta-skill.

Step 5: Check Procedure Step Format

Verify each procedure step follows the required pattern: numbered step title, context, code block(s), and Expected:/On failure: blocks.

For each ### Step N: sub-section, check:

  1. The step has a descriptive title (not just "Step N")
  2. At least one code block or concrete instruction exists
  3. An **Expected:** block is present
  4. An **On failure:** block is present

Expected: Every procedure step has both Expected: and On failure: blocks. Steps contain concrete code or instructions, not vague descriptions.

On failure: Report each step missing Expected/On failure as BLOCKING. If steps contain only vague instructions ("configure the system appropriately"), report as SUGGEST with a note to add concrete commands.

Step 6: Verify Line Count

Check that the SKILL.md is within the 500-line limit.

lines=$(wc -l < skills/<skill-name>/SKILL.md)
[ "$lines" -le 500 ] && echo "OK ($lines lines)" || echo "OVER LIMIT ($lines lines > 500)"

Expected: Line count is 500 or fewer.

On failure: If over 500 lines, report as BLOCKING. Recommend using the refactor-skill-structure skill to extract code blocks >15 lines to references/EXAMPLES.md. Typical reduction: 20-40% by extracting extended examples.

Step 7: Check Registry Synchronization

Verify the skill is listed in skills/_registry.yml under the correct domain with matching metadata.

Check:

  1. Skill id exists under the correct domain section
  2. path matches <skill-name>/SKILL.md
  3. complexity matches frontmatter
  4. description is present (may be abbreviated)
  5. total_skills count at the top of the registry matches actual skill count
# Check if skill is in registry
grep -q "id: <skill-name>" skills/_registry.yml && echo "Registry: FOUND" || echo "Registry: NOT FOUND"

# Check path
grep -A1 "id: <skill-name>" skills/_registry.yml | grep -q "path: <skill-name>/SKILL.md" && echo "Path: OK" || echo "Path: MISMATCH"

Expected: Skill is listed in the registry under the correct domain with matching path and metadata. Total count is accurate.

On failure: If not found in registry, report as BLOCKING. Provide the registry entry template:

- id: skill-name
  path: skill-name/SKILL.md
  complexity: intermediate
  language: multi
  description: One-line description

Validation

  • SKILL.md file exists at the expected path
  • YAML frontmatter parses without errors
  • All four required frontmatter fields present (name, description, license, allowed-tools)
  • All six metadata fields present (author, version, domain, complexity, language, tags)
  • name field matches directory name
  • description is under 1024 characters
  • All six required sections present (When to Use, Inputs, Procedure, Validation, Common Pitfalls, Related Skills)
  • Every procedure step has Expected: and On failure: blocks
  • Line count is 500 or fewer
  • Skill is listed in _registry.yml with correct domain, path, and metadata
  • total_skills count in registry is accurate
  • (Translations only) All five translation frontmatter fields present (locale, source_locale, source_commit, translator, translation_date)
  • (Translations only) Body paragraphs are in the target locale, not English
  • (Translations only) Code blocks are identical to the English source

Common Pitfalls

  • Checking frontmatter with regex only: YAML parsing can be subtle. A description: > multiline block looks different from description: "inline". Check both patterns when searching for fields.
  • Missing the Validation section variant: Some skills use ## Validation Checklist instead of ## Validation. Both are acceptable; check for either heading.
  • Forgetting registry total count: After adding a skill to the registry, the total_skills number at the top must also be incremented. This is a common miss in PRs.
  • Name vs. title confusion: The name field must be kebab-case matching the directory name. The # Title heading is human-readable and can differ (e.g., name: review-skill-format, title: # Review Skill Format).
  • Lenient mode skipping blockers: Even in lenient mode, missing required sections and frontmatter fields should still be flagged. Lenient mode only relaxes style and metadata recommendations.
  • Translated skills with English prose: A file with non-English frontmatter, non-English headings, and English body paragraphs passes all structural checks. Always verify body text language for translated skills — the locale field in frontmatter signals that prose must be in the target language, not English.

Related Skills

  • create-skill — The canonical format specification; use as the authoritative reference for what a valid SKILL.md looks like
  • update-skill-content — After format validation passes, use this to improve content quality
  • refactor-skill-structure — When a skill fails the line count check, use this to extract and reorganize
  • review-pull-request — When reviewing a PR that adds or modifies skills, combine PR review with format validation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.97%
按下载量换算54

Claude

29.14%
按下载量换算43

Cursor

19.98%
按下载量换算29

Gemini CLI

9.02%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills