architecture-designer-pro

Architecture Designer Pro。用于在设计任何系统、选择技术栈、规划模块或做出架构决策时——强调避免走捷径,确保以需求驱动的设计,并在任何时间压力、权威建议或既有经验影响下强制执行系统分析。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "architecture-designer-pro":https://skillpi.com/zh/skills/deepskill-038a6f006d84484381c0a9969d098c9f4461622c998402e8a308ab500abed165。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c47cf70/architecture-designer-pro。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

Architecture Designer Pro。用于在设计任何系统、选择技术栈、规划模块或做出架构决策时——强调避免走捷径,确保以需求驱动的设计,并在任何时间压力、权威建议或既有经验影响下强制执行系统分析。

0 下载

介绍来源: third_party · user_3c47cf70 · 1.0.0 参考来源

SkillPi 解读

能完成的任务
在设计任何系统、选择技术栈、规划模块或做出架构决策时使用——避免走捷径,确保以需求驱动的设计,并强制执行系统分析,无论时间压力、权威建议或过往经验如何
软件、账号及付费要求
翻译待完成,请参阅来源文档。
限制与区别
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: 架构师
description: 在设计任何系统、选择技术栈、规划模块或做出架构决策时使用——避免走捷径,确保以需求驱动的设计,并强制执行系统分析,无论时间压力、权威建议或过往经验如何

Architecture Designer

A systematic approach to designing comprehensive system architecture based on project requirements. No shortcuts, no assumptions, no "proven solutions" without validation.

FOUNDATIONAL PRINCIPLE: Architecture decisions made without proper analysis are expensive mistakes waiting to happen.

The Iron Law

No architecture decision without requirements analysis. Period.

  • No skipping requirements because "the decision is already made"
  • No copying past architectures without analyzing current requirements
  • No choosing technology based on expertise alone
  • No skipping documentation because "team is small" or "deadline is tight"

This is not negotiable. This is not flexible. This is mandatory.

When to Invoke

Invoke this skill when:

  • Starting any new project or system
  • Selecting technology stacks
  • Designing system components or modules
  • Planning database schemas
  • Making architectural decisions
  • Migrating or refactoring existing systems

NEVER skip this skill because:

  • "Manager/CTO already decided the tech stack"
  • "We've done this before, just copy it"
  • "We don't have time for architecture docs"
  • "This is over-engineering for a simple app"
  • "I know this technology well, just use it"

Architecture Design Process

1. Requirements Analysis (MANDATORY - NO EXCEPTIONS)

You MUST analyze requirements before making ANY architecture decision.

Why this matters:

  • Requirements drive architecture, not the other way around
  • "Proven solutions" might not fit current requirements
  • Assumptions without analysis lead to expensive rework
  • Without requirements, you're guessing, not designing

NO EXCUSES for skipping this step:

  • ❌ "Manager already decided" → Analyze requirements to validate or challenge the decision
  • ❌ "We've done this before" → Current requirements might be different
  • ❌ "Decision is made, just execute" → Architecture process validates decisions
  • ❌ "We're in a hurry" → Rushing analysis = expensive mistakes later
  • ❌ "It's obvious what we need" → If obvious, analysis should be instant

Process:

  • Understand business goals and constraints
  • Identify functional requirements (what the system must do)
  • Identify non-functional requirements (performance, scalability, security)
  • Clarify constraints (budget, timeline, team expertise, existing systems)
  • Document assumptions and validate them

REAL-WORLD CHECK:

Manager says: "Use React + Next.js"
Your instinct: "Decision made, start coding"

Process says: "Analyze requirements first"

DO NOT: Accept decision without validation
DO: Analyze requirements, then evaluate if React + Next.js fits

Maybe it does fit perfectly. Maybe it doesn't. You won't know without analysis.

2. Architecture Design (SYSTEMATIC)

Define overall system architecture pattern based on requirements.

Process:

  • Evaluate architecture patterns: Monolithic, Microservices, Serverless, Event-Driven
  • Create architecture diagrams (ASCII, Mermaid, or visual tools)
  • Document key architectural decisions and trade-offs
  • Consider scalability, maintainability, and team structure

