palette-ui
Pull-only palette helper. Writes the product's visual language — colors, typography, spacing, components, screen composition — as a design document, with an optional HTML preview. Use only when the user asks, or when a phase needs a visual language before its deliverables can be written.
- License 许可
- MIT
- 最近更新
- 2026-10-17
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- palette-ui
- description
- Pull-only palette helper. Writes the product's visual language — colors, typography, spacing, components, screen composition — as a design document, with an optional HTML preview. Use only when the user asks, or when a phase needs a visual language before its deliverables can be written.
03 SKILL.md 正文
<!-- slate-agent-kit:common -->
palette-ui
Sets the visual language the deliverables will reference.
What it produces
design/visual-design.rst, following the design template: Purpose and scope (style, light or dark mode, reference products); Architecture with subsections for the color palette (hex values for primary, secondary, accent, background, surface, text, error, success), typography (family and the size and weight of each level), spacing, radius and icons, and screen composition; Interfaces and dependencies for the component library. Only component categories the current phase uses are described.- Optionally
_palette/design-preview.html, a static page the user opens in a browser to see the palette and components. It is a preview, not a document, and lives internal.
Where it goes
The document lives where layout.rst places its family and follows that family's template (palette-init/templates/) in the RST house style; subsections under the template's sections carry the specifics. A maintained document states only what the source implements. Content the source does not implement yet is written as the changeset of the record that decides it (palette-record), and the staging copy shows it until the implementation lands.
Boundaries
- Not part of the default loop: run it only when the user asks, or when a phase needs it before its deliverables can be written, and say so.
- It writes documents, not source code.
04 同仓库更多 Skills
palette-ux
Pull-only palette helper. Writes the screens, navigation and flow sequence of the product as a design document. Use only when the user asks, or when a phase's screens and navigation need defining before its deliverables can be written.
palette-state
Keep a palette project's work documents current while working — record a decision, an open question or a discrepancy the moment it happens; move backlog items through their statuses; open a phase and write its deliverables once the user approves them; close a phase. Use when a decision is made, a fact is verified, the user approves or changes a phase or deliverable, or a phase finishes.
palette-spec
Pull-only palette helper. Writes the project's technical contracts — data model, APIs, storage, platform constraints — as spec and design documents, and records the technical choices behind them as ADRs or RFCs. Use only when the user asks, or when a phase needs technical decisions settled before its deliverables can be written.
palette-rules
Pull-only palette helper. Writes the conventions every deliverable of the project follows — shared components, coding patterns, architecture boundaries, accessibility baseline — as a spec document. Use only when the user asks, or when a phase needs shared conventions before its deliverables can be written.
palette-resume
Pick up a palette project at the start of a session or when the user says to continue. Reads the state within its budget, checks the documents, reports where things stand and what is open, proposes the next step, and waits for the user's direction. Use whenever work resumes in a project that has `_palette/layout.rst`.
palette-record
Write a decision into an RFC or ADR with its evidence, maintain its changeset of edits to the maintained documents, and promote those edits when the implementation lands. Use when a decision in the palette state is ready to be recorded, when an accepted record's contract is implemented, or when the user asks for an RFC or ADR.