Skip to content
Back to skills

Requirements Navigate

ASecurity

Navigate, query, and maintain requirements graphs. Regenerates meta.md on demand, checks coverage, finds gaps, and lints the graph structure. Use when: navigating or querying a requirements graph, generating a coverage report, refreshing meta.md, or linting graph structure for gaps.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 18, 2026
ai-agentsgobashnode

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 18, 2026

npx -y skills add mikeparcewski/wicked-garden --skill requirements-navigate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Requirements Navigate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Requirements Navigate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mikeparcewski-requirements-navigate/badge)](https://www.skillsdirectory.com/skills/mikeparcewski-requirements-navigate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wicked-garden-product-requirements-navigate
description: |
  Navigate, query, and maintain requirements graphs. Regenerates meta.md
  on demand, checks coverage, finds gaps, and lints the graph structure.

  Use when: navigating or querying a requirements graph, generating a coverage
  report, refreshing meta.md, or linting graph structure for gaps.
metadata:
  role: module
  phases: "clarify,design,review"
  archetypes: "*"
---

# Requirements Navigate

Read, query, and maintain requirements graph structures. Generates and
refreshes meta.md files. Checks coverage and finds gaps.

## Commands

### Navigate (read graph)

Read a requirements node or area with progressive depth:

**Depth 0** — frontmatter only (~5 tokens per node):
```bash
# Read just the frontmatter of all ACs in a story
for f in requirements/auth/US-001/AC-*.md; do
  head -20 "$f"  # frontmatter block
done
```

**Depth 1** — meta.md (summary + tables):
```bash
# Read the story summary
cat requirements/auth/US-001/meta.md
```

**Depth 2** — full content of specific nodes:
```bash
# Read a specific AC
cat requirements/auth/US-001/AC-001-login-success.md
```

**Always start at depth 1** (meta.md) unless you need specific AC content.

### Refresh meta.md

Regenerate a meta.md from its children when stale:

1. Read all sibling/child files in the directory
2. Parse frontmatter from each
3. Rebuild the summary table (counts, priorities, coverage stats)
4. Write updated meta.md preserving the `id` and `type` fields

**Staleness check**: Compare `generated_at` in meta.md frontmatter against
`stat()` mtimes of children. If any child is newer, regenerate.

**When to refresh**:
- Before displaying requirements status to user
- Before crew gate evaluation
- After batch AC creation
- On explicit user request

### Coverage Query

Check which ACs have trace links:

```
For each AC in requirements/**/*.md where type: acceptance-criterion:
  - Has IMPLEMENTED_BY? → code coverage
  - Has TESTED_BY? → test coverage
  - Has VERIFIES? → verification coverage
```

**Output format**:
```
Coverage: auth
  US-001: 3/3 ACs, 1/3 implemented, 0/3 tested
  US-002: 2/2 ACs, 0/2 implemented, 0/2 tested
  Total: 5 ACs, 1 implemented (20%), 0 tested (0%)
```

### Gap Analysis

Find structural problems:

- **Orphan ACs**: AC files not referenced in parent story meta.md
- **Empty stories**: Story directories with meta.md but no AC files
- **Missing traces**: P0 ACs without IMPLEMENTED_BY or TESTED_BY
- **Broken traces**: Trace targets that don't exist on disk
- **Stale meta.md**: Generated timestamps older than children
- **ID mismatches**: `id:` field doesn't match file path

### Lint

Validate graph structure:

```
For each .md in requirements/**/:
  1. Has valid YAML frontmatter with required fields
  2. id: matches relative path from requirements/
  3. type: is a valid node type
  4. traces: targets exist (warn, don't fail — code may not exist yet)
  5. ACs have: priority, category, story
  6. Stories have: priority, complexity, persona, status
  7. meta.md tables match actual children
```

**Fix mode**: `--fix` auto-corrects:
- Regenerate stale meta.md files
- Update `id:` to match current path
- Add missing AC references to parent meta.md

## Integration with traceability.py

The navigate skill reads graph nodes directly. For cross-phase queries
that span beyond requirements (design, code, tests, evidence),
`traceability.py` provides BFS traversal.

**Bridge**: When navigate finds `IMPLEMENTED_BY` or `TESTED_BY` traces
in frontmatter, these are the authoritative links for the requirement
layer. `traceability.py` can read these as an additional data source
alongside its DomainStore links.

## Integration with search

Requirements graph nodes are indexable by `search:index`:

```bash
wicked-garden-search index requirements/
```

Enables queries like:
- "All P0 ACs without TESTED_BY" (frontmatter + FTS5)
- "All ACs tagged 'authentication'" (tag search)
- "Which stories trace to src/auth/" (reverse trace)

## Progressive Disclosure

- **SKILL.md** (this file): Commands, query patterns, integration
- **refs/meta-templates.md**: Copy-paste meta.md templates for each level

Files in this skill

  • SKILL.md4.1 KB
  • refs/meta-templates.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.