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
View on GitHub

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_invitation function into an Allium rule with requires and ensures clauses
  • 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 -y

Installs 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 6