commit
Create an atomic commit for current changes
Prime agent with Archon isolation system and git operations context
$ npx -y skills add coleam00/Archon --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/prime-isolationContext preview
What this command does when you run it.
Prime agent with Archon isolation system and git operations context
description: Prime agent with Archon isolation system and git operations context
Orient on the isolation system (`packages/isolation/`) and low-level git operations (`packages/git/`) before working on worktree lifecycle, branch management, or error handling.
!`ls packages/isolation/src/` !`ls packages/git/src/`
Read `packages/git/src/types.ts` in full — branded types (`RepoPath`, `BranchName`, `WorktreePath`) that prevent mix-ups between plain strings and typed git paths.
Read `packages/git/src/worktree.ts` first 60 lines — `createWorktree`, `removeWorktree`, `listWorktrees`, `worktreeExists`, `toWorktreePath` (hashing strategy for unique paths).
Read `packages/git/src/exec.ts` — `execFileAsync` and `mkdirAsync` wrappers. Note: always use `execFileAsync` (not `exec`) for git commands to avoid shell injection.
Read `packages/git/src/branch.ts` first 40 lines — `checkout`, `getDefaultBranch`, `isBranchMerged`, `findWorktreeByBranch`.
Read `packages/isolation/src/resolver.ts` first 130 lines — `IsolationResolver` class with the 7-step resolution order: 1. Existing environment reference (from conversation) 2. No codebase → skip isolation 3. Workflow reuse (same codebase + workflow identity) 4. Linked issue sharing (cross-conversation) 5. PR branch adoption (skill symbiosis) 6. Limit check with auto-cleanup (default: 25 worktrees per codebase) 7. Create new worktree
Read `packages/isolation/src/errors.ts` in full — `classifyIsolationError()` maps raw git errors (permission denied, no space left, timeout, not a git repo) to user-friendly messages. `IsolationBlockedError` for limit-exceeded cases. `isKnownIsolationError` for detection.
Read `packages/isolation/src/providers/worktree.ts` first 60 lines — `WorktreeProvider` implements `IIsolationProvider`: `createEnvironment`, `removeEnvironment`, `environmentExists`.
Read `packages/isolation/src/factory.ts` — `getIsolationProvider()` and `configureIsolation()` entry points used by the command handler and orchestrator.
Read `packages/isolation/src/store.ts` — `IIsolationStore` interface (database abstraction for isolation_environments table).
!`git log -8 --oneline -- packages/isolation/ packages/git/`
Summarize (under 250 words):
try {
// isolation creation
} catch (error) {
const userMessage = classifyIsolationError(error as Error);
await platform.sendMessage(conversationId, userMessage);
}The first open-source harness builder for AI coding. Make AI coding deterministic and repeatable.
Repo: coleam00/Archon
Create an atomic commit for current changes
Meta command creator - generates slash commands following established patterns
Execute an Archon implementation plan file
Implement fix from RCA document for GitHub issue
Analyze and document root cause for a GitHub issue
Write a session handoff document for the next agent or session