mcpField
D
design-approval-gate

design-approval-gate

github.com/fudesign2008Agent workflows652 installsUpdated today
Repository

About design-approval-gate

A shared internal skill that requires design or solution approval before production implementation. It defines limited named exceptions and requires each exception to be recorded.

Key features

  1. 01Approval required before implementation
  2. 02Manual approval and auto modes
  3. 03Named exceptions require a record
  4. 04Host integration guidance

Use cases

  1. 01Gate production code changes on design approval
  2. 02Record an approved automatic or hotfix exception

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/fudesign2008/open-skills --skill design-approval-gate

After installing, type/design-approval-gatein Claude Code to confirm it loaded.

Details

From the project README

Design Approval Gate

Internal shared skill. Single source of truth for pre-implementation approval. Hosts declare it in dependencies and abort if missing — no silent fallback.

Name note: intentionally not named brainstorming (external skills repo). Use this name only.

Iron Law

NO PRODUCTION / BEHAVIOR IMPLEMENTATION WITHOUT DESIGN OR SOLUTION APPROVAL.

  • Manual mode: wait for explicit user pass (or equivalent structured confirmation) on the chosen solution/design before stage-6-style code edits.
  • Allowed before approval: OpenSpec / host analysis artifacts; analysis-core analysis-assist temporary edits (must still roll back per that skill).
  • Forbidden before approval: shipping the fix in business/production code; calling implementation skills for the purpose of landing the change.

Named escapes (require 留痕)

These MAY proceed without a human pass; each MUST record a one-line 留痕 (escape name + reason):

EscapeWhen
auto modeHost entered via explicit auto trigger («自动…» / --auto)
Jira auto/forcejira-fix / opsx-jira-fix auto or force path
lean hotfixHost selected lean path with high-certainty hot fix

Not an escape: "this is too simple" / unspoken skip in manual mode.

留痕 template

【设计批准门禁逃生】escape=<auto|jira-auto-force|lean-hotfix>;reason=<short>;time=<ISO>。

Forbidden

  • Silent skip in manual mode without approval or named escape
  • Renaming this skill to brainstorming inside this repository
  • Treating OpenSpec artifact writes as a violation of this gate

Integration guide

  • Hosts: one-line pointer before the execution stage — load this skill; do not paste the escape table into hosts.
  • Prefer user-invocable: false.
  • Compose with workflow-mode-lifecycle: auto escape only when auto mode is actually active.

Comments

Markdown supported