distill
Turn a raw record (meeting transcript, message, email, notes) into ranked, color-coded candidate requirement statements appended to one HTML file, `docs/incoming.html`, for people to read, discuss and
Files2
View on GitHubSKILL.mdskills/distill/SKILL.md
GitHubdistill
Turn a raw record (meeting transcript, message, email, notes, stored in the owner's notes and never in a repository) into candidate requirement statements, each ranked against the repository's specification for congruency and for complexity, and append them as one dated batch to the incoming file of the repository. dev-loop tier <path> prints its place as incoming_file (SDD-SC-10):
incoming=state(the default):~/.local/state/dev-platform/incoming/<repo-name>.html, where<repo-name>is the repository name without the owner.incoming=project:docs/incoming.htmlin the main checkout. Git ignores it, so it makes no commit and no branch.
People read, discuss and edit that file by hand. When a person decides a candidate is worth acting on, they give its ID to an intake session (intake C-2026-11-17-3), and intake reads the block from the file. In a decisions=frozen repository intake changes no specification (SDD-SC-20): the owner takes the candidate in by hand, or an agent uses the dev-spec write commands where the project has a specification tree. Distill runs the same in every repository. Nothing else reads the file: the loop, workers and hooks never reference it. The skill files no issue, edits no specification and opens nothing.
Procedure
Source. Any raw record. It stays in the owner's notes; it is never copied into a repository. The HTML receives derived statements and a source reference by date and type only, for example
stakeholder call, 2026-09-17. No raw quotes and no names of private individuals.Extract candidate statements. Each is one sentence in
MUST,MUST NOTorSHOULDform, with a kind:bug,amendment,featureorquestion.Resolve the specification and evidence. Read the repository's mode with
dev-loop tier <path>. Withspec=domains, the indexdocs/spec/index.jsonis the reader: find each item by its ID or by itsdomainandfilethere, and read its source text indocs/spec/<domain>/sdd.mdortdd.md. Usebun run spec:show <ID>andbun run spec:impact <ID>where the repository has them. Never fall back todocs/spec/SDD.mdorTDD.mdin that mode; they are retired. Withdecisions=frozen, an old decision is history: rank against the current domain text. Otherwise use the project's configured specification reader or project-local spec tool first, preserving its native section IDs and output format. If no configured reader exists, fall back todocs/spec/SDD.md,docs/spec/TDD.md, the other documents underdocs/, and the code the TDDcode:comments name. Usedev-loop tasks <repo>for local task state andghx/GitHub for GitHub-backed task state when task status matters. When a configured reader or fallback file is absent or empty, say so in the report. Every candidate isbrand newexcept one that cannot be acted on at all, which is stillnonsense.Rank each candidate on two axes.
- Congruency:
already satisfied,clarifies,amends,contradicts,brand newornonsense. Cite the specification item ids it touches (SDD-XX-nn,TDD-x.y.z); abrand newcandidate may cite none. Withspec=domains, use the IDs as the index writes them (SDD-D1,TDD-1.1). - Complexity:
S,M,LorXL, judged from the specification items touched, the files likely in scope, external provider effects and data migrations. One line of rationale that names what drove the size.
- Congruency:
Append the candidates to the
incoming_filethatdev-loop tier <path>prints, as one dated batch. Create the folder and the file from theincoming.template.htmlthat sits beside this skill file when the file is absent. Git must never track the file:- With
incoming=project, rungit -C <checkout> ls-files --error-unmatch docs/incoming.htmlfirst. If git tracks the file, stop and tell the owner. Then rungit -C <checkout> check-ignore -q docs/incoming.html. If git does not ignore the file, add the linedocs/incoming.htmlto the file thatgit -C <checkout> rev-parse --git-path info/excludenames. Do not change the.gitignoreof the repository; that is a commit. - With
incoming=state, never write the file inside the repository.
Copy the example batch in the template, place the new batch directly under the
batches below, newest firstmarker, and never rewrite, reorder or delete an existing block: people edit them by hand. Escape&,<and>in every statement and rationale. Candidate ids areC-YYYY-MM-DD-n; n starts at 1 and continues within the day across batches, so search the existing file for the day's highest n before writing. Set theclassof each block to the congruency class:satisfied,clarifies,amends,contradicts,newornonsense.- With
Stop. Report the batch as a short table: id, statement, kind, congruency, complexity. Do not file issues, edit the specification or open anything. Promotion is a person giving a candidate ID to
intake, or, in adecisions=frozenrepository, the owner's own change of the specification.
Plain reading
An easy patch is clarifies or amends at S. A hard change is amends or contradicts at L
or XL. already satisfied and nonsense need no work; they stay in the file so the discussion
can confirm that.