Appearance
AI writes the code. You keep the decisions. An OpenCode plugin that puts your approval, your criteria and your team's engineering rules on every change.
Each feature gets a written spec with acceptance criteria, edge cases, exact paths and applied rules. Only your explicit Approve unlocks implementation.
See how it works# 001: Paginate the user list
## Acceptance
- AC-1: Given 45 users, when GET /users?page=2,
then 20 users and pagination metadata are returned.
## Edge Cases
- EC-1: pageSize above 100 -> 400 INVALID_PAGE_SIZE
? Approve this spec [Approve] [Request changes]opencode plugin add @thomasrumas/signoff/codegraph-init
/rules-installBoth optional: index the code, install the review rules.
> Add pagination to GET /users75%
of developers say they have more responsibility for validating the quality and safety of AI-generated output.
79% agree individual developer productivity has improved with AI, but overall software delivery has not accelerated at the same pace.
85% agree AI has shifted the bottleneck from writing code to reviewing and validating it.
Changes from low to high AI adoption: more PRs, larger PRs, and longer median reviews. The same person signs off at the end.
Sources: Atlassian, State of Developer Experience 2026, GitLab AI research, Faros AI report (PDF).
49% of developers spend 4+ hours per week reviewing AI output, correcting prompts, and more.
Only 28% say they experience noticeably less friction across their day-to-day workflow than before AI.
You answer for the logic, the security, the architecture and what customers see. Accountability without control is a bet. So the work is split where the risk is.
The orchestrator asks the questions that change behavior and records the answers.
The request is split into small features. Each one waits for your go-ahead.
Exact paths, acceptance criteria, edge cases, applied rules, coverage plan.
Only an explicit Approve unlocks implementation.
Delivery implements and tests. Refactor checks every criterion and rule, with evidence.
Changed files listed, commit message suggested. History stays yours.
When AI writes more of the code, your value is in what it can't own: a spec that says exactly what must be true, and an understanding of the system deep enough to answer for it. The plugin helps you keep both.
Orchestrator and Delivery agents
Every feature gets a written spec with its acceptance criteria and edge cases. Archived specs record what was built and why, so the intent survives the chat.
How specs workReviewer agent
/review runs Open Code Review with your team rules, covers every changed file, ranks findings by severity and proposes a fix plan you approve. A first check before your own.
How review worksDocumentation agent
Architecture, decisions, how a feature flows, the data model: written from the code, approved by you, kept in the repository. The knowledge stays when the context window doesn't.
How documentation worksSource: GitLab AI Accountability research, conducted by The Harris Poll.
Governance can't be a document nobody reads. It has to live where the code is written, and be applied every time.
When a developer joins, nobody hands them a keyboard and walks away. We teach them the company's rules, the team's engineering conventions and the reasons behind them. That is what makes them effective. Your agents deserve the same onboarding.
---
title: NestJS controller (transport boundary).
globs: ["**/*.controller.ts"]
sources:
- engineering-rules/design/001-business-oriented-api-design.md
- engineering-rules/observability/002-controller-error-translation.md
---
- Keep handlers thin: bind and validate input, translate
results and errors, return the service result.
- Responses MUST be project-owned response DTOs.
- Collection endpoints use the shared paginator.Shipped with 9 NestJS checks, 6 Vue checks and 110 rules and decisions from years of production work. Browse the rules
This plugin encodes one way of working: clarify, specify, approve, verify. It could just as well have been test-first, with agents writing failing tests before any code. The point is not this workflow. The point is that AI can follow your team's method instead of improvising its own. Take it, bend it, replace it.
The plugin brings to AI the practices good teams already rely on. Seniors will recognize them, juniors will learn them, and agents will finally follow them.
| Proven practice | In the plugin |
|---|---|
| Small batches, user stories | Requests split into small, approved features |
| Given / When / Then | Acceptance criteria AC-* |
| Boundary and negative testing | Edge cases EC-* |
| Design review before coding | Spec approval |
| Definition of Done | Coverage plan, verified criterion by criterion |
| Separate author and reviewer | Delivery implements, Refactor verifies |
| Coding standards, review checklists | Engineering checks, reused by the review |
| Architecture Decision Records | Versioned decisions with status and rationale |
| Atomic, conventional commits | One feature, one suggested commit |
| Shared team knowledge | Project memory and rules in the repository |
Let the agents write. Keep the decisions.
Approving a feature and a spec takes minutes. Rewriting a change that ignored your conventions, missed an edge case or touched 14 files takes hours, and the review pays the bill.
Keep it. A single instructions file is loaded whole, rarely explains why, and is not used by the review. Team rules are served per file, carry their rationale, and drive both implementation and review.
They should be yours. Override any rule in .opencode/rules/ or add your own stack.
Never. It suggests the message; you decide.
Only to the model you configured in OpenCode. Everything else stays local, and CodeGraph telemetry is off.