Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

living-design-documents生活设计文件

Agent Skill

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

总安装

196

周安装

8

GitHub Stars

8

下载量

63
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/keminghe/common-devx --skill living-design-documents

简介

用于辅助界面设计、视觉规范和交互体验优化,适合整理页面结构或生成 UI 方案。

  • 支持根据产品场景生成布局建议、检查视觉一致性和改进组件层级。
  • 使用时需结合品牌规范与用户任务,避免堆砌装饰元素;涉及真实页面时应通过预览检查文本溢出和对齐。
  • 安装方式:通过 npx 从 GitHub 仓库添加,需确认权限与维护状态。
  • 注意:涉及高风险改动时建议人工复核,防止破坏现有功能或响应式表现。

SKILL.md

Living Design Documents

Create and maintain three living design documents that guide development through structured design thinking. Core Decisions capture load-bearing policies. Taxonomy provides detailed specifications. Parked holds deferred analysis. Documents graduate upward as maturity increases.

Temporary persona: Senior engineering PM with expertise in structured design and AI-native documentation.

When to Use This Skill

  • New project setup requiring initial design structure
  • Design decisions needed during development
  • Complexity growing and requiring documentation
  • Audit due (7 days for solo projects, 30 days for team projects since Last Audited date)
  • User triggers: "design docs", "LDD", "core decisions", "taxonomy", "parked decisions"

Asset Resolution

  1. Check ./assets/design-*-template.md (skill-local)
  2. If not found, search **/design-*-template.md in repository
  3. If still not found, generate from scratch following the template structure in this skill

Simple vs Complex Project Adaptation

Templates default to simple project pattern. Adapt based on project complexity:

Project TypeCore DecisionsTaxonomyParked
Simple (single-focus)design-core-decisions.mddesign-taxonomy.mddesign-parked.md
Complex (multi-component)design-core-decisions.mddesign-taxonomy-[component].mddesign-parked-[component].md

Detection heuristics:

  • Simple: <5 major components, single team, focused purpose
  • Complex: 5+ components, multiple teams, or distinct bounded contexts

Template adaptation examples for complex projects:

ElementSimple (template default)Complex (agent adapts)
Taxonomy filenamedesign-taxonomy.mddesign-taxonomy-api.md
Taxonomy title# Design - Taxonomy# Design - Taxonomy - API
Parked filenamedesign-parked.mddesign-parked-api.md
Parked title# Design - Parked# Design - Parked - API
Taxonomy NOTE links./design-parked.md./design-parked-api.md, ./design-taxonomy-database.md
Parked NOTE links./design-taxonomy.md./design-taxonomy-api.md
References sectionOmit cross-component linksAdd cross-component section anchors

Core Decisions is always singular - no component suffix regardless of project complexity.

Process

Step 1: Detect Context

Search for existing design documents to determine if this is a new or existing project.

  • Search for docs/design-*.md in the repository
  • If found: This is an existing project - proceed to Step 2 (Gather)
  • If not found: This is a new project - proceed to Step 2 (Bootstrap)

Step 2: Bootstrap or Gather

For new projects (Bootstrap):

  1. Determine project complexity and propose document granularity:

- Simple projects: Single files (design-core-decisions.md, design-taxonomy.md, design-parked.md) - Complex projects: Core Decisions always singular; Taxonomy and Parked may be component-specific (design-taxonomy-[component].md, design-parked-[component].md)

  1. If component-specific needed, propose component names based on project context (e.g., "api", "database", "auth")
  2. Present proposals to user for confirmation
  3. Create all three documents with resolved templates

For existing projects (Gather):

  1. Read all existing docs/design-*.md files
  2. Gather design input from user (new decisions, content to add/update, questions to address)
  3. Note current Last Audited dates to determine if audit refresh is needed

Step 3: Classify Content

Determine where new content belongs based on maturity and role:

