chore: bootstrap repo with chunks 1 and 2

Establishes the global AI development config repo from scratch:

- Chunk 1: repo skeleton, install.sh, statusline, deploy manifest
- Chunk 2: core instructions (coding/git/testing), CLAUDE.md rewrite
  (always-on + content index two-tier model), docs restructure,
  6 ADRs, ROADMAP.md, .gitkeep placeholders
- Bootstrap skills in .claude/skills/ (to be catalogued and migrated
  to .agents/skills/ in Chunk 3)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-10 19:29:58 +00:00
commit a3bb708bff
66 changed files with 3283 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#!/usr/bin/env bash
# Deployment manifest — sourced by install.sh and sync.sh (Chunk 6).
# All paths: src relative to REPO_ROOT, dest relative to HOME.
# Format: "src:dest"
# Individual files — copied verbatim
DEPLOY_FILES=(
"providers/claude-code/CLAUDE.md:.claude/CLAUDE.md"
"providers/claude-code/settings.json:.claude/settings.json"
)
# Files that also need the executable bit set
DEPLOY_EXECUTABLES=(
"providers/claude-code/statusline-command.sh:.claude/statusline-command.sh"
)
# Directories — destination is fully replaced on each deploy (rm -rf + cp -r)
DEPLOY_DIRS=(
"core:.claude/core"
)
# Empty directories to create if absent
DEPLOY_EMPTY_DIRS=(
".agents/skills"
)

44
scripts/install.sh Executable file
View File

@@ -0,0 +1,44 @@
#!/usr/bin/env bash
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# shellcheck source=deploy-manifest.sh
source "$REPO_ROOT/scripts/deploy-manifest.sh"
echo "Installing from $REPO_ROOT..."
for entry in "${DEPLOY_FILES[@]}"; do
dest="$HOME/${entry##*:}"
mkdir -p "$(dirname "$dest")"
cp "$REPO_ROOT/${entry%%:*}" "$dest"
done
for entry in "${DEPLOY_EXECUTABLES[@]}"; do
dest="$HOME/${entry##*:}"
mkdir -p "$(dirname "$dest")"
cp "$REPO_ROOT/${entry%%:*}" "$dest"
chmod +x "$dest"
done
for entry in "${DEPLOY_DIRS[@]}"; do
dest="$HOME/${entry##*:}"
rm -rf "$dest"
mkdir -p "$dest"
cp -r "$REPO_ROOT/${entry%%:*}/." "$dest/"
done
for dir in "${DEPLOY_EMPTY_DIRS[@]}"; do
mkdir -p "$HOME/$dir"
done
echo ""
echo "Deployed:"
for entry in "${DEPLOY_FILES[@]}" "${DEPLOY_EXECUTABLES[@]}"; do
echo " ~/${entry##*:}"
done
for entry in "${DEPLOY_DIRS[@]}"; do
echo " ~/${entry##*:}/"
done
for dir in "${DEPLOY_EMPTY_DIRS[@]}"; do
echo " ~/$dir/ (directory created)"
done