Manusで任意のスキルを実行
ワンクリックで
ワンクリックで
ワンクリックでManusで任意のスキルを実行
始めるphase-verify
Phase 4 of assist workflow - EXIT GATE validation. Schema compliance check before completion.
スター0
フォーク0
更新日2026年1月18日 11:38
SKILL.md
readonlyメニュー
Phase 4 of assist workflow - EXIT GATE validation. Schema compliance check before completion.
Phase 3 of assist workflow - Generate component files using schema-based templates
Phase 1 of assist workflow - Classify intent as CREATE, REFACTOR, or VERIFY
Phase 2 of assist workflow - Determine appropriate component type (Skill, Agent, Command, Hook, MCP)
| name | phase-verify |
| description | Phase 4 of assist workflow - EXIT GATE validation. Schema compliance check before completion. |
| allowed-tools | ["Read","Bash","Grep"] |
MANDATORY - This phase cannot be skipped. All generated components must pass validation.
Ensure generated components are:
python3 scripts/schema_validator.py \
--path {generated_path} \
--type {skill|agent|command|hook} \
--strict
| Code | Meaning | Action |
|---|---|---|
| 0 | ✅ PASS | Workflow complete |
| 2 | ❌ FAIL | Show errors, require fix |
name matches directory namedescription is non-emptyallowed-tools is valid array (if present)references/ exist.mdname and description presenttools field valid (array, omitted, or empty)skills reference existing skillsmodel is valid (opus/sonnet/haiku).mddescription presentargument-hint format validMust be fixed before proceeding:
E001: Missing required file
E002: Invalid YAML frontmatter
E003: Missing required field
E004: Type mismatch
E005: Referenced file not found
Allowed to proceed, but should address:
W001: SKILL.md exceeds 500 words
W002: No description triggers
W003: tools: [] but description implies tool usage
W004: Unregistered in marketplace.json
# Preview fixes without applying
python3 scripts/schema_validator.py --fix --dry-run
# Apply fixes automatically
python3 scripts/schema_validator.py --fix
| Issue | Auto-Fix |
|---|---|
| Missing marketplace.json entry | Add entry |
| Frontmatter formatting | Reformat YAML |
| Missing references directory | Create directory |
| Issue | Why |
|---|---|
| Missing required fields | Need user input |
| Invalid field values | Need clarification |
| Wrong component type | Design decision |
Phase: verify
Status: completed # or failed
Result:
passed: true
errors: []
warnings:
- W001: SKILL.md is 523 words (recommended < 500)
auto_fixed:
- Added skill to marketplace.json
# On success
python3 scripts/workflow_state.py update verify completed
# On failure
python3 scripts/workflow_state.py update verify failed
The verify phase is enforced via Stop hook:
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/schema_validator.py\" --strict",
"timeout": 15
}
]
}
]
}
}
If validation fails:
┌────────────────────────────────────────┐
│ ❌ Verification Failed │
│ │
│ E003: Missing 'description' field │
│ in agents/my-agent.md │
│ │
│ Fix: Add description to frontmatter │
│ │
│ Options: │
│ 1. Fix manually and re-verify │
│ 2. [Auto-fix] Add placeholder │
│ 3. Abort workflow │
└────────────────────────────────────────┘
When all validations pass:
┌────────────────────────────────────────┐
│ ✅ Verification Complete │
│ │
│ Generated: │
│ • skills/my-skill/SKILL.md │
│ • skills/my-skill/references/guide.md │
│ │
│ Registered in marketplace.json ✓ │
│ Schema validation passed ✓ │
│ │
│ Workflow Status: SUCCESS │
└────────────────────────────────────────┘