Skip to content
Back to skills

Write Knowledge Doc

ASecurity

Write or update a document under docs/ in the format Agentry's knowledge base expects: front matter, tags, a Related list of wiki links. Use for every feature and every decision.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 3, 2026
ai-agentsgit

Security analysis

A100/100

Scanned October 3, 2026

npx -y skills add yeyo11/agentry --skill write-knowledge-doc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Knowledge Doc?

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

Security grade badge for Write Knowledge Doc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yeyo11-write-knowledge-doc/badge)](https://www.skillsdirectory.com/skills/yeyo11-write-knowledge-doc)

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: write-knowledge-doc
description: Write or update a document under docs/ in the format Agentry's knowledge base expects: front matter, tags, a Related list of wiki links. Use for every feature and every decision.
---

# Writing a document for the knowledge base

CLAUDE.md asks that every feature and every decision becomes a document under `docs/` (plans in `docs/plans/`, decisions in `docs/decisions/`), in the same pull request that builds it. `docs/` is indexed for semantic search, so the format matters.

1. **Search first.** Run `kb_search_documents` (then Grep). Update the document that already covers the ground instead of adding one that disagrees with it.
2. **Format.**
   ```markdown
   ---
   created_at: 2026-09-21T07:35:14Z
   updated_at: 2026-09-23T23:12:12Z
   tags:
       - deploy
       - operations
   ---
   # Title

   ...the document...

   ## Related

   [[desktop.md]] · [[status.md]] · [[plans/mobile.md]]
   ```
   Tags are lowercase and few. Prose links use ordinary markdown links so the document reads on GitHub; the `## Related` list at the end holds the `[[wiki links]]`, and only there.
3. **When you edit an existing document**, change the file and bump `updated_at`; do not re-add it with `kb_add_document`, which would overwrite the dates. A new document enters through `kb_add_document` once.
4. **Say why.** Record what was decided, what was rejected and the reason, with the date, and the file paths it concerns.
5. **Status documents move too.** If the change alters where the project stands, update `docs/status.md` and the plan's Outcome in the same change.
6. **Language.** Documents are English; only the UI copy is translated.
7. Never edit `CHANGELOG.md`: release-please writes it from the commit messages.

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.

Comments

Loading comments…