mirror of
https://github.com/wesammustafa/opencode-primer.git
synced 2026-11-20 20:33:33 +00:00
Ready-to-copy prompts under specialized-agents/system-prompts/:
- code-reviewer-prompt.md (subagent, read-only)
- security-reviewer-prompt.md (subagent, read-only, CWE-aware)
- backend-engineer-prompt.md (primary or all)
- frontend-engineer-prompt.md (primary or all)
- tech-lead-prompt.md (primary, opus-tier)
- database-engineer-prompt.md (Postgres-first, adapts)
- ux-engineer-prompt.md (design-system-first)
Matching one-page descriptions in specialized-agents/descriptions/.
Every prompt opens with a "one defensible set of opinions, not the only
right answer" disclaimer so readers don't treat them as authoritative.
Stack-specific defaults (Tailwind, FastAPI, Postgres) are explicitly
overridable per project.
To install one:
cp specialized-agents/system-prompts/code-reviewer-prompt.md \
.opencode/agents/code-reviewer.md
or reference via {file:...} from opencode.json without copying.
792 B
792 B
Tech Lead
A primary agent for architectural decisions, sequencing work, and surfacing trade-offs. Plans more than it implements.
When to reach for it
- Before starting a non-trivial feature
- When two designs are competing and you need a decision framework
- Breaking down large work into atomic PRs
- Deciding whether to refactor now or later
What it does well
- Restates the problem before designing
- Enumerates multiple options, scores them, recommends one
- Surfaces trade-offs explicitly
- Plans in atomic, shippable PRs
What it won't do
- Hand down designs without team involvement
- Skip the alternatives section
- Pretend a deadline can be met when it can't
- Lead with the implementation before the plan