Distill topic
Format and method for turning raw sources into a compact knowledge card. Used by df-researcher during RESEARCH.From its SKILL.md
npx -y skills add MohamedElamineBentarzi/doc-forge --skill distill-topicAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.2 KB, as published. Nobody here has run it
Knowledge card
One topic per card. Cap: 800 words (default; brief may override). Cards are the ONLY thing writers see about the world — anything omitted here does not exist downstream, anything padded here wastes a writer's attention.
File: knowledge/<topic>.md
# <Topic>
## In one paragraph
<the concept, stated plainly>
## Facts
- <atomic fact> [src: path:line | doc §]
- ...
## Behaviors / constraints
- <what it does / limits / invariants> [src]
## Concrete example
<one minimal, real example — code or scenario, from sources>
## Terms
<term>: <one-line definition> # feeds the glossary
## Conflicts (only if any)
- source A says X [ref]; source B says Y [ref]
## Not covered
<what you saw but deliberately excluded, one line each>
Method: skim broad (glob/grep) -> read deep only what the topic needs -> write facts with refs as you go -> compress to cap at the end. Prefer deleting a fact over dropping its source ref. Never editorialize; "this is elegant" is not a fact.