isolated-db-branches
Isolated DB Branches
Install a branch-isolated Drizzle + Neon workflow. The core split is: branch/dev databases use db:push; main/release owns db:generate, db:migrate, and production deploy.
Inspect First
Read before editing:
package.json, workspace files, lockfile, and package manager pin- Drizzle config and schema path
- existing migration directory and data-migration conventions
.github/workflows/*- deployment setup and provider
- repo instruction files such as
AGENTS.md,CLAUDE.md, and README
If the repo does not use Neon or Drizzle, stop and propose only the parts that still apply.
Setup Steps
More from wiseiodev/agentic-playbook
worktree
Create a git worktree + branch for a slice using the project naming convention. Use when starting a new slice that should run in parallel with others. Triggers on /worktree, "make a worktree", "new worktree for this slice".
1spec
Open a per-task spec scaffold from the canonical template, prefilled with reasonable defaults. Use when starting a new slice that needs a spec written. Triggers on /spec, "draft a spec", "spec this slice".
1work
Execute one scoped implementation slice end-to-end with the playbook's full trust loop. Use when the user invokes /work, asks to complete a Linear or GitHub work item, asks to implement one approved plan phase, or explicitly wants an agent-owned implementation slice. The command authorizes branch, implementation, gates, self-QA evidence, anti-overeng review, adversarial review, report, metrics sidecar, commit, push, and a Ready PR after all required gates pass.
1pr
Draft the PR body via the pr-author subagent and open the PR via gh. Use after self-QA + anti-overeng review are clean. Triggers on /pr, "open the PR", "draft the PR body".
1plan
Generate an implementation plan from a locked per-task spec, gated by human approval before any code is written. Use after the spec exists and before implementation. Triggers on /plan, "make a plan", "draft a plan for this spec".
1review
Run anti-overengineering review on the current diff. Invoke after self-QA is green and before opening a PR. Triggers on /review, "review for overengineering", "check the diff for overeng".
1