agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Manage artifact metadata, versioning, ownership, and review history across the SDLC lifecycle
$ npx -y skills add jmagly/aiwg --skill artifact-metadata --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/artifact-metadataContext preview
The summary Claude sees to decide when to auto-load this skill.
Manage artifact metadata, versioning, ownership, and review history across the SDLC lifecycle
namespace: aiwg name: artifact-metadata platforms: [all] description: Manage artifact metadata, versioning, ownership, and review history across the SDLC lifecycle
Manage artifact metadata, versioning, ownership, and history tracking.
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
This skill provides consistent metadata management for all SDLC and marketing artifacts. It tracks ownership, versioning, review history, and status across the artifact lifecycle.
When triggered, this skill:
1. **Locates or creates metadata**:
2. **Updates metadata fields**:
3. **Tracks history**:
4. **Validates relationships**:
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": ["artifact_id", "name", "type", "version", "status", "owner"],
"properties": {
"artifact_id": {
"type": "string",
"description": "Unique identifier (e.g., SAD-001, UC-003)"
},
"name": {
"type": "string",
"description": "Human-readable artifact name"
},
"type": {
"type": "string",
"enum": ["requirements", "architecture", "test", "security", "deployment", "marketing", "report"]
},
"version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$",
"description": "Semantic version"
},
"status": {
"type": "string",
"enum": ["draft", "review", "approved", "baselined", "deprecated"]
},
"owner": {
"type": "string",
"description": "Primary owner (agent name or user)"
},
"created": {
"type": "string",
"format": "date-time"
},
"modified": {
"type": "string",
"format": "date-time"
},
"baselined": {
"type": "string",
"format": "date-time"
},
"reviewers": {
"type": "array",
"items": {"type": "string"}
},
"history": {
"type": "array",
"items": {
"type": "object",
"properties": {
"version": {"type": "string"},
"date": {"type": "string", "format": "date-time"},
"author": {"type": "string"},
"summary": {"type": "string"}
}
}
},
"reviews": {
"type": "array",
"items": {
"type": "object",
"properties": {
"reviewer": {"type": "string"},
"date": {"type": "string", "format": "date-time"},
"outcome": {"type": "string", "enum": ["approved", "conditional", "rejected"]},
"comments": {"type": "string"}
}
}
},
"traceability": {
"type": "object",
"properties": {
"requirements": {"type": "array", "items": {"type": "string"}},
"parent": {"type": "string"},
"children": {"type": "array", "items": {"type": "string"}}
}
},
"tags": {
"type": "array",
"items": {"type": "string"}
}
}
}User: "Create metadata for the SAD"
Skill creates:
.aiwg/architecture/sad/metadata.json
{
"artifact_id": "SAD-001",
"name": "Software Architecture Document",
"type": "architecture",
"version": "0.1.0",
"status": "draft",
"owner": "architecture-designer",
"created": "2025-12-08T14:30:00Z",
"modified": "2025-12-08T14:30:00Z",
"reviewers": [],
"history": [],
"reviews": []
}User: "Version the SAD to 1.0.0 with summary 'Initial baseline'" Skill updates: - version: "1.0.0" - status: "baselined" - baselined: "2025-12-08T16:45:00Z" - history: [adds entry with version, date, summary]
User: "Record security-architect review as approved" Skill updates: - reviews: [adds review record] - reviewers: [adds "security-architect" if not present] - modified: [updates timestamp]
User: "Who owns the test plan?" Skill responds: "Test Plan (TP-001) is owned by test-architect. Status: review Version: 0.3.0 Last modified: 2025-12-07 Reviewers: security-auditor, requirements-analyst"
draft → review → approved → baselined ↑ ↓ └── rejected (returns to draft) baselined → deprecated (end of life)
| From | To | Triggered By | |------|-----|-------------| | draft | review | Submit for review | | review | approved | All reviewers approve | | review | draft | Any reviewer rejects | | approved | baselined | Formal baseline action | | baselined | deprecated | Superseded or retired |
| Change Type | Version Bump | |-------------|-------------| | Typo fix | patch (0.0.x) | | Section update | minor (0.x.0) | | Structure change | major (x.0.0) | | Initial baseline | 1.0.0 |
| Type | ID Prefix | Location | |------|-----------|----------| | requirements | UC-, REQ-, NFR- | .aiwg/requirements/ | | architecture | SAD-, ADR-, API- | .aiwg/architecture/ | | test | TP-, TC-, TS- | .aiwg/testing/ | | security | TM-, SEC- | .aiwg/security/ |
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