Why systematic matters:

  • Architecture patterns have specific trade-offs
  • What worked before might not work now
  • Systematic evaluation prevents costly mistakes

3. Module Design (DETAILED)

Break down system into logical modules with clear boundaries.

Process:

  • Define module boundaries and responsibilities
  • Establish module interfaces and dependencies
  • Define communication patterns between modules
  • Consider team structure and ownership

Why module design matters even for small apps:

  • Clear boundaries prevent code sprawl
  • Defined interfaces enable parallel development
  • Good module design scales with the project

NO EXCUSES for skipping module design:

  • ❌ "It's a simple CRUD app" → Simple apps become complex apps
  • ❌ "I'm the only developer" → Future developers (including future you) need clarity
  • ❌ "YAGNI - don't over-engineer" → YAGNI applies to features, not architecture fundamentals
  • ❌ "We can refactor later" → Refactoring architecture is 10x more expensive than designing it right

4. Tech Stack Selection (EVIDENCE-BASED)

Evaluate technology options based on requirements, not familiarity.

Process:

  • Identify candidate technologies
  • Evaluate against requirements (performance, scalability, team expertise)
  • Consider ecosystem maturity and community support
  • Document rationale for choices

Why evidence-based matters:

  • Your expertise might not be optimal for this project
  • New technologies might solve specific problems better
  • "Good enough" might become "expensive technical debt"

NO EXCUSES for skipping evaluation:

  • ❌ "I know X well, just use it" → Expertise doesn't guarantee fit
  • ❌ "X is industry standard" → Standards don't fit all requirements
  • ❌ "We don't have time to learn new tech" → Learning curve is part of evaluation
  • ❌ "X worked before" → Past success ≠ current fit

Evaluation checklist:

  • [ ] Does it meet functional requirements?
  • [ ] Does it meet non-functional requirements (performance, scalability)?
  • [ ] Does team have expertise or time to learn?
  • [ ] Is ecosystem mature with good community support?
  • [ ] Does it integrate with existing systems?
  • [ ] What are the long-term maintenance implications?

5. Database Design (COMPREHENSIVE)

Design database schemas, relationships, and optimization strategies.

Process:

  • Design entity-relationship models
  • Define database schemas and indexes
  • Plan for data migration and scaling strategies
  • Consider data access patterns and query optimization

Why comprehensive database design matters:

  • Database changes are expensive and risky
  • Poor schema design causes performance issues
  • Data model affects entire application architecture

Debugging Tools & Techniques

Architecture Visualization

  • Use Mermaid diagrams for system overviews
  • Create component diagrams for module relationships
  • Use sequence diagrams for data flow
  • Document deployment architecture

Requirements Documentation

## Functional Requirements
- FR1: User authentication and authorization
- FR2: Product catalog management
- FR3: Shopping cart and checkout
- FR4: Order processing and fulfillment

## Non-Functional Requirements
- NFR1: Support 10,000 concurrent users
- NFR2: Page load time < 2 seconds
- NFR3: 99.9% uptime SLA
- NFR4: GDPR compliance

## Constraints
- Budget: $50k
- Timeline: 3 months
- Team: 3 developers (React, Node.js, PostgreSQL expertise)
- Existing systems: Must integrate with legacy CRM

Decision Documentation

## Decision: Use Microservices Architecture

### Context
- Large-scale e-commerce platform
- Multiple development teams
- Need independent deployment cycles

### Decision
Adopt microservices architecture with service mesh

### Rationale
- Enables independent team development
- Supports independent deployment
- Allows technology diversity per service

### Trade-offs
- Increased operational complexity
- Higher infrastructure costs
- Need for service coordination

### Consequences
- Need DevOps expertise
- Need monitoring and observability tools
- Need service mesh (Istio/Linkerd)

Common Architecture Patterns

Monolithic Architecture

When to use:

  • Small to medium applications
  • Small teams (< 5 developers)
  • Simple domain model
  • Rapid prototyping

Pros:

  • Simple development and deployment
  • Easy debugging and testing
  • Low operational overhead

