This skill explains where project documentation lives and how to search it with tools such as `fff`, `rg`, `qmd`, and `ctx`. It also outlines a workflow for reviewing existing documentation and matching its structure and style before writing, then cross-linking and updating knowledge sources.
The canonical home for this skill is doc-search in jellydn/my-ai-tools
Use this skill when:
Helps you find and navigate existing project documentation using available tools (grep, qmd, fff, ctx). Documentation is often scattered across multiple locations — this skill provides a systematic approach to find what you need.
This project stores documentation in several locations:
| Location | Content | Best For |
|---|---|---|
docs/ | User-facing guides (quick-start, tutorials) | Getting started, feature guides |
ADRs via configs/adr/* | Architecture Decision Records | Why decisions were made |
wiki/ | LLM wiki — entities, concepts, log | Knowledge base, cross-references |
MEMORY.md | Durable project learnings and gotchas | Known issues, conventions |
skills/*/SKILL.md | Agent skill definitions | Tool capabilities |
configs/*.md | Tool-specific documentation | Per-tool behavior |
AGENTS.md | Agent instructions and guidelines | Development workflow |
| qmd knowledge base | Indexed project knowledge | Searchable, AI-powered retrieval |
Use fff to locate documentation files:
fff "*.md" docs/ # All documentation files
fff "*adr*" # Architecture Decision Records
fff "*auth*" docs/ # Auth-related documentation
fff "*wiki*" # Wiki entriesUse rg (ripgrep) to search documentation content:
rg "decision" docs/ # Find decisions in docs
rg "ADR-0" . --glob "*.md" # Find ADR references
rg "rate.limiting" --glob "*.md" # Find docs about rate limitingUse qmd to search durable project knowledge:
qmd search "authentication decisions" # Find related knowledge
qmd query "What architecture exists for X?" # Get structured answers
qmd get ADR-001 # Get a specific ADRThe qmd knowledge base indexes project learnings, ADRs, conventions, and gotchas that persist across agent sessions.
Use ctx to find previous discussions about documentation:
ctx search "documentation" "decision" # Past doc discussions
ctx search "ADR" "architecture" path/docs/ # Past ADR discussions
ctx search "convention" "pattern" # Past convention discussionsProject documentation follows consistent patterns:
Architecture Decision Records (ADRs):
# Find all ADRs
ls -la docs/adr/
# Search ADR content
rg "decision" docs/adr/Wiki entries:
# Browse wiki structure
ls -la wiki/wiki/entities/
ls -la wiki/wiki/concepts/
# Search wiki content
rg "topic" wiki/wiki/ --glob "*.md"Agent skills:
# Find skill documentation
rg "what.*does" skills/*/SKILL.md
# Find skills by category
rg "compatibility:.*auth" skills/*/SKILL.mdBefore writing new documentation, study existing examples:
Example: If you need to write an ADR, read an existing ADR first:
fff "*adr*.md" # Find existing ADRs
cat docs/adr/001-some-decision.md # Read as referenceBefore writing:
1. Search existing docs for related content
2. Check qmd for existing knowledge
3. Search ctx for past discussions
4. Read existing docs for style reference
During writing:
5. Link to relevant ADRs and decisions
6. Reference existing conventions
7. Cross-link related documentation
After writing:
8. Add to wiki or qmd knowledge base
9. Reference from relevant agent instructions
10. Update docs-update skill if patterns changedrg over grep: ripgrep is faster and respects .gitignorejellydn/my-ai-tools
1524f4a
fffrgqmdqmd searchqmd queryqmd getctxctx searchlscatCanonical home
since Nov 30, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.