用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill normalize命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | normalize |
| description | Validate files against prompt reference guidelines Use when this capability is needed. |
| metadata | {"author":"e-stpierre"} |
Validate that prompt files and plugin READMEs conform to the exact structure defined in the template files. Ensures all prompt files exactly match the structure, section names, and content requirements defined in their respective templates.
Templates used for validation:
docs/templates/agent-template.md for agentsplugins/skill-builder/skills/create-skill/references/action-skill-template.md for skillsdocs/templates/readme-template.md for plugin READMEsAll templates use Mustache/Handlebars-style placeholders ({{placeholder_name}}) with HTML comment instructions. See CLAUDE.md section "Prompt Template Convention" for complete details.
[--autofix] (optional): Automatically modify files to make them compliant with the templates. Without this flag, only reports issues.[paths...] (optional): One or more paths to files or directories to validate. If omitted, validates all prompt files and READMEs in the repository.Arguments: $ARGUMENTS
--autofix flag is providedDetermine Files to Validate
If paths are provided via $ARGUMENTS:
.md files withinIf no paths provided, use a two-pass discovery approach for reliability:
Pass 1: Gather all markdown files using broad patterns
plugins/**/*.md - All markdown files in plugins.claude/skills/**/SKILL.md - Repository-level skillsPass 2: Filter and classify discovered files
CHANGELOG.md, CLAUDE.example.md, and similarVerification: After discovery, report the total count of files found. If zero files are found when no arguments provided, warn that something may be wrong with the search.
Classify Each File and Load Template
Determine the file type by checking if the file path contains these directory patterns:
| Path Contains | Type | Template to Read |
|---|---|---|
/agents/ or agents | Agent | docs/templates/agent-template.md |
/skills/ or skills | Skill | plugins/skill-builder/skills/create-skill/references/action-skill-template.md |
/hooks/ or hooks | Hook | (no template - skip validation) |
Filename is README.md | README | docs/templates/readme-template.md |
Classification rules:
/agents/ not just agent)## Validation Results
### File Discovery
- Files found: 35
- Agents: 2
- Skills: 31
- READMEs: 2
- Skipped (non-prompt): 3 (CHANGELOG.md, CLAUDE.example.md, etc.)
### path/to/skill/SKILL.md (Skill)
Template: plugins/skill-builder/skills/create-skill/references/action-skill-template.md
**Frontmatter:**
- [PASS] All required fields present
- [PASS] name is kebab-case
**Structure:**
- [FAIL] Missing required section: "Output Guidance"
Suggestion: Add section after "Instructions" section
- [FAIL] Section name mismatch: "## arguments" should be "## Arguments"
**Content:**
- [PASS] Instructions section uses numbered list
- [WARN] Description is 105 characters (recommended: under 100)
### plugins/my-plugin/README.md (README)
Template: docs/templates/readme-template.md
**Structure:**
- [PASS] All required sections present
- [WARN] "Agents" section present but plugin has no agents/ directory
## Summary
- Files checked: 32
- Passing: 29
- With issues: 3
--autofix)## Autofix Results
### File Discovery
- Files found: 35
- Agents: 2, Skills: 31, READMEs: 2
- Skipped: 3
### path/to/skill/SKILL.md (Skill)
Template: plugins/skill-builder/skills/create-skill/references/action-skill-template.md
- [FIXED] Added missing section: "Output Guidance"
- [FIXED] Renamed section: "## arguments" -> "## Arguments"
- [INFO] Preserved all existing content
## Summary
- Files checked: 35
- Files modified: 2
- Issues auto-fixed: 4
- Files now passing: 34
If all files pass validation:
## Validation Results
### File Discovery
- Files found: 35
- Agents: 2, Skills: 31, READMEs: 2
- Skipped: 3
All 35 files pass validation - 100% compliant with templates.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
Parse Template Structure
Read the template file and extract:
--- block to identify required fields## Section Name headingsValidate Frontmatter
For prompt files (agents, skills):
name field uses kebab-casedescription is a one-line description (under 100 characters recommended)For README files:
Validate Section Structure
Compare the file's sections against the template:
## level headings from the fileFor README files, also check:
Validate Section Content
Based on template HTML comments, validate content patterns:
{{placeholders}} are replaced with actual valuesApply Autofix (if --autofix flag is present)
When --autofix is specified:
Frontmatter fixes:
name: Derive from filename (convert to kebab-case)description: Use first paragraph or heading as basisStructure fixes:
<!-- TODO: Fill in this section --> commentsContent fixes:
Autofix principles:
Generate Report
For each file, report:
Summary at end: