---
name: wiki-article-templates
title: "Wiki Article Templates"
description: "Per-entity-type article templates for the knowledge base wiki"
category: core
status: active
priority: 3
triggers:
  - "create wiki article"
  - "article template"
tools_granted: []
---

## Instructions

This skill owns the **markdown templates** used to create new wiki articles during the KB compile pipeline. Each entity type (person, organization, concept, event, place, document, decision, synthesis, source_summary, decision_record) has its own template file under `templates/`.

Templates use Python `str.format()` placeholders for dynamic content: `{title}`, `{date}`, `{category}`, `{taxonomy_path}`, `{sources}`, `{source_list}`, `{agent}`, etc. The engine (`kb/service.py`) calls `.format(**kwargs)` with the compile context.

## Customization

Users can override any template by copying it to their vault at `{vault}/agntspace/system/skills/core/wiki-article-templates/templates/{entity_type}.md`. The skill loader reads vault-first, defaults-second.

## Quality rules

- Every template MUST include an `## Open Questions` section -- this is the Karpathy spec's "honest gaps" requirement.
- Every template MUST include a `## Sources` section with `{source_list}` placeholder.
- Frontmatter MUST include: `title`, `entity_type`, `status: draft`, `author: agent`, `agent`, `date_created`, `date_updated`.
- Templates MUST NOT invent content -- all factual sections use `[TODO: ...]` placeholders.
