Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

graphrag-system-design

БесплатноБез исполняемых скриптовНе проверен

Designs complete GraphRAG systems integrating graph databases, vector stores, orchestration frameworks, and LLM reasoning. Guides through pattern selection…

lyndonklот lyndonkl★ 208 звёзд на GitHub

Об этом скилле

Table of Contents

GraphRAG System Design

Workflow

Copy this checklist and work through each step:

GraphRAG System Design Progress:
- [ ] Step 1: Analyze domain requirements
- [ ] Step 2: Select GraphRAG pattern
- [ ] Step 3: Choose technology stack
- [ ] Step 4: Design integration pipeline
- [ ] Step 5: Apply domain customizations
- [ ] Step 6: Define deployment strategy
- [ ] Step 7: Produce specification

Step 1: Analyze domain requirements

Characterize the retrieval problem: query complexity (single-hop vs multi-hop), data volume and update frequency, compliance constraints, latency requirements, and explainability needs. Determine whether graph structure adds value over flat retrieval -- multi-hop reasoning, entity disambiguation, and relationship-aware context assembly are strong signals for GraphRAG. Define the user personas and query patterns the system must serve.

Step 2: Select GraphRAG pattern

Choose the core retrieval architecture using the GraphRAG Pattern Selection guide. Match your query patterns to the appropriate pattern: Hybrid Symbol-Vector for mixed structured/unstructured queries, Subgraph-on-Demand for focused context assembly, or Community-Based Global Summarization for broad thematic queries. For detailed pattern descriptions, see Methodology Reference.

Step 3: Choose technology stack

Select components for each architectural layer: graph database, vector database, orchestration framework, and LLM provider. Use the Technology Stacks Reference for component-by-component comparison. Key decisions: single-system vs multi-system hybrid, managed vs self-hosted, framework-based vs custom pipeline. Consider team expertise, budget constraints, and existing infrastructure.

Step 4: Design integration pipeline

Define the end-to-end data flow from ingestion through generation. The core pipeline stages: Ingest (raw data) -> Extract (entities and relations) -> Build KG (populate graph) -> Index (vector embeddings + graph indices) -> Retrieve (hybrid graph+vector search) -> Generate (LLM with graph-grounded context) -> Cite (provenance from graph paths). Design the query routing logic that determines when to use graph traversal, vector search, or both. See Methodology Reference for pipeline design considerations.

Step 5: Apply domain customizations

Adapt the generic architecture to domain-specific requirements: ontology selection (UMLS for healthcare, FIBO for finance), compliance patterns (HIPAA access control, regulatory audit trails), and domain retrieval patterns (temporal graphs for finance, layered patient graphs for clinical). See Domain Patterns Reference for domain-specific guidance.

Step 6: Define deployment strategy

Specify the deployment architecture: graph database sizing and clustering, vector index configuration, caching strategy, batch vs real-time ingestion, monitoring and observability, and scaling plan. Define performance SLAs for query latency, throughput, and freshness. Plan for graph maintenance: incremental updates, schema evolution, and data quality monitoring.

Step 7: Produce specification

Compile the complete system design specification using the Output Template. Validate against the quality rubric at System Design Rubric. Ensure all components are connected end-to-end with clear data flows, error handling, and fallback strategies.

GraphRAG Pattern Selection

Pattern Query Type Mechanism Best For Trade-offs
Hybrid Symbol-Vector Mixed structured + semantic Pre-filter by graph type/constraint then rank by embedding similarity; or broad vector search then graph-guided expansion Systems needing both precise structural queries and fuzzy semantic search; enterprise QA with entity disambiguation Higher complexity; requires synchronized graph + vector indices; latency depends on filter-then-rank vs expand strategy
Subgraph-on-Demand Focused multi-hop Build temporary query-specific subgraphs rather than querying one monolithic graph; extract relevant neighborhood, embed, retrieve Real-time applications needing focused context; systems with frequent updates; cost-sensitive deployments Cold-start latency for subgraph construction; requires efficient subgraph extraction; context may miss distant but relevant nodes
Community-Based Global Summarization Broad thematic / global Detect communities/clusters in graph, embed summaries of each community, retrieve relevant community then drill into entity details;
Полный SKILL.md на GitHub

Установить graphrag-system-design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

resources/domain-patterns.mdresources/evaluators/rubric_system_design.jsonresources/methodology.mdresources/technology-stacks.md

FAQ

Что делает скилл graphrag-system-design?

Designs complete GraphRAG systems integrating graph databases, vector stores, orchestration frameworks, and LLM reasoning. Guides through pattern selection, technology stack decisions, integration pipeline design, and domain-specific customizations. Use when designing GraphRAG systems, choosing technology stacks for graph-augmented retrieval, combining Neo4j with LLM, using LangChain/LlamaIndex knowledge graphs, applying community detection for RAG, building hybrid symbol-vector pipelines, or deploying production or domain-specific GraphRAG.

Как установить скилл graphrag-system-design?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл graphrag-system-design запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить graphrag-system-design с