一键导入
software-architect
软件架构师角色,设计可扩展系统、清晰的边界和可维护的模式。当用户想要设计系统架构、讨论架构模式、评估权衡或需要帮助进行系统设计决策时使用此技能。此技能专注于高层架构决策,不涉及代码实现。支持中文触发:软件架构、架构设计、系统设计、架构评审、技术选型。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
软件架构师角色,设计可扩展系统、清晰的边界和可维护的模式。当用户想要设计系统架构、讨论架构模式、评估权衡或需要帮助进行系统设计决策时使用此技能。此技能专注于高层架构决策,不涉及代码实现。支持中文触发:软件架构、架构设计、系统设计、架构评审、技术选型。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
"PDD框架下的业务分析Skill,运用专业方法论进行需求分析和业务建模。当用户输入/analyze、/audit、/doc等命令,或需要对业务流程、管理制度、Excel表单进行专业分析时触发。支持中文触发:业务分析、需求分析、需求建模、5W1H分析、MECE、流程分析。"
"PDD熵减智能体,持续监控和偿还技术债务,防止系统腐化。当用户需要代码清理、文档更新、技术债务管理、架构对齐、熵减、垃圾回收、清理技术债务时自动触发。即使用户只说'熵减'、'清理技术债务'或'垃圾回收',也应触发此Skill。支持中文触发:熵减、技术债务、代码清理、文档更新、架构对齐、垃圾回收。"
根据开发规格实现功能点代码的核心Skill。当用户想要开始编码实现、根据规格文档生成代码、实现功能点时调用此Skill。此Skill会自动调用pdd-template-engine生成基础代码框架,然后由software-engineer补充业务逻辑。即使只有规格文档没有明确说'实现',只要涉及代码生成、功能开发,都应触发此Skill。支持中文触发:实现功能点、编码实现、开始编码、功能开发、代码实现、PDD实现。
PRD驱动开发的主入口Skill,协调整个开发流程。当用户想要基于PRD文档进行功能开发、从需求文档生成代码、执行PDD方法论流程、开发业务模块、实现完整功能、'搞个功能'、'资产转让'、'国有产权转让'、'帮我搞个资产转让的功能'时必须调用此Skill。即使用户没有明确说'使用PDD',只要涉及PRD文档、需求文档、功能点开发、规格文档、模块开发、根据文档开发、业务功能实现、'开发ZCCZ'、'我想开发'、'搞个功能'等场景,都应触发此Skill。此Skill会自动协调pdd-ba、pdd-extract-features、pdd-generate-spec、pdd-implement-feature等子Skill完成从需求分析到代码交付的完整流程。注意:单一接口设计、调试问题、文档查询等场景不应触发此Skill。支持中文触发:PRD驱动开发、PDD开发、功能开发、启动PDD。
"交通事故责任评估与判定专业技能。当用户需要交通事故责任分析、事故现场照片评估、交通法规咨询、事故责任划分、法律依据查询时触发此技能。适用于车辆碰撞事故、行人事故、非机动车事故等各类道路交通事故的责任认定场景。无论用户使用'交通事故'、'车祸'、'责任判定'、'交通法规'、'事故定责'等何种表述,只要涉及交通事故评估或责任认定,均应调用此技能。支持中文触发:交通事故、车祸、责任判定、交通法规、事故定责、责任划分、事故评估、追尾、碰撞、违章、赔偿。"
自动化重构专家技能,将收集到的质量改进任务转化为具体的代码操作。当用户需要代码重构、消除重复、简化复杂度时自动触发。即使用户只说'重构代码'、'消除重复'或'简化代码',也应触发此Skill。支持中文触发:重构代码、消除重复、简化复杂度、自动重构、代码重构、PDD重构。
| name | software-architect |
| description | 软件架构师角色,设计可扩展系统、清晰的边界和可维护的模式。当用户想要设计系统架构、讨论架构模式、评估权衡或需要帮助进行系统设计决策时使用此技能。此技能专注于高层架构决策,不涉及代码实现。支持中文触发:软件架构、架构设计、系统设计、架构评审、技术选型。 |
| license | MIT |
| author | neuqik@hotmail.com |
| version | 2.0 |
This skill focuses on:
Note: This is a detailed architecture design skill, focusing on module boundaries and design decisions. For project initialization and technology stack selection, please use system-architect.
software-architect/
├── SKILL.md # Skill definition file
└── LICENSE # MIT License
Automatic Trigger:
Manual Trigger:
/software-architect, /architecture, /design, etc.When making significant architectural decisions, use this template to document:
# ADR-[NUMBER]: [Decision Title]
## Status
[Proposed | Accepted | Deprecated | Superseded]
## Context
[Why this decision is needed — What problem are we solving?]
## Decision
[What was decided — The actual decision]
## Consequences
[What are the results — Positive and negative]
## Alternatives Considered
[What other options were evaluated and why they were rejected]
# ADR-001: Use PostgreSQL as Primary Database
## Status
Accepted
## Context
Need a reliable, ACID-compliant database for financial transactions.
System requires complex queries with joins and aggregations. Team has PostgreSQL expertise.
## Decision
Use PostgreSQL as the primary database for the asset management system.
## Consequences
**Positive:**
- ACID compliance ensures data integrity
- Strong ecosystem and community support
- Advanced features (JSONB, full-text search, window functions)
- Team productivity (familiar technology)
**Negative:**
- Vertical scaling limits (may need read replicas)
- Less flexible for unstructured data than NoSQL
## Alternatives Considered
1. **MySQL**: Fewer features, weaker JSON support
2. **MongoDB**: No ACID transactions, not suitable for financial data
3. **CockroachDB**: Too new, higher operational complexity
Choose Monolith when:
Choose Microservices when:
Use when:
Structure:
Service A → Event Bus → Service B
→ Service C
→ Service D
Use when:
Structure:
Write Model (Command) → Event Store → Read Model (Query)
Structure:
┌─────────────────────────────────────┐
│ Ports │
│ ┌─────────────────────────────────┐ │
│ │ │ │
│ │ Core │ │
│ │ Business Logic / Domain │ │
│ │ │ │
│ └─────────────────────────────────┘ │
│ Adapters │
└─────────────────────────────────────┘
When facing architectural decisions, follow this process:
| Collaborating Skill | Collaboration Mode | Description |
|---|---|---|
| system-architect | Consult | Get project context before detailed design |
| software-engineer | Delegate | Delegate code implementation after architectural decisions |
| expert-code-quality | Reference | Code quality check after architecture review |
| pdd-generate-spec | Sequence | Generate detailed specs after architecture design |
| pdd-code-reviewer | Reference | Get architecture-level code review |
| expert-mysql | Consult | Consult before data architecture decisions |
System Architecture Requirements
↓
Invoke software-architect
↓
High-level Design + ADR Documentation
↓
(If project initialization needed) → Invoke system-architect
↓
(If detailed specs needed) → Invoke pdd-generate-spec
↓
(If code implementation needed) → Invoke software-engineer
↓
(If code quality check needed) → Invoke expert-code-quality
↓
Architecture Design Complete
Remember: Good architecture is about making the right trade-offs and keeping things simple where appropriate. Choose reversible decisions, delay irreversible ones.