From kmgraph
**Purpose:** Auto-surface ADR creation when user makes architectural decisions or chooses between technical approaches. Dispatches to the `create-adr-agent` for the full creation workflow.
npx claudepluginhub technomensch/knowledge-graph --plugin kmgraphThis skill uses the workspace's default tool permissions.
**Purpose:** Auto-surface ADR creation when user makes architectural decisions or chooses between technical approaches. Dispatches to the `create-adr-agent` for the full creation workflow.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Retrieves current documentation, API references, and code examples for libraries, frameworks, SDKs, CLIs, and services via Context7 CLI. Ideal for API syntax, configs, migrations, and setup queries.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
Purpose: Auto-surface ADR creation when user makes architectural decisions or chooses between technical approaches. Dispatches to the create-adr-agent for the full creation workflow.
Trigger Keywords:
Behavior: When triggered, guide the user toward documenting the decision as an Architecture Decision Record:
Extract context from the conversation before asking anything:
Show the user a summary of what was extracted:
"This looks like an architecture decision worth capturing. Here's what I'd pre-fill:
Title: [title] Status: [status] Context: [context] Decision: [decision] Rationale: [rationale]
Want me to create the ADR from this?"
Dispatch to create-adr-agent with the full context payload if user agrees:
context_provided: true
title: "[title]"
status: "[Proposed|Accepted]"
category: "[Architecture|Process|Technology]"
context: "[context text]"
decision: "[decision text]"
rationale: "[rationale text]"
consequences: "[consequences text or blank]"
related_lessons: []
The agent uses context_provided: true to skip its interactive wizard and go directly to draft generation.
Dispatch:
When the user agrees to create an ADR, spawn the create-adr-agent subagent with the full context payload defined in Behavior step 3 above.
Example Trigger:
User: "We need to decide: should we use PostgreSQL for the main database
or stick with the current approach?"
Assistant Response: "This looks like an architecture decision worth capturing. Here's what I'd pre-fill:
Title: Use PostgreSQL for Primary Database Status: Proposed Context: The team is evaluating whether to adopt PostgreSQL for the main database or continue with the current approach. Decision: Switch to PostgreSQL as the primary database. Rationale: PostgreSQL offers better support for complex queries and has strong community support.
Want me to create the ADR from this?"
If the user agrees, dispatch to create-adr-agent with the full context payload.
v0.2.1 Decision Note: Agent dispatch was chosen over the previous /kmgraph:create-adr command suggestion because the ADR creation workflow (7 phases, 8 user prompts, git metadata, template population, index management) benefits from dedicated agent handling. The create-adr command's thin refactor to dispatch to this agent is deferred to v0.2.2.