一键导入
validate-manifest
Validate .claude/manifest.json structure and references. Apply after modifying the manifest to ensure correctness.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate .claude/manifest.json structure and references. Apply after modifying the manifest to ensure correctness.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Google-style docstring conventions for Python code. Apply when writing or reviewing functions, classes, or modules that need documentation.
Python naming conventions for this codebase. Apply when writing or reviewing Python code including functions, classes, variables, and constants.
Python type hint conventions for this codebase. Apply when writing or reviewing Python code that needs type annotations on functions, classes, or variables.
Essential Pythonic idioms and conventions. Apply when writing or reviewing Python code to ensure idiomatic patterns like comprehensions, built-in functions, context managers, and unpacking.
Python code organization conventions for this codebase. Apply when structuring modules, organizing imports, designing file layouts, or moving functions/classes within or between files. Use PROACTIVELY when users request to check code organization, move code, or clean up and reorganize a module.
Refactoring complex functions into smaller, pure helper functions. Apply when function complexity is exceeded or when extracting helper functions during refactoring. If tasked with fixing ruff lint errors related to complexity, ALWAYS trigger this skill.
| name | validate-manifest |
| description | Validate .claude/manifest.json structure and references. Apply after modifying the manifest to ensure correctness. |
| user-invocable | false |
Validates the .claude/manifest.json file for structure, required fields, and dependency references.
Use this skill after modifying the manifest:
depends_on_skills, depends_on_agents)Run the validation script:
uv run .claude/scripts/validate_manifest.py
Exit codes:
0 - Manifest is valid1 - Validation errors found (printed to stderr)| Check | Description |
|---|---|
| JSON syntax | File must be valid JSON |
| Required fields | Each entry type has required fields (see below) |
| Categories | Skill categories must exist in categories object |
| Dependencies | All referenced skills/agents must exist |
| Uniqueness | Names must be unique within each type |
{
"name": "skill-name",
"category": "conventions|assessment|templates|utilities",
"description": "Brief description"
}
{
"name": "agent-name",
"description": "Brief description",
"depends_on_skills": ["skill-name-1", "skill-name-2"]
}
{
"name": "command-name",
"description": "Brief description"
}
Optional command fields: depends_on_skills, depends_on_agents
uv run .claude/scripts/validate_manifest.py
{
"name": "my-new-skill",
"category": "conventions",
"description": "What the skill does"
}
Then validate:
uv run .claude/scripts/validate_manifest.py