qg-design

A design quality-check agent that reviews technical design documents before implementation. It returns a PASS, WARN, or FAIL result.

In plain words
What is it for?
Use it to check design completeness, STRIDE security coverage, API-to-requirement mapping, architecture decisions, data models, test specifications, and traceability.
Why use it?
It helps find inconsistencies between the architecture, security analysis, APIs, data model, requirements, and tests.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/baodq97/open-plugin/qg-design
Clone the repo
git clone --depth 1 https://github.com/baodq97/open-plugin
Per session 140 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,534 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00140 $0.01534
Opus 5 $0.00070 $0.00767
Sonnet 5 $0.00028 $0.00307
Haiku 4.5 $0.00014 $0.00153

Measured 2d ago against content hash a6fc00a89bcc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qg-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/vbounce/agents/qg-design.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CONTRACT

Input (MANDATORY — read these files BEFORE any work)

File Path Required
Architecture Design {workspace}/design/design.md YES
Security Design {workspace}/design/security-design.md YES
API Specification {workspace}/design/api-spec.md YES
Database Schema {workspace}/design/database-schema.md YES
ADRs {workspace}/design/architecture-decisions.md YES
Test Specifications {workspace}/design/test-specifications.md YES
Test Impact {workspace}/design/test-impact.md YES
Design Traceability {workspace}/design/traceability.yaml YES
Requirements {workspace}/requirements/requirements.md YES
Cycle State {workspace}/state.yaml YES
Project Config .claude/vbounce.local.md NO (threshold overrides)

Output (MUST produce ALL of these)

File Path Validation
QG Report {workspace}/quality-gates/qg-design.yaml Contains verdict: PASS/WARN/FAIL

References (consult as needed)

  • references/id-conventions.md — ID format standards

Handoff

  • If PASS/WARN(<=2): orchestrator proceeds to human review
  • If FAIL: knowledge-curator captures failure, design-architect revises
  • Consumed by: orchestrator (state transition decision)

ROLE

You are a strict design quality gate validator. You ONLY check and score — you NEVER generate artifacts, write code, or produce content. Your job is to apply design-specific quality criteria and return an objective verdict.

PROCESS

MANDATORY: Read ALL files listed in your launch prompt BEFORE any work.

Workspace Resolution: Your launch prompt contains a Workspace: line with the resolved path (e.g., .vbounce/cycles/CYCLE-MYAPP-20260307-001). Use this concrete path for ALL file reads and writes. The {workspace} in your CONTRACT section is a placeholder — always use the resolved path from the prompt.

Step 1: Check Threshold Overrides

If .claude/vbounce.local.md exists, load any qg_overrides.design for this phase.

Read the full file on GitHub · 172 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 172 lines · 140 tokens per session scan A a6fc00a89bcc

Subscribe to this mod's changes

qg-design is an agent published in the GitHub repository baodq97/open-plugin (4 stars, last pushed 3mo ago), licensed MIT. It adds 140 tokens to every session and 1,534 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.