agentic/code/addons/aiwg-dev/skills/devkit-test/SKILL.md
Auto-fix discoverable issues
npx skillsauth add jmagly/aiwg devkit-testInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run comprehensive tests on an AIWG package to verify structure, functionality, and deployment readiness.
Resolve the package path from $ARGUMENTS:
Identify package type from manifest.json:
"type": "addon" → Addon tests"type": "framework" → Framework tests"type": "extension" → Extension testsManifest Validation:
Directory Structure:
Component Files:
Agent Validation: For each agent file:
Command Validation: For each command file:
Skill Validation: For each skill:
Addon Tests:
requires field (addons are standalone)Extension Tests:
requires field present and validFramework Tests:
Simulate deployment to temporary directory:
# Create temp test directory
mkdir -p /tmp/aiwg-test-$$
# Attempt deployment
aiwg -deploy-agents --source <package-path> --target /tmp/aiwg-test-$$ --dry-run
# Check expected output structure
When --fix is specified, attempt to repair:
Fixable Issues:
Non-Fixable Issues (report only):
Summary Format:
Package Test: <package-id>
Type: <addon|extension|framework>
─────────────────────────────────
Structure Tests: <pass/fail count>
Content Tests: <pass/fail count>
Type Tests: <pass/fail count>
Deployment Test: <pass/fail>
Overall: <PASS|FAIL>
Detailed Format (--verbose):
Package Test: <package-id>
─────────────────────────────────
[Structure Tests]
✓ manifest.json exists
✓ manifest.json is valid JSON
✓ Required fields present
✓ agents/ directory exists
✗ commands/ directory missing
...
[Content Tests]
✓ agent-one.md: valid frontmatter
✓ agent-one.md: valid model (sonnet)
✗ agent-two.md: missing tools field
...
[Type Tests]
✓ No requires field (addon)
...
[Deployment Test]
✓ Dry-run deployment successful
[Issues Found]
ERROR: commands/ directory missing
WARNING: agent-two.md missing tools field
[Auto-Fixed] (if --fix)
✓ Created commands/ directory
# Test addon
/devkit-test aiwg-utils
# Test with verbose output
/devkit-test sdlc-complete --verbose
# Test and auto-fix
/devkit-test my-addon --fix --verbose
# Test extension
/devkit-test sdlc-complete/extensions/hipaa
data-ai
Report which research-corpus radar sidecars are overdue for refresh. Computes staleness (days since last refresh vs the cadence window) for every radar, sorted most-overdue-first. Runs via `aiwg corpus radar-status`.
data-ai
Aggregate research-corpus radar sidecars into a corpus or per-cluster freshness report — totals, overdue count, per-cluster / per-GRADE / per-trajectory breakdowns, an overdue table, and per-radar rationale snippets. Runs via `aiwg corpus radar-report`.
testing
Scaffold radar/freshness sidecars for research-corpus REFs. Pulls title/authors from the citation sidecar and GRADE from the analysis doc, defaults the refresh cadence from GRADE and the cluster from a corpus-local map, and stamps documentation/radar/REF-XXX-radar.md. Runs via `aiwg corpus radar-init`.
data-ai
Compute an entity's publication trajectory — per-year paper counts, topic drift, hot-streak detection (≥3 consecutive A-grade years), and career phase. Runs via `aiwg corpus profile-temporal`.