Files
skills/skills/document/SKILL.md
T
kiskaadee 3ab9dbd5ca feat(journal-builder): convert daily journal to two-phase scaffolding workflow
- Refactor journal-builder to stage fact skeleton with question blanks in learning mode
- Add evaluation step populating diagnostic feedback and calibration rubric
- Update journal-authoring spec to replace AI-written narrative with user reasoning structure
2026-10-18 08:36:46 -05:00

3.4 KiB

name, description
name description
document Decide whether a session produced knowledge worth keeping, pick the right document type (Discussion, ADR, Plan, Debug Record, Knowledge), and draft it. Use when the user types /document, or when another skill hands off a decision, root cause, or insight.

Document

Use when

  • /document at the end of a session, or a handoff from diagnose, practice, git-commit.
  • Routine fixes and chores need no document: a good commit message is enough.

Steps

  1. Is it worth writing? Default is no. Continue only if the session produced something non-obvious that someone (me, in six months) would benefit from reading: a decision, a surprising failure, a reusable insight.
  2. Classify by the kind of knowledge, not by the activity that produced it:
Knowledge Type Spec
Why: exploration, alternatives, trade-offs Discussion discussion
What we decided (architecture) ADR adr
How to build it: phases, constraints, done-definition Plan plan
What broke and why (root cause) Debug Record debug
A general mental model or technique Knowledge knowledge
Daily synthesis: facts, reasoning, calibration Journal journal

A rich session may justify more than one (e.g. Debug Record + Discussion). Split them; don't write one hybrid document.

  1. Draft each document following its spec. Read the spec before writing.
  2. Avoid overlap. Each fact has one owning document: the Discussion owns the reasoning, the ADR the decision, the Plan the steps, the Debug Record the evidence, Knowledge the general lesson. Others link to it instead of repeating it.
  3. Keep references portable: Use relative paths or context-defined placeholders. Never write absolute file-system paths into documentation.
  4. Save to the location I choose (see below). Discussions and Debug Records are historical and never rewritten later. ADRs and Plans get status: superseded when replaced.

Your call

  • Type(s): confirm the classification from step 2.
  • The key sentence: before drafting, ask me to state the core in my own words: the decision, the root cause, or the insight. Build the draft around my sentence.
  • Insights: when the core insight is unclear, ask about the intent behind important choices, rejected alternatives, and relevant trade-offs. Use these questions to validate the user's understanding, not to expand the scope of the session.
  • Where it goes: offer 2-3 options, recommended first, e.g. default notes inbox (from profile) / the project's docs/ / typed record folder.

Done when

  • The file exists at the chosen location, or we agreed no document is needed.

Hands off to

  • draft-curation: to review and curate drafts staged into an inbox into lifecycle destinations.
  • git-commit: to commit the document if it lives directly in a repo.