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

ccg-docs

Generate, discover, read, and lint CCG documentation. Use when producing Markdown and Wiki snapshots, narrowing broad module questions with search, reading generated docs from configured content roots with get_doc_content, or diagnosing orphan, missing, stale, incomplete, contradiction, dead-ref, and drift findings. Do not use for direct source annotation authoring or exact call-graph analysis.

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

tae2089/code-context-graph스타 17(GitHub 17 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.3 KB

SKILL.md(원문)

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

ccg-docs — Documentation Discovery

Separate DB-backed discovery from generated-file reads, then validate both the selected evidence and documentation quality.

Routing

TaskTool
Broad question about a moduleMCP search, phrased as a question, then get_doc_content
Focused annotation or symbol keywordccg search or MCP search
Exact generated Markdown bodyget_doc_content
Exact signature or relationshipget_node or query_graph
Regenerate Markdown and Wiki snapshotccg docs --out docs
Audit generated docsccg lint

search is a DB-backed narrowing layer. A question is scored against recorded @intent/@domainRule reasons as well as names, and every hit carries a node_id; it does not read a separately generated retrieval index. Read a file's Markdown with get_doc_content, then use graph tools for exact symbols and relationships. Local MCP clients use ccg serve; self-hosted clients connect to ccg-server over Streamable HTTP.

Discovery Pipeline

Use the ccg skill's Freshness Boundary before relying on graph evidence. If refresh is required, report the gap; do not invoke ccg-build unless the user explicitly names it. search can narrow candidates without generated Markdown:

search(query: "how does a caller get authenticated", limit: 5)

Generate files only when the task needs current Markdown, Wiki output, or get_doc_content:

ccg docs --out docs  # Markdown + wiki-index.json compatibility snapshot
ccg lint             # Documentation quality checks; --strict exits 1 on actionable issues

Content-Root Contract

search returns DB-backed candidates with source file_path values; it does not prove that a corresponding generated Markdown file exists in the filesystem root used by get_doc_content.

  • For the default namespace, get_doc_content resolves file_path beneath the MCP server's configured rag.index_dir (default .ccg).
  • For a named namespace, it resolves beneath {namespace_root}/{namespace}.
  • ccg docs --out docs writes Markdown to docs, but it does not make those files readable beneath the default .ccg content root.
  • To support default-namespace MCP reads, either generate with ccg docs --out .ccg/docs --rag-index-dir .ccg, configure rag.index_dir to a root that already contains docs, or use a direct local file read.
  • For a named namespace, place generated docs beneath that namespace directory before calling get_doc_content.

Pass the selected result's relative generated-doc path to get_doc_content. If the read fails, report the configured-root mismatch; do not guess paths outside the allowed root.

Lint Categories

CategoryMeaning
orphanGenerated doc without matching code
missingCode without generated doc
staleCode changed but doc did not
unannotatedMissing required intent/domain annotation
contradictionDoc contradicts the current signature
dead-refBroken @see reference
incompleteMissing required parameter or return documentation
driftDocumentation structure diverged from code

Quality Checkpoints

  1. Sparse results: add accurate @intent or @index annotations with the ccg-annotate skill.
  2. Stale generated docs: assess graph freshness with the ccg skill. If graph refresh is required, report that the user must explicitly invoke ccg-build; do not invoke it automatically.
  3. Empty answers to a question-shaped search: an empty answer usually means nobody recorded a reason in the area, not that the graph is stale. Confirm namespace statistics and refresh only when the graph is missing or stale.
  4. Missing get_doc_content file: compare the generated-doc path with the configured content root before regenerating.
  5. Exact-answer needs: switch from documentation discovery to get_node, query_graph, or trace_flow.

Boundary

  • Treat search as a narrowing layer, not a guaranteed Top-1 answer.
  • Confirm the selected generated-doc path is readable before treating its body as evidence.
  • Do not hand-edit generator-managed Markdown when the source annotation or generator owns the content.
  • Separate current lint results from pre-existing unrelated findings.
  • Never infer that successful generation to an arbitrary --out directory made the file MCP-readable.

Completion

Report generated Markdown and Wiki-index paths when generation was requested, the configured content root and selected generated-doc path for each document read, namespace and graph freshness, and the exact lint summary or why lint was not run. Record any discovery/read mismatch rather than claiming a candidate body was inspected.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

ccg

무료

Fast read-only code discovery with a bounded code-context-graph search and targeted source verification. Use when an ordinary positive lookup or explanation needs an entry point, recorded intent, known-path inventory, or direct relationship evidence. Do not use for absence, completeness, exhaustive inventory, deep flow or impact analysis, or graph writes; use ccg-search-verify for defensible negative claims, and require explicit invocation for ccg-analyze or ccg-build.

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

tae2089/code-context-graph172026년 8월 22일 업데이트

Explicit-only deep analysis of algorithms, feature pipelines, and code relationships with CCG impact radius, bounded flow tracing, callers/callees, git-diff risk, affected stored flows, and cross-namespace references. Use only when the user explicitly names the ccg-analyze skill in the current request. Do not invoke merely because a task asks about a flow, pipeline, impact, caller, or relationship.

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

tae2089/code-context-graph172026년 8월 22일 업데이트

code-context-graph — annotation system. AI-driven annotation workflow, tag reference, and annotation search.

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

tae2089/code-context-graph172026년 8월 22일 업데이트

Author, refine, and verify CCG annotations such as @intent, @domainRule, @sideEffect, @mutates, @index, and @see. Use when adding business meaning to code, improving annotation-aware code or documentation retrieval, fixing annotation lint findings, checking supported tag syntax, or documenting operational contracts. Do not use for generated Markdown editing or annotations that merely restate symbol names.

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

tae2089/code-context-graph172026년 8월 22일 업데이트

ccg-build

무료

Explicit-only graph ingestion for building, updating, migrating, and postprocessing code-context-graph graphs from source visible to the CCG runtime. Use only when the user explicitly names the ccg-build skill in the current request. Do not invoke merely because a graph is missing or stale, annotations need reindexing, or another workflow would benefit from a refresh.

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

tae2089/code-context-graph172026년 8월 22일 업데이트

ccg-docs

무료

code-context-graph — documentation generation, RAG indexing, and docs quality linting.

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

tae2089/code-context-graph172026년 8월 22일 업데이트

tae2089의 스킬 모두 보기

이 스킬의 문제 신고