agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Auto-fix discoverable issues
$ npx -y skills add jmagly/aiwg --skill devkit-test --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/devkit-testContext preview
The summary Claude sees to decide when to auto-load this skill.
Auto-fix discoverable issues
namespace: aiwg name: devkit-test platforms: [all] description: Auto-fix discoverable issues
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:
**Manifest Validation**:
**Directory Structure**:
**Component Files**:
**Agent Validation**: For each agent file:
**Command Validation**: For each command file:
**Skill Validation**: For each skill:
**Addon Tests**:
**Extension Tests**:
**Framework 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
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.
Repo: jmagly/aiwg
Crash-resilient external agent loop with state persistence and CI/CD integration
Detect requests for iterative autonomous agent loops and route to the appropriate loop executor
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Enable agent loops to learn from similar past tasks and share patterns across loops
Query and manage the executable feedback debug memory
Execute tests on generated code and iterate until passing