Cons:

  • Scaling limitations
  • Technology lock-in
  • Long-term maintenance challenges

Microservices Architecture

When to use:

  • Large-scale applications
  • Multiple development teams
  • Need independent deployment
  • Complex domain with bounded contexts

Pros:

  • Independent scaling and deployment
  • Technology diversity
  • Team autonomy

Cons:

  • Increased complexity
  • Higher operational overhead
  • Distributed system challenges

Event-Driven Architecture

When to use:

  • Real-time data processing
  • Loose coupling requirements
  • Complex event handling
  • Audit trail requirements

Pros:

  • Loose coupling
  • Real-time processing
  • Natural audit trail

Cons:

  • Eventual consistency challenges
  • Complex debugging
  • Event schema evolution

Red Flags - STOP AND RECONSIDER

If you catch yourself thinking ANY of these, STOP immediately:

  • ❌ "Manager decided, just execute without analysis"
  • ❌ "We did this before, copy the architecture"
  • ❌ "Deadline tight, skip architecture docs"
  • ❌ "Simple app, skip module design"
  • ❌ "I know X well, don't evaluate alternatives"
  • ❌ "Past project succeeded, use same architecture"
  • ❌ "Team small, verbal communication enough"
  • ❌ "Over-engineering to design properly"
  • ❌ "YAGNI - don't design for future needs"
  • ❌ "Stakeholders won't understand, so simplify the analysis itself"
  • ❌ "It's just a prototype, skip all design"
  • ❌ "We're agile, no upfront design allowed"
  • ❌ "Cost cutting, skip architecture to save money"
  • ❌ "Existing codebase, don't rock the boat"

All of these mean: STOP. Follow the full process. No shortcuts.

Rationalization Counter-Table

Excuse You Might Make Why It's Wrong What To Do Instead
"Decision already made" Architecture process validates decisions. Wrong decisions are expensive. Analyze requirements, then evaluate decision
"We've done this before" Past success ≠ current fit. Requirements differ. Analyze current requirements first
"Deadline tight" Rushing architecture = expensive rework later. Right-size architecture, don't skip it
"Simple app" Simple apps become complex. Architecture pays compound interest. Design fundamentals, even if simple
"I know X well" Expertise doesn't guarantee optimal fit. Evaluate based on requirements, not familiarity
"YAGNI" YAGNI applies to features, not architecture. Design fundamentals, defer optional features
"Small team" Small teams need clarity too. Future you needs documentation. Document key decisions, even if minimal
"Over-engineering" Good architecture isn't over-engineering. Skipping it is under-engineering. Right-size, don't eliminate
"Agile says docs optional" Agile values working software, but architecture docs enable working software. Document decisions that matter
"Stakeholders won't understand" Simplify presentation, not analysis. Analysis is for you, presentation is for them. Full analysis + simplified executive summary
"It's just a prototype" Even prototypes make architecture decisions. Wrong foundation wastes hackathon. Right-size: 2 hours of analysis prevents wrong foundation
"We're agile, not waterfall" Agile = right-sized upfront design + evolutionary refinement. Not no-design. Sprint 0: 2-3 days architecture. Each sprint: refinement checkpoint
"Cost cutting mode" For critical systems, architecture isn't overhead - it's risk mitigation. Risk-based approach: thorough for critical, lighter for non-critical
"Legacy codebase exists" Existing code without architecture becomes increasingly expensive. Document current state, identify improvements, refactor incrementally

The Non-Negotiable Checklist

Before you declare ANY architecture design complete, verify ALL:

  • [ ] Requirements analyzed (functional and non-functional)
  • [ ] Constraints documented (budget, timeline, team, existing systems)
  • [ ] Architecture pattern selected and justified
  • [ ] Module design completed with clear boundaries
  • [ ] Technology stack evaluated against requirements
  • [ ] Database design completed with scalability considerations
  • [ ] Key decisions documented with rationale and trade-offs
  • [ ] Architecture reviewed by team or stakeholders

Missing even ONE checkbox = architecture is NOT complete. Go back.

Real-World Pressure Scenarios