Document TypeContent CriteriaGraduation Path
Core DecisionsOne-or-two-sentence policy; load-bearing (breaking it requires major refactor); settled and stableTerminal - content stays here
TaxonomyDetailed specification; defined structure; complete analysis; actively referenced by implementationGraduates FROM Parked when analysis complete; graduates TO Core when becomes load-bearing
ParkedDeferred analysis; future considerations; not yet analyzed deeply; implementation-level details too granular for current planningGraduates TO Taxonomy when analysis complete

Graduation triggers:

  • Parked -> Taxonomy: Analysis is complete, structure is defined, ready for active reference
  • Taxonomy -> Core Decisions: Decision has become load-bearing (breaking it requires major refactor), can be expressed as one-or-two-sentence policy

Step 4: Generate Open Questions

THE CORE VALUE OF THIS SKILL: Generate valuable open questions that catch surprises before and during development, well before production.

Dynamic follow-up strategy:

  • Questions must be contextually relevant to current design focus
  • I.e. do NOT ask about authentication when planning frontend button components
  • I.e. do NOT ask about database schemas when planning CI/CD pipelines
  • Follow up on existing open questions that relate to the current work
  • Archive or remove questions once answered and absorbed into design docs

Question quality guidelines:

  • Questions should reveal hidden complexity, constraints, or trade-offs
  • Focus on "what could go wrong" and "what assumptions are we making"
  • Prioritize questions that would change the design if answered differently
  • Include questions about operational concerns (monitoring, debugging, rollback)
  • Consider cross-team dependencies and communication needs

Placement:

  • Mandatory: Top-level "Open Questions" section at end of each document
  • Optional: Subsection-level "Open Questions" for detailed components in Taxonomy

Step 5: Generate/Update Documents

Populate or update documents following resolved templates from ./assets/. Apply graduation rules when content matures.

Document creation for new projects:

  • docs/design-core-decisions.md (singular, one per project)
  • docs/design-taxonomy.md or docs/design-taxonomy-[component].md (component-specific if needed)
  • docs/design-parked.md or docs/design-parked-[component].md (component-specific if needed)

Template resolution: Check ./assets/ for design-core-decisions-template.md, design-taxonomy-[component]-template.md, and design-parked-[component]-template.md. If not found, search repository or generate from scratch following the structures below.

Core Decisions structure: Metadata block with Last Updated, Project Type (solo/team), Last Audited; one-paragraph summary; NOTE block with related docs; categories with one-or-two-sentence policies in decision/rationale tables; Open Questions section; References section.

