← ClaudeAtlas

claudehut-initlisted

Use once per project before starting work (or when ClaudeHut reports no codebase index) to bootstrap ClaudeHut for a Java/Spring repository - detects the stack, generates the project memory + index + path-scoped rules, and wires the always-load @import slice. Invoked as /claudehut:init. Idempotent.
taipt1504/claudehut · ★ 2 · AI & Automation · score 66
Install: claude install-skill taipt1504/claudehut
# ClaudeHut Init (Bootstrap prerequisite) Bootstrap is a **deterministic script**, not a hand-generation task. Run it; it writes the canonical project plane + stack-gated rules + the `@import` slice with zero guesswork. Then optionally enrich the seeded stubs. **Do NOT** hand-write these files or emit a JSON analysis instead — the script is the source of the writes. ## Flow ```mermaid flowchart TB start(["/claudehut:init"]) --> gen["run claudehut-init generator + ls plane<br/>(deterministic script — never hand-write)"] gen --> verify{"all 5 present? MEMORY · PROJECT ·<br/>LANGUAGE · architecture · reuse-index"} verify -- "no (and attempts ≤ 1)" --> fix["fix the reported error → re-run with --refresh"] fix --> gen verify -- "no / cap hit" --> halt(["BLOCKED: init incomplete —<br/>surface the missing file + error"]) verify -- "yes" --> enrich["enrich stubs below provenance line<br/>(optional — raises quality)"] enrich --> mcp{"interactive (AskUserQuestion available)?"} mcp -- "yes" --> ask["AskUserQuestion multi-select →<br/>emit claude mcp add per pick (suggest, never run)"] mcp -- "no (-p)" --> block["print recommended lines as copy-paste block"] ask --> fin(["Bootstrapped — commit .claude/ except state/"]) block --> fin ``` ## 1. Generate the project plane + verify (REQUIRED) **Call the `Bash` tool** to run the generator and list the result in one command (a tracked tool call, not shell auto-exec at skill-load): ```bash "${CLAUDE_PLUGIN_ROOT}/bin/