Knowledge Basephilsj

Knowledge-base authoring skill

skillsactive owner: philip · updated 2026-11-14

relates: onboarding · kb-retrieval-token-budget

Knowledge-base authoring skill

Teaches any AI agent the full KB authoring workflow so it can add or amend entries correctly on the first try — the amend path for humans and agents who cannot (or should not) hand-write frontmatter and projections.

Trigger

Contract

How it works

  1. Clone; read AGENTS.md, SPEC.md, types.dsl.
  2. Search machine/index.dsl — amend an existing entry instead of duplicating.
  3. Pick the type directory; read instructions/ai/<type>.md and templates/<type>.md.
  4. Write one entry per file, flat frontmatter, cite sources, no secrets.
  5. Run python3 scripts/compile.py in the same commit as the content change.
  6. Verify: compile.py --check + unit tests; open a PR.

Rules

Anti-patterns

Sources