Index of every page on this site: llms.txt
All skills
qiao-925 avatar

/architecture-governance

@50a1ee4
Run it yourself

架构治理能力单元,帮助 Agent 在架构评审、重构、新模块设计、分层边界调整、接口契约设计与项目初始化分析场景中,检查分层与依赖方向、变更影响面、接口契约与可替换性,避免跨层耦合、反向依赖与破坏性演进。关键词:架构治理、分层、依赖方向、影响面分析、接口契约、依赖注入、可插拔、重构。

Use this Skill: https://skilld.dev/gh/qiao-925/qiao-skills/architecture-governance

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referenceslayering-and-dependencies.md

≈200 tokens on demand. Your agent reads this file only when SKILL.md points to it.

分层与依赖方向基线

1. 分层目标

保持职责边界清晰,避免技术实现与业务规则相互污染。


2. 通用分层模型

接口/交互层(Presentation)
        ↓
应用/业务层(Application/Business)
        ↓
基础设施层(Infrastructure)
  • 上层编排流程与规则,下层提供能力实现
  • 默认只允许相邻层依赖

3. 依赖方向规则

允许

  • Presentation → Application
  • Application → Infrastructure

禁止

  • Infrastructure → Application(反向依赖)
  • Presentation → Infrastructure(跨层直连)
  • 任意双向依赖(循环耦合)

4. 快速检查清单

  • 每个模块能明确归属某一层
  • 新增 import 不破坏依赖方向
  • 无循环依赖

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts7mo4 checks · Risk SAFE
  • Gen Agent Trust Hub7mo

    This skill provides architectural governance guidelines and templates for project analysis. It is primarily instructional and contains no malicious code, obfuscation, or high-risk automated actions. It mentions standard development commands (such as npm install or pip install) as optional templates for project initialization workflows.

  • Socket7mo

    No alerts

  • Snyk7mo

    Risk: LOW · No issues

  • Runlayer8mo

    5 files scanned · No issues

Signed by skilld at 50a1ee4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 8 months ago
Other metadata
metadata
{
  "type": "declarative",
  "category": "engineering",
  "scope": "generic",
  "role": "skill-unit"
}

README badge

README badge for qiao-925/qiao-skills/architecture-governance