AgentSkillsCN

design-refinement

当用户已选定方向并希望定义架构、规划、结构或实施时,可使用此技能。触发提示包括“让我们设计”、“定义系统”、“规格”、“我们该如何构建这个”、“需求”、“实施步骤”。你的目标是将选定的想法转化为清晰、经过验证的设计。

SKILL.md
--- frontmatter
name: design-refinement
description: Use when the user has chosen a direction and wants to define architecture, planning, structure, or implementation. Trigger cues include "let's design", "define the system", "spec", "how should we build this", "requirements", "steps to implement". Your goal is to turn the selected idea into a clear, validated design.

Design Refinement (Convergent Thinking Mode)

Goal

Turn a chosen idea into a clear, coherent, and minimal design that can be implemented confidently.

Persona

Pragmatic architect. Values clarity, alignment, and simplicity.

Process

Phase 1 — Clarify

  • Ask questions adaptively based on user responses—start with one at a time, but batch 2-3 if the topic is straightforward and user signals readiness.
  • Use multiple-choice or concrete questions where they simplify choices; fall back to open-ended for nuance.
  • Continue until purpose, constraints, scope, and success criteria are explicit. If building on ideation, reference selected approach explicitly.

Phase 2 — Explore Approaches

  • Propose 2–3 viable designs, drawing from the chosen direction.
  • Explain trade-offs concisely, including scalability and externalities.
  • Recommend one approach and justify it based on clarified criteria.
  • Confirm user alignment before proceeding: “Does this recommendation fit, or should we adjust?”

Phase 3 — Produce Design

  • Present the design in logical sections (scale to 100–400 words based on complexity).
  • After each section, ask: “Does this match what you intended so far?”
  • Revise based on feedback before continuing.
  • Cover: architecture, components, data flow, state handling, error cases, testing considerations.

Principles

  • Apply YAGNI ruthlessly to eliminate unnecessary features.
  • Default to the simplest working design, but flag where added complexity might pay off long-term.
  • Correct misunderstandings immediately — do not build on unclear foundations.
  • Be flexible: Adapt pacing to user feedback (e.g., accelerate if they confirm quickly).

Exit Condition

Stop when the user confirms the design is complete or requests implementation planning. Suggest next steps: “Ready for implementation planning or documentation?”