Agent skill
build-artifact-index
Install this agent skill to your Project
npx add-skill https://github.com/jmagly/aiwg/tree/main/agentic/code/frameworks/sdlc-complete/skills/build-artifact-index
SKILL.md
Build Artifact Index
Task
Build or refresh the artifact index that powers aiwg index query, aiwg index deps, and aiwg index stats. This is the entry point for ensuring agents can discover and navigate project artifacts efficiently.
Behavior
Primary: Use aiwg index build
# Standard rebuild (incremental)
aiwg index build
# Full rebuild (ignore cache)
aiwg index build --force
# With progress output
aiwg index build --verbose
Report what changed: new artifacts indexed, updated, unchanged, and removed counts.
Fallback: Manual Digest Generation
If aiwg index build is not available (CLI not installed), fall back to manual scanning:
- Walk
.aiwg/for all artifact files - Extract titles and short summaries from frontmatter/headings
- Write digest files to
.aiwg/working/digests/ - Generate or update
_index.yamlwith paths, summaries, and timestamps
Post-Build Verification
After building, verify the index is healthy:
aiwg index stats --json
Report total artifacts indexed, coverage by phase, and any orphaned artifacts.
When to Run
- After creating new SDLC artifacts
- After modifying existing artifact references
- At the start of a new SDLC phase
- When
aiwg index queryreturns stale results
References
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/artifact-discovery.md — Agent protocol rules
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/skills/artifact-lookup/SKILL.md — Query skill
- @$AIWG_ROOT/src/artifacts/cli.ts — CLI implementation
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
research-document
Generate summaries and literature notes from research papers
research-archive
Package research artifacts for long-term archival
research-cite
Format citations and generate bibliographies
induct-research
Induct research sources into a research repository. Point at an issue, a single file, a directory of papers, or a URI and the skill reads, annotates, and files structured induction tasks — one per source. Similar to address-issues but for research corpora instead of code backlogs.
research-provenance
Query provenance chains and artifact relationships
research-quality
Assess source quality using GRADE methodology
Didn't find tool you were looking for?