
Distill
Extract Allium specifications from existing code by scoping, abstracting, and separating domain behaviour from implementation details.
- CCM score
- 72 of 100
- skills.sh installs
- 2.7K
- GitHub stars
- 541
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers scoping a distillation, deciding what to include or exclude, and abstracting code into domain-level behaviour
- Includes the "Why" test, the "Could it be different?" test, and the "Template vs Instance" test for choosing detail
- Provides a worked example turning a Python
send_invitationfunction into an Alliumrulewithrequiresandensuresclauses - Designed for teams reverse engineering a behavioural spec from implementation when no user is available to answer questions
Install
$ npx -y skills add juxt/allium --skill distill -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Distillation guide
This guide covers extracting Allium specifications from existing codebases. The core challenge is the same as forward elicitation: finding the right level of abstraction. In elicitation you filter out implementation ideas as they arise. In distillation you filter out implementation details that already exist. Both require the same judgement about what matters at the domain level.
Code tells you how something works. A specification captures what it does and why it matters. The skill is asking "why does the stakeholder care about this?" and "could this be different while still being the same system?"
Interaction modes
This skill runs in two modes. Every instruction below that asks, prompts or validates with the user follows the mode:
Details
- Repository
- github.com/juxt/allium
- Categories
- Technical Documentation, Agent Workflow & Planning
- First seen
- May 16, 2026
More from juxt/allium
All 6Similar to Distill
More Technical Documentation
elicitSkilljuxt/allium2.7K installsStructured discovery session that builds an Allium specification through conversation, without prescribing implementation.
alliumSkilljuxt/allium3.7K installsFormal language for specifying software domain behaviour, separate from implementation and tests.
specPluginposhan0126/dotclaude871 starsTurn a fuzzy feature idea into a self-contained SPEC.md by interviewing you first, then writing a spec a fresh implementation session can execute.
extractSkillalirezarezvani/claude-skills1.6K installsTurn a recurring fix or pattern into a portable skill with SKILL.md, reference docs, and examples.
refactor-method-complexity-reduceSkillgithub/awesome-copilot10K installsRefactors a named method to a target cognitive complexity by extracting focused helper methods while preserving behavior.