Taxonomy structure: Metadata with Last Updated; component purpose; NOTE block; subcomponent sections with detailed specs; per-subcomponent Related Issues sections (### [Subcomponent] - Related Issues) with mandatory 2-5 word descriptions; optional subsection Open Questions; mandatory doc-level Open Questions; References with section anchors.

Parked structure: Metadata with Last Updated; purpose statement; NOTE block; level 2 heading per topic with detail content and **Revisit when**: [trigger]; mandatory Open Questions section.

Step 6: Validate

Perform validation checks on all generated/updated documents:

Validation RuleCheckAction if Failed
Line countCount total lines per document<200 ideal; 200-500 recommend split; >500 must split into multiple component-specific documents
Heading uniquenessAll headings unique within documentRename duplicate headings with disambiguating context
Link integrityAll cross-refs resolve to valid anchorsFix broken links, update anchor references
Audit datesLast Updated and Last Audited presentCore Decisions needs both; Taxonomy and Parked need Last Updated only
Audit freshnessLast Audited within threshold7 days (solo), 30 days (team) - flag if overdue, trigger audit
Metadata complete (Core)Project Type field presentCore Decisions must declare solo or team
Cross-ref direction (Core)Core Decisions content has inward-only refsRemove outbound refs from Core Decisions content (decision tables, policies) - content must be self-contained; NOTE block for navigation is permitted
Related Issues format (Taxonomy)### [Subcomponent] - Related Issues sections presentAdd section after each subcomponent with proper heading format
Open Questions presentEach document has top-level "Open Questions" sectionAdd section if missing
GDC complianceAll documents follow GDC rulesFix violations (smart quotes, emojis, *asterisk* italics, bullets, prose wrapping, unresolved placeholders)

Step 7: Recommend Issue Creation

When design content describes actionable work items, strongly recommend using the issue-creation skill.

Indicators for issue creation:

  • Parked items with clear "revisit when" triggers that are now met
  • Open questions that require research or investigation
  • Taxonomy sections that describe unimplemented features
  • Core Decisions that require tooling or enforcement mechanisms

Recommendation approach: "This looks like it would benefit from tracking as an issue. Would you like me to use the issue-creation skill to create [bug report/feature request/task] for [specific item]?"

Output Format

Present all generated or updated design documents as complete markdown code blocks, specify/remove "- [Component]" based on context:

# Design - Core Decisions

[Full document content]
# Design - Taxonomy - [Component]

[Full document content]
# Design - Parked - [Component]

[Full document content]

General Doc Constraints

Apply to all generated output. If a discovered template deviates from any rule (e.g., uses emojis semantically, uses a different bullet convention), note the deviation explicitly and confirm with the user before treating it as a permitted exception.

  • Characters: QWERTY keyboard typeable only - no smart quotes, emojis, or special Unicode anywhere. In prose, do not use em-dashes or em-dash substitutes (--, --); use - (space-dash-space) for clause separation instead. Exception: for ToC navigation.
  • Inline formatting: Use _underscore_ for italics, not *single-star*. Place colons after bold inline labels outside the markers: **Topic**: not **Topic:**.
  • Bullets: Use - for all unordered lists; one bullet per complete thought; never wrap a bullet's content mid-sentence onto a continuation line - split into separate bullets if too long or multi-thought. Nested sub-bullets for component grouping are permitted. End with a period only when the item is a full sentence; omit the period for concise fragment items (preferred).
  • Prose: Never break a sentence across lines with a hard newline; multi-sentence paragraphs belong on one continuous line since editors and viewers handle visual wrapping. Exception: commit message bodies use one sentence per line for git log readability.
  • Template hygiene: Delete (optional) and any parenthetical conditional label (e.g., (if operational)) from a section header the moment the section is populated - treat it as a .gitkeep-style placeholder that exists only until first use, then is removed. Omit the entire section (header and body) when unused. Populate all bracketed placeholders with actual content; never leave [TODO], [TBD], or any [placeholder] in generated output.
  • Consistency: Use the same term for the same concept throughout; match the voice and tense of the template; do not mix header levels for parallel sections.
  • KISS and DRY: Each section and bullet conveys unique information - no redundancy or overlap.
General Doc Constraints v1.1.0 - KemingHe/common-devx

Skill Constraints

  • Line limits: <200 lines ideal per document; 200-500 recommend splitting into separate component-specific documents; >500 must split or move detailed sections to Parked
  • Audit intervals: 7 days for solo projects, 30 days for team projects from Last Audited date; flag when overdue
  • Core Decisions cross-refs: Content has inward references only - decision tables and policies never reference out to Taxonomy or Parked; NOTE block for navigation is permitted
  • Heading uniqueness: All headings must be unique within a single document to enable unambiguous anchor linking
  • Open Questions: Mandatory top-level section in all documents; optional at subsection level in Taxonomy for detailed components
  • Graduation paths: Parked -> Taxonomy when analysis complete; Taxonomy -> Core Decisions when decision becomes load-bearing
  • Cross-document linking: Use markdown anchor links ([text](./file.md#section-heading)); expect dense cross-referencing; skill maintains link integrity during updates
  • Component naming: Agent proposes component names if not provided by user; user confirms before document creation
  • Issue creation: Strongly recommend issue-creation skill when content describes actionable work items
  • GDC compliance: All generated documents must follow General Doc Constraints rules
  • Template population: Resolve all [placeholders]; remove (optional) markers when sections are used; omit entire unused sections
  • Cross-refs in templates: Design document templates always include cross-refs to the other two design doc types in the opening NOTE block
  • Last Audited format: Always YYYY-MM-DD by [Author] format; update on every audit pass

Graduation Decision Matrix

Current LocationContent CharacteristicsGraduation TargetTrigger Conditions
ParkedDeferred analysis, incomplete structure, future considerationsTaxonomyAnalysis complete, structure defined, ready for active reference by implementation
ParkedN/ACore DecisionsSkip Taxonomy if immediately load-bearing and can be one-or-two-sentence policy
TaxonomyDetailed spec, actively referencedCore DecisionsBecomes load-bearing (breaking requires major refactor), distillable to one-or-two-sentence policy
TaxonomyDetailed spec, no longer relevantRemove/ArchiveDecision reversed, component deprecated, or moved out of scope
Core DecisionsLoad-bearing policyTerminalContent stays in Core Decisions permanently

Validation Checklist

Before presenting output to user, verify:

  • Core Decisions has complete metadata: Last Updated, Project Type (solo/team), Last Audited
  • Taxonomy and Parked have Last Updated metadata
  • Audit freshness: Core Decisions Last Audited within 7 days (solo) or 30 days (team)
  • Cross-reference NOTE blocks present in all documents with valid links
  • All headings are unique within each document
  • Taxonomy has ### [Subcomponent] - Related Issues sections after each subcomponent
  • Related Issues use format: [#N](link) - 2-5 word description
  • No placeholder text ([TODO], [TBD], [placeholder]) remains in generated output
  • No (optional) or conditional markers remain in populated sections
  • Line counts within thresholds (<200 ideal, 200-500 recommend split, >500 must split)
  • Core Decisions content has no outbound cross-refs (NOTE block for navigation is permitted)
  • Open Questions section present at doc level in all documents
  • GDC compliance: no smart quotes, no emojis, _underscore_ italics only, - bullets, no prose line breaks
  • Markdown anchor links use kebab-case (GitHub/GitLab standard)

Examples

Good Example: Core Decisions Entry

## Settled Decisions

| Decision | Rationale |
| :--- | :--- |
| Separate repo (`iac-adoption-skills`) | Audience divergence from common-devx; independent iteration cadence |
| Apache 2.0 per-skill LICENSE | Enterprise-friendly patent grant; aligns with HashiCorp ecosystem |

Good Example: Taxonomy Entry

## Skill Categories

| Prefix | Category | Purpose |
| :--- | :--- | :--- |
| `orchestrator-` | Orchestrator | Generic workflow logic with self-discovery; sequences skills via frontmatter |
| `workflow-` | Workflow | Executes a specific step in the adoption process; independently invocable |
| `research-` | Research | Produces and maintains domain knowledge; dual-mode (operate + self-update) |

Good Example: Parked Entry

## File Organization Patterns

Component naming uses `[component].tf`, `[component]-[subcomponent].tf`, max 3 levels. Locals split into separate `[component]-locals.tf` when large. File split threshold approximately 200 lines or 3+ logically distinct resource groups (needs validation).

**Revisit when**: Building `workflow-iac-capture` (generates `.tf` files)

Bad Example: Missing Open Questions

# Design - Taxonomy - API

> **Last Updated**: 2026-03-19 by Keming He

[Content sections here]

[Document ends without Open Questions section]

Missing the mandatory "Open Questions" section. Every design document must have this section, even if empty initially.

Bad Example: Core Decisions with Outbound Refs

## Settled Decisions

| Decision | Rationale |
| :--- | :--- |
| See [API patterns](./design-taxonomy.md#api-patterns) | Detailed in Taxonomy |

Core Decisions should never reference out to other documents. Rewrite as self-contained one-or-two-sentence policy: "REST API uses resource-based URLs with standard HTTP methods."

Bad Example: Unresolved Placeholders

## [Topic Name]

[Implementation detail here]

**Revisit when**: [TBD]

Never leave placeholder text. Replace [Topic Name] with actual topic, [TBD] with concrete trigger condition. All bracketed placeholders must be populated in generated output.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.48%
按下载量换算24

Claude

27.63%
按下载量换算17

Cursor

19.56%
按下载量换算12

Gemini CLI

8.5%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/keminghe/common-devx --skill living-design-documents 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills