apply-template
Apply ai-env Template
Apply the agentic development environment template to the current repository.
Argument: optional path to ai-env clone. No argument = clone from GitHub (primary path).
Phase 0 — Pre-flight
Clean working tree check
Run git status --porcelain. If there are uncommitted changes, warn the user and ask whether to proceed or stash first. A dirty tree makes it hard to review what the template changed.
Phase 1 — Source Resolution & Discovery
Locate template source
- If an argument was provided, use that path and verify it's a clean git checkout
More from camacho/ai-skills
bail
Reflects, updates GitHub Issue, closes PR if open, cleans up worktree/branch.
566plan-review
Auto-assembles review panel using deterministic rules, dispatches agents against plan file, collects verdicts.
547archive
Fills Outcomes & Learnings in a plan file and renames it to .done.md.
542orient
Fetches issue context, auto-detects task type, maps to branch prefix, presents brief.
537capture
Creates a draft GitHub Issue with triage label from natural language description.
535reflect
Use after merging a branch or completing a task to consolidate learnings into memory layers, close out issues, and verify the phase gate.
500