Skip to content
Development
Skill

/validate-addon

Validate an entire AIWG addon package for completeness and release readiness

From plugin
aiwg
229200 skills199 agents26 commands

Claude Code

$ npx -y skills add jmagly/aiwg --skill validate-addon --agent claude-code

SKILL.md

validate-addon.SKILL.md
namespace: aiwg
name: validate-addon
description: Validate an entire AIWG addon package for completeness and release readiness
platforms: [all]

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-name> 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 <path>" → 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 flow is found and its card shows `Owner: addon:<id>`
  • Include a `Flows (<count>)` section with each flow name and PASS/FAIL status in the report

8. **Check for placement violations**:

  • Search corresponding provider directories (`.claude/skills/`, `.github/agents/`, etc.) for any files whose names match this addon's artifacts
  • For each match: verify a source file exists under the located addon source root (project-local or `agentic/code/`)
  • Flag any deployed files with no source as violations

9. **Check for `.aiwg/` references in addon artifacts**:

  • Search all SKILL.md, agent `.md`, and command `.md` files under the addon for `@.aiwg/` path references
  • Flag any found: these only resolve inside the AIWG repository itself

10. **Compile report**:

   Addon Validation: <addon-name> v<version>
   Path: agen
Read more
@jmagly
Ships withaiwg

Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.

229200 skills199 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
229
Star history of jmagly/aiwg on GitHub, a chart by star-history.com

Other skills on aiwg.

agent-loop-ext

agent-loop-ext

Crash-resilient external agent loop with state persistence and CI/CD integration

@jmagly@jmaglyInstall Skill
agent-loop

agent-loop

Detect requests for iterative autonomous agent loops and route to the appropriate loop executor

@jmagly@jmaglyInstall Skill
auto-test-execution

auto-test-execution

Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern

@jmagly@jmaglyInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about validate-addon.

Which coding agents can use validate-addon?
validate-addon installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.