devkit-validate
Validate addon, framework, or extension structure and manifest
What this skill does
# 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 - [ ] `manifest.json` exists - [ ] Required fields present: id, type, name, version, description - [ ] Type is valid: addon, framework, or extension - [ ] For extensions: `requires` field specifies valid parent framework - [ ] All referenced agents exist in agents/ directory - [ ] All referenced commands exist in commands/ directory - [ ] All referenced skills exist in skills/ directory - [ ] All referenced templates exist in templates/ directory ### Structure Validation - [ ] Directory structure matches type expectations - [ ] README.md exists - [ ] Entry directories exist if specified - [ ] No orphaned files (files not in manifest) ### Content Validation - [ ] Agent files have valid frontmatter (name, description, model, tools) - [ ] Command files have valid frontmatter (name, description, args) - [ ] Skill directories have SKILL.md with required fields ### Extension-Specific Validation - [ ] Parent framework exists - [ ] Extension is in parent's extensions/ directory - [ ] `requires` field matches parent location ## Examples ```bash # 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 - `/devkit-create-addon` - Create new addon - `/devkit-create-extension` - Create new extension - `aiwg validate` - CLI validation tool ## References - @$AIWG_ROOT/agentic/code/addons/aiwg-dev/README.md — aiwg-dev addon overview - @$AIWG_ROOT/docs/extensions/overview.md — Extension system architecture and manifest spec - @$AIWG_ROOT/docs/extensions/extension-types.md — Full extension type reference - @$AIWG_ROOT/docs/cli-reference.md — CLI reference including validate-metadata command - @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/research-before-decision.md — Verify before acting pattern
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.