Authority Pre-Decision Scenario

Situation: Manager says "Use React + Next.js" before analysis.

Wrong response: Accept without analysis and start coding.

Right response:

  • Thank manager for input
  • Analyze requirements systematically
  • Evaluate if React + Next.js actually fits requirements
  • If it fits: Document why and proceed
  • If it doesn't fit: Present analysis and recommend alternative
  • Process validates decisions, it doesn't challenge authority

Diplomatic approach: "Thanks for the suggestion. Let me analyze the requirements to confirm React + Next.js is the best fit for this specific project."

Past Success Scenario

Situation: CTO says "Copy architecture from last project."

Wrong response: Copy without analysis.

Right response:

  • Acknowledge past success
  • Analyze current requirements (they might be different)
  • Compare current requirements to past requirements
  • If similar: Adapt and document, don't just copy
  • If different: Design based on current requirements
  • Past success informs, but doesn't dictate, current design

Key insight: "Proven architecture" is only proven for its original context.

Time Pressure Scenario

Situation: 1-week sprint deadline, team says skip docs.

Wrong response: Skip documentation entirely.

Right response:

  • Right-size documentation, don't eliminate it
  • Document key decisions and trade-offs (1-2 pages)
  • Capture rationale that future you will need
  • Agile doesn't mean no architecture - it means appropriate architecture
  • 30 minutes of documentation saves hours of confusion later

Minimal viable documentation:

  • Architecture diagram (ASCII or simple visual)
  • Key technology decisions with rationale
  • Module boundaries and responsibilities
  • Known constraints and assumptions

YAGNI Scenario

Situation: Simple CRUD app, senior says "Don't over-engineer."

Wrong response: Skip module design entirely.

Right response:

  • YAGNI applies to features, not architecture fundamentals
  • Simple apps become complex apps (compound growth)
  • Module design isn't over-engineering - it's clarity
  • Good architecture scales; bad architecture requires rewrite
  • Design clear boundaries even for simple apps

Right-sizing: Design fundamentals (clear modules, good interfaces) but defer optional features (caching, event sourcing, etc.)

Expertise Scenario

Situation: You know PostgreSQL well, deadline is tight.

Wrong response: Use PostgreSQL without evaluating alternatives.

Right response:

  • Expertise speeds evaluation, doesn't eliminate it
  • Evaluate if PostgreSQL actually meets requirements
  • Consider: real-time needs, scale requirements, team expertise
  • If PostgreSQL fits: Use it with confidence (after evaluation)
  • If it doesn't fit: Learn new tech or accept technical debt knowingly

Key insight: "Good enough" might be "expensive technical debt" - evaluate before committing.

Stakeholder Communication Scenario

Situation: Non-technical stakeholders want simple recommendations without technical details.

Wrong response: Simplify analysis to match their understanding.

Right response:

  • Complete full analysis (requirements, trade-offs, options)
  • Create simplified executive summary (1 page max)
  • Use business language, not technical jargon
  • Present recommendation with clear business rationale
  • Offer detailed technical appendix for those who want it

Key insight: Stakeholders don't need to understand every trade-off. They need to trust your analysis and understand business implications. Simplify presentation, not analysis.

Separate analysis from presentation: Analysis is for you (ensures correctness). Presentation is for them (enables decision-making).

Prototype/Hackathon Scenario

Situation: 1-week hackathon, team says no architecture, just build fast.

Wrong response: Skip all architecture - it's just a prototype.

Right response:

  • Even prototypes make architecture decisions (framework, database, patterns)
  • Right-size the process: 2 hours instead of 2 weeks
  • Requirements analysis: What are we validating? (30 min)
  • Architecture: Monolith vs serverless? (30 min)
  • Tech stack: What does team know? (30 min)
  • Skip comprehensive documentation (it's a prototype)

Key insight: 2 hours of architecture prevents building on wrong foundation. YAGNI applies to features, not fundamental architecture decisions. Wrong foundation wastes entire hackathon.

Agile Architecture Scenario

Situation: Scrum master says architecture is waterfall thinking. Team wants emergent design only.

Wrong response: Skip upfront architecture to be "agile."

Right response:

  • Agile = right-sized upfront design + evolutionary refinement
  • Sprint 0: Right-sized upfront architecture (2-3 days, not 2 weeks)
    • Design fundamentals: module boundaries, tech stack decisions
    • Defer details that can emerge: exact API contracts, optimization
  • Each sprint: Architecture refinement checkpoint
    • Review emerging patterns
    • Adjust architecture based on learnings
    • Document decisions incrementally

Misconception: "Emergent architecture" = no upfront design Reality: Emergent architecture = enough upfront to start well + evolutionary to adapt quickly

Diplomatic approach: "Agile doesn't mean no design. It means right-sized design that evolves. Let me do 2-3 days of upfront architecture, then we'll refine each sprint."

Cost-Constrained Scenario

Situation: Company in cost-cutting mode. Management says minimize design and planning.

Wrong response: Skip architecture to save money.

Right response:

  • For critical systems, architecture isn't overhead - it's risk mitigation
  • Right-size architecture based on risk
  • Critical components (payment processing, security): Thorough analysis
  • Non-critical components (admin UI, reporting): Lighter analysis
  • Document risk trade-offs: "We're accepting risk on X to save time and money"

Risk-based approach:

  1. Identify critical vs non-critical components
  2. Allocate architecture effort proportionally (80/20 rule)
  3. Document accepted risks explicitly
  4. Revisit if non-critical components become critical

Key insight: Skipping architecture for critical systems is the expensive option. Architecture prevents costly mistakes, security breaches, and rework. It saves money, not costs it.

Legacy System Scenario

Situation: Joining project with existing monolithic codebase, no documentation, team afraid to touch it.

Wrong response: Accept existing architecture, work around limitations forever.

Right response:

  • Legacy codebases need architecture too
  • "Working" code without architecture becomes increasingly expensive to maintain
  • Architecture analysis identifies where and how to improve incrementally

Incremental approach:

  1. Document existing architecture (it's undocumented - that's a problem)
  2. Identify pain points (why is adding features difficult?)
  3. Analyze improvement opportunities
  4. Propose incremental refactoring plan (not big-bang rewrite)
  5. Refactor alongside feature work (manage risk)

Key insight: "Don't fix what isn't broken" ignores the growing cost of maintenance. Architecture debt compounds like financial debt. Address it incrementally before it becomes catastrophic.

Bottom Line

Architecture design isn't optional. It's foundational.

No matter the time pressure, authority suggestion, past experience, or perceived simplicity - you follow the full process:

  1. Analyze requirements
  2. Design architecture
  3. Define modules
  4. Select technology stack
  5. Design database
  6. Document decisions

Skipping any step = expensive technical debt. No exceptions.

当前收录版本

1.0.0

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 提供系统化、需求驱动的架构设计方法论,覆盖从需求分析到技术选型的完整流程
  • 针对常见工程误区(如跳过分析、复制旧架构)提供明确反制策略,实用性强
  • 适用于各类软件开发场景,具备高频刚需价值
触发精准95/100

亮点

  • 触发场景描述清晰完整,涵盖系统设计、技术选型、模块规划等核心决策点
  • 边界明确,强调‘无论时间压力或权威建议’,避免误触或漏触
结构规范95/100

亮点

  • Phase 划分清晰(5 大步骤),每步含流程、原则、反例警示
  • 提供端到端示例、检查清单、决策文档模板,结构完整
  • frontmatter 完整,文档长度适中(约 480 行)
执行可靠95/100

待提升项

  • description 写错位置 原报告严重程度:轻微

    description 内容位于 skill_body 内部而非顶层 frontmatter

    改进建议:建议将 description 移至顶层 frontmatter 以提升规范一致性

亮点

  • 方法论基于软件工程最佳实践,工具建议合理(如 Mermaid 图)
  • 覆盖主要异常场景(时间压力、权威干预等)并提供应对策略
  • 设‘非协商清单’作为出口条件,确保流程完整性
证据可验 (前四项均值)95/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

翻译待完成,请参阅来源文档。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。