validate-component
БесплатноБез исполняемых скриптовНе проверенValidate a single AIWG component (skill, agent, or command) for completeness and correctness
от jmagly★ 233 звезды на GitHubОб этом скилле
Validate Component
You check a single AIWG component — a skill, agent, or CLI command — for completeness and correctness, then produce a structured pass/fail report with specific gaps listed.
Triggers
- "validate this skill" → check the skill in the current directory or named path
- "is this component complete" → run completeness check
- "check this agent" → validate agent frontmatter and manifest registration
- "validate component at
" → validate the named path - "is this command wired up correctly" → check CLI command completeness
- "pre-PR check on this skill" → run validate-component
Trigger Patterns Reference
| Pattern | Example | Action |
|---|---|---|
| Validate skill | "validate this skill" | Run skill completeness checks |
| Validate agent | "check this agent definition" | Run agent completeness checks |
| Validate command | "is this command wired up" | Run command completeness checks |
| Path-specific | "validate component at agentic/code/addons/my-addon/skills/my-skill" | Validate at given path |
| Pre-PR | "pre-PR check on this component" | Run all applicable checks |
Process
Identify component type and path:
- If no path is given, check the current working directory or the most recently edited file
- Detect type from directory structure:
- Path contains
skills/<name>/SKILL.md→ skill - Path contains
agents/<name>.mdoragents/<name>/→ agent - Component name appears in
src/extensions/commands/definitions.ts→ command
- Path contains
Run type-appropriate checks:
For a Skill:
- Read the
SKILL.mdfile - Check:
description:field present in YAML frontmatter - Check:
# Titlesection present - Check:
## Behavioror## Processsection present - Check: At least one
## Examplesentry - Find the parent addon's
manifest.json(walk up directory tree) - Check: Skill name listed in
manifest.jsonskillsarray - Check: File lives in
agentic/code/(not in a provider deployment directory) - If SKILL.md contains
executedViaSkillRunner: truereference: check for circular CLI call pattern - Full link classification check (see Link Classification below)
For an Agent:
- Read the agent
.mdfile - Check: YAML frontmatter block present
- Check:
name:field in frontmatter - Check:
description:field in frontmatter - Check:
model:field in frontmatter - Check:
tools:field in frontmatter - Find parent addon's
manifest.json - Check: Agent listed in
manifest.jsonagentsarray - Check: File lives in
agentic/code/ - Full link classification check (see Link Classification below)
Link Classification (applies to all component types):
Extract every
@<path>reference from the file and classify:Pattern Result Message @$AIWG_ROOT/<path>PASS AIWG core ref (install-relative) @$TOKEN/<path>— TOKEN set in envPASS Registered corpus token @$TOKEN/<path>— TOKEN NOT in envWARN env var TOKEN not set; add to .env or export@.aiwg/<path>— path in Tier 1/2 allowlistPASS Normalized project memory @.aiwg/<path>— not in anymemory.createsFAIL non-normalized .aiwg/ path — repo-local only@.claude/<path>FAIL deployment target — forbidden in distributable source@agentic/code/<path>WARN legacy bare ref — migrate to @$AIWG_ROOT/agentic/code/@src/<path>WARN legacy bare ref — migrate to @$AIWG_ROOT/src/@docs/<path>WARN legacy bare ref — migrate to @$AIWG_ROOT/docs/@tools/<path>WARN legacy bare ref — migrate to @$AIWG_ROOT/tools/Relative path within component PASS Local ref Build the Tier 2 allowlist by reading all
manifest.jsonfiles inagentic/code/and collectingmemory.creates[*].pathvalues. Combine with Tier 1 (.aiwg/AIWG.md,.aiwg/frameworks/).For a CLI Command:
- Read
src/extensions/commands/definitions.ts - Check: Command entry exists in definitions
- Check: Command has either
executedViaSkillRunner: trueOR a handler entry - If
executedViaSkillRunner: true: find the associated SKILL.md and verify it does not containaiwg <command-name>in any bash block - If handler expected: check
src/cli/handlers/for the handler file and registration inallHandlers
- Read the
Compile report:
Format results as a structured report:
Component Validation: <component-name> (<type>) Path: <absolute-or-relative-path> Checks: PASS description frontmatter present PASS title section present PASS behavior section present FAIL no examples section found PASS listed in manifest.json FAIL not in agentic/code/ (found in .claude/skills/ — placement violation) WARN @.aiwg/planning/my-design.md is not a normalized path (repo-local only) Result
Установить validate-component в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл validate-component?
Validate a single AIWG component (skill, agent, or command) for completeness and correctness
Как установить скилл validate-component?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл validate-component запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic