Skip to content
Skills Library
Programming · Testing

allium

/allium

Allium behavioral specs integrated with /core:agent-loop. Use when attaching a formal spec to an epic, propagating tests from a spec before TDD, or weed-checking spec/code divergence after CI passes.

Licence
MIT
Last repository change
07.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
10
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 07.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Allium behavioral specs integrated with /core:agent-loop. Use when attaching a formal spec to an epic, propagating tests from a spec before TDD, or weed-checking spec/code divergence after CI passes.

Original author description

Allium behavioral specs integrated with /core:agent-loop. Use when attaching a formal spec to an epic, propagating tests from a spec before TDD, or weed-checking spec/code divergence after CI passes.

How it works

  1. Prerequisites
  2. Spec Location Convention
  3. Integration Points by Tier
  4. Spec Syntax (v3)
  5. Templates
  6. Anti-Fabrication
  7. References
Original SKILL.md headings · 83 lines, 416 words
SKILL.md preview
---
name: allium
description: Allium behavioral specs integrated with /core:agent-loop. Use when attaching a formal spec to an epic, propagating tests from a spec before TDD, or weed-checking spec/code divergence after CI passes.
license: MIT
---

# Allium

Opinionated integration between [juxt/allium](https://github.com/juxt/allium) and the `/core:agent-loop` workflow. Allium captures observable behavior in `.allium` files using `entity`, `rule`, and `config` blocks — implementation-agnostic, co-located with code.

## Prerequisites

Upstream Allium Claude plugin must be installed separately:

```
/plugin install allium@juxt
```

The CLI (`allium-tools` binary) installs via mise — see `references/installation.md`.

## Spec Location Convention

Recommended convention for projects adopting this skill: specs live at `docs/specs/<epic-slug>.allium` with shared specs in `docs/specs/shared/`. A project-root `allium.config.json` declares `specPaths: ["docs/specs"]` so the CLI and LSP resolve them. Copy `templates/allium.config.json` into the project root to bootstrap this layout.

## Integration Points by Tier

See `references/agent-loop-integration.md` for the complete 6-tier breakdown. Summary:

| Tier | Allium action |
|---|---|
| Epic Author | Run `/allium:elicit` or copy a template from `templates/`; set `spec:` field in epic markdown |
| Team Leader | If refactor label and no spec: run `/allium:distill` for baseline |
| Worker | If spec attached: run `/allium:propagate` to seed failing tests BEFORE implementing |
| Validator | After CI passes: run `/allium:weed`; divergences route to fix-agent same as CI failures |

## Spec Syntax (v3)

```allium
entity Order {
    status: pending | confirmed | shipped | delivered | cancelled
    tracking_number: String when status = shipped | delivered

    transitions status {
        pending -> confirmed
        confirmed -> shipped
        terminal: delivered, cancelled
    }

    invariant NonNegativeTotal { this.total >= 0 }
}

rule ShipOrder {
    when: ShipOrder(order, tracking)
    requires: order.status = confirmed
    ensures:
        order.status = shipped
        order.tracking_number = tracking
}
```

Key constructs:
- `entity` — domain object with typed fields, conditional attributes (`when`), state transitions, and invariants
- `rule` — behavioral rule with `when` (trigger), `requires` (preconditions), `ensures` (postconditions)
- `config` — project-level settings (thresholds, retry counts, timeout values)
- `use` — import another spec: `use "./shared/oauth.allium" as oauth`

## Templates

Copy-pasteable specs in `templates/`:

- `oauth-pkce-flow.allium` — OAuth2 PKCE flow matching the agent-loop epic-authoring example
- `circuit-breaker.allium` — infrastructure contract with `entity` + `config` + `rule`
- `runex-workflow.allium` — spec for a Runex workflow step
- `epic-with-spec.md` — VantageEx epic showing the `spec:` field in use

See `references/epic-spec-template.md` for a guided walkthrough.

## Anti-Fabrication

All claims about spec content must derive from reading actual `.allium` files with Read tool. Never assert that a spec covers a behavior without verifying the `ensures` or `invariant` blocks. See `/core:anti-fabrication`.

## References

- `references/installation.md` — mise backend details and upstream plugin install
- `references/agent-loop-integration.md` — 6-tier integration procedure
- `references/epic-spec-template.md` — template walkthrough
- `references/distilling-legacy-code.md` — `/allium:distill` procedure for existing modules
Files in this package (10)
  • SKILL.md 4 KB
  • references/agent-loop-integration.md 3 KB
  • references/distilling-legacy-code.md 4 KB
  • references/epic-spec-template.md 3 KB
  • references/installation.md 2 KB
  • templates/allium.config.json 1 KB
  • templates/circuit-breaker.allium 2 KB
  • templates/epic-with-spec.md 1 KB
  • templates/oauth-pkce-flow.allium 1 KB
  • templates/runex-workflow.allium 2 KB

Versions

The database has no other skills named allium.

Database snapshot: 13.11.2026 · package version fa4d66923091 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100weed
    Weed the Allium garden. Find where Allium specifications and implementation code have diverged, and help resolve the divergences. Use when the user wants to check spec-code alignment, compare specs against implementation, audit for spec drift or violations, sync specs with code…
  • 100propagate
    Generate tests from Allium specifications. Use when the user wants to propagate tests, generate test files from a spec, write tests for a specification, create property-based tests, produce state machine tests, check test coverage against spec obligations, or understand what…
  • 90grain
    Drive a Grain engineering goal through one composed Allium and Event Model loop. Use for Grain features, specification work, implementation, reconciliation, or when the user invokes Grain as the entry point. Delegate observable behaviour to installed Allium skills and add Grain…
  • 100allium-onchain-data
    Query blockchain data via Allium APIs. Token prices, wallet balances, transactions, historical data. Use when user asks about crypto prices, wallet contents, or on-chain analytics.
  • 98tdd-spec
    Test-first workflow with locked, number-based spec tests for any repo with a .claude/tdd/ pack. Use when starting any new change, feature or bug fix in such a repo; when asked to write spec tests, lock tests, implement against locked tests, raise a dispute about a test, or…
  • 100spec-driven-workflow
    Use when the user asks to write specs before code, define acceptance criteria, plan features before implementation, generate tests from specifications, or follow spec-first development practices.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.