docs-guide for Codex
Read these first:
references/llms-txt-sites.md
references/fallback-strategies.md
Load on demand (spec-level or fetch-prompt workflow questions):
references/webfetch-prompts.md
references/regression-cases.md
Scope
Any library, framework, API, or service with official documentation — including LLM provider APIs (OpenAI, Anthropic, Google Gemini, etc.) via their llms.txt indexes listed in references/llms-txt-sites.md.
Trigger on:
- "How do I…", "What is…", "How does X work", "Best practice for…" about any library or framework
- Explicit doc requests — "공식문서", "official docs", "문서 기반으로", "docs에서 확인해줘"
- Version-sensitive or spec-level questions about external libraries
- Questions about the llms.txt standard itself (what it is, which sites have it, llms.txt vs llms-full.txt)
When a question spans several tools or skills (e.g., "How to use Stripe inside my agent runtime"), this skill owns the external-documentation part only.
Arguments
When invoked as docs-guide [library] [question], parse the leading token(s) as the library and the rest as the topic:
docs-guide react useEffect → Library: React, Question: useEffect
docs-guide next.js app router caching → Library: Next.js, Question: app router caching
docs-guide fastapi dependency injection → Library: FastAPI, Question: dependency injection
docs-guide (no args) → ask which library/framework and which topic (one §A question covering both), unless Step 0 project context makes the library obvious
Clarification — docs-guide is minimal-interview
This plugin mostly needs just two facts: library and topic.
Per shared/questioning-policy.md §2c — if the user already named the library and topic, proceed immediately without asking anything.
If the library OR topic is genuinely ambiguous (e.g., "Router" with no project context), ask exactly ONE numbered-option question per §A below, then proceed.
§A — Numbered-option format (Codex CLI has no multiple-choice card UI)
Codex CLI has no card UI. When you must ask, output a chat block:
질문: <한 줄 질문>
1. <추천안> — 무엇인지, 왜 이걸 추천하는지
2. <대안> — 무엇인지, 트레이드오프
3. 직접 입력 (문장으로 말씀해 주세요)
- Recommended option always goes first (1번).
- Multi-pick → "여러 개면
1,3처럼 적어주세요."
- Never ask more than once; if still unclear, proceed with the most likely interpretation.
Step 0 — Project Context Detection
Before fetching, quickly scan local dependency files to detect library version:
package.json, requirements.txt, pyproject.toml, go.mod, Cargo.toml, pom.xml, build.gradle
Use this for:
- Version detection:
"react": "^19.0.0" → fetch React 19 docs
- Disambiguation: project has both
react-router-dom and express, user asks "Router" → resolve silently
- Skip unnecessary search: if the library is not installed in the project, say so briefly
Skip this step if the question already names a specific library and version.
Intent Classification (Smart Broad)
FETCH (external lookup needed)
- Library/framework APIs, configuration, features
- Setup/installation, migration guides, breaking changes
- API reference (endpoints, parameters, return types)
- Questions where wrong info causes bugs (auth, payments, DB queries)
- Explicit doc requests
SKIP (answer from knowledge)
- Basic language syntax (Python for loop, JS array methods)
- General CS concepts (REST, closures)
- Architecture discussions not tied to a specific library version
DISAMBIGUATE
- Generic term maps to multiple libraries ("Router", "ORM", "auth", "store")
- Check Step 0 first; if still ambiguous, ask one §A question
When unsure between FETCH and SKIP, answer from knowledge first, then offer: "공식 문서도 확인해볼까요?"
Version Awareness
- Project context first — check Step 0
- User mention — "React 19", "Django 5.0"
- Normalize —
react 18, React v18, @18, ^18.2.0 → all mean React 18.x
- Version-specific URLs — Next.js
/docs/14/, Django /en/5.0/, Python /3.12/library/
- Default — latest stable; note which version was used
Common pitfalls:
| Situation |
Risk |
Action |
| "React" without version |
React 18 vs 19 differ significantly |
Check package.json first |
| Library has LTS and current |
User may need LTS-specific docs |
Ask if unclear |
| Pre-release/canary docs |
May contain unstable APIs |
Warn user |
| Archived docs (e.g., CRA) |
Deprecated project |
Note it |
Documentation Retrieval Strategy
Step 1 — Check known llms.txt sites
Load references/llms-txt-sites.md. If the library is listed, use that URL directly.
Step 2 — Try llms.txt on the official site
If not in the known list:
- If you know the official docs domain → try llms.txt directly
- If unsure → search for
{library name} official site to find the domain
- Try in order:
{official-site}/llms.txt
{official-site}/docs/llms.txt
{official-site}/llms-full.txt
If llms.txt exists:
- Read the index to find relevant page URLs
- Fetch the specific page(s) for the user's question
- URL fix: if a linked URL ends in
.md but returns 404, retry without .md
Step 3 — Fallback strategies (no llms.txt)
Load references/fallback-strategies.md and try in order:
3a. Per-technology strategy — 40+ technologies with best known URLs
3b. GitHub raw markdown (most reliable for OSS):
- Search:
{library name} documentation site:github.com
- Try:
https://raw.githubusercontent.com/{owner}/{repo}/main/docs/{topic}.md
- Branch fallback:
main → master → version branches (e.g., 8.17)
3c. sitemap.xml (universal fallback):
- Fetch
{official-site}/sitemap.xml
- Filter for
/docs/, /guide/, /reference/ patterns
- Fetch the most relevant page
3d. Platform-specific signals (low reliability for Hugo — skip straight to sitemap/GitHub there):
/search/search_index.json → MkDocs (full page text)
/objects.inv → Sphinx
<meta name="generator"> → Docusaurus, VitePress
3e. Search (last resort):
- Search
{library name} official documentation {topic}
- Prefer official domains over tutorials/blogs
- Tell the user which method was used
Spec-Level Drill-Down Requirement (v1.3.3)
For these question types, fetching only the index/overview page is INSUFFICIENT. You MUST fetch the per-item detail page.
Spec-level triggers
- "최신 / 현재 / newest / latest" model, version, release
- Exact API identifiers (model IDs, function names, env var names, parameter names)
- Pricing, token limits, rate limits, quota, deprecation dates
- Context window / max tokens / output limit
- Region availability / preview vs GA / tier availability
- Endpoint compatibility (Responses API, Chat Completions, Batch, embeddings)
- Modalities / tool support (vision, audio, structured output, function calling)
- SDK / package version / migration / breaking changes
- Request parameter names / response schema fields
- Default model 변경 / sunset date / release date / "deprecated" / "legacy"
- Feature support matrix ("X 지원하나?", "Y 가능?")
Drill-down protocol
Load references/webfetch-prompts.md before fetching spec-level pages.
- Fetch the index/overview page (llms.txt or root docs)
- If the question matches any spec-level trigger above, do NOT stop here
- From the index, extract actual href URLs for each relevant item
- Use Template 1 from
references/webfetch-prompts.md
- Do NOT guess URLs from natural names —
*-preview, *-beta, *-canary, *-experimental suffixes are unguessable
- Fetch each detail page (claim-type-bounded cap below)
- Cite the detail page URL in the answer, not just the index
Drill-down cap
| Question class |
Index |
Detail max |
| general how-to |
1 |
1-2 |
| spec single target |
1 |
3 |
| latest / current 질문 |
1 |
5 (overview + changelog + pricing/deprecation) |
| matrix / comparison |
up to 8 total |
3 per provider |
| 30+ candidates |
rank by exact token/title/href match → top 5-8 |
only those needed for claim |
Stop condition: each exact claim in the answer (model ID, price, date, availability, schema) has at least one detail-page source.
Quality Gate
General questions
- Minimum: at least 1 official URL actually fetched + 1 specific fact or code example from that source
Spec-level questions
- 1 index/overview URL (proves item exists in current docs)
- 1 detail page URL per item being answered about (proves the spec)
- If detail page returns 404 → extract hrefs from index using Template 1, NOT guess
- If guessing was used and failed, output MUST flag:
⚠️ URL 추측 — 검증 안 됨 and answer must say "공식 문서에서 확인하지 못했습니다"
Self-reflection checklist (before sending answer for spec-level questions)
If any unchecked → backtrack to drill-down step or downgrade answer to "확인하지 못함".
Insufficient evidence fallback
"공식 문서에서 확인하지 못했습니다. 내부 지식 기반으로 답변합니다." / "Could not verify from official docs. Answering from knowledge."
User feedback handling
- "이 문서 아니야" / "wrong docs" → immediately try next fallback strategy
- "코드만 보여줘" / "just show code" → switch to code-only output mode
- "더 자세히" / "more detail" → fetch additional pages from the same docs
Disambiguation Patterns
When a query maps to multiple libraries:
By project context
- "Router" in React project →
react-router-dom
- "Router" in Express project →
express.Router
- "ORM" in Python → check for
sqlalchemy, django, tortoise-orm
- "auth" →
next-auth, passport, firebase-auth, supabase-auth etc.
Ecosystem conventions
- "middleware" in Next.js →
middleware.ts (edge middleware)
- "middleware" in Express →
app.use() pattern
- "store" in Vue → Pinia (modern) or Vuex (legacy)
- "state management" in React → useState/useReducer (built-in) or Zustand/Redux
Known Limitations
JS-rendered doc sites
developer.apple.com (SwiftUI, UIKit) → answer from knowledge, provide official URL
docs.oracle.com (Java SE) → answer from knowledge
Marketing llms.txt
neo4j.com/llms.txt → marketing index, not Cypher/docs. Use neo4j.com/docs/ directly.
Hugo sites
- No detectable platform signals. Skip platform detection; go to sitemap.xml or GitHub source.
docs_map.md variant
- Some sites publish the index under a different filename (e.g.,
*_docs_map.md) instead of llms.txt. Same concept: an AI-readable index of every documentation page — treat it exactly like llms.txt.
Error Handling
| Situation |
Action |
| llms.txt returns 404 |
Silently try next URL pattern, then fall back |
| llms.txt linked URL returns 404 |
Strip .md extension and retry |
| Specific doc path 404 |
Try parent path for table of contents |
GitHub main branch 404 |
Try master, then version-specific branches |
| Fetch returns empty/JS content |
Try GitHub source or answer from knowledge |
| Fetch fails (network/timeout) |
Try an alternative URL, then report |
| Content is not documentation (marketing, landing page) |
Discard and try next strategy |
| Item in index but detail URL unknown |
Re-fetch index with Template 1 from references/webfetch-prompts.md — never guess |
| 404 on guessed URL (spec-level) |
STOP guessing. Re-fetch parent index, extract actual hrefs. If still no result → "확인하지 못함" |
| No documentation found |
Inform user, answer from knowledge, suggest they provide the docs URL |
Retrieval Optimization
- Index first — always fetch
llms.txt (index) before llms-full.txt
- Targeted fetch — from index, identify the single most relevant page URL
- Section extraction — extract only the relevant section; do not dump entire page
- Progressive depth — if user asks "더 자세히", fetch additional pages
- Multi-page max — 3 pages for broad topics; summarize connections
Response Rules
- Language — match the user's language (Korean → Korean, English → English)
- Source citation — ALWAYS include documentation URL(s) at the end with "Source:" label
- Method transparency — note retrieval method (llms.txt / GitHub / sitemap / web search)
- Code examples — include them when the official docs provide them
- Version note — note the version (e.g., "React 19 기준", "as of Next.js 15")
- Conciseness — answer the specific question; don't dump entire pages
- Token awareness — for large docs, fetch the index first, then only the specific page needed
Output Format
Default mode
[Explanation based on official documentation]
[Code examples if relevant]
---
Source: [URL(s) fetched]
(version: X.Y | method: llms.txt/GitHub/sitemap/search)
Code-only mode (when user asks for code)
[Code examples with minimal inline comments]
---
Source: [URL(s)]
1---2name: docs-guide3description: Fetch and explain official documentation for any library, framework, API, or service using an llms.txt-first strategy — triggers on "How do I…", "What is…", "How does X work", "Best practice for…" about React, Next.js, Vue, Django, FastAPI, Stripe, Supabase, LangChain and any other library; on explicit doc requests ("공식 문서", "official docs", "문서 기반으로", "docs에서 확인해줘", "React 공식 문서 찾아줘", "fetch the Next.js docs", "공식 문서 URL 알려줘"); on version-specific or spec-level queries (latest model ID, pricing, deprecation, context window); and on questions about the llms.txt standard itself ("llms.txt란 뭐야", "which sites have llms.txt", "documentation for LLMs").4---56# docs-guide for Codex78Read these first:9- `references/llms-txt-sites.md`10- `references/fallback-strategies.md`1112Load on demand (spec-level or fetch-prompt workflow questions):13- `references/webfetch-prompts.md`14- `references/regression-cases.md`1516---1718## Scope1920Any library, framework, API, or service with official documentation — including LLM provider APIs (OpenAI, Anthropic, Google Gemini, etc.) via their `llms.txt` indexes listed in `references/llms-txt-sites.md`.2122Trigger on:23- "How do I…", "What is…", "How does X work", "Best practice for…" about any library or framework24- Explicit doc requests — "공식문서", "official docs", "문서 기반으로", "docs에서 확인해줘"25- Version-sensitive or spec-level questions about external libraries26- Questions about the llms.txt standard itself (what it is, which sites have it, llms.txt vs llms-full.txt)2728When a question spans several tools or skills (e.g., "How to use Stripe inside my agent runtime"), this skill owns the external-documentation part only.2930---3132## Arguments3334When invoked as `docs-guide [library] [question]`, parse the leading token(s) as the library and the rest as the topic:3536- `docs-guide react useEffect` → Library: React, Question: useEffect37- `docs-guide next.js app router caching` → Library: Next.js, Question: app router caching38- `docs-guide fastapi dependency injection` → Library: FastAPI, Question: dependency injection39- `docs-guide` (no args) → ask which library/framework and which topic (one §A question covering both), unless Step 0 project context makes the library obvious4041---4243## Clarification — docs-guide is minimal-interview4445This plugin mostly needs just two facts: **library** and **topic**.4647Per `shared/questioning-policy.md` §2c — if the user already named the library and topic, proceed immediately without asking anything.4849If the library OR topic is genuinely ambiguous (e.g., "Router" with no project context), ask exactly ONE numbered-option question per §A below, then proceed.5051### §A — Numbered-option format (Codex CLI has no multiple-choice card UI)5253Codex CLI has no card UI. When you must ask, output a chat block:5455```56질문: <한 줄 질문>571. <추천안> — 무엇인지, 왜 이걸 추천하는지582. <대안> — 무엇인지, 트레이드오프593. 직접 입력 (문장으로 말씀해 주세요)60```6162- Recommended option always goes first (1번).63- Multi-pick → "여러 개면 `1,3`처럼 적어주세요."64- Never ask more than once; if still unclear, proceed with the most likely interpretation.6566---6768## Step 0 — Project Context Detection6970Before fetching, quickly scan local dependency files to detect library version:7172```73package.json, requirements.txt, pyproject.toml, go.mod, Cargo.toml, pom.xml, build.gradle74```7576Use this for:77- **Version detection**: `"react": "^19.0.0"` → fetch React 19 docs78- **Disambiguation**: project has both `react-router-dom` and `express`, user asks "Router" → resolve silently79- **Skip unnecessary search**: if the library is not installed in the project, say so briefly8081Skip this step if the question already names a specific library and version.8283---8485## Intent Classification (Smart Broad)8687### FETCH (external lookup needed)88- Library/framework APIs, configuration, features89- Setup/installation, migration guides, breaking changes90- API reference (endpoints, parameters, return types)91- Questions where wrong info causes bugs (auth, payments, DB queries)92- Explicit doc requests9394### SKIP (answer from knowledge)95- Basic language syntax (Python for loop, JS array methods)96- General CS concepts (REST, closures)97- Architecture discussions not tied to a specific library version9899### DISAMBIGUATE100- Generic term maps to multiple libraries ("Router", "ORM", "auth", "store")101- Check Step 0 first; if still ambiguous, ask one §A question102103When unsure between FETCH and SKIP, answer from knowledge first, then offer: "공식 문서도 확인해볼까요?"104105---106107## Version Awareness1081091. **Project context first** — check Step 01102. **User mention** — "React 19", "Django 5.0"1113. **Normalize** — `react 18`, `React v18`, `@18`, `^18.2.0` → all mean React 18.x1124. **Version-specific URLs** — Next.js `/docs/14/`, Django `/en/5.0/`, Python `/3.12/library/`1135. **Default** — latest stable; note which version was used114115Common pitfalls:116117| Situation | Risk | Action |118|-----------|------|--------|119| "React" without version | React 18 vs 19 differ significantly | Check package.json first |120| Library has LTS and current | User may need LTS-specific docs | Ask if unclear |121| Pre-release/canary docs | May contain unstable APIs | Warn user |122| Archived docs (e.g., CRA) | Deprecated project | Note it |123124---125126## Documentation Retrieval Strategy127128### Step 1 — Check known llms.txt sites129130Load `references/llms-txt-sites.md`. If the library is listed, use that URL directly.131132### Step 2 — Try llms.txt on the official site133134If not in the known list:1351. If you know the official docs domain → try llms.txt directly1362. If unsure → search for `{library name} official site` to find the domain1373. Try in order:138 - `{official-site}/llms.txt`139 - `{official-site}/docs/llms.txt`140 - `{official-site}/llms-full.txt`141142If llms.txt exists:143- Read the index to find relevant page URLs144- Fetch the specific page(s) for the user's question145- **URL fix**: if a linked URL ends in `.md` but returns 404, retry without `.md`146147### Step 3 — Fallback strategies (no llms.txt)148149Load `references/fallback-strategies.md` and try in order:150151**3a. Per-technology strategy** — 40+ technologies with best known URLs152153**3b. GitHub raw markdown** (most reliable for OSS):154- Search: `{library name} documentation site:github.com`155- Try: `https://raw.githubusercontent.com/{owner}/{repo}/main/docs/{topic}.md`156- Branch fallback: `main` → `master` → version branches (e.g., `8.17`)157158**3c. sitemap.xml** (universal fallback):159- Fetch `{official-site}/sitemap.xml`160- Filter for `/docs/`, `/guide/`, `/reference/` patterns161- Fetch the most relevant page162163**3d. Platform-specific signals** (low reliability for Hugo — skip straight to sitemap/GitHub there):164- `/search/search_index.json` → MkDocs (full page text)165- `/objects.inv` → Sphinx166- `<meta name="generator">` → Docusaurus, VitePress167168**3e. Search** (last resort):169- Search `{library name} official documentation {topic}`170- Prefer official domains over tutorials/blogs171- Tell the user which method was used172173---174175## Spec-Level Drill-Down Requirement (v1.3.3)176177For these question types, fetching only the index/overview page is **INSUFFICIENT**. You MUST fetch the per-item detail page.178179### Spec-level triggers180- "최신 / 현재 / newest / latest" model, version, release181- Exact API identifiers (model IDs, function names, env var names, parameter names)182- Pricing, token limits, rate limits, quota, deprecation dates183- Context window / max tokens / output limit184- Region availability / preview vs GA / tier availability185- Endpoint compatibility (Responses API, Chat Completions, Batch, embeddings)186- Modalities / tool support (vision, audio, structured output, function calling)187- SDK / package version / migration / breaking changes188- Request parameter names / response schema fields189- Default model 변경 / sunset date / release date / "deprecated" / "legacy"190- Feature support matrix ("X 지원하나?", "Y 가능?")191192### Drill-down protocol193194Load `references/webfetch-prompts.md` before fetching spec-level pages.1951961. Fetch the index/overview page (llms.txt or root docs)1972. If the question matches any spec-level trigger above, do NOT stop here1983. From the index, **extract actual href URLs** for each relevant item199 - Use Template 1 from `references/webfetch-prompts.md`200 - Do NOT guess URLs from natural names — `*-preview`, `*-beta`, `*-canary`, `*-experimental` suffixes are unguessable2014. Fetch each detail page (claim-type-bounded cap below)2025. Cite the **detail page URL** in the answer, not just the index203204### Drill-down cap205206| Question class | Index | Detail max |207|---|---|---|208| general how-to | 1 | 1-2 |209| spec single target | 1 | 3 |210| latest / current 질문 | 1 | 5 (overview + changelog + pricing/deprecation) |211| matrix / comparison | up to 8 total | 3 per provider |212| 30+ candidates | rank by exact token/title/href match → top 5-8 | only those needed for claim |213214**Stop condition**: each exact claim in the answer (model ID, price, date, availability, schema) has at least one detail-page source.215216---217218## Quality Gate219220### General questions221- Minimum: at least 1 official URL actually fetched + 1 specific fact or code example from that source222223### Spec-level questions224- **1 index/overview URL** (proves item exists in current docs)225- **1 detail page URL per item** being answered about (proves the spec)226- If detail page returns 404 → extract hrefs from index using Template 1, **NOT** guess227- If guessing was used and failed, output MUST flag: `⚠️ URL 추측 — 검증 안 됨` and answer must say "공식 문서에서 확인하지 못했습니다"228229### Self-reflection checklist (before sending answer for spec-level questions)230- [ ] Index URL was actually fetched (not just from memory)231- [ ] Detail page was fetched for every exact claim in the answer232- [ ] All URLs were extracted from real hrefs, not guessed from natural names233- [ ] Source citation shows detail URL(s), not just index234235If any unchecked → backtrack to drill-down step or downgrade answer to "확인하지 못함".236237### Insufficient evidence fallback238"공식 문서에서 확인하지 못했습니다. 내부 지식 기반으로 답변합니다." / "Could not verify from official docs. Answering from knowledge."239240### User feedback handling241- "이 문서 아니야" / "wrong docs" → immediately try next fallback strategy242- "코드만 보여줘" / "just show code" → switch to code-only output mode243- "더 자세히" / "more detail" → fetch additional pages from the same docs244245---246247## Disambiguation Patterns248249When a query maps to multiple libraries:250251### By project context252- "Router" in React project → `react-router-dom`253- "Router" in Express project → `express.Router`254- "ORM" in Python → check for `sqlalchemy`, `django`, `tortoise-orm`255- "auth" → `next-auth`, `passport`, `firebase-auth`, `supabase-auth` etc.256257### Ecosystem conventions258- "middleware" in Next.js → `middleware.ts` (edge middleware)259- "middleware" in Express → `app.use()` pattern260- "store" in Vue → Pinia (modern) or Vuex (legacy)261- "state management" in React → useState/useReducer (built-in) or Zustand/Redux262263---264265## Known Limitations266267### JS-rendered doc sites268- `developer.apple.com` (SwiftUI, UIKit) → answer from knowledge, provide official URL269- `docs.oracle.com` (Java SE) → answer from knowledge270271### Marketing llms.txt272- `neo4j.com/llms.txt` → marketing index, not Cypher/docs. Use `neo4j.com/docs/` directly.273274### Hugo sites275- No detectable platform signals. Skip platform detection; go to sitemap.xml or GitHub source.276277### docs_map.md variant278- Some sites publish the index under a different filename (e.g., `*_docs_map.md`) instead of `llms.txt`. Same concept: an AI-readable index of every documentation page — treat it exactly like `llms.txt`.279280---281282## Error Handling283284| Situation | Action |285|-----------|--------|286| llms.txt returns 404 | Silently try next URL pattern, then fall back |287| llms.txt linked URL returns 404 | Strip `.md` extension and retry |288| Specific doc path 404 | Try parent path for table of contents |289| GitHub `main` branch 404 | Try `master`, then version-specific branches |290| Fetch returns empty/JS content | Try GitHub source or answer from knowledge |291| Fetch fails (network/timeout) | Try an alternative URL, then report |292| Content is not documentation (marketing, landing page) | Discard and try next strategy |293| Item in index but detail URL unknown | Re-fetch index with Template 1 from `references/webfetch-prompts.md` — never guess |294| 404 on guessed URL (spec-level) | STOP guessing. Re-fetch parent index, extract actual hrefs. If still no result → "확인하지 못함" |295| No documentation found | Inform user, answer from knowledge, suggest they provide the docs URL |296297---298299## Retrieval Optimization3003011. **Index first** — always fetch `llms.txt` (index) before `llms-full.txt`3022. **Targeted fetch** — from index, identify the single most relevant page URL3033. **Section extraction** — extract only the relevant section; do not dump entire page3044. **Progressive depth** — if user asks "더 자세히", fetch additional pages3055. **Multi-page max** — 3 pages for broad topics; summarize connections306307---308309## Response Rules3103111. **Language** — match the user's language (Korean → Korean, English → English)3122. **Source citation** — ALWAYS include documentation URL(s) at the end with "Source:" label3133. **Method transparency** — note retrieval method (llms.txt / GitHub / sitemap / web search)3144. **Code examples** — include them when the official docs provide them3155. **Version note** — note the version (e.g., "React 19 기준", "as of Next.js 15")3166. **Conciseness** — answer the specific question; don't dump entire pages3177. **Token awareness** — for large docs, fetch the index first, then only the specific page needed318319## Output Format320321### Default mode322323```324[Explanation based on official documentation]325326[Code examples if relevant]327328---329Source: [URL(s) fetched]330(version: X.Y | method: llms.txt/GitHub/sitemap/search)331```332333### Code-only mode (when user asks for code)334335```336[Code examples with minimal inline comments]337338---339Source: [URL(s)]340```