Hook
Runs when you submit a prompt, before the agent sees it, executing emit-event.cjs via node. From obra/claude-session-driver.
Hook
Runs when you submit a prompt, before the agent sees it, executing emit-event.cjs via node. From obra/claude-session-driver.
Hook
Runs when a session ends, executing emit-event.cjs via node. From obra/claude-session-driver.
Skill Claude CodeCodex
Use when acting as a project manager that delegates tasks to other coding-agent sessions (Claude Code, Codex, or Pi) - launch workers, assign them work, monitor progress, review their tool calls, and collect results.
Command
@skills/collaboration/brainstorming/SKILL.md.
Command
@skills/collaboration/executing-plans/SKILL.md.
Command
@skills/collaboration/writing-plans/SKILL.md.
Skill Claude CodeCodex
Hide implementation details behind interfaces - work at domain level (what), not implementation level (how).
Skill Claude CodeCodex
Class interfaces present one cohesive abstraction - don't mix domain logic with serialization, persistence, or unrelated concerns.
Skill Claude CodeCodex
Managing complexity is software's primary technical imperative - all other goals are secondary.
Skill Claude CodeCodex
Comment WHY code exists and non-obvious decisions, not WHAT code does (mechanics).
Skill Claude CodeCodex
Design in pseudocode first, iterate approaches, then translate to code.
Skill Claude CodeCodex
Try 2-3 different approaches before implementing - don't settle for first design you think of.
Skill Claude CodeCodex
Each routine does one thing and does it well - extract when routines have multiple responsibilities.
Skill Claude CodeCodex
Declare variables in smallest possible scope, initialize close to first use, minimize span and live time.
Skill Claude CodeCodex
Name code by what it does in the domain, not how it's implemented or its history.
Skill Claude CodeCodex
Choose names that fully and accurately describe what the variable represents.
Skill Claude CodeCodex
Refactor with tests first, one change at a time, never mix refactoring with bug fixes or new features.
Skill Claude CodeCodex
Flatten nested conditionals with early returns or table-driven methods - keep nesting depth under 3 levels.
Skill Claude CodeCodex
Use each variable for exactly one purpose - no hybrid coupling or hidden meanings.
Skill Claude CodeCodex
Check all external inputs for validity - garbage in, nothing out, never garbage out.
Skill Claude CodeCodex
Write comments explaining WHAT and WHY, never temporal context or history.
Skill Claude CodeCodex
Interactive idea refinement using Socratic method to develop fully-formed designs.
Skill Claude CodeCodex
Use multiple Claude agents to investigate and fix independent problems concurrently.
Skill Claude CodeCodex
Execute detailed plans in batches with review checkpoints.