Build And Install — Development skill for Claude Code
Rebuild dist/installer.js, reinstall all project artifacts to ~/.claude/, and optionally clean stale backups.
How to install Build And Install
Installs to ~/.claude/commands/alkofu-ai-tpk-build-and-install.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alkofu/ai-tpk/HEAD/.claude/commands/build-and-install.md -o ~/.claude/commands/alkofu-ai-tpk-build-and-install.md Restart Claude Code, or start a new session, for it to be picked up.
What Build And Install does
description: Rebuild dist/installer.js, reinstall all project artifacts to ~/.claude/, and optionally clean stale backups
You are rebuilding and reinstalling all project artifacts. Follow every step below in order. All Bash commands must follow `~/.claude/references/bash-style.md`.
Step 1 — Resolve repo root
Run: `git rev-parse --show-toplevel`
Store the result as ``. Use this path as the base for all subsequent commands. This guards against cwd being reset between Bash
Alternatives in Development
- Auto Update — Pull the latest ECC repo changes and reinstall the current managed targets 243.5k ★
- Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
- Releasing — This project ships as a Claude Code plugin 10.9k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Rebuild App
Rebuild MARVIN.app from source and reinstall to ~/Applications.
Crew Reindex
Rebuild the 3-layer codebase index from scratch - use after major refactors or when index seems stale
Drift Watch
Report stale artifacts, dependency drift, and overdue harness maintenance.
Setup Project Health
Read-only report on whether this repo's /setup-project artifacts have drifted or gone stale. Dead files, budge
Clean Worktree
Clean stale worktrees (pruned, merged, or orphaned branches)
Clean Worktrees
Automatically clean all stale worktrees (pruned refs + merged branches)
Related Agents
Doc Janitor
Use this agent to clean up stale documentation artifacts before merging a branch. Finds plan files, session su
Sqlite Architect
SQLite specialist for an embedded local database — connection pragmas, STRICT schema, the 12-step table rebuil
Xcode Runner
Runs Xcode apps on simulators, physical devices, or macOS. Determines if a rebuild is needed, delegates builds