Files
settled-reach/whatsinagame/templates/.config/hooks/pre-commit
T
jpmschweitzerandClaude Opus 4.6 7158ae9cf5 feat(meta): add whatsinagame multi-agent team starter kit
Claude-native starter kit that bootstraps multi-agent team
infrastructure for any project. Clone once, install as a global
skill, run /kit-install in any project directory.

Includes:
- 3-tier profile system (minimal/standard/full: 3-12 agents)
- 16 agent archetype templates with personality spectrum
- 18 skill templates using domain-action naming convention
- Stakeholder persona panel for workshops and PR reviews
- SQLite ticketing DB with CLI tools (config-based DB paths)
- Decision tracking, sprint lifecycle, workshop orchestration
- Multi-git-host support (GitHub, Gitea, GitLab)
- /kit-update skill for syncing with source repo evolution
- Naming theme support for agent identity/flavor
- Smoke tests for all three profile tiers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 02:22:30 +01:00

29 lines
682 B
Bash

#!/usr/bin/env bash
# Pre-commit hook dispatcher.
# Installed via: git config core.hooksPath .config/hooks
set -euo pipefail
REPO_ROOT="$(git rev-parse --show-toplevel)"
ERRORS=0
run_check() {
local script="$1"
local label="$2"
if [ -x "$REPO_ROOT/$script" ]; then
if ! "$REPO_ROOT/$script"; then
ERRORS=$((ERRORS + 1))
fi
else
echo "pre-commit: WARNING — $label skipped ($script not found)"
fi
}
# --- Add project-specific checks here ---
# run_check "tooling/check-something" "something validation"
if [ "$ERRORS" -gt 0 ]; then
echo ""
echo "pre-commit: $ERRORS check(s) failed. Commit aborted."
exit 1
fi