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.

referencesproject-initial-analysis.md

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

项目初始化分析清单与评估维度

适用场景

  • 新接手项目时的首轮体检
  • 重构前的基线评估
  • 架构评审前的信息收敛

项目分析原则

在项目初始化时,建议按以下顺序执行:

  1. 深入分析项目结构:理解技术栈、架构模式和依赖关系
  2. 理解业务需求:分析项目目标、功能模块和用户需求
  3. 识别关键模块:找出核心组件、服务层和数据模型
  4. 提供最佳实践:基于项目特点给出可落地优化建议

项目初始化检查清单

  • 分析项目结构和技术栈
  • 理解依赖关系和配置文件
  • 识别主要模块和功能
  • 检查代码质量和规范
  • 提供优化建议(按优先级排序)

项目分析重点(五维评估)

  1. 架构设计:设计模式、分层架构、模块化程度
  2. 代码质量:规范性、可读性、可维护性
  3. 性能优化:数据库查询、缓存策略、并发处理
  4. 安全性:认证授权、数据验证、输入过滤
  5. 可扩展性:模块解耦、接口设计、配置管理

配置建议

  • 检查配置文件的完整性和合理性
  • 验证环境变量和外部依赖
  • 优化日志记录和监控配置
  • 建议采用配置管理最佳实践(分环境、可审计、可回滚)

输出建议模板

项目初始化分析结论
- 现状摘要:
- 关键风险:
- 优先级建议(P0/P1/P2):
- 下一步执行计划:

命令模板(可选示例,按项目类型选用)

# 项目构建
mvn clean compile
npm install
pip install -r requirements.txt

# 测试运行
mvn test
npm test
pytest

# 开发服务
mvn spring-boot:run
npm start
python manage.py runserver

说明:以上命令仅作示例,不作为强制规则。

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