xiaohongshu
xiaohongshu
doc-lookup
Locate and retrieve specific documentation sections from DiPeO's docs/ by heading anchors or keywords. Returns minimal, targeted excerpts instead of full files. Use when you need precise documentation context without loading entire guides.
Full skill instructions
Retrieve precise documentation sections from DiPeO's docs/ directory using anchors or keyword search.
Use doc-lookup when you need:
Don't use for:
The doc-lookup skill uses a helper script that:
{#anchor-id} in headings (highest priority)Note: Only Markdown-native anchor format {#anchor-id} in headings is supported. Standalone HTML anchor tags <a id=""> are NOT supported and should not be used in documentation.
When you know the anchor ID from router skills or previous lookups:
python .claude/skills/doc-lookup/scripts/section_search.py \
--query "cli-commands" \
--paths docs/agents/backend-development.md \
--top 1
Use when: Router skills reference specific anchors (e.g., #cli-commands, #mcp-tools)
When you know the heading text but not the anchor:
python .claude/skills/doc-lookup/scripts/section_search.py \
--query "MCP Tool Registration" \
--paths docs/ \
--top 2
Use when: Searching for a known topic across multiple docs
When you need sections related to a concept:
python .claude/skills/doc-lookup/scripts/section_search.py \
--query "background execution async" \
--paths docs/ \
--top 3
Use when: Exploring documentation for a general topic
To see available sections without content:
python .claude/skills/doc-lookup/scripts/section_search.py \
--query "cli" \
--paths docs/agents/ \
--no-content \
--top 5
Use when: Discovering what documentation exists on a topic
python .claude/skills/doc-lookup/scripts/section_search.py \
--query <search-query> \
--paths <file-or-dir> [<file-or-dir> ...] \
--top <number> \
--max-lines <number> \
--no-content
Arguments:
--query: Search term (anchor ID, heading text, or keywords) - REQUIRED--paths: Files or directories to search (default: docs/)--top: Number of results to return (default: 3)--max-lines: Max lines of content per section (default: 30)--no-content: Show only headings/anchors without contentEach result includes:
================================================================================
Score: 100.0 (match type: anchor)
File: docs/agents/backend-development.md:145
Heading: ## CLI Flags
Anchor: #cli-flags
--------------------------------------------------------------------------------
[Section content here, up to --max-lines]
================================================================================
Match types (from best to worst):
anchor: Exact or partial anchor match (score: 90-100)heading: Exact or partial heading match (score: 60-80)content: Keyword match in content (score: 0-50)Router skills should reference anchors for common lookups:
## Key Documentation Sections
### CLI Commands
- Full guide: `docs/agents/backend-development.md#cli-commands`
- Architecture: `docs/agents/backend-development.md#cli-architecture`
### MCP Server
- Tools: `docs/agents/backend-development.md#mcp-tools`
- Available tools: `docs/features/mcp-server-integration.md#available-tools`
## Lookup Procedure
1. Check if anchor is known → use exact anchor query
2. If not → use keyword search
3. Review top 1-2 results
4. If insufficient → escalate to full agent
Task: User asks about adding --json flag to dipeo run
Workflow:
# Look up CLI commands section
python .claude/skills/doc-lookup/scripts/section_search.py \
--query "cli-commands" \
--paths docs/agents/backend-development.md \
--top 1
Result: Returns ~50 lines about CLI commands and conventions, not 600-line full document
Task: Debug MCP tool registration issue
Workflow:
# Search for MCP registration docs
python .claude/skills/doc-lookup/scripts/section_search.py \
--query "MCP registration" \
--paths docs/features/ \
--top 2
Result: Returns relevant sections from mcp-server-integration.md
Task: Implement new node handler
Workflow:
# Find handler implementation guidance
python .claude/skills/doc-lookup/scripts/section_search.py \
--query "handler patterns" \
--paths docs/agents/package-maintainer.md \
--top 1 \
--max-lines 50
Result: Returns handler implementation section with examples
--top 3 for explorationDiPeO documentation uses Markdown-native anchor format only:
## Heading Text {#anchor-id}
### Subheading {#sub-anchor}
Common anchor patterns:
#cli-commands, #cli-architecture, #background-execution#service-architecture, #service-registry-pattern, #envelope-pattern-output#mcp-tools, #available-tools, #database-schema#node-handler-pattern, #when-adding-new-features, #your-responsibilities#type-system-design-principles, #ir-builder-architecture, #generation-workflowDo NOT use HTML anchor tags like <a id="anchor-id"></a> - they are not supported by doc-lookup.
See router skills for complete anchor indexes.
No results found:
--paths docs/ to search all docs--no-content --top 10 to see what's availableToo many results:
--paths to specific file/directory--top to 1-2Section truncated:
--max-lines (default: 30)Wrong section returned:
<a id=""> HTML anchor tags from docs; now supports only Markdown-native {#anchor-id} formatxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience