Best use case
architecture is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
架构设计能力索引。API设计、安全架构、云原生、数据安全。当用户提到架构、设计、API、云原生时路由到此。
Teams using architecture should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/architecture/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How architecture Compares
| Feature / Agent | architecture | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
架构设计能力索引。API设计、安全架构、云原生、数据安全。当用户提到架构、设计、API、云原生时路由到此。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 阵法秘典 · 架构设计 ## 路由 | 意图 | 秘典 | 核心 | |------|------|------| | API 设计 | [api-design](api-design.md) | RESTful、GraphQL、gRPC、OpenAPI | | 安全架构 | [security-arch](security-arch.md) | 零信任、IAM、威胁建模、合规 | | 云原生 | [cloud-native](cloud-native.md) | 容器、K8s、Serverless、Service Mesh | | 消息队列 | [message-queue](message-queue.md) | Kafka、RabbitMQ、事件驱动、CQRS | | 缓存 | [caching](caching.md) | Redis、CDN、一致性、穿透/雪崩 | ## 决策矩阵 | 决策点 | 选项 A | 选项 B | 判据 | |--------|--------|--------|------| | 同步 vs 异步 | REST/gRPC 同步调用 | 消息队列异步 | 延迟敏感→同步;解耦/削峰→异步 | | 单体 vs 微服务 | 单体(模块化) | 微服务 | 团队<5→单体;独立部署需求→微服务 | | SQL vs NoSQL | RDBMS | MongoDB/DynamoDB | 强一致/关联→SQL;灵活 schema/高吞吐→NoSQL | | 缓存策略 | Cache-Aside | Write-Through | 读多写少→Aside;写后即读→Through | | API 风格 | REST | GraphQL | 资源型 CRUD→REST;复杂聚合/前端驱动→GraphQL | | 事件架构 | 事件通知 | 事件溯源(ES) | 简单解耦→通知;审计/回溯→ES+CQRS | ## 原则 ``` SOLID: S单一职责 O开闭 L里氏替换 I接口隔离 D依赖倒置 分布式: CAP定理 | BASE最终一致 | 幂等设计 安全: 纵深防御 | 最小权限 | 零信任 扩展: 水平优先 | 无状态服务 | 数据分片 ```
Related Skills
name: parse-error
this is not frontmatter
multi-script
too many scripts
missing-description
No description provided.
invalid-tools
invalid tool name
clash-skill
second duplicate
review
Review skill. Read ~/.claude/skills/gstack/review/checklist.md before acting.
office-hours
Office hours skill. Uses ~/.claude/skills/gstack/bin/gstack-config.
codex
Should be skipped for codex host.
gstack
Root gstack skill. Uses ~/.claude/skills/gstack/bin helpers.
verify-security
安全校验关卡。自动扫描代码安全漏洞,检测危险模式,确保安全决策有文档记录。当魔尊提到安全扫描、漏洞检测、安全审计、代码安全、OWASP、注入检测、敏感信息泄露时使用。在新建模块、安全相关变更、攻防任务、重构完成时自动触发。
verify-quality
代码质量校验关卡。检测复杂度、重复代码、命名规范、函数长度等质量指标。当魔尊提到代码质量、复杂度检查、代码异味、重构建议、lint检查、代码规范时使用。在复杂模块、重构完成时自动触发。
verify-module
模块完整性校验关卡。扫描目录结构、检测缺失文档、验证代码与文档同步。当魔尊提到模块校验、文档检查、结构完整性、README检查、DESIGN检查时使用。在新建模块完成时自动触发。