Devkit validate

From jmagly/aiwg · View interactive version

Devkit validate is an AI agent skill from the GitHub repository jmagly/aiwg. Validate addon, framework, or extension structure and manifest

How to use this skill

Skill file

Validate AIWG Package

Validate the structure and manifest of an addon, framework, or extension.

Usage

/devkit-validate <path> [options]

Arguments

| Argument | Required | Description |

|----------|----------|-------------|

| path | Yes | Path to addon, framework, or extension |

Options

| Option | Description |

|--------|-------------|

| --fix | Attempt to auto-fix common issues |

| --verbose | Show detailed validation output |

What It Validates

Manifest Validation

Structure Validation

Content Validation

Extension-Specific Validation

Examples

# Validate addon
/devkit-validate agentic/code/addons/aiwg-utils

# Validate framework
/devkit-validate agentic/code/frameworks/sdlc-complete

# Validate extension
/devkit-validate agentic/code/frameworks/sdlc-complete/extensions/gdpr

# Validate with auto-fix
/devkit-validate agentic/code/addons/my-addon --fix

# Verbose output
/devkit-validate . --verbose

Output Format

Success

✓ Validating: agentic/code/addons/aiwg-utils
  Type: addon
  Version: 1.1.0

✓ Manifest: Valid
  - id: aiwg-utils
  - agents: 1 (1 found)
  - commands: 10 (10 found)
  - skills: 2 (2 found)

✓ Structure: Valid
  - agents/: OK
  - commands/: OK
  - skills/: OK

✓ Content: Valid
  - Agent frontmatter: OK
  - Command frontmatter: OK
  - Skill definitions: OK

═══════════════════════════════
VALIDATION PASSED
═══════════════════════════════

Failure

✓ Validating: agentic/code/addons/my-addon
  Type: addon
  Version: 1.0.0

✓ Manifest: Valid
  - id: my-addon

✗ Structure: Issues Found
  - agents/: Missing (manifest references 2 agents)
  - commands/: OK

✗ Content: Issues Found
  - Missing: agents/code-reviewer.md
  - Missing: agents/security-auditor.md

═══════════════════════════════
VALIDATION FAILED (2 errors)
═══════════════════════════════

Errors:
1. Directory 'agents/' does not exist
2. Referenced agent 'code-reviewer' not found

To fix, run: /devkit-validate <path> --fix

Auto-Fix Capabilities

When --fix is specified:

  1. Create missing directories: agents/, commands/, skills/
  2. Update manifest: Remove references to non-existent files
  3. Add missing entries: Add files found in directories but not in manifest
  4. Fix frontmatter: Add required fields with defaults

Related Commands

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.