From sdlc
Automatically generates W3C PROV-compliant provenance records when AI agents create or modify artifacts in .aiwg/ or src/ directories, extracting derivations from @-mentions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sdlc:auto-provenanceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automatically generates W3C PROV-compliant provenance records when agents create or modify artifacts.
Automatically generates W3C PROV-compliant provenance records when agents create or modify artifacts.
Ensures every artifact created by AIWG agents has a provenance record, maintaining an auditable chain of derivation from requirements through implementation. Implements the W3C PROV-DM Entity-Activity-Agent model automatically, without requiring agents to manually create records.
This skill activates when:
.aiwg/ or src/ directories.aiwg/working/ (temporary files).aiwg/ralph/ (loop state, not artifacts).aiwg/research/provenance/records/ (provenance about provenance would be circular)node_modules/, .git/, or build output.prov.yaml)When a tracked artifact is created or modified:
Detect artifact event
Extract derivation sources
@implements -> derivation_type: implements@tests -> derivation_type: tests@extends -> derivation_type: extends@depends -> derivation_type: depends@path -> derivation_type: derives_fromGenerate provenance record
Validate and save
@agentic/code/frameworks/sdlc-complete/schemas/provenance/prov-record.yaml.aiwg/research/provenance/records/<artifact-name>.prov.yamlReport
@-mentions serve as the primary source of derivation relationships:
integration:
mention_wiring:
source: "@-mentions in artifact content"
target: "wasDerivedFrom relationships in provenance record"
mapping:
"@implements": "implements"
"@tests": "tests"
"@extends": "extends"
"@depends": "depends"
"@source": "derives_from"
Qualified @-mentions provide relationship type information:
integration:
qualified_references:
source: "qualified @-mentions (@implements @path)"
target: "typed derivation relationships"
Phase transitions trigger provenance completeness checks:
integration:
hitl_gates:
action: validate_provenance_coverage
trigger: phase_transition
skill:
name: auto-provenance
type: passive
always_active_for:
- provenance-manager
- software-implementer
- test-engineer
- requirements-analyst
- architecture-designer
- technical-writer
- documentation-synthesizer
- security-auditor
- api-designer
file_triggers:
- pattern: ".aiwg/**/*.md"
- pattern: ".aiwg/**/*.yaml"
- pattern: "src/**/*.ts"
- pattern: "src/**/*.js"
- pattern: "test/**/*.ts"
- pattern: "test/**/*.js"
exclude:
- pattern: ".aiwg/working/**"
- pattern: ".aiwg/ralph/**"
- pattern: ".aiwg/research/provenance/records/**"
- pattern: "**/*.prov.yaml"
auto_create: true
auto_update: true
validate_on_create: true
.aiwg/research/provenance/records/<name>.prov.yaml.aiwg/research/provenance/index.yaml.aiwg/reports/provenance-report.mdnpx claudepluginhub jmagly/aiwg --plugin sdlcManages metadata for SDLC and marketing artifacts via metadata.json, handling versioning, ownership, status, review history, and relationships.
Stamps files with trust scores, source provenance, and compliance metadata. Embeds into 20+ formats (DOCX, PDF, images, code). Supports EU AI Act, SOX, HIPAA auditing.
Orchestrates GitHub issues/PRs/branches as knowledge graph for traceability in planning, brainstorming, designs, architectural decisions, session resumption. /shiplog.