跳到主要内容
    ↑↓ 选择↵ 打开esc 关闭
    中文English
    Eric980212

    Arch Governance Opencode

    v0.1.1其他
    arch-governance-opencode

    Enterprise architecture governance plugin for OpenCode — auto-triggering architecture review, diagnosis, and audit across project stages. Works standalone; cooperates with oh-my-openagent when present.

    GitHub 星标

    0

    月装机量

    308

    近 7 天 15

    综合评分SCORE

    34.1

    生态多维模型

    最近提交

    29 天前

    2026-07-22

    快速安装与配置

    opencode.json

    写入当前项目的 opencode.json,只对这个仓库生效。

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["arch-governance-opencode@0.1.1"]
    }

    opencode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。

    OpenCode plugins for enterprise-grade architecture governance of AI applications — covering traditional architecture, AI-specific constraints, compliance/security, and China NFREGA (国家金融监督管理总局《关于银行业保险业人工智能安全开发应用的指导意见》) financial industry supplements.

    Packages

    Package Description
    arch-governance-opencode Base plugin — 95 rules (40 traditional + 30 AI + 25 compliance), 3 agents, 3 commands
    arch-governance-nfrega NFREGA supplement — 30 NF rules + 9 enhancements, 2 finance-specific commands

    Installation

    # Base plugin (required)
    npm install -g arch-governance-opencode
    
    # NFREGA supplement (optional, for China banking/insurance)
    npm install -g arch-governance-nfrega
    

    Then add to your opencode.json:

    {
      "plugin": [
        "arch-governance-opencode",
        "arch-governance-nfrega"
      ]
    }
    

    Three Scenarios

    Command Scenario
    /arch-new New project architecture guidance
    /arch-diagnose Existing project diagnosis
    /arch-audit Production readiness audit
    /arch-finance-new Finance new project (with NFREGA)
    /arch-finance-audit Finance production audit (with NFREGA)

    Compatibility

    • Works standalone or alongside oh-my-openagent (soft cooperation, no naming conflicts)
    • Multi-tech-stack: Java/Spring, .NET, Node/TS, Python

    License

    MIT