distill

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2026 License: BSD-2-Clause Imports: 1 Imported by: 0

README

distill

Compile a folder of detailed per-rule markdown files into one short, AI-targeted markdown file.

Source authoring stays human-friendly (one concept per file, full Why / Examples / Anti-patterns / When-to-remove). The output is dense, scannable, token-cheap — loaded into every AI session, derived, never edited by hand.

Primary use case: deriving ~/.claude/CLAUDE.md and project-vault CLAUDE.md files from a folder of rule sources.

Status

Scaffolded. Contract in docs/spec.md; implementation not started.

Development

make precommit   # lint + format + generate + test + checks
make test        # tests only

Documentation

Overview

Command distill compiles a folder of per-rule markdown files into one short AI-targeted markdown file by sending each (target, section) group through `claude --print` and writing the returned bullets between fenced markers.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.
pkg
cli
Package cli is the cobra-based entry layer for the `distill` binary.
Package cli is the cobra-based entry layer for the `distill` binary.
distill
Package distill compiles a folder of long-form per-rule markdown files into short, AI-targeted bullets written between fenced markers in one or more target files.
Package distill compiles a folder of long-form per-rule markdown files into short, AI-targeted bullets written between fenced markers in one or more target files.
factory
Package factory wires distill's collaborators into a ready-to-run Driver.
Package factory wires distill's collaborators into a ready-to-run Driver.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL