Knowledge routing

From ahmadulhoq/agentskel · View interactive version

Knowledge routing is an AI agent skill from the GitHub repository ahmadulhoq/agentskel. When deciding where to store a piece of knowledge (memory files vs Confluence vs Jira). Use when about to document something, capture a lesson, create a ticket, or publish a decision.

How to use this skill

Skill file

Knowledge Routing

Purpose: Three layers exist — pick the right one.

The three layers

| Layer | Where it lives | Who owns it |

|---|---|---|

| Agent operational state | .memory/ in repo | Agent, shared via git |

| Team-canonical knowledge | Confluence | Humans (tech leads, product) |

| Tracked work | Jira | Team |

Decision table

| Knowledge type | Destination | Why |

|---|---|---|

| Codebase structure (modules, classes, functions) | .memory/MAP.md, .memory/SYMBOLS.md | Agent reads every session |

| Session state, what's next | .memory/RESUME.md | Local-only, session handoff |

| Coding conventions (naming, style, patterns) | .memory/CONVENTIONS.md | Read by every session |

| Agent lessons learned (mistakes to avoid) | .memory/LESSONS.md | Small, agent-facing |

| Sacred behaviors (code that looks wrong but shouldn't change) | .memory/SACRED.md | Small, agent-facing |

| Team roster and roles | .memory/TEAM.md | Read during handoffs |

| Jira workflow conventions | .memory/JIRA_WORKFLOW.md | Read before Jira writes |

| Tech debt findings | .memory/TECH_DEBT.md + optional Jira ticket | Local record + tracked when actionable |

| Architectural decisions (ADRs) | Confluence (ADRs parent) + link in LESSONS.md | Team-canonical, durable |

| Post-mortems | Confluence (Postmortems parent) | Team-visible, searchable |

| Runbooks | Confluence (Runbooks parent) | Referenced during incidents |

| Feature specifications | Confluence (Specs parent) | Human-authored and -reviewed |

| Release notes | Confluence (or GitHub release) | External audience |

| Tracked work (features, bugs, debt being worked) | Jira | Lifecycle-tracked by team |

The rule

Cross-layer linking

When knowledge spans layers, cross-reference:

When to ask vs auto-decide

What NOT to do

No gate. This is an advisory skill — apply judgment when deciding where knowledge belongs.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.