diff --git a/README.md b/README.md index 7024076b..70945702 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ### A community-maintained marketplace of skills, agents, and rules for Claude Code.
- 6 plugins · 37 skills · 3 agents · MIT + 6 plugins · 38 skills · 3 agents · MIT
@@ -137,7 +137,7 @@ that tool's model via the **LLM tier reference** below.
### 🧭 [aidd-context](plugins/aidd-context/README.md)
-`12 skills` · stable
+`13 skills` · stable
Project init, architecture, generation of Claude Code context artifacts (skills, agents, rules, commands, hooks), diagrams, learning, discovery.
diff --git a/plugins/aidd-context/CATALOG.md b/plugins/aidd-context/CATALOG.md
index 50076a6b..893b1b6c 100644
--- a/plugins/aidd-context/CATALOG.md
+++ b/plugins/aidd-context/CATALOG.md
@@ -21,6 +21,7 @@ Auto-generated index of skills, agents, references and assets shipped by the `ai
- [`skills/09-mermaid`](#skills09-mermaid)
- [`skills/10-learn`](#skills10-learn)
- [`skills/11-discovery`](#skills11-discovery)
+ - [`skills/12-design-system`](#skills12-design-system)
---
@@ -195,3 +196,12 @@ Auto-generated index of skills, agents, references and assets shipped by the `ai
| `references` | [ai-mapping.md](skills/11-discovery/references/ai-mapping.md) | - |
| `-` | [SKILL.md](skills/11-discovery/SKILL.md) | `Enumerate installed surfaces of the AI tool (skills, agents, commands, plugins, MCP servers, rules, hooks, memory files) and recommend the best match for the user's stated intent. Use proactively whenever the user asks the model to list, show, enumerate, find, or pick among any of these surfaces - including imperative phrasings ("list hooks", "show me the rules", "enumerate skills", "find a memory file", "which agent reviews code"), question phrasings ("what's available?", "what hooks do we have?", "which rule applies here?", "what memory files do we have?"), and indirect phrasings ("what can I use for X?", "do we have something that does Y?"). Always pick this skill over scanning the filesystem with grep, find, ls, or reading action files directly when the user is enumerating a surface. Do NOT use for picking a specific item inside one plugin (the plugin's own onboard handles that), creating a new surface, or executing a recommended item (this skill only points; the user invokes).` |
+#### `skills/12-design-system`
+
+| Group | File | Description |
+|-------|------|---|
+| `actions` | [01-create-design-system.md](skills/12-design-system/actions/01-create-design-system.md) | - |
+| `actions` | [02-redesign-page.md](skills/12-design-system/actions/02-redesign-page.md) | - |
+| `-` | [README.md](skills/12-design-system/README.md) | - |
+| `-` | [SKILL.md](skills/12-design-system/SKILL.md) | `Initialize a project's design system through a guided, ordered playbook that routes each step to the right Impeccable command - register and color strategy, palette with accessibility validation, typography, spacing, elevation, motion, components, and the canonical DESIGN.md.` |
+
diff --git a/plugins/aidd-context/README.md b/plugins/aidd-context/README.md
index 6b2f0a17..56284f8e 100644
--- a/plugins/aidd-context/README.md
+++ b/plugins/aidd-context/README.md
@@ -8,7 +8,7 @@ Knowledge production plugin for the AI-Driven Development framework.
First time? Install with `/plugin install aidd-context@aidd-framework`, then run `aidd-context:00-onboard`.
-Covers project bootstrap, project initialisation, generation of Claude Code context artifacts (skills, agents, rules, commands, hooks), Mermaid diagrams, learning, discovery, and a state-aware onboarding loop.
+Covers project bootstrap, project initialisation, generation of Claude Code context artifacts (skills, agents, rules, commands, hooks), Mermaid diagrams, learning, discovery, design-system onboarding, and a state-aware onboarding loop.
## Skills
@@ -21,6 +21,7 @@ Covers project bootstrap, project initialisation, generation of Claude Code cont
| [1.4] | [mermaid](skills/09-mermaid/README.md) | Generate high-quality Mermaid diagrams from markdown content using a structured plan-validate workflow. |
| [1.5] | [learn](skills/10-learn/README.md) | Capture and store learnings from recently implemented features into memory bank, decisions, or coding rules. |
| [1.6] | [discovery](skills/11-discovery/README.md) | Help users discover installed skills and find the right one for their use case. |
+| [1.7] | [design-system](skills/12-design-system/README.md) | Guided playbook to author a quality design system by wrapping the Impeccable skill; routes each step to the right Impeccable command. Produces no files of its own - Impeccable's DESIGN.md stays canonical. |
## Onboarding
diff --git a/plugins/aidd-context/skills/12-design-system/README.md b/plugins/aidd-context/skills/12-design-system/README.md
new file mode 100644
index 00000000..a74807f5
--- /dev/null
+++ b/plugins/aidd-context/skills/12-design-system/README.md
@@ -0,0 +1,22 @@
+# 07 - Design System
+
+Guided onboarding for authoring a **quality design system**, wrapping the [Impeccable](https://impeccable.style) skill. Impeccable does the work (palette, typography, tokens, `DESIGN.md`); this skill adds the ordered playbook so no essential step is skipped. It writes **no design files of its own** - Impeccable's `DESIGN.md` stays canonical.
+
+## Usage
+
+```
+/aidd-context:12-design-system
+```
+
+Manual only. Two actions, both Impeccable runbooks with per-step checkboxes:
+
+- `01-create-design-system` - setup: `init` -> `document` -> `extract` -> refine -> `audit`/`critique`.
+- `02-redesign-page` - improve an existing page. The AI invokes every Impeccable command itself; the user only answers questions and validates: `critique` (baseline score) -> ask what hurts -> axis commands (`layout`/`typeset`/`colorize`/`bolder`/`quieter`/`distill`/`animate`) -> show & validate -> `polish`/`audit`/re-`critique`, looping until no P0/P1 and the score beats the baseline. New patterns fold back via `extract`.
+
+## Requires
+
+The **Impeccable** skill (the playbook checks and guides install if missing).
+
+## Not for
+
+Authoring **new** page or component code - that is an implementation concern (Execution layer), where the implementer delegates the visual to Impeccable against this `DESIGN.md`. This skill founds the system and routes redesigns; Impeccable does the work and `DESIGN.md` stays canonical.
diff --git a/plugins/aidd-context/skills/12-design-system/SKILL.md b/plugins/aidd-context/skills/12-design-system/SKILL.md
new file mode 100644
index 00000000..3adc4d38
--- /dev/null
+++ b/plugins/aidd-context/skills/12-design-system/SKILL.md
@@ -0,0 +1,29 @@
+---
+name: 12-design-system
+description: Initialize a project's design system through a guided, ordered playbook that routes each step to the right Impeccable command - register and color strategy, palette with accessibility validation, typography, spacing, elevation, motion, components, and the canonical DESIGN.md.
+disable-model-invocation: true
+---
+
+# Skill: design-system
+
+Guided onboarding for authoring a quality design system. It does NOT generate the system - the [Impeccable](https://impeccable.style) skill already does (palette, typography, tokens, `DESIGN.md`). It adds the missing piece: an ordered playbook that routes each step to the right Impeccable command. Impeccable executes; `DESIGN.md` stays the single source of truth.
+
+## Transversal rules
+
+- **One source of truth**: Impeccable's root `DESIGN.md` (+ `.impeccable/design.json`). Never write a competing design file or a copy. Point, never copy.
+- **Impeccable is a declared external dependency** - naming its commands is allowed; if absent, the playbook guides install.
+- Per-step criteria are inline checkboxes in the action (walked as an AI-driven todo). No assets - the skill keeps no derived copy of `DESIGN.md`.
+- English-only.
+
+## Available actions
+
+| # | Action | Role | Input |
+| --- | ---------------------- | ---------------------------------------------------------- | ------------------ |
+| 01 | `create-design-system` | Walk the playbook to a quality design system via Impeccable | project (optional) |
+| 02 | `redesign-page` | Critique → fix weak axes → loop until the score holds | page (required) |
+
+## Default flow
+
+`01` founds the system (run once); `02` redesigns an existing page against it (run anytime, requires `DESIGN.md`). Both confirm Impeccable is available, then drive its commands.
+
+Authoring **new** page code is not this skill's concern (Knowledge layer) - that happens at implementation time, where the implementer delegates the presentational layer to Impeccable against this `DESIGN.md`. Redesigning an **existing** page's visual (action 02) is routing, not authoring: Impeccable executes, this skill orders the loop.
diff --git a/plugins/aidd-context/skills/12-design-system/actions/01-create-design-system.md b/plugins/aidd-context/skills/12-design-system/actions/01-create-design-system.md
new file mode 100644
index 00000000..6ab8c585
--- /dev/null
+++ b/plugins/aidd-context/skills/12-design-system/actions/01-create-design-system.md
@@ -0,0 +1,80 @@
+# 01 - Create design system
+
+A setup runbook: run Impeccable's commands in sequence, each setting up part of the design system. Output is Impeccable's canonical `DESIGN.md` (+ `PRODUCT.md` + `.impeccable/design.json`); this action only adds the ordering, the routing, and the per-step checks. Walk it as a todo: tick each checkbox once the command has produced it.
+
+## Inputs
+
+- `project` (optional, default: CWD) - project root to set the design system up in.
+- `brand_intent` (optional) - a brand/product phrase if the user already has one; otherwise Impeccable's interview gathers it.
+
+## Outputs
+
+Impeccable-owned, at the project root (this action drives the commands, it doesn't write them):
+
+```
+PRODUCT.md # strategy: register, users, brand, anti-references
+DESIGN.md # the single source of truth: tokens + 6 Stitch sections
+.impeccable/design.json # sidecar: ramps, shadows, motion, components
+```
+
+## Process
+
+Run the commands in order. **Each step IS an Impeccable command**; tick its checkboxes once they hold.
+
+### Step 0 - Ensure the engine
+
+- [ ] `/impeccable` responds (installed). If absent, guide install (