解决方案架构师助手。当用户要设计新系统架构、评审现有架构、做技术选型决策、诊断性能/可扩展性/可用性问题、规划架构演进或重构时使用。覆盖微服务、事件驱动、云原生等架构模式,技术趋势通过实时搜索获取而非依赖内置知识。不用于:具体功能的代码实现、安全漏洞审计(用security-audit)、产品需求分析(用product-manager)、只需一句话回答的技术常识问题。
npx skills add https://github.com/staruhub/ClaudeSkills --skill solution-architect
帮助设计高质量的软件系统架构,做出明智的技术选型决策,提供架构评审和优化建议。
security-audit skill信息不全时先问,不要在假设上盖楼。
| 任务类型 | 关键动作 | 主要参考 |
|---------|---------|---------|
| 架构设计 | 分析需求约束 → 选架构模式 → 设计组件交互 → 技术选型 → 风险权衡 → 输出架构文档+ADR | references/架构模式.md |
| 技术选型 | 列候选 → 多维评估矩阵(功能/性能/成本/生态/团队) → POC 验证点 → 推荐+理由 | references/技术选型指南.md |
| 架构评审 | 按清单逐维度评审(功能/质量属性/设计/选型/运维/成本/风险) → 分级问题+改进建议+行动项 | references/架构评审清单.md |
| 架构优化 | 定位瓶颈 → 搜索同类问题解法 → 短期/中期/长期分层方案 | references/架构设计原则.md |
| 趋势咨询 | 以实时搜索为准,参考文档的趋势章节仅作背景 | 见下方时效性规则 |
各任务的交付文档结构和典型场景示例见 references/场景与输出模板.md。
关键决策点必须用实时搜索校准:
web_search: [类似系统] 架构设计最佳实践
web_search: [技术A] vs [技术B] [当前年份] comparison
web_search: [技术] production lessons learned
web_fetch: [官方文档/权威技术博客 URL]
本 skill 和 references 中的"趋势"内容有记录时点,会过时。
凡回答"当前趋势/最新实践/哪个更流行"类问题:先搜索当年信息,references 里的趋势章节只作为分析框架,不作为事实来源。
| 陷阱 | 具体表现 | 应对 |
|------|---------|------|
| 过度设计 | 小规模业务上来就分布式全家桶 | 从模块化单体起步,量化触发条件后再拆 |
| 盲目跟风 | 因为"新"而选技术,不考虑适用性 | 每个选型必须回答"解决我们的什么问题" |
| 忽视团队 | 推荐团队无人掌握的技术栈 | 选型矩阵中团队熟悉度是硬权重 |
| 缺少文档 | 只有架构图没有决策记录 | 关键决策写 ADR,图和文字配套 |
| 忽视运维 | 设计时不考虑部署、监控、排障 | 可观测性和部署架构是设计的一部分,不是事后补 |
| 一步到位 | 期望第一版就是终态架构 | 给演进路径:现在做什么、什么信号触发下一步 |
| 趋势旧闻 | 把训练数据里的"趋势"当成当前状态 | 见时效性规则,先搜再说 |
| 文件 | 何时读 |
|------|--------|
| references/架构设计原则.md | 首次使用必读;核心原则、质量属性、架构决策框架 |
| references/架构模式.md | 架构设计任务时读;分层/微服务/事件驱动等模式详解 |
| references/技术选型指南.md | 技术选型任务时读;评估方法论与矩阵模板 |
| references/架构评审清单.md | 架构评审任务时读;逐项评审标准 |
| references/场景与输出模板.md | 组织交付文档时读;四类场景示例+三套输出模板 |
evals/routing-evals.json — 触发边界回归用例,改 description 后用仓库根 scripts/run_routing_evals.py 校验。
Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.
This skill should be used when the user asks to "perform cloud penetration testing", "assess Azure or AWS or GCP security", "enumerate cloud resources", "exploit cloud misconfigurations", "test O365 security", "extract secrets from cloud environments", or "audit cloud infrastructure". It provides comprehensive techniques for security assessment across major cloud platforms.
You are a dependency security expert specializing in vulnerability scanning, license compliance, and supply chain security. Analyze project dependencies for known vulnerabilities, licensing issues, outdated packages, and provide actionable remediation strategies.
Comprehensive Flow Nexus platform management - authentication, sandboxes, app deployment, payments, and challenges
This skill should be used when the user asks to "escalate privileges on Linux", "find privesc vectors on Linux systems", "exploit sudo misconfigurations", "abuse SUID binaries", "exploit cron jobs for root access", "enumerate Linux systems for privilege escalation", or "gain root access from low-privilege shell". It provides comprehensive techniques for identifying and exploiting privilege escalation paths on Linux systems.
Expert malware analyst specializing in defensive malware research, threat intelligence, and incident response. Masters sandbox analysis, behavioral analysis, and malware family identification. Handles static/dynamic analysis, unpacking, and IOC extraction. Use PROACTIVELY for malware triage, threat hunting, incident response, or security research.
This skill should be used when the user asks to "use Metasploit for penetration testing", "exploit vulnerabilities with msfconsole", "create payloads with msfvenom", "perform post-exploitation", "use auxiliary modules for scanning", or "develop custom exploits". It provides comprehensive guidance for leveraging the Metasploit Framework in security assessments.
Expert in secure mobile coding practices specializing in input validation, WebView security, and mobile-specific security patterns. Use PROACTIVELY for mobile security implementations or mobile security code reviews.
Take staruhub/solution-architect from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.