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…
от juxt★ 548 звёзд на GitHubОб этом скилле
Propagation
This skill generates tests from Allium specifications. Propagation is how plants reproduce from cuttings of the parent: the spec is the parent, the tests are the offspring.
Deterministic tools guarantee completeness (every spec construct maps to a test obligation). You handle the implementation bridge: correlating spec constructs with code, generating tests in the project's conventions.
Interaction modes
This skill runs in two modes. Every instruction below that asks or suggests something to the user follows the mode:
- Interactive — running inline in a conversation. Ask the user directly and wait for the answer.
- Non-interactive — running as the
propagatesubagent (for example inside the Allium loop), where no user is reachable. Report anything that needs a human decision — a spec too coarse to propagate, an ambiguous implementation bridge, uncovered obligations — in your final output and continue with the work that does not depend on it.
Prerequisites
Before propagating tests, you need:
- An Allium spec — the
.alliumfile describing the system's behaviour - A target codebase — the implementation to test
- Test obligations — from
allium plan <spec>(JSON listing every required test, or one obligation per line with--format tsv; see obligation plans) - Domain model — from
allium model <spec>(JSON describing entity shapes, constraints, state machines)
If the CLI tools are not available, derive test obligations manually from the spec using the test-generation taxonomy in references/test-generation.md.
Modes
Surface mode
Generates boundary tests from surface declarations. Use when the user wants to test an API, UI contract or integration boundary.
For each surface in the spec:
- Exposure tests — verify each item in
exposesis accessible to the specified actor, includingforiteration over collections - Provides tests — verify operations appear when their
whenconditions are true and are hidden otherwise, including when the corresponding rule'srequiresclauses are not met - Actor restriction tests — verify the surface is not accessible to other actor types
- Actor identification tests — verify only entities matching the actor's
identified_bypredicate can interact; for actors withwithin, verify interaction is scoped to the declared context - Context scoping tests — verify the surface instance is absent when no entity matches the
contextpredicate - Contract obligation tests — verify
demandsare satisfied by the counterpart,fulfilsare supplied by this surface, including all typed signatures - Guarantee tests — verify
@guaranteeannotations hold across the boundary - Timeout tests — verify referenced temporal rules fire within the surface's context
- Related navigation tests — verify navigation to related surfaces resolves to the correct context entity
Spec mode
Walks the full test obligations document. Use when the user wants comprehensive test coverage for the entire specification.
Categories from the test-generation taxonomy:
- Entity and value type tests — fields, types, optional (
?) null handling,when-clause state-dependent presence, relationships, join lookups, equality - Enum tests — comparability across named enums, membership tests, inline enum isolation
- Sum type tests — variant fields, type guards, exhaustiveness, creation via variant name, base
.createdtrigger narrowing - Derived value and projection tests — computation, filtering,
-> fieldextraction, parameterised derived values,nowvolatility, collection operations - Default instance tests — unconditional existence, field values, cross-references between defaults
- Config tests — defaults, overrides, mandatory parameters, expression-form defaults, qualified references, config chains
- Invariant tests — post-rule verification, edge cases, implication logic, entity-level invariants
- Rule tests — success/failure/edge cases, conditionals (ensuring
ifguards read resulting state), entity creation, removal, bulk updates, rule-levelforiteration,letbindings, chained triggers - State transition tests — valid/invalid transitions, terminal states,
transitions_tovsbecomessemantics - Temporal tests — deadline boundaries, re-firing prevention, optional field null behaviour
- Surface tests — exposure, availability, actor identification with
withinscoping, context scoping, related navigation - Contract tests — signature satisfaction,
@invarianthonouring,demands/fulfilsdirection - Cross-module tests — qualified entity references, external trigger responses, type placeholder substitution
- Cross-rule interaction tests — duplicate creation guards, provides availability
- Transition graph tests — every declared edge is reac
Установить propagate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 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.
Как установить скилл propagate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл propagate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic