git-orchestrator
Git-Orchestrator
##Trigger Patterns
- "/git-orchestrator init"
- "/git-orchestrator commit"
- "/git-orchestrator worktree"
- "initialize claude config repo"
- "commit my configuration changes"
- "create worktree for experiment"
- "show configuration history"
Applicable Agents
- git-orchestrator-agent (primary meta-orchestrator)
- refactor-agent (consumer for 24hr commits)
- build-domain-agent (git-master integration)
Infrastructure Dependencies
| Tool | Purpose | Health Check |
|---|---|---|
| bv | Graph analysis, metrics | bv --version |
| bd | Issue tracking, DAG | bd --version |
| git | Version control | git --version |
| claude-mem | Activity logging | curl localhost:37777/health |
Core Operations
1. Repository Initialization
~/.claude/skills/git-orchestrator/scripts/init-repo.sh
2. Session Lifecycle
- SessionStart: Record initial state, create session branch
- PostToolUse (Write|Edit): Track pending changes
- SessionEnd: Auto-commit with detailed message
3. Worktree Management
- Create: Isolated experimentation environments
- Switch: Parallel configuration testing
- Cleanup: Remove stale worktrees
Integration Points
| Pillar | Hook | Purpose |
|---|---|---|
| refactor-agent | PostToolUse | Commit optimizations |
| code-skill | PreToolUse | Preflight validation |
| claude-mem | SessionStart | Activity context |
| ralph-loop | Notification | Activity logging |
| learn-skill | Stop | Crystallize learnings |
Progressive Loading
L0 - Trigger (50 tokens)
Frontmatter only - activation check
L1 - Core (300 tokens)
Core architecture, session hooks, commit automation
L2 - Worktree Operations (500 tokens)
Branch management, parallel experimentation, worktree lifecycle
L3 - Pillar Integration (800 tokens)
Cross-pillar coordination, bv/bd integration, compound engineering
Scripts Reference
| Script | Purpose | Hook |
|---|---|---|
| init-repo.sh | Initialize ~/.claude as git repository | Manual |
| session-start.sh | Record session state, create branch | SessionStart |
| track-change.sh | Log file modifications, bd tracking | PostToolUse |
| session-commit.sh | Auto-commit, merge, push | SessionEnd |
| worktree-manager.sh | Create/list/remove worktrees | Manual |
| atomic-write.sh | Resilience layer for safe writes | Utility |
| lock-manager.sh | Detect and fix stale locks | Utility |
| secret-scanner.sh | Pre-commit secret validation | Utility |
Commands
| Command | Usage |
|---|---|
/git-orchestrator init |
Initialize repository |
/git-orchestrator commit |
Manual commit |
/git-orchestrator worktree create <name> |
Create worktree |
/git-orchestrator worktree list |
List worktrees |
/git-orchestrator worktree cleanup |
Remove stale worktrees |
Invariants
- K-Monotonicity: Configuration changes preserve history (git never loses commits)
- Homoiconicity: Meta-orchestrator manages its own versioning
- Vertex-Sharing: Integration preserved across all pillars
- Orthogonality: Worktrees enable parallel experimentation without conflict
See Also
- Git-Orchestrator Agent — Meta-orchestrator implementation
- Refactor Agent — Consumer for 24hr auto-commits
- Git-Master Skill — Git operations expert
- Learn Skill — Knowledge compounding integration
More from zpankz/mcp-skillset
network-meta-analysis-appraisal
Systematically appraise network meta-analysis papers using integrated 200-point checklist (PRISMA-NMA, NICE DSU TSD 7, ISPOR-AMCP-NPC, CINeMA) with triple-validation methodology, automated PDF extraction, semantic evidence matching, and concordance analysis. Use when evaluating NMA quality for peer review, guideline development, HTA, or reimbursement decisions.
16software-architecture
Guide for quality focused software architecture. This skill should be used when users want to write code, design architecture, analyze code, in any case that relates to software development.
13cursor-skills
Cursor is an AI-powered code editor and development environment that combines intelligent coding assistance with enterprise-grade features and workflow automation. It extends beyond basic AI code comp...
13textbook-grounding
Orthogonally-integrated Hegelian syntopical analysis for SAQ/VIVA/concept grounding with systematic textbook citations. Implements thesis extraction → antithesis identification → abductive synthesis across multiple authoritative sources. Tensor-integrated with /m command: activates S×T×L synergies (textbook-grounding × pdf-search × qmd = 0.95). Triggers on requests for model SAQ responses, VIVA preparation, concept explanations requiring textbook evidence, or any PEX exam content needing systematic cross-reference validation.
12obsidian-process
This skill should be used when batch processing Obsidian markdown vaults. Handles wikilink extraction, tag normalization, frontmatter CRUD operations, and vault analysis. Use for vault-wide transformations, link auditing, tag standardization, metadata management, and migration workflows. Integrates with obsidian-markdown for syntax validation and obsidian-data-importer for structured imports.
12terminal-ui-design
Create distinctive, production-grade terminal user interfaces with high design quality. Use this skill when the user asks to build CLI tools, TUI applications, or terminal-based interfaces. Generates creative, polished code that avoids generic terminal aesthetics.
10