ワンクリックで
allium-cli-agent-runbooks
Use for practical command recipes when agents operate Allium CLI commands on a folder of .allium specs.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use for practical command recipes when agents operate Allium CLI commands on a folder of .allium specs.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | allium-cli-agent-runbooks |
| description | Use for practical command recipes when agents operate Allium CLI commands on a folder of .allium specs. |
Use this skill when an agent needs a direct recipe for common Allium CLI tasks at folder level.
Provide reliable command sequences that resolve a folder of .allium files to an entrypoint and run the correct CLI commands in the correct order.
This skill is invoked against a folder containing one or more .allium files. Do not pass the folder itself to allium commands. Allium CLI commands operate on spec files, so first resolve the effective entrypoint file.
Treat the user's folder argument as SPEC_DIR. If no folder is provided, use the current working directory only after confirming it contains .allium files.
SPEC_DIR="${SPEC_DIR:-.}"
find "$SPEC_DIR" -type f -name '*.allium' | sort
If no .allium files are found, stop and report that the folder does not contain Allium specs.
Use this order:
SPEC_DIR/index.allium exists, use it.SPEC_DIR/allium/index.allium exists, use it..allium file exists under SPEC_DIR, use that file..allium files exist and no clear entrypoint exists, inspect imports/references and choose the file that appears to aggregate the others.Use ENTRYPOINT for commands that need the whole model. Use a leaf file only for narrow syntax debugging with allium parse, and return to the entrypoint for validation.
ENTRYPOINT="$SPEC_DIR/index.allium"
allium check "$ENTRYPOINT"
allium check "$SPEC_DIR"
allium analyse "$SPEC_DIR"
allium model "$SPEC_DIR"
allium plan "$SPEC_DIR"
Passing a directory produces misleading failures and does not validate the spec set.
Use when the user asks whether a folder of specs is valid.
SPEC_DIR="specs/allium"
ENTRYPOINT="specs/allium/index.allium"
allium check "$ENTRYPOINT"
If it fails, use allium-cli-diagnostics-repair.
Use immediately after creating or editing any .allium file.
SPEC_DIR="specs/allium"
ENTRYPOINT="specs/allium/index.allium"
allium check "$ENTRYPOINT"
Do not validate only the edited file if an entrypoint exists.
Use when specs will drive code changes.
SPEC_DIR="specs/allium"
ENTRYPOINT="specs/allium/index.allium"
allium check "$ENTRYPOINT"
allium analyse "$ENTRYPOINT"
Proceed to implementation only after both pass or after clearly reporting unresolved diagnostics.
Use before writing tests from Allium specs.
SPEC_DIR="specs/allium"
ENTRYPOINT="specs/allium/index.allium"
allium check "$ENTRYPOINT"
allium analyse "$ENTRYPOINT"
allium plan "$ENTRYPOINT"
If saving output:
mkdir -p artifacts
allium plan "$ENTRYPOINT" > artifacts/allium-test-plan.txt
Use when the user asks what the spec folder defines, or when downstream tooling needs structured model output.
SPEC_DIR="specs/allium"
ENTRYPOINT="specs/allium/index.allium"
allium check "$ENTRYPOINT"
allium model "$ENTRYPOINT"
If saving output:
mkdir -p artifacts
allium model "$ENTRYPOINT" > artifacts/allium-model.json
Use when check fails but the diagnostic is hard to interpret.
SPEC_DIR="specs/allium"
ENTRYPOINT="specs/allium/index.allium"
TARGET_FILE="specs/allium/problem-file.allium"
allium parse "$TARGET_FILE"
allium check "$ENTRYPOINT"
Patch the smallest syntax region, then rerun both commands as needed.
Use when allium model returns only version metadata or omits expected declarations.
SPEC_DIR="specs/allium"
find "$SPEC_DIR" -type f -name '*.allium' | sort
ENTRYPOINT="specs/allium/index.allium"
allium check "$ENTRYPOINT"
allium model "$ENTRYPOINT"
allium parse "$ENTRYPOINT"
If the entrypoint parses but model output is still sparse, inspect imports or aggregation conventions.
Use when reviewing a spec edit.
SPEC_DIR="specs/allium"
ENTRYPOINT="specs/allium/index.allium"
mkdir -p artifacts
allium check "$ENTRYPOINT"
allium model "$ENTRYPOINT" > artifacts/allium-model.before.json
# apply or inspect changes
allium check "$ENTRYPOINT"
allium model "$ENTRYPOINT" > artifacts/allium-model.after.json
Then compare expected and observed model deltas.
Use before finalizing a spec-related change.
SPEC_DIR="specs/allium"
ENTRYPOINT="specs/allium/index.allium"
allium check "$ENTRYPOINT"
allium analyse "$ENTRYPOINT"
Optional artifacts:
mkdir -p artifacts
allium model "$ENTRYPOINT" > artifacts/allium-model.json
allium plan "$ENTRYPOINT" > artifacts/allium-test-plan.txt
Use when the user provides a folder that does not follow known conventions.
SPEC_DIR="path/from/user"
find "$SPEC_DIR" -type f -name '*.allium' | sort
Then:
index.allium if present..allium file if exactly one exists.Use for any failed command.
1. Stop the current sequence.
2. Copy exact command and diagnostic.
3. Classify the error.
4. Patch minimally.
5. Rerun the same command.
6. Continue only after it passes.
At the end of a runbook execution, report:
When reporting command results, include:
Do not claim a spec is valid unless the relevant command completed successfully against the resolved entrypoint.
allium-cli-overview for choosing a flow.allium-cli-diagnostics-repair for failures.allium-cli-output-interpretation for final reporting.Use when running deeper semantic and process-level analysis on a folder of .allium specs after allium check has passed.
Use when validating a folder of .allium specs with allium check. Resolves the folder to an entrypoint file, runs validation, interprets diagnostics, and defines the repair loop.
Use when defining or applying CI-quality command gates for a folder of .allium specs. Assumes allium is already available.
Use as a concise reference for Allium CLI commands when working on a folder of .allium specs. Assumes the CLI is already available and entrypoint resolution is required.
Use when an Allium CLI command fails on a folder of .allium specs. Classifies diagnostics, performs minimal repairs, and reruns the correct command against the resolved entrypoint.
Use when extracting or inspecting the structured domain model from a folder of .allium specs using allium model.