skills/doc-indexer/SKILL.md
Use this skill at the beginning of any session or when needing to understand available project documentation. Provides just-in-time context by scanning YAML frontmatter from all markdown files in the docs/ directory without loading full content.
npx skillsauth add bodangren/git-workflow doc-indexerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Provide just-in-time context about available project documentation without loading full file content into the context window. The doc-indexer scans all markdown files in the docs/ directory, extracts their YAML frontmatter metadata, and returns a structured map of available documentation. This enables efficient discovery of specs, plans, retrospectives, and other documentation while minimizing token usage.
Use this skill in the following situations:
docs/ directoryjq tool is NOT required (script works without it)Execute the helper script to scan all markdown files in the docs/ directory:
bash scripts/scan-docs.sh
This will output a human-readable summary showing each document's frontmatter metadata.
For machine-readable JSON output (useful for programmatic processing):
bash scripts/scan-docs.sh -j
The scanner returns information about all markdown files found in docs/, including:
Example human-readable output:
---
file: docs/specs/001-synthesis-flow.md
title: AgenticDev Methodology
status: approved
type: spec
---
file: docs/changes/my-feature/proposal.md
title: My Feature Proposal
status: in-review
type: proposal
[WARNING] Non-compliant file (no frontmatter): docs/README.md
Example JSON output:
[
{
"file": "docs/specs/001-synthesis-flow.md",
"compliant": true,
"frontmatter": {
"title": "AgenticDev Methodology",
"status": "approved",
"type": "spec"
}
},
{
"file": "docs/README.md",
"compliant": false,
"frontmatter": null
}
]
Based on the documentation map, identify which specific files to read for your current task:
Once you've identified relevant files from the map, use the Read tool to load their full content:
# Example: Read a specific spec identified from the map
Read docs/specs/001-synthesis-flow.md
This two-step approach (scan first, then read selectively) minimizes token usage while ensuring you have access to all necessary context.
Symptom: Script reports "No such file or directory"
Solution:
project-init skilldocs/ directory structure if neededSymptom: Script outputs "[WARNING] Non-compliant file (no frontmatter): ..."
Impact: These files won't have structured metadata in the output
Solution:
--- markers---
title: My Document
status: draft
type: design
---
# Document content starts here
Symptom: "Permission denied" when running the script
Solution:
chmod +x scripts/scan-docs.sh
Common frontmatter fields you'll encounter:
The JSON output mode is particularly useful when:
Example using jq to filter approved specs:
bash scripts/scan-docs.sh -j | jq '.[] | select(.frontmatter.status == "approved")'
docs/tools
Use this skill to plan a new sprint. It uses the Gemini CLI to intelligently decompose approved specs into atomic GitHub issues for the development team. Triggers include "plan sprint", "create sprint", or "start new sprint".
tools
--- name: sprint-manager description: This skill orchestrates autonomous sprint execution by coordinating subagents to implement GitHub issues serially. It manages the full lifecycle: generating implementation plans via Gemini CLI, delegating implementation to subagents, reviewing PRs with Codex MCP, merging approved code, and running post-merge integration. Use this skill when asked to "run a sprint", "execute sprint issues", "implement issues autonomously", or "manage sprint workflow". --- #
tools
Use this skill to propose changes via the Spec PR process. It uses the Gemini CLI to generate high-quality draft specifications and to analyze PR feedback, accelerating the spec-driven development workflow. Triggers include "create spec" or "propose change".
development
Use this skill to discover all available AgenticDev skills and their capabilities. Provides a bootstrap context for AI agents by listing all skills, their descriptions, and script paths from the .claude/skills/ directory.