Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

validate-addon

БесплатноБез исполняемых скриптовНе проверен

Validate an entire AIWG addon package for completeness and release readiness

jmaglyот jmagly★ 233 звезды на GitHub

Об этом скилле

Validate Addon

You check an entire AIWG addon directory for completeness and release readiness, then produce a detailed structured report covering manifest integrity, artifact completeness, placement violations, and any blocking issues.

Triggers

  • "validate this addon" → check the addon in the current or named directory
  • "is this addon ready to release" → run full release readiness check
  • "check the addon" → validate the named addon
  • "pre-release check on my addon" → run validate-addon
  • "addon readiness report" → full validation with report output
  • "validate addon at " → validate the addon at the given path

Trigger Patterns Reference

Pattern Example Action
Current directory "validate this addon" Validate addon at cwd
Named addon "check the aiwg-dev addon" Find addon by name and validate
Path-specific "validate addon at agentic/code/addons/my-addon" Validate at given path
Release gate "is this addon ready to release" Full validation, block on any FAIL
Quick check "any issues with this addon" Run validation, summarize findings

Process

  1. Locate the addon:

    • If path given: use it
    • If name given: check project-local addons/<name>/manifest.json under the configured artifact root and agentic/code/addons/<name>/manifest.json; if both exist, require an explicit path
    • If current directory: look for manifest.json in cwd or walk up to nearest addon root
    • Treat the located directory as the source root throughout this validation, including placement checks
  2. Read and validate manifest.json:

    • File exists at addon root
    • Valid JSON (parseable)
    • Required fields present: id, type, name, version, description
    • type equals "addon"
    • version follows CalVer format (YYYY.M.PATCH, no leading zeros)
    • core field present (boolean; accept legacy addonConfig.core when absent at top level)
    • autoInstall field present (boolean; accept legacy addonConfig.autoInstall when absent at top level)
    • If devOnly: true: confirm this is intentional (it excludes from aiwg use all)
    • For project-local addons, also run aiwg list --project-local from the project root and check this manifest's diagnostics against the canonical bundle schema (src/extensions/manifest.ts). It requires manifestVersion, platforms, keywords, deployment, and addonConfig in addition to the common fields above. Preserve unknown-field and type errors; do not invent extra manifest fields to satisfy this skill.
    • Resolve artifact inventories from the top-level skills, agents, rules, and flows arrays, falling back to the corresponding addonConfig arrays for legacy manifests. Resolve directories from addonConfig.entry (or legacy entry), defaulting to skills/, agents/, rules/, and flows/. Apply these inventories and paths in steps 4–7.
  3. Check README.md:

    • File exists at addon root
    • Non-empty content
  4. Validate each skill listed in manifest: For each entry in manifest.json skills array:

    • skills/<name>/SKILL.md exists
    • description: frontmatter present
    • # Title section present
    • ## Behavior or ## Process section present
    • Collect any missing skills (in manifest but no SKILL.md) and orphaned skills (SKILL.md exists but not in manifest)
  5. Validate each agent listed in manifest: For each entry in manifest.json agents array:

    • Agent .md file exists
    • YAML frontmatter present
    • name:, description:, model:, tools: fields in frontmatter
    • Collect missing and orphaned agents
  6. Validate each rule listed in manifest: For each entry in manifest.json rules array:

    • rules/<name>.md exists
    • RULES-INDEX.md exists in rules/
    • Rule name appears in RULES-INDEX.md
  7. Validate flows:

    • Resolve the flow directory from addonConfig.entry.flows (or legacy entry.flows), defaulting to flows/
    • Read each .yaml or .yml flow document in that directory, including nested directories; do not follow symlinks
    • Validate FlowCapability documents (apiVersion: flow.aiwg.io/v1) against the existing $AIWG_ROOT/agentic/code/addons/aiwg-utils/workflow/schemas/workflow-capability.schema.json; use the corresponding existing workflow schema for other Flow kinds and accepted legacy aliases
    • Require metadata.name and the schema-required spec fields; report malformed YAML or schema failures as blocking issues
    • If a flows inventory is declared (top-level first, then addonConfig.flows), match each name to metadata.name; collect missing declarations and orphaned documents. If no inventory is declared, enumerate the flow directory
    • For project-local addons, from the project root run aiwg index build --graph project, then aiwg discover "<metadata.name>" --type flow and aiwg show flow <metadata.name>; verify the
Полный SKILL.md на GitHub

Установить validate-addon в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл validate-addon?

Validate an entire AIWG addon package for completeness and release readiness

Как установить скилл validate-addon?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл validate-addon запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить validate-addon с