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 shared project settings, groups, workspace or repository hooks, child repositories, or coordinated commands. Explicit in-repo.arashi/config.jsonfields take priority over the separate optional user file at~/.arashi/config.json. - 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 workspace.arashiconfiguration. Personal create/switch/editor and worktree location/naming preferences may use the optional user defaults file in either mode; see Workflows. 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, configure an existing workspace, 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
- Finish a coordinated workspace, remove, or prune: Finish, 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.
Scan to join WeChat group