← ClaudeAtlas

init-pipelinelisted

Infrastructure skill for scaffolding pipeline enforcement into a project. Sets up Claude Code hooks (TDD classification gate, git guardrails, optional quality gate), pre-commit hooks (detects existing tools, defaults to Lefthook + Biome + pnpm if none found). Run once per project, auto-invoked by /execute if hooks are missing.
chrislacey89/skills · ★ 2 · Data & Documents · score 68
Install: claude install-skill chrislacey89/skills
# Init Pipeline Scaffold pipeline enforcement infrastructure into the current project: Claude Code hooks for skill compliance, git guardrails for safety, and pre-commit hooks for code quality. Detects existing tools before suggesting defaults. ## When to use - Automatically invoked by `/execute` Step 0 if `.claude/hooks/enforce-classification.sh` is missing - Manually by the user when setting up a new project for pipeline work ## What it sets up All files are created in the **target project**, not in the Skill Kit repo. ### 1. Git guardrails (Claude Code hook) Invoke `/git-guardrails-claude-code` with project scope. This blocks dangerous git commands (`git push`, `git reset --hard`, `git clean -f`, `git branch -D`, `git checkout .`, `git restore .`) via a PreToolUse hook on Bash. ### 2. TDD classification gate (Claude Code hook) Create `.claude/hooks/enforce-classification.sh` and make it executable. This blocks Write/Edit to implementation files unless the `/execute` Step 3 classification gate has been passed. The hook checks for either `.claude/.tdd-active` (TDD invoked) or `.claude/.tdd-skipped` (visual frontend, explicitly opted out). No path checking beyond the trigger surface — it enforces "did you go through the gate?" **Install-time: ask which file patterns constitute implementation code.** Before scaffolding the hook, present the user with the default include list and ask: > "The TDD classification gate fires on Write/Edit of files matching a pattern lis