architecture-designer-pro

Architecture Designer Pro. Used when designing any system, choosing a technology stack, planning modules, or making architectural decisions — emphasizes avoiding shortcuts, ensuring requirement-driven design, and enforcing system analysis regardless of time pressure, authority advice, or past experience.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "architecture-designer-pro" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-038a6f006d84484381c0a9969d098c9f4461622c998402e8a308ab500abed165. Verify the upstream source and version against https://skillhub.cn/skills/user_3c47cf70/architecture-designer-pro before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Architecture Designer Pro. Used when designing any system, choosing a technology stack, planning modules, or making architectural decisions — emphasizes avoiding shortcuts, ensuring requirement-driven design, and enforcing system analysis regardless of time pressure, authority advice, or past experience.

0 Downloads

Introduction source: third_party · user_3c47cf70 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
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, analys
Limits and differences
Budget: $50k Timeline: 3 months Team: 3 developers (React, Node.js, PostgreSQL expertise) Existing systems: Must integrate with legacy CRM ```
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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.

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

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

Highlights

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

Highlights

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

Areas to improve

  • description 写错位置 Reported severity: Minor

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

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

Highlights

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

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

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, analys

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.