agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
$ npx -y skills add jmagly/aiwg --skill auto-test-execution --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/auto-test-executionContext preview
The summary Claude sees to decide when to auto-load this skill.
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
namespace: aiwg name: auto-test-execution platforms: [all] description: Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Automatically execute tests when code-generating agents write to source files, enforcing the execute-before-return pattern.
Primary phrases matched automatically from skill description. No additional alternate expressions defined.
This skill enforces the MetaGPT executable feedback pattern: code-generating agents must execute tests before returning results to the user. It activates automatically when agents modify source code files.
When triggered, this skill:
1. **Detect modified files**:
2. **Find related tests**:
3. **Execute tests**:
4. **Handle results**:
5. **Update debug memory**:
activation:
always_active_for:
- software-implementer
- debugger
- test-engineer
triggered_by:
- file_write:
patterns:
- "src/**/*.ts"
- "src/**/*.js"
- "src/**/*.py"
- "**/*.go"
- "**/*.rs"
skip_when:
- test_files_only: true
- documentation_only: true
- configuration_only: trueThis skill uses:
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
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
Infer measurable completion criteria for an agent-loop task from project docs, code, and AIWG standards when the user has not supplied --completion explicitly