How to install orient
npx skills add https://github.com/camacho/ai-skills --skill orientFull instructions (SKILL.md)
Source of truth, from camacho/ai-skills.
name: orient description: Fetches issue context, auto-detects task type, maps to branch prefix, presents brief.
Phase gate: EXPLORE checkpoint. This skill MUST complete all steps before proceeding to Isolate.
Steps
-
Fetch issue context (if issue number provided):
gh issue view <number> --json title,body,labels,assigneesIf no issue number provided, ask the user to describe the task. If
ghis not available (remote session without GH_TOKEN), skip issue fetch and proceed with manual description. -
Auto-detect task type from labels or description:
Label / keyword Type Branch prefix bug, error, crash, broken, fixBugfix fix/enhancement,feature, add, want, should, newFeature feat/chore,config, deps, ci, toolingChore chore/docs, documentation, readmeDocs docs/Default Feature feat/ -
Scan for relevant ADRs:
ls "$(git rev-parse --show-toplevel)/ai-workspace/decisions/"*.md 2>/dev/null | head -20Check ADR titles/filenames for keywords matching the issue title/body. If matches found, read the relevant ADR and surface it. If ADR scan finds contradictions, surface explicitly: "This task may conflict with ADR-NNN"
-
Check for interrupted work: If
"$(git rev-parse --show-toplevel)/.branch-context.md"exists, read it and include in the brief (resuming work). -
Read recent memory:
tail -20 "$(git rev-parse --show-toplevel)/ai-workspace/MEMORY.md" 2>/dev/null -
Present brief:
## Orient Brief **Task**: [title or description] **Type**: [bugfix/feature/chore/docs] → branch prefix: [fix/feat/chore/docs]/ **Suggested branch**: [prefix]/[kebab-case-name] **Relevant ADRs**: [list or "none found"] **Resuming?**: [yes — from .branch-context.md / no] **Files likely affected**: [educated guess from issue description + ADR context] -
Auto-route using the one-sentence rule:
- Can the entire diff for this task be described in ONE sentence? → Direct to Isolate (skip Design/Review)
- Otherwise → Plan first (proceed to Design after Isolate)
Present the routing decision. The agent auto-decides — no human input required. If human is present, they can override.
Edge Cases
- No issue number + no user description → ask for a description
ghnot available → skip issue fetch, proceed with manual description- No ADRs directory → skip ADR scan
Related skills
More from camacho/ai-skills and the wider catalog.
archive
Fills Outcomes & Learnings in a plan file and renames it to .done.md.
bail
Reflects, updates GitHub Issue, closes PR if open, cleans up worktree/branch.
capture
Creates a draft GitHub Issue with triage label from natural language description.
plan-review
Auto-assembles review panel using deterministic rules, dispatches agents against plan file, collects verdicts.
reflect
Use after merging a branch or completing a task to consolidate learnings into memory layers, close out issues, and verify the phase gate.