本文へ移動
cccskills
無料GitHub で公開

ccg-docs

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

日本語の概要は準備中です。原文の説明を表示しています。

tae2089/code-context-graphスター 17(GitHub 17 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

code-context-graph — Documentation & RAG Indexing

Generate Markdown documentation from code graphs, build RAG indexes for AI consumption, and lint documentation quality.

Subcommands

CommandDescriptionExample
docs [--out dir]Generate Markdown documentationccg docs --out docs
lint [--out dir]8-category docs lintccg lint
lint --strictExit 1 on issues (for CI/pre-commit)ccg lint --strict
hooks installInstall pre-commit git hookccg hooks install
hooks install --lint-strictInstall hook that blocks commit on issuesccg hooks install --lint-strict

MCP Tools (4)

ToolDescription
build_rag_indexBuild RAG index from docs and communities. Use namespace for namespace-specific docs; workspace remains a deprecated alias.
get_rag_treeNavigate RAG document tree. Use namespace for namespace-specific doc-index.json; workspace remains a deprecated alias.
get_doc_contentGet documentation file content. Use namespace for namespace-scoped docs; workspace remains a deprecated alias.
search_docsSearch RAG document tree by keyword. Use namespace for namespace-specific searches; workspace remains a deprecated alias.

Lint Categories (8)

CategoryDescription
orphanDoc files with no matching source code
missingSource files with no documentation
staleDocs outdated vs source (hash/timestamp mismatch)
unannotatedFunctions lacking @intent/@domainRule annotations
contradictionDoc content contradicting code signatures
dead-ref@see tags pointing to non-existent functions
incompletePartial documentation (missing @param, @return)
driftDoc structure diverged from code structure

Usage Examples

Generate documentation

User: "문서 생성해줘"
→ ccg docs --out docs
→ Generates Markdown files for all modules

Build RAG index for AI

User: "RAG 인덱스 만들어줘"
→ build_rag_index via MCP
→ Creates searchable document tree from docs + communities

Check documentation quality

User: "문서 상태 체크해줘"
→ ccg lint
→ Returns 8-category report: orphan, missing, stale, unannotated, etc.

CI integration

# .github/workflows/docs.yml
- run: ccg lint --strict  # Fails build on documentation issues

Lint Rules & Regex Patterns

.ccg.yaml rules support regex patterns for pattern field. Patterns containing $, ^, +, {}, |, \., or .* are auto-detected as regex:

rules:
  # Exact match (legacy)
  - pattern: "pkg/auth.go::Login"
    category: unannotated
    action: ignore

  # Regex: ignore all symbols under pkg/store/
  - pattern: "pkg/store/.*"
    category: unannotated
    action: ignore

  # Regex: ignore all generated code
  - pattern: ".*_generated\\.go::.*"
    category: incomplete
    action: warn

Prerequisites

Graph must be built first. If it is missing or stale, report the gap; do not invoke /ccg-build unless the user explicitly names it. /ccg is read-only.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは 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

無料

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-graph172026年8月22日 更新

tae2089 のスキルをすべて見る

このスキルの問題を報告する