Personal OpenCode workflows, agents, and command prompts for faster planning, implementation, testing, and review.
This is a personal setup shared for reuse. It is opinionated, practical, and tuned for day-to-day software delivery.
- Keep my OpenCode setup versioned and synced across devices.
- Capture repeatable workflows for solo and team work.
- Share a real-world configuration others can fork and adapt.
agent/: primary and subagent definitionscommands/: slash command templates (/plan,/prd,/test,/prcheck, ...)docs/: workflow and mental-model documentationskills/: versioned skill source-of-truth (synced to~/.agents/skills)scripts/: utility scripts (including skills sync)AGENTS.md: global operating and safety rules
Primary modes:
build(default)plan(built-in mode; no local file)pre-commit-gate(agent/pre-commit-gate.md)
Subagents in agent/:
architectproduct-reviewerplannerresearchertesterdebuggersecurity-auditordocs-maintainerrefactor-architectpr-reviewergh-operator
Linux/macOS:
git clone https://github.com/Hanseooo/hanseo-opencode-workflows.git ~/.config/opencode
ls ~/.config/opencode/agent
ls ~/.config/opencode/commandsWindows PowerShell:
git clone https://github.com/Hanseooo/hanseo-opencode-workflows.git $HOME/.config/opencode
Get-ChildItem $HOME/.config/opencode/agent
Get-ChildItem $HOME/.config/opencode/commandsWindows CMD:
git clone https://github.com/Hanseooo/hanseo-opencode-workflows.git %USERPROFILE%\.config\opencode
dir %USERPROFILE%\.config\opencode\agent
dir %USERPROFILE%\.config\opencode\commandsSync repo-managed skills to runtime location (~/.agents/skills).
Linux/macOS/Git Bash:
bash scripts/skills-sync.sh --dry-run
bash scripts/skills-sync.sh --init-targetWindows PowerShell:
powershell -ExecutionPolicy Bypass -File scripts/skills-sync.ps1 -DryRun
powershell -ExecutionPolicy Bypass -File scripts/skills-sync.ps1 -InitTargetdocs/getting-started.mddocs/mental-models.mddocs/workflows.mddocs/recipes.mddocs/faq.mddocs/agent-invocation-guide.mddocs/prompting-guide.mddocs/agents.mddocs/commands.mddocs/skills.mddocs/project-agents-template.mddocs/team-playbook.mddocs/security-and-secrets.mddocs/troubleshooting.mdCONTRIBUTING.mdCHANGELOG.md
- Keep secrets out of the repo (
.env, API keys, private certs, tokens). - Keep naming aligned with actual files (
agent/is singular). - Prefer focused PRs that change one workflow concern at a time.
This project is licensed under MIT. See LICENSE.