udesign
Use before any creative work — features, components, behavior changes. Turns an idea into a validated spec with explicit tradeoffs and unknowns, and splits…
от btseytlin★ 46 звёзд на GitHub
Установить udesign в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Design
Turn the goal into an approved specification. Write ## Context and ## Design in docs/tasks/<slug>.md, including constraints, assumptions, unknowns, and a test-driven-development decision. Design produces words, not implementation code.
Read the brevity rules and global principles before responding or writing the task file.
What design is
Describe how the system should work to meet the goal. Study existing behavior and patterns as evidence without letting today's implementation constrain the desired outcome. The plan will describe how to get there.
Invoke before non-trivial features, components, behavior changes, and architectural work. Skip formal design for trivial changes without asking.
Context
Record observations that motivate the design: current behavior, limits, and failures. Each bullet is a checkable fact from the repository or the user's stated experience. Cut facts that do not explain a design choice.
Example: "The importer holds a whole shard in memory and fails on shards larger than available memory."
Do not put solutions in context. Unconfirmed premises belong under assumptions or unknowns.
The Goal — definition of done
Write one observable outcome in the task file's goal header and confirm it with the user during design approval. A passing diff, verification, or review does not establish the goal by itself.
Use an outcome such as "the importer completes on the full dataset within available memory", not an activity such as "rewrite the importer". If confirmation needs an expensive run, remote environment, or user observation, state that requirement. A local proxy does not prove the real outcome.
Per GPC9, the goal also says who uses the result and for what, and ends with Useless if: and the cheap results that would pass its checks and defeat that purpose. For a test bot, one entry is "it wins by avoiding what it exists to test". Rule out each entry with a check or an invariant, and confirm the list with the user with the goal.
Process
Follow these steps in order:
- Read project context, existing patterns, recent commits, and previous attempts. Follow global principles for incidental defects: include only fixes required by the request in the design, and record unrelated findings under
## Code smellswithout expanding scope. - Check scope. If the request spans independent goals, propose separate task files and ask which to design first. Each task must be independently implementable and testable.
- Ask clarifying questions one at a time, preferably with choices.
- Propose two or three approaches with tradeoffs and unknowns. Recommend one and explain why. If the tradeoffs do not settle the choice, ask the user.
- Identify compatibility risks and ask how to resolve them before proceeding.
- Present the complete design once. Ask only about unresolved decisions that affect scope or correctness.
- Identify invariants, task-specific principles, assumptions, and unknowns.
- Apply test-driven-development's applicability rule. Record
TDD: yesorTDD: no (reason). - Save the approved context and design, the goal header, and the constraint sections to the task file.
- Check for placeholders, contradictions, scope drift, and ambiguity. Correct the text.
- Wait for user approval before invoking uplan.
Hands-off changes to these approval steps are defined below.
Approaches
For each option state its mechanism, benefits, costs, reversibility, and unresolved questions.
Example: an in-memory rate limiter adds no infrastructure but loses counters on restart and cannot enforce a shared limit across replicas. A shared store can enforce that limit but adds latency and an operational dependency. Measure the unknown latency before relying on it.
Backwards compatibility
List changes that could break existing consumers: signatures, schemas, configuration keys, commands, file formats, outputs, or endpoint behavior. State who is affected and ask the user to choose a migration, compatibility layer, versioned behavior, or revised design. Do not add compatibility machinery without that decision.
Example: splitting name into first_name and last_name breaks clients reading the old field. Ask whether to retain it temporarily or require migration.
For greenfield work with no consumers, say so briefly and do not invent risks.
ID conventions
Define each entity once in a concrete sentence, with numbering scoped to the task file:
IV— invariant: a property the implementation must guarantee.PC— principle: task-specific guidance or a justified deviation from a global principle.AS— assumption: an unverified premise outside the implementation's control.UK— unknown: an open question that needs an answer or explicit deferral.
Later task sections and child prompts refere
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл udesign?
Use before any creative work — features, components, behavior changes. Turns an idea into a validated spec with explicit tradeoffs and unknowns, and splits scope into multiple tasks if it's too large. Output is the `## Context` and `## Design` sections of the task file.
Как установить скилл udesign?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл udesign запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…