Loading...
Loading...
Project setup. Explore the codebase, ask about strategy and aims, write persistent context to AGENTS.md. Run when starting or when aims shift.
npx skill4agent add open-horizon-labs/skills teach-oh/teach-oh.oh/docs/adr/# Open Horizons Framework
**The shift:** Action is cheap. Knowing what to do is scarce.
**The sequence:** aim → problem-space → problem-statement → solution-space → execute → ship
**Where to start (triggers):**
- Can't explain why you're building this → `/aim`
- Keep hitting the same blockers → `/problem-space`
- Solutions feel forced → `/problem-statement`
- About to start coding → `/solution-space`
- Work is drifting or reversing → `/salvage`
**Reflection skills (use anytime):**
- `/review` - Check alignment before committing
- `/dissent` - Seek contrary evidence before one-way doors
- `/salvage` - Extract learning, restart clean
**Key insight:** Enter at the altitude you need. Climb back up when you drift.
---
# Project Context
## Purpose
[What this project does and why it matters]
## Current Aims
[Active goals and what success looks like]
## Key Constraints
- [Constraint 1]: [Why it exists]
- [Constraint 2]: [Why it exists]
## Patterns to Follow
- [Pattern]: [When/why to use it]
## Anti-Patterns to Avoid
- [Anti-pattern]: [Why it's problematic here]
## Decision Context
[How the team makes decisions, what "done" means]## Teach-OH Summary
### What I Discovered
- Stack: [technologies found]
- Structure: [key patterns observed]
- Existing context: [what docs already exist]
### Questions I Have
1. [Question about aims/strategy]
2. [Question about constraints]
3. [Question about team practices]
---
After your answers, I'll draft a AGENTS.md section for your approval.## Proposed AGENTS.md Addition
[Draft the Project Context section]
---
**Write to AGENTS.md?** [Yes/No - show what will be added/updated]/teach-oh## Teach-OH Summary
### What I Discovered
- Stack: TypeScript, React, Node.js, PostgreSQL
- Structure: Monorepo with apps/ and packages/
- Existing context: README exists, no AGENTS.md or CLAUDE.md
- Recent focus: Auth refactor (last 12 commits)
### Questions I Have
1. What's the main aim right now? The auth work—is that about security, UX, or maintenance?
2. I see both REST and GraphQL endpoints. Is one preferred, or context-dependent?
3. Any performance constraints? I see a Redis layer but no docs on when to use it.
4. What patterns should I follow vs. avoid?## Proposed AGENTS.md Addition
# Open Horizons Framework
**The shift:** Action is cheap. Knowing what to do is scarce.
**The sequence:** aim → problem-space → problem-statement → solution-space → execute → ship
**Where to start (triggers):**
- Can't explain why you're building this → `/aim`
- Keep hitting the same blockers → `/problem-space`
- Solutions feel forced → `/problem-statement`
- About to start coding → `/solution-space`
- Work is drifting or reversing → `/salvage`
**Reflection skills:** `/review`, `/dissent`, `/salvage`
**Key insight:** Enter at the altitude you need. Climb back up when you drift.
---
# Project Context
## Purpose
Customer portal for B2B SaaS. Users are account admins managing their organization's settings, users, and billing.
## Current Aims
- Simplify auth flow so new SSO providers can be added in <1 day (currently takes 2 weeks)
- Success: Adding Okta support by end of Q1
## Key Constraints
- SOC2 compliance: All auth changes need security review
- <200ms API response time (SLA commitment)
- No breaking changes to existing OAuth integrations
## Patterns to Follow
- REST for public API, GraphQL for internal dashboard
- Redis for session state only, not general caching
- Feature flags via LaunchDarkly for gradual rollouts
## Anti-Patterns to Avoid
- Don't abstract OAuth providers into single interface (they have semantic differences)
- Avoid adding new environment variables without updating .env.example
## Decision Context
Tech lead approves architecture changes. PRs need one review. "Done" = deployed to staging with passing E2E tests.
---
**Write to AGENTS.md?** This will create a new file at ./AGENTS.md/aim/problem-space/dissent/review/execute