Arashi Skill
Coordinate Git worktrees across configured Arashi workspaces, or use Arashi ad hoc in an unconfigured non-bare Git project.
Start
- Assume the CLI is installed unless installation was requested or
aw --versionfails. - Use installed
aw --helpandaw <command> --helpas parameter authority. - Choose one mode using the section below, and initialize it when the workspace is fresh.
- After the chosen workspace is initialized or otherwise discoverable, diagnose health with
aw doctor --jsonbefore lower-level recovery. - Load only the reference for the task.
Choose a mode
- Configured mode: Prefer configured mode; use ordinary
aw initfor persisted defaults, custom paths, repository groups, workspace or repository hooks, child repositories, or coordinated commands. This is also the preferred mode for a single repository that needs those features. - Zero-config standalone mode: use
aw init --zero-configonly for ad hoc work in an unconfigured non-bare Git project. It does not create or persist.arashiconfiguration. Passive discovery does not repair ignore coverage, and bootstrap must not edit tracked.gitignoreor global Git configuration automatically.
Universal operating rules
- Filter before broad mutation. For mutating, expensive, network-heavy, or long-running multi-repository commands, use
--groupor--onlyunless the user explicitly requested every managed repository. - Preserve existing Git state. Preview broad removal with
aw remove --dry-run; do not delete worktrees, branches, or uncommitted changes without explicit scope. - Never create or modify global Git ignore configuration for Arashi. In configured workspaces, choose repository-local, tracked, or no-write ignore policy deliberately; bare repositories report administrative paths without editing ignore files.
- Use
--jsonfor parsed non-interactive output. TreatJSON_UNSUPPORTED_FOR_MODEas a structured refusal for interactive, shell-code, or launch behavior. - Treat launcher and hook failures as real failures. Do not synthesize terminal/session identifiers, bypass user security policy, interpolate user paths into shell source, or silently fall back to a different launcher.
- Prefer linked references over repeating command-specific rules here.
Task routing
- Install, update, or shell completion: Setup commands and Prerequisites
- Initialize, add, clone, or repair managed paths: Workspace commands
- Run across repositories, parse JSON, hand off, or push: Automation commands
- Create coordinated worktrees or move changes: Create commands
- Switch, launch, or select a session context: Switch and launch and Session shortcuts
- Remove or prune: Remove and maintenance and Hooks
- Choose an end-to-end goal: Workflows or the Tutorial
- Diagnose a failure or operational security boundary: Troubleshooting and Prerequisites
References
Current installation and product documentation: https://arashi.haphazard.dev. Compact upstream context: https://arashi.haphazard.dev/llms.txt.
微信扫一扫