Skip to content
Back to skills

Kb

ASecurity

The team's working knowledge from real incidents and tasks, in `.claude/knowledge/`. Consult before debugging or changing anything, and add or update an entry after solving anything new. The knowledge base starts empty; the team fills it through daily work, `reflect` and `retro`.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 25, 2026
ai-agentspythonrustgodebugging

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 25, 2026

npx -y skills add yarka-guru/claude-team-harness --skill kb --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kb?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kb
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yarka-guru-claude-team-harness/badge)](https://www.skillsdirectory.com/skills/yarka-guru-claude-team-harness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kb
description: The team's working knowledge from real incidents and tasks, in `.claude/knowledge/`. Consult before debugging or changing anything, and add or update an entry after solving anything new. The knowledge base starts empty; the team fills it through daily work, `reflect` and `retro`.
---

# Knowledge base

Verified knowledge from the team's own work. Everything lives in `.claude/knowledge/` (relative
to the workspace root): one file per problem, each with frontmatter. This file holds only the
procedure and the rules that cut across entries. Facts live in the entries and nowhere else.

`KB` below means `python3 .claude/skills/kb/kb.py`, run from the workspace root.

## Using it

1. Read `.claude/knowledge/INDEX.md` (one line per entry, grouped by domain). Pick entries by
   symptom.
2. `grep -rl '<error text or component>' .claude/knowledge/` when the index line is not enough;
   the index describes each entry in 200 characters and cannot list every symptom.
3. Open the matching entries and apply the known fix before re-diagnosing from scratch.
4. Trust order for status: frontmatter `status`/`note` first, then the body.

## Adding or changing knowledge

1. Create or edit `.claude/knowledge/<kebab-slug>.md` with this frontmatter:

   ```
   ---
   description: "<=200 chars, symptom first, with the literal error text or component name>"
   domain: method | process | infra | deploy | observability | services | ui | cli | ci | local
   type: case | gotcha | runbook | reference | method | process
   status: resolved | open | workaround | reference
   tickets: [PROJ-123]
   revisit: [PROJ-456]
   updated: YYYY-MM-DD
   note: "optional, temporary: what in the body is known to be stale or unverified"
   ---
   ```

   `tickets` are the ones the entry is about (`[]` when there is none). `revisit` (optional) lists
   follow-up tickets whose closing changes what the entry should say. Describe the body, not an
   older summary of it: read the entry before writing `description` and `status`. The domain list
   lives in `DOMAINS` at the top of `kb.py`; change it there to fit your product.
2. Run `KB` after every change. It validates every entry and regenerates `INDEX.md`; on any
   problem it writes nothing. Never edit `INDEX.md` by hand.
3. When a finding changes, rewrite the entry so it states the current truth. Do not stack a
   correction on top of the old text, and bump `updated`.
4. Add a rule to this file only when it applies across domains. A fact about one component
   belongs in its entry.
5. `KB --check` validates without writing and fails on a stale `INDEX.md`. `KB --review` lists
   open entries, entries with a `note`, stale reference entries, and JQL queries to compare entry
   status and `revisit` tickets with your tracker.

## Cross-cutting rules

None yet. A rule goes here once it has cost at least one wrong conclusion in more than one
domain, with the entry that holds the evidence in brackets.

Files in this skill

  • SKILL.md2.9 KB
  • kb.py8.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.