Agent skill
artifact-lookup
Install this agent skill to your Project
npx add-skill https://github.com/jmagly/aiwg/tree/main/agentic/code/frameworks/sdlc-complete/skills/artifact-lookup
SKILL.md
artifact-lookup
Search and navigate SDLC artifacts using the artifact index.
Triggers
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
- "where is [artifact]" → artifact location query
- "find my [SAD/test plan/ADR]" → artifact search shorthand
Purpose
This skill wraps the aiwg index CLI commands to provide natural language artifact discovery. Agents and users can query, navigate dependencies, and check project health without knowing the exact CLI syntax.
Behavior
Query Artifacts
When the user asks to find artifacts by topic, type, or phase:
# By keyword
aiwg index query "authentication" --json
# By type
aiwg index query --type use-case --json
# By phase
aiwg index query --phase testing --json
# By tag
aiwg index query --tags security,auth --json
# Combined filters
aiwg index query "login" --type use-case --phase requirements --json
Parse the JSON output and present results in a readable summary:
- List matching artifacts with path, title, and relevance score
- Highlight the most relevant result
- Suggest related queries if results are sparse
Check Dependencies
When the user asks what depends on or references an artifact:
# Both directions
aiwg index deps .aiwg/requirements/UC-001.md --json
# Upstream only (what this depends on)
aiwg index deps .aiwg/requirements/UC-001.md --direction upstream --json
# Downstream only (what depends on this)
aiwg index deps .aiwg/requirements/UC-001.md --direction downstream --json
Present the dependency tree in a readable format:
- Show upstream dependencies (what the artifact relies on)
- Show downstream dependents (what would be impacted by changes)
- Flag high fan-out artifacts (many dependents)
Show Statistics
When the user asks about project health or artifact stats:
aiwg index stats --json
Summarize:
- Total artifacts by phase and type
- Coverage percentage
- Orphaned artifacts (no connections)
- Most referenced artifacts
Rebuild Index
When the user creates new artifacts or asks to refresh:
aiwg index build
Report what changed (new, updated, unchanged counts).
Output Format
Always present results as structured summaries, not raw JSON dumps. Example:
Found 3 artifacts about "authentication":
1. UC-001: User Authentication (requirements, score: 0.95)
Path: .aiwg/requirements/UC-001.md
Tags: auth, security
2. ADR-001: JWT Token Strategy (architecture, score: 0.82)
Path: .aiwg/architecture/adr-001.md
Tags: auth, architecture
3. TP-001: Auth Test Plan (testing, score: 0.75)
Path: .aiwg/testing/tp-001.md
Tags: auth, testing
Prerequisites
- Artifact index must exist (
aiwg index buildmust have been run) - If index doesn't exist, offer to build it first
References
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/artifact-discovery.md — Agent protocol rules
- @$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?