Community程式設計與開發github.com

juxt/distill

從現有程式碼庫中提取 Allium 規格。當使用者擁有現有程式碼,並希望將行為提煉為規格、從實作中逆向工程規格、從程式碼產生規格、將實作轉換為行為規格,或以 Allium 術語記錄程式碼庫的功能時使用。

distill 是什麼?

juxt/distill 是一款 AI 代理技能,專用於從現有程式碼庫中提取並生成 Allium 規格文件。這項技能特別適用於開發者需要將既有程式碼的行為反推出結構化規格、逆向工程實作細節、或產生行為規格以輔助文件記錄的情境。它支援多種開發平台,如 Claude Code、Cursor 或 Codex,透過分析程式碼庫的結構與邏輯,自動生成符合 Allium 語法的行為規格文件。其主要優勢在於節省手動編寫規格的時間,確保規格與實作一致,並幫助團隊更清晰地理解程式碼的預期行為。使用時,開發者只需提供現有程式碼庫路徑,技能即會掃描並輸出對應的規格草稿,後續可進一步調整與驗證。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/juxt/allium/tree/main/skills/distill

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

distill 是做什麼的?

從現有程式碼庫中提取一個 Allium 規格。當使用者擁有現有程式碼,並希望將行為提煉為規格、從實作中逆向工程規格、從程式碼產生規格、將實作轉換為行為規格,或以 Allium 術語記錄程式碼庫的功能時使用。

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

juxt/allium

Give your AI agents something more useful than a prompt. Velocity through clarity.

juxt/elicit

Run a structured discovery session to build an Allium specification through conversation. Use when the user wants to create a new spec from scratch, elicit or gather requirements, capture domain behaviour, specify a feature or system, define what a system should do, or is describing functionality and needs help shaping it into a specification.

juxt/propagate

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 tests a specification requires.

juxt/tend

Tend the Allium garden. Use when the user wants to write, edit, update, add to, improve, clarify, refine, restructure, fix or migrate Allium specs. Covers adding entities, rules, triggers, surfaces and contracts, fixing syntax or validation errors, renaming or refactoring within specs, migrating specs to a new language version, and translating requirements into well-formed specifications. Pushes back on vague requirements.

juxt/weed

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 or code with specs, or verify whether the implementation matches what the spec says.

相關技能