AgentSkillsCN

project-architect

当用户需要设计一个复杂的、大规模的项目,且需在多个维度上进行系统化分解时,应使用此技能。常见需求包括“帮我设计项目”、“开始设计架构”、“系统设计”、“帮我梳理项目结构”、“帮我分解设计”、“设计新项目”、“设计大型系统”、“architect this project”、“design this system”、“start project design”、“system architecture design”。它会创建类似思维导图的设计文档目录树,具有非线性阶段导航、递归深度扩展以及持续进度追踪。

SKILL.md
--- frontmatter
name: project-architect
description: >
  This skill should be used when the user needs to design a complex,
  large-scale project that requires systematic decomposition across
  multiple dimensions. Common requests include "프로젝트 설계해줘",
  "아키텍처 설계 시작하자", "시스템 설계", "프로젝트 구조 잡아줘",
  "설계 분해해줘", "새 프로젝트 설계", "대규모 시스템 설계",
  "architect this project", "design this system",
  "start project design", "system architecture design".
  It creates a mindmap-like directory tree
  of design documents with non-linear phase navigation, recursive
  depth expansion, and continuous progress tracking.

Project Architect

Overview

A structured design skill for complex, large-scale projects that require branching exploration across multiple dimensions. It produces a mindmap-like directory tree of design documents, enabling systematic decomposition of complex problems with persistent progress tracking.

Use when:

  • The project is too complex to design in a single document
  • Multiple dimensions need parallel exploration (architecture, data model, API, infrastructure, etc.)
  • Design decisions branch into sub-decisions recursively
  • A persistent, trackable design artifact is needed across sessions

Do not use when:

  • Simple feature addition or bug fix
  • Design fits in a single document (use document-writer instead)
  • Task is research-only without design output (use deep research instead)

Core Concepts

Mindmap → Directory Mapping

Mindmap ElementFile SystemConvention
Central topicdesign/ rootProject-level container
BranchDirectoryPhase: number prefix, component: descriptive name
Node label_overview.mdRequired in every directory
Leaf.md fileDetailed content
Meta info_ prefix files_plan.md, _decisions.md, _changelog.md

Meta Files

FileRoleWhen to Read
_plan.mdPhase tracking + current status (lightweight)Every session start
_decisions.mdAll design decisions logWhen referencing prior decisions
_changelog.mdRevisit/change history + affected artifactsWhen checking change history
_overview.mdDirectory summary: purpose, key decisions, childrenWhen exploring a branch

Phase Flow

Overview

code
1. Problem Definition → 2. Research → 3. High-Level Design → 4. Detailed Design
PhasePurposeKey DeliverablesRevisit When
1. Problem DefinitionDefine what and whyproblem-statement, goals, constraints, principlesNew requirements, scope change
2. ResearchGather informationPer-topic research files, findings-summaryInsufficient info found in Phase 3/4
3. High-Level DesignDecide directionarchitecture-overview, options/decision per areaDirection proves infeasible
4. Detailed DesignDetail componentsPer-component directories (recursive)— (recursive expansion)

See references/phase-guide.md for detailed per-Phase guidance.

Non-Linear Navigation

Phases are not strictly sequential:

  • Phase 1, 2 are revisitable. New findings or external feedback may require returning to redefine scope or conduct additional research.
  • Phase 3 → 4 is recursive. Each component in Detailed Design can spawn its own options → decision → sub-design cycle.
  • Mark all revisits in _plan.md with 🔁 status and record in _changelog.md.

Phase Transition Protocol

At every Phase transition (forward or backward):

  1. Summarize current Phase results in its _overview.md
  2. Update _plan.md with completion status
  3. Present summary to user and get confirmation before proceeding

Phase 3: Multi-Decision Structure

When multiple independent design decisions are needed, organize Phase 3 into decision-area subdirectories, each with its own options/ and decision.md. Place architecture-overview.md at the Phase 3 root to provide the system-level view. For simple projects with a single dominant decision, use flat options/ + decision.md directly.

See references/structure-rules.md for detailed rules.

Phase 4: Completion Criteria

Phase 4 uses a soft completion model:

  1. All components from Phase 3 have at least _overview.md + design.md
  2. interfaces/ and cross-cutting/ documented (if applicable)
  3. → Present to user: "First pass complete. Which components need deeper design?"
  4. → Extend recursively only on user request

Working Principles

  1. Plan first, always — Read _plan.md before any work. Update it at every milestone.
  2. User gates at phase boundaries — Confirm with user before advancing or retreating between Phases. Execute autonomously within a Phase.
  3. Every directory tells its story — Every directory must have _overview.md answering: what is this, what was decided, what are its children?
  4. Options before decisions — Present 2+ options with tradeoff analysis before recommending a direction. Let the user make the final call.
  5. Research as deep investigation — Treat each research topic as a thorough, independent investigation requiring multi-source analysis and synthesis into actionable insights. Each research document must be self-sufficient (fully understandable on its own) and include verifiable references. See references/phase-guide.md Phase 2 for the full research protocol.
  6. Depth-aware structure — No depth limit, but at 4+ depth, review the tree and propose compression to user if possible. See references/structure-rules.md for compression strategies.
  7. Incremental documentation — Write design documents as work progresses, not at the end.

Output Directory

Default: design/ at the project root. User may specify a different path.

code
design/
├── _plan.md
├── _decisions.md
├── _changelog.md
│
├── 1-problem-definition/
│   ├── _overview.md
│   ├── problem-statement.md
│   ├── goals.md
│   ├── constraints.md
│   ├── principles.md
│   └── as-is-analysis.md              # non-greenfield only
│
├── 2-research/
│   ├── _overview.md
│   ├── {topic}.md
│   └── findings-summary.md
│
├── 3-high-level-design/
│   ├── _overview.md
│   ├── architecture-overview.md
│   ├── {decision-area}/
│   │   ├── options/
│   │   └── decision.md
│   └── ...
│
└── 4-detailed-design/
    ├── _overview.md
    ├── cross-cutting/                  # optional
    ├── interfaces/                     # optional
    ├── {component}/
    │   ├── _overview.md
    │   ├── design.md
    │   └── {sub-component}/           # recursive
    └── ...

See references/templates.md for file templates and references/structure-rules.md for naming conventions.

Initialization & Resume

New Project

  1. Confirm with user: project name, output directory (default design/), known constraints/context
  2. Determine project type: Greenfield or Non-greenfield (migration/evolution)
    • Non-greenfield: include as-is-analysis.md in Phase 1 deliverables
  3. Create root directory + _plan.md → Begin Phase 1

Resume (Continuing a Previous Session)

  1. Read _plan.md → identify current Phase and progress
  2. Read current Phase's _overview.md → restore working context
  3. Summarize current state to user and confirm continuation
  4. Read additional files selectively as needed

External Feedback (Post-Meeting/Review)

When the user returns with feedback from team reviews or stakeholder meetings:

  1. Collect: Structure the feedback items
  2. Analyze impact: Classify each item by which Phase/artifact it affects
    • Scope/requirement changes → Phase 1 revisit
    • New information/constraints → Phase 1 or 2 revisit
    • Direction/decision changes → Phase 3 revisit
    • Component-level feedback → Phase 4 modification
  3. Propose changes: Present affected artifacts + modification plan to user for confirmation
  4. Execute: Record in _changelog.md with feedback source, mark affected documents with ⚠️ update needed, revisit relevant Phases (🔁), remove markers after update
  5. Check cascade: Verify whether changes propagate to downstream Phases

Additional Resources

  • references/phase-guide.md — Detailed per-Phase guidance: purpose, key questions, activities, deliverables, completion criteria, revisit conditions
  • references/templates.md — File templates for all design artifacts (_plan.md, _overview.md, _decisions.md, _changelog.md, principles.md, decision.md, etc.)
  • references/structure-rules.md — Directory/file naming conventions, Phase 3 multi-decision rules, special directories (cross-cutting/, interfaces/), depth management, non-greenfield guidance, invalidation tracking