一键导入
allium-cli-output-interpretation
Use when summarizing, comparing, or acting on Allium CLI output from commands run against a folder of .allium specs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when summarizing, comparing, or acting on Allium CLI output from commands run against a folder of .allium specs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use for practical command recipes when agents operate Allium CLI commands on a folder of .allium specs.
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.
| name | allium-cli-output-interpretation |
| description | Use when summarizing, comparing, or acting on Allium CLI output from commands run against a folder of .allium specs. |
Use this skill to turn allium CLI output into accurate, actionable summaries for humans or downstream agents.
Preserve exact command context, distinguish success from failure, classify findings, and recommend the next smallest useful action.
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 this format for command results:
Spec folder:
<SPEC_DIR>
Entrypoint:
<ENTRYPOINT>
Command:
<exact command>
Result:
Passed | Failed | Inconclusive
Blocking diagnostics:
- <diagnostic summary>
Likely cause:
- <cause if inferable>
Action taken or recommended:
- <minimal next action>
If multiple commands ran, summarize each in sequence and show where the sequence stopped.
If a command fails, the final answer must say it failed. Do not report the task as successful because a later unrelated command ran or because partial output was produced.
Bad:
Validation mostly worked and I generated the model.
Good:
`allium check specs/allium/index.allium` failed, so I did not treat the model output as reliable. The blocking diagnostic is ...
Use when the command exits successfully and reports no blocking diagnostics.
Use when the command exits non-zero or reports blocking diagnostics.
Use when:
Inconclusive output requires a next action such as resolving entrypoint, rerunning with full output, or using model/parse.
checkFocus on:
Next action after failure: repair and rerun the same check command.
analyseFocus on:
Next action after failure: repair semantic/process issue, then run check and analyse.
parseFocus on:
Next action: rerun parse if needed, then check against entrypoint.
modelFocus on:
Next action after suspicious output: verify entrypoint, run check, inspect imports, possibly run parse.
planFocus on:
Next action: map obligations to repository tests or update the spec if obligations expose ambiguity.
When comparing before/after CLI output, report only meaningful deltas:
Expected delta:
- Added Order.BackorderPlaced behavior.
Observed CLI delta:
- Model now includes BackorderPlaced rule.
- Plan now includes obligations for deferred payment capture.
Unexpected delta:
- CancelOrder disappeared from the model.
Unexpected deltas should trigger investigation before proceeding.
If output is large:
Suggested artifact names:
artifacts/allium-check.txt
artifacts/allium-analyse.txt
artifacts/allium-model.json
artifacts/allium-test-plan.txt
Resolved `specs/allium` to `specs/allium/index.allium`. `allium check` passed. No blocking validation diagnostics were reported.
Resolved `specs/allium` to `specs/allium/index.allium`. `allium check` failed. The blocking diagnostic is a missing reference to `PaymentAuthorized` in `orders.allium`. The next repair is to correct the reference or connect the file declaring it through the entrypoint.
`allium check` and `allium analyse` both passed for `specs/allium/index.allium`. The spec folder is ready for implementation planning from the CLI's perspective.
`allium model` succeeded, but the output only contained version metadata. That is likely a wrong-entrypoint or disconnected-import problem. I would next inspect the entrypoint and run `allium parse` on it.
Do not:
parse ran.check ran.plan output.When reporting command results, include:
Do not claim a spec is valid unless the relevant command completed successfully against the resolved entrypoint.
allium-cli-diagnostics-repair for failed commands.allium-cli-model for structured output.allium-cli-plan for test obligations.