Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

design-structure设计结构

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

279

周安装

12

GitHub Stars

1

下载量

98
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:design-structure(设计结构)
来源仓库:https://github.com/freeacger/loom
仓库路径:skills/design-structure
安装命令:
npx skills add https://github.com/freeacger/loom --skill design-structure
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/freeacger/loom --skill design-structure

简介

用于将模糊想法转化为初步设计结构树,通过交互确认生成稳定设计框架。

  • 适合早期概念梳理和产品架构搭建,支持问题定义、范围划定和假设验证。
  • 使用时需逐步确认设计目标类型、痛点和边界,输出结构树并归档为权威参考。
  • 首次产出后应及时持久化到 docs/design-tree/,后续步骤依赖该结构进行迭代。
  • design-structure 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Design Structure

Overview

This skill turns a vague idea into an initial design tree through a two-phase workflow:

  1. Interactive confirmation — progressively confirm design_target_type, problem, scope, and assumptions with the user
  2. Design tree generation — produce the design tree based on confirmed inputs

Its primary output is design_state. When the initial tree first becomes stable enough to reference safely, persist it as the authoritative design artifact in the designated directory docs/design-tree/ before handing off to the next design step.

When to Use

Use this skill when:

  • the user has an idea but not a design
  • the task lacks scope, boundaries, core objects, or key flows
  • there is no clear design tree yet
  • the current design conversation is still at the "what are we even designing?" stage
  • an existing tree is missing design_target_type and needs that field to be made explicit

Do not use this skill when:

  • a workable design tree already exists
  • the main need is deeper decomposition of existing branches
  • the main need is to compare options for one explicit decision node
  • the main need is to decide whether the design is ready for planning
  • the current tree only needs deeper refinement rather than a true derived tree
  • the task is a report, note, summary, or documentation rewrite
  • the task is a simple linear SOP with no real design-state boundary

Language Strategy

Match the design file language to the user's instruction language.

Use this priority order:

  1. An explicit output-language request from the user
  2. The dominant natural language of the user's current instruction
  3. The dominant natural language of the most recent user instructions in the same task
  4. English if the signal is weak or ambiguous

Rules:

  • Keep the chat response, interactive Q&A, and the design file in the same language
  • Translate section headings into the chosen language
  • Keep file paths, code identifiers, template placeholders (e.g., {{...}}), and literal config keys unchanged
  • Do not mix languages unless the user explicitly asks for bilingual output
  • Interactive Q&A in Phase 1 must also match the chosen language

Default heading examples:

If the output language is English:

  • Problem
  • Scope
  • Included / Excluded
  • Assumptions
  • Design Tree
  • Open Branches
  • Decision Nodes
  • Decisions
  • External Dependencies

Workflow

Phase 1: Interactive Confirmation

Confirm the foundation before generating the design tree. Proceed in order:

  1. Design target type — confirm one of system, workflow, methodology, framework
  2. Problem — confirm the core problem and success metrics
  3. Scope — confirm what is included and excluded
  4. Assumptions — confirm implicit assumptions being made

After each confirmation, update the shared design_state. Do not repeat confirmed content in subsequent conversation.

Skip a section only if the user explicitly provides it upfront (e.g., "the problem is X and the scope is Y" — confirm both in one round).

Phase 2: Design Tree Generation

Based on confirmed inputs, generate the design tree using the branch skeleton that matches design_target_type.

Use ../design-tree-core/REFERENCE.md for shared type definitions and REFERENCE.md for preferred local branch skeletons.

If a branch is not relevant, say so explicitly instead of silently omitting it.

In conversation, show only:

  • the tree diagram
  • decision nodes that need user action
  • open branch names
  • next step recommendation

Derived Tree Creation

This skill may also be used to create a derived tree when a parent tree has already identified a new stable problem domain.

Use the shared derivation and handoff rules in ../design-tree-core/REFERENCE.md as the source of truth.

When creating a derived tree, do all of the following:

  1. Name the parent tree and the derived tree explicitly.
  2. State the reason for derivation.
  3. Define what the derived tree owns.
  4. Define what the derived tree does not own.
  5. Record the minimum parent/child handoff:

- branch being extracted - inherited constraints - unresolved questions - expected output - return conditions

Do not copy the parent tree into the derived tree. Do not use derivation as a way to dump overflow detail.

Interactive Q&A

Intent-Driven Strategy

Use whatever interactive question tool is available in the current environment. Do not hardcode tool names — describe the interaction intent and constraints; the model selects the right tool based on its environment.

Constraints (cross-CLI compatible):

  • 1–3 questions per prompt
  • ≤ 4 options per question
  • Structured text (question + optional choices)

Fallback: If no dedicated question tool is available, use natural language prompts (see format templates below).

Question Types and Formats

Confirmation — state understanding, ask to verify

## Problem

Core problem: Build an internal API gateway for unified routing, authentication, and rate limiting.
Success metrics: P99 latency < 50ms, availability > 99.9%

↑ Is this correct? Anything to amend?

Scope — checklist with include/exclude markers

## Scope

My assessment:

Included ✓
- Request routing
- Authentication and authorization
- Rate limiting
- Request logging

Excluded ✗
- Service discovery
- Load balancing

↑ Any adjustments?

Decision — table with star ratings, best option first, max 4 options

## Pending Decision: Auth Mode

| Option | Rating | Pros | Cons |
|--------|--------|------|------|
| JWT (stateless) | ★★★ | Scales horizontally, no server state | Revocation is complex, token size |
| Session (stateful) | ★★ | Instant revocation, mature pattern | Requires shared storage, limited scaling |
| API Key | ★ | Simple to implement | Low security, not suitable for user-level auth |

↑ Which one? Or a different idea?

Supplement — direct question with relaxed prompt

## Supplementary Info

Expected daily request volume?

↑ Please fill in (a rough range is fine if uncertain)

Rules for all types:

  • One question type per message
  • End every question with marker to signal "your turn"
  • After user confirms, do not repeat the confirmed content (it is already captured in design_state and will be persisted once the tree is stable enough to reference safely)

Persistence

Use REFERENCE.md for the repo-local save and naming contract. This persistence behavior is a repo-local rule for this repository, not a shared default for the design-tree family.

When the tree first reaches a stable-to-reference threshold, save it to the designated directory docs/design-tree/ using the path docs/design-tree/<feature-slug>.md. Mark the saved document status as draft. Do this before handing off to design-refinement or any other next design step.

Design Tree Requirement

Create an initial design tree that:

  • makes design_target_type explicit
  • uses the correct branch skeleton for that target type
  • identifies open branches
  • identifies explicit decision nodes
  • captures assumptions rather than relying on them silently
  • reaches a stable-to-reference threshold before handoff
  • keeps the output as design_state first and the saved artifact as the authoritative persisted record

If a branch is not relevant, say so explicitly instead of silently omitting it.

Core Responsibilities

Your responsibilities are:

  1. Clarify the real goal of the design through interactive confirmation.
  2. Make design_target_type explicit before building the tree.
  3. Capture scope, non-goals, and constraints.
  4. Build an initial design tree with first-level and, where useful, second-level branches.
  5. Identify open branches that still need refinement.
  6. Identify explicit decision nodes that should later go to decision-evaluation.
  7. Record assumptions instead of silently relying on them.
  8. Flag nodes that depend on unverified external tools, APIs, libraries, or services. Perform a lightweight feasibility check (web search or doc lookup) at the time of flagging. If the dependency is clearly infeasible, mark immediately; if confirmed feasible with open questions, mark [RESEARCH] with initial findings; if fully confirmed, mark .
  9. Persist the design as soon as it first reaches a stable-to-reference threshold into the designated directory docs/design-tree/, and mark the saved document as draft.
  10. If acting on a parent-tree handoff, create a derived tree with explicit parent/child boundaries rather than repeating the parent tree inline.

Expected Outputs

Required Output

Produce or update a design_state that includes:

  • design_target_type
  • problem
  • scope
  • design_tree
  • open_branches
  • decision_nodes
  • external_dependencies
  • status

If the tree being created is a derived tree, also include:

  • parent/child ownership
  • derivation reason
  • parent/child handoff

Conversation Output (concise)

  • Phase 1: one question at a time (see Question Types)
  • Phase 2: tree diagram + decision node summaries + open branch names + saved file path + draft status + next step

You are not expected to fully close every branch.

Diagram Conventions

Render the design tree as a character tree diagram inside a code block (no language tag).

Format:

design_tree
├── 1. Problem definition
│   ├── 1.1 Core problem
│   └── 1.2 Success metrics ✓
├── 2. Core flows [OPEN]
│   ├── 2.1 Happy path
│   └── 2.2 Error path
├── 3. Interfaces and data
│   └── 3.1 API contract [DRAFT]
├── 4. External integrations
│   └── 4.1 Payment SDK [RESEARCH]
└── 5. Decision points
    └── 5.1 Storage choice [DECISION]

Character rules:

  • Branches: ├── (middle), └── (last)
  • Continuation: (non-last parent), `` (last parent, 4 spaces)
  • Numbering: 1., 1.1 — required at first two levels
  • Max width: 78 characters

Status markers:

MarkerMeaning
[OPEN]Unresolved, needs refinement or decision
[DECISION]Decision node with multiple real options
[DRAFT]Tentative, may change
[RESEARCH]Depends on an external tool, API, library, or service that has passed initial feasibility check but needs deeper validation
Complete / verified
Rejected / out of scope

When to render: Always include a tree diagram when the design tree has 3+ branches. Omit only if the design is trivially small (1-2 branches).

Entry and Exit Criteria

Enter when:

  • there is no meaningful design tree yet
  • the request is still mostly unstructured

Exit when:

  • the design tree exists with enough structure for follow-on work
  • the main remaining work is branch refinement or explicit decision analysis

Handoff Rules

  • Persist the tree before any downstream design handoff once it first reaches the stable-to-reference threshold.
  • The first persisted version of the tree must be marked draft.
  • Hand off to design-refinement as the default next step when the main body exists but branches are still too shallow.
  • Hand off to decision-evaluation when there is a concrete decision node with real options.
  • Hand back to design-orchestrator if the design state changed enough that routing should be re-evaluated.
  • Do not continue past Phase 1 if design_target_type is still unresolved.
  • Do not force the conversation into option comparison before the design tree is formed.
  • Do not delay persistence after the stable-to-reference threshold has been reached.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.7%
按下载量换算32

Claude

30.64%
按下载量换算30

Cursor

17.88%
按下载量换算18

Gemini CLI

9.98%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills