Arness Help
Detect the user's current position in the Arness workflow pipeline, render an ASCII diagram with the active stage marked, and suggest the next command to run. Supports cross-plugin awareness — detects activity in Arness Spark and Arness Infra and provides hints at the bottom of the output. This skill is strictly read-only -- it never modifies files or project state.
Allowed tools: Read, Glob, Grep only. This skill MUST NOT use Write, Edit, Bash, or Task tools. This skill MUST NOT invoke any agents.
Workflow
Step 0: Multi-Plugin Awareness
- From the
## Arnesssection (loaded in Step 1), detect other plugin field groups:- spark_fields_present: true if
Vision directoryORUse cases directoryORPrototypes directorypresent - infra_fields_present: true if
Infra plans directoryORInfra specs directorypresent
- spark_fields_present: true if
- For each detected plugin, do a quick existence check (max 2 files):
- Spark: Check if
<Vision directory>/product-concept.mdexists - Infra: Check if
<Infra plans directory>has any subdirectories, OR ifDockerfileordocker-compose.ymlexists in the project root
- Spark: Check if
- Record
{ plugin_name, has_activity: bool }for each detected plugin. - Proceed to Step 1. Cross-plugin hints are appended AFTER own status is rendered in Step 3.
Step 1: Load Configuration
- Read the project's
CLAUDE.mdfile. - Extract the
## Arnesssection. - From the
## Arnesssection, extract core fields:- Plans directory (e.g.,
.arness/plans/) - Specs directory (e.g.,
.arness/specs/) - Docs directory (e.g.,
.arness/docs/)
- Plans directory (e.g.,
If ## Arness is missing: Skip to Step 3 and render the core pipeline diagram with all stages unmarked. Suggest the user run /arn-planning to get started for an existing project, or /arn-brainstorming for a brand-new project (requires arn-spark). Do not attempt detection.
Step 2: Detect Pipeline Position
Read the pipeline reference file at ${CLAUDE_PLUGIN_ROOT}/skills/arn-code-help/references/pipeline-map.md to load detection rules, context-aware rendering rules, and next-step tables.
Core Detection
Per-Project Detection
For each subdirectory in the plans directory, check artifacts to determine the most advanced stage. Check from most advanced to least advanced -- first match wins:
- Documented (
docs): A file matching the project name exists in the configured docs directory (<docs-dir>/<project>.mdor<docs-dir>/<project>/directory) - Execution complete (
execute-done): The subdirectory hasPROGRESS_TRACKER.jsonwithoverallStatus="completed". Note:arn-code-review-implementationdoes not write a durable artifact, so both "execution complete" and "review complete" map to this detection. The next-step suggestion covers both cases. - Executing (
execute): The subdirectory has anyreports/IMPLEMENTATION_REPORT_*.jsonorreports/TESTING_REPORT_*.json - Tasks created (
taskify): The subdirectory hasTASKS.mdwith parseable task entries - Plan saved (
save): The subdirectory hasINTRODUCTION.md - Otherwise: skip this subdirectory (incomplete project setup)
Global Core Detection
If no per-project stages were detected:
- Check the plans directory for subdirectories matching
SWIFT_*containingSWIFT_REPORT.json-- if found, stage is Swift complete (swift-complete) - Check the plans directory for subdirectories matching
SWIFT_*containingSWIFT_*.mdbut noSWIFT_REPORT.json-- if found, stage is Swift in progress (swift-in-progress) - Check the plans directory for subdirectories matching
STANDARD_*containingSTANDARD_REPORT.json-- if found, stage is Standard complete (standard-complete) - Check the plans directory for subdirectories matching
STANDARD_*containingSTANDARD_*.mdbut noSTANDARD_REPORT.json-- if found, stage is Standard in progress (standard-in-progress) - Check the plans directory for files matching
PLAN_PREVIEW_*.md-- if found, stage is Plan generated (plan) - Check the specs directory for files matching
FEATURE_*.mdorBUGFIX_*.md-- if found, stage is Spec written (spec) - Check the specs directory for files matching
DRAFT_FEATURE_*.md-- if found and no finalizedFEATURE_*.mdorBUGFIX_*.mdexists, stage is Spec in progress (spec-draft) - If
## Arnessexists with core fields but specs and plans directories are empty, stage is Initialized (init). Suggest/arn-code-feature-spec,/arn-code-bug-spec, for quick changes (1-8 files)/arn-code-swift, or for medium complexity/arn-code-standard
Fallback
- If
## Arnessexists but no artifacts are found, stage isinit.
Step 3: Render Pipeline Diagram
Read the pipeline templates and rendering rules from ${CLAUDE_PLUGIN_ROOT}/skills/arn-code-help/references/pipeline-map.md.
Show the core pipeline diagram with the position marker. Follow the existing rendering:
- Single-project or multi-project diagrams
- Next-step suggestion from the core next-step table
After rendering the core pipeline status and next-step suggestion, append cross-plugin hints from Step 0:
- If Spark has activity: append "Spark exploration: active — run
/arn-spark-helpfor details." - If Infra has activity: append "Infrastructure pipeline: active — run
/arn-infra-helpfor details." - If own pipeline has NO activity but is initialized (
init): show own suggestions FIRST (e.g., "Run/arn-code-feature-specto spec a feature,/arn-code-bug-specfor a bug,/arn-code-swiftfor a quick fix, or/arn-code-assessfor a codebase review"), then optionally mention other plugins. - When own pipeline is complete (shipped): suggest "Start a new feature?
/arn-planning". If Infra is configured: "Deploy with/arn-infra-wizard."
Keep output concise -- the user wants a quick status check, not a wall of text. Show the diagram, the detected stage, the next command, and any cross-plugin hints. That is all.
Step 4: Answer Follow-up Questions
After presenting the pipeline status:
- Remain available for follow-up questions about either pipeline, skill purposes, or workflow decisions.
- Reference
${CLAUDE_PLUGIN_ROOT}/skills/arn-code-help/references/pipeline-map.mdfor answers -- do not re-scan the filesystem unless the user explicitly asks to refresh the detection. - Keep answers brief and direct.
Arness-sketch detection: If a arness-sketches/ directory exists in the project root, note it in the status output: "Active sketches: arness-sketches/ directory detected with [N] route(s)." This is informational -- it does not affect pipeline position.
Common questions the user might ask:
- "What does arn-code-taskify do?" -- explain the skill's purpose from the pipeline context
- "Can I skip the review step?" -- explain that steps are optional but recommended
- "How do I go back to the previous step?" -- explain that the pipeline is not strictly linear; the user can re-run any earlier skill
- "How do I start?" -- suggest
/arn-planningwhich handles scope assessment and routes to the right workflow - "How do I run the full pipeline?" -- explain the chaining pattern:
/arn-planning→/arn-implementing→/arn-shipping. Each entry point offers to chain to the next at completion. - "What are the entry points?" -- explain the 5 first-citizen entry points:
/arn-planning,/arn-implementing,/arn-shipping,/arn-reviewing-pr,/arn-assessing - "Where is greenfield status?" -- "Run
/arn-spark-helpfor Spark exploration pipeline status." - "Where is infrastructure status?" -- "Run
/arn-infra-helpfor Arness Infra pipeline status." - "What is arn-code-assess?" -- explain it's a comprehensive assessment tool that reviews the codebase against stored patterns, lets you prioritize findings, then orchestrates the full pipeline to implement improvements
- "Can I review my codebase qual