본문으로 건너뛰기
cccskills
무료GitHub에 공개

docs-search

Search documentation effectively for agents: index docs, query precisely, and cite sources. Use when agents need accurate answers from documentation rather than guesses.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Docs Search

Overview

Agents hallucinate when they guess; docs search grounds them in written sources. The pattern: indexed documentation, precise queries, cited answers.

Effective docs search for agents means: curated doc sets, chunked and indexed content, query expansion, and answers that cite their sources.

Goal: every factual claim traceable to a doc passage — no confident inventions.

When to use

  • Agent answering questions from documentation
  • Building a knowledge base agents can query
  • Reducing hallucinations in agent responses
  • Onboarding agents to a codebase or product
  • Keeping agent answers current with doc updates

Core concepts

  • Curated doc sets. Index the right docs: official, current, complete. Garbage in, garbage out — curation beats index size.
  • Chunking. Split docs into retrievable passages (sections, not whole pages). Good chunks: self-contained, titled, with context.
  • Query expansion. Expand user questions into 2-3 search phrasings, including synonyms and related terms. One phrasing misses; several hit.
  • Hybrid retrieval. Keyword (BM25) + semantic (embeddings) together. Keywords catch exact terms; semantics catch paraphrases. Hybrid beats either alone.
  • Reranking. Rerank top candidates with a stronger model/scorer before answering. Retrieval gets candidates; reranking picks winners.
  • Cited answers. Every claim linked to its source passage. Citations let humans verify and agents stay honest.
  • Freshness. Docs change; indexes must follow. Re-index on doc updates; flag answers sourced from outdated passages.
  • Fallback honesty. No good source found? Say so. 'Not in the docs' beats a fabricated answer every time.

Practical workflow

  1. Curate the corpus. Select authoritative, current docs. Exclude drafts, duplicates, and deprecated versions. Document what's indexed.
  2. Chunk and index. Section-level chunks with titles and metadata (source, version, date). Build keyword + semantic indexes.
  3. Expand queries. For each question: 2-3 phrasings with synonyms. Search all; merge and dedupe results.
  4. Retrieve and rerank. Hybrid retrieval for candidates, rerank top 20 -> top 5. Quality over quantity in the answer context.
  5. Answer with citations. Compose from retrieved passages only; cite each claim to its passage. No source = no claim.
  6. Handle gaps honestly. Weak or no sources: say what's missing, suggest where to look. Never fill gaps with invention.
  7. Maintain freshness. Re-index on doc changes; version the index; surface source dates in answers.
  8. Evaluate regularly. Test questions with known answers; measure retrieval hit rate and answer accuracy. Improve chunking/queries from failures.

Common pitfalls

  • Uncurated indexes. Indexing everything including drafts and deprecated docs. Stale/wrong sources produce confident wrong answers.
  • Whole-page chunks. Retrieving 5,000-word pages as 'passages.' Chunk by section; precision matters.
  • Single-phrasing queries. One literal query missing paraphrased content. Expand phrasings or miss half the corpus.
  • Citation-free answers. Fluent answers with no sources. Unverifiable = untrustworthy, however fluent.
  • Fabrication on gaps. No source found, answer invented anyway. The cardinal sin of docs search — always admit gaps.
  • Stale indexes. Docs updated, index months old. Answers cite superseded information confidently.
  • Keyword-only or semantic-only. Each misses what the other catches. Hybrid retrieval is the standard for a reason.
  • No evaluation. Never testing whether retrieval actually works. A test set of known Q&A pairs keeps the system honest.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

aicodedecode의 스킬 모두 보기

이 스킬의 문제 신고