read-docs

Search internal documentation for project-specific information.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "read-docs" with this command: npx skills add nielsmadan/agentic-coding/nielsmadan-agentic-coding-read-docs

Read Docs

Search internal documentation for project-specific information.

Usage

/read-docs auth # Search for auth-related docs /read-docs database schema # Search for database/schema docs /read-docs # List available documentation

Search Strategy

  • Check for docs/ folder - Primary documentation location

  • Search filenames - Glob for keyword matches in file names

  • Search contents - Grep for keyword matches in file contents

  • Prioritize results:

  • Exact filename match (e.g., "auth" → docs/auth.md )

  • Filename contains keyword (e.g., "auth" → docs/authentication-guide.md )

  • Content matches (e.g., "auth" mentioned in docs/architecture.md )

Locations Searched

In order of priority:

  • docs/**/*.md

  • Primary documentation

  • CLAUDE.md

  • Project conventions

  • README.md

  • Project overview

  • *.md in project root - Other documentation

Workflow

With keywords:

Search filenames for keyword matches:

  • Glob pattern: docs/**/{keyword}

Search file contents for keyword matches:

  • Grep pattern: {keyword} path: docs/ and root *.md files

Rank matches by priority:

  • Exact filename match (e.g., "auth" → docs/auth.md )

  • Filename contains keyword (e.g., "auth" → docs/authentication-guide.md )

  • Content match with keyword in a heading (e.g., ## Auth in docs/architecture.md )

  • Content match in body text

Read up to 5 top-ranked matches and summarize findings.

For multi-word queries (e.g., "database schema"), search each word separately AND as a phrase. Prioritize files that match all words over files matching only one.

If more than 5 files match, list the remaining filenames without reading them so the user knows what else is available.

Without keywords:

List available documentation:

  • Glob pattern: docs/**/*.md

  • Glob pattern: *.md (root-level docs)

Present a structured overview of available documentation:

  • Group files by directory (e.g., docs/api/ , docs/guides/ , root-level)

  • For each file, show the filename and its first heading (or first non-empty line if no heading exists)

  • If more than 20 files exist, summarize by directory with file counts and list only the top-level structure instead of enumerating every file

Output

Summarize findings:

  • Documents found - List with brief description of each

  • Key information - Relevant excerpts for the query

  • Related docs - Other documents that may be useful

Examples

Search internal docs before implementing auth feature:

/read-docs auth

Searches docs/ filenames and contents for auth-related documentation. Finds docs/auth.md and references in docs/architecture.md , then summarizes relevant patterns, token handling conventions, and any documented gotchas before you start coding.

Check for documented gotchas before refactor:

/read-docs database migration

Searches for migration-related docs and surfaces any documented pitfalls, required steps, or past issues logged in docs/log/ . Presents key findings so you can avoid known problems during the refactor.

Troubleshooting

No docs/ folder found in project

Solution: Fall back to searching root-level .md files (README.md, CLAUDE.md, CONTRIBUTING.md). If the project has no documentation at all, use /research-online for external references or check inline code comments via Grep for conventions.

Documentation is stale or contradicts code

Solution: Trust the code over the documentation when they conflict. Note the discrepancy in your response so the user can update the docs, and verify behavior by reading the actual source files rather than relying on the outdated documentation.

Notes

  • This skill is for internal project docs, not external library docs

  • For external library documentation, use /research-online

  • If no docs/ folder exists, search root .md files only

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

pdf

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

frontend-design

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

theme-factory

No summary provided by upstream source.

Repository SourceNeeds Review