The design language that makes your AI harness better at design.
JavaScript
Strengthen context gathering to prevent skipping teach-impeccable
Paul Bakaus318a32476ad1
diff --git a/.claude/skills/adapt/SKILL.md b/.claude/skills/adapt/SKILL.mdindex e2fc9f5ed..b0c508b1c 100644--- a/.claude/skills/adapt/SKILL.md+++ b/.claude/skills/adapt/SKILL.md@@ -15,7 +15,7 @@ Adapt existing designs to work effectively across different contexts - different## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: target platforms/devices and usage contexts.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: target platforms/devices and usage contexts.---diff --git a/.claude/skills/animate/SKILL.md b/.claude/skills/animate/SKILL.mdindex 1a62f93ac..d12d88b01 100644--- a/.claude/skills/animate/SKILL.md+++ b/.claude/skills/animate/SKILL.md@@ -12,7 +12,7 @@ Analyze a feature and strategically add animations and micro-interactions that e## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: performance constraints.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: performance constraints.---diff --git a/.claude/skills/bolder/SKILL.md b/.claude/skills/bolder/SKILL.mdindex 09968c2cb..088f30c44 100644--- a/.claude/skills/bolder/SKILL.md+++ b/.claude/skills/bolder/SKILL.md@@ -12,7 +12,7 @@ Increase visual impact and personality in designs that are too safe, generic, or## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first.---diff --git a/.claude/skills/clarify/SKILL.md b/.claude/skills/clarify/SKILL.mdindex 69f18b2e8..bc10a30d3 100644--- a/.claude/skills/clarify/SKILL.md+++ b/.claude/skills/clarify/SKILL.md@@ -12,7 +12,7 @@ Identify and improve unclear, confusing, or poorly written interface text to mak## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: audience technical level and users' mental state in context.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: audience technical level and users' mental state in context.---diff --git a/.claude/skills/colorize/SKILL.md b/.claude/skills/colorize/SKILL.mdindex 497ee3ac3..b45d52a2e 100644--- a/.claude/skills/colorize/SKILL.md+++ b/.claude/skills/colorize/SKILL.md@@ -12,7 +12,7 @@ Strategically introduce color to designs that are too monochromatic, gray, or la## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: existing brand colors.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: existing brand colors.---diff --git a/.claude/skills/critique/SKILL.md b/.claude/skills/critique/SKILL.mdindex 8f1a795df..eb0d663b9 100644--- a/.claude/skills/critique/SKILL.md+++ b/.claude/skills/critique/SKILL.md@@ -10,7 +10,7 @@ args:## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: what the interface is trying to accomplish.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: what the interface is trying to accomplish.---diff --git a/.claude/skills/delight/SKILL.md b/.claude/skills/delight/SKILL.mdindex 0c762531d..a215ac30d 100644--- a/.claude/skills/delight/SKILL.md+++ b/.claude/skills/delight/SKILL.md@@ -12,7 +12,7 @@ Identify opportunities to add moments of joy, personality, and unexpected polish## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: what's appropriate for the domain (playful vs professional vs quirky vs elegant).+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: what's appropriate for the domain (playful vs professional vs quirky vs elegant).---diff --git a/.claude/skills/distill/SKILL.md b/.claude/skills/distill/SKILL.mdindex cc14b672d..1fd5c4887 100644--- a/.claude/skills/distill/SKILL.md+++ b/.claude/skills/distill/SKILL.md@@ -12,7 +12,7 @@ Remove unnecessary complexity from designs, revealing the essential elements and## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first.---diff --git a/.claude/skills/frontend-design/SKILL.md b/.claude/skills/frontend-design/SKILL.mdindex ec9f7bd8b..df336117b 100644--- a/.claude/skills/frontend-design/SKILL.md+++ b/.claude/skills/frontend-design/SKILL.md@@ -8,7 +8,7 @@ This skill guides creation of distinctive, production-grade frontend interfaces## Context Gathering Protocol-Design skills produce generic output without project context. Follow this protocol to gather what you need before proceeding.+Design skills produce generic output without project context. You MUST have confirmed design context before doing any design work.**Required context** — every design skill needs at minimum:- **Target audience**: Who uses this product and in what context?@@ -17,12 +17,12 @@ Design skills produce generic output without project context. Follow this protocIndividual skills may require additional context — check the skill's preparation section for specifics.+**CRITICAL**: You cannot infer this context by reading the codebase. Code tells you what was built, not who it's for or what it should feel like. Only the creator can provide this context.+**Gathering order:**-1. **Check current instructions (instant)**: If your loaded instructions already contain a **Design Context** section with the required information, you have what you need — proceed immediately.+1. **Check current instructions (instant)**: If your loaded instructions already contain a **Design Context** section, proceed immediately.2. **Check .impeccable.md (fast)**: If not in instructions, read `.impeccable.md` from the project root. If it exists and contains the required context, proceed.-3. **Run teach-impeccable (cold start)**: If neither source has context, run the teach-impeccable skill before continuing. It will gather context interactively and persist it to `.impeccable.md` for all future sessions.--Do NOT proceed with design work until you have confirmed context.+3. **Run teach-impeccable (REQUIRED)**: If neither source has context, you MUST run the teach-impeccable skill NOW before doing anything else. Do NOT skip this step. Do NOT attempt to infer context from the codebase instead.---diff --git a/.claude/skills/normalize/SKILL.md b/.claude/skills/normalize/SKILL.mdindex bee1edb2f..ea91d5c58 100644--- a/.claude/skills/normalize/SKILL.md+++ b/.claude/skills/normalize/SKILL.md@@ -12,7 +12,7 @@ Analyze and redesign the feature to perfectly match our design system standards,## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first.---diff --git a/.claude/skills/onboard/SKILL.md b/.claude/skills/onboard/SKILL.mdindex bba8dfadb..4ec0049dd 100644--- a/.claude/skills/onboard/SKILL.md+++ b/.claude/skills/onboard/SKILL.md@@ -10,7 +10,7 @@ args:## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: the "aha moment" you want users to reach, and users' experience level.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: the "aha moment" you want users to reach, and users' experience level.---diff --git a/.claude/skills/polish/SKILL.md b/.claude/skills/polish/SKILL.mdindex a09a80346..3e95d12f4 100644--- a/.claude/skills/polish/SKILL.md+++ b/.claude/skills/polish/SKILL.md@@ -10,7 +10,7 @@ args:## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: quality bar (MVP vs flagship).+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: quality bar (MVP vs flagship).---diff --git a/.claude/skills/quieter/SKILL.md b/.claude/skills/quieter/SKILL.mdindex b9a8513dd..3e63a54c6 100644--- a/.claude/skills/quieter/SKILL.md+++ b/.claude/skills/quieter/SKILL.md@@ -12,7 +12,7 @@ Reduce visual intensity in designs that are too bold, aggressive, or overstimula## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first.---diff --git a/source/skills/adapt/SKILL.md b/source/skills/adapt/SKILL.mdindex 5091a47be..1a3773596 100644--- a/source/skills/adapt/SKILL.md+++ b/source/skills/adapt/SKILL.md@@ -15,7 +15,7 @@ Adapt existing designs to work effectively across different contexts - different## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: target platforms/devices and usage contexts.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: target platforms/devices and usage contexts.---diff --git a/source/skills/animate/SKILL.md b/source/skills/animate/SKILL.mdindex 275bcb300..fc6aeba83 100644--- a/source/skills/animate/SKILL.md+++ b/source/skills/animate/SKILL.md@@ -12,7 +12,7 @@ Analyze a feature and strategically add animations and micro-interactions that e## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: performance constraints.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: performance constraints.---diff --git a/source/skills/bolder/SKILL.md b/source/skills/bolder/SKILL.mdindex 2f7e1196b..38cffc374 100644--- a/source/skills/bolder/SKILL.md+++ b/source/skills/bolder/SKILL.md@@ -12,7 +12,7 @@ Increase visual impact and personality in designs that are too safe, generic, or## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first.---diff --git a/source/skills/clarify/SKILL.md b/source/skills/clarify/SKILL.mdindex 82964bd4a..9bf07bd98 100644--- a/source/skills/clarify/SKILL.md+++ b/source/skills/clarify/SKILL.md@@ -12,7 +12,7 @@ Identify and improve unclear, confusing, or poorly written interface text to mak## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: audience technical level and users' mental state in context.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: audience technical level and users' mental state in context.---diff --git a/source/skills/colorize/SKILL.md b/source/skills/colorize/SKILL.mdindex aeed419a5..004b36eb9 100644--- a/source/skills/colorize/SKILL.md+++ b/source/skills/colorize/SKILL.md@@ -12,7 +12,7 @@ Strategically introduce color to designs that are too monochromatic, gray, or la## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: existing brand colors.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: existing brand colors.---diff --git a/source/skills/critique/SKILL.md b/source/skills/critique/SKILL.mdindex 270488cb5..5b5f4978e 100644--- a/source/skills/critique/SKILL.md+++ b/source/skills/critique/SKILL.md@@ -10,7 +10,7 @@ user-invokable: true## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: what the interface is trying to accomplish.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: what the interface is trying to accomplish.---diff --git a/source/skills/delight/SKILL.md b/source/skills/delight/SKILL.mdindex 8f9c77220..e3e0de820 100644--- a/source/skills/delight/SKILL.md+++ b/source/skills/delight/SKILL.md@@ -12,7 +12,7 @@ Identify opportunities to add moments of joy, personality, and unexpected polish## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: what's appropriate for the domain (playful vs professional vs quirky vs elegant).+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: what's appropriate for the domain (playful vs professional vs quirky vs elegant).---diff --git a/source/skills/distill/SKILL.md b/source/skills/distill/SKILL.mdindex 820a63091..62d318a2a 100644--- a/source/skills/distill/SKILL.md+++ b/source/skills/distill/SKILL.md@@ -12,7 +12,7 @@ Remove unnecessary complexity from designs, revealing the essential elements and## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first.---diff --git a/source/skills/frontend-design/SKILL.md b/source/skills/frontend-design/SKILL.mdindex c7f6febd3..c0486f7d2 100644--- a/source/skills/frontend-design/SKILL.md+++ b/source/skills/frontend-design/SKILL.md@@ -8,7 +8,7 @@ This skill guides creation of distinctive, production-grade frontend interfaces## Context Gathering Protocol-Design skills produce generic output without project context. Follow this protocol to gather what you need before proceeding.+Design skills produce generic output without project context. You MUST have confirmed design context before doing any design work.**Required context** — every design skill needs at minimum:- **Target audience**: Who uses this product and in what context?@@ -17,12 +17,12 @@ Design skills produce generic output without project context. Follow this protocIndividual skills may require additional context — check the skill's preparation section for specifics.+**CRITICAL**: You cannot infer this context by reading the codebase. Code tells you what was built, not who it's for or what it should feel like. Only the creator can provide this context.+**Gathering order:**-1. **Check current instructions (instant)**: If your loaded instructions already contain a **Design Context** section with the required information, you have what you need — proceed immediately.+1. **Check current instructions (instant)**: If your loaded instructions already contain a **Design Context** section, proceed immediately.2. **Check .impeccable.md (fast)**: If not in instructions, read `.impeccable.md` from the project root. If it exists and contains the required context, proceed.-3. **Run teach-impeccable (cold start)**: If neither source has context, run the teach-impeccable skill before continuing. It will gather context interactively and persist it to `.impeccable.md` for all future sessions.--Do NOT proceed with design work until you have confirmed context.+3. **Run teach-impeccable (REQUIRED)**: If neither source has context, you MUST run the teach-impeccable skill NOW before doing anything else. Do NOT skip this step. Do NOT attempt to infer context from the codebase instead.---diff --git a/source/skills/normalize/SKILL.md b/source/skills/normalize/SKILL.mdindex 0f2cc0641..5a8fc542e 100644--- a/source/skills/normalize/SKILL.md+++ b/source/skills/normalize/SKILL.md@@ -12,7 +12,7 @@ Analyze and redesign the feature to perfectly match our design system standards,## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first.---diff --git a/source/skills/onboard/SKILL.md b/source/skills/onboard/SKILL.mdindex 9517d59dd..46bf34d96 100644--- a/source/skills/onboard/SKILL.md+++ b/source/skills/onboard/SKILL.md@@ -10,7 +10,7 @@ user-invokable: true## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: the "aha moment" you want users to reach, and users' experience level.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: the "aha moment" you want users to reach, and users' experience level.---diff --git a/source/skills/polish/SKILL.md b/source/skills/polish/SKILL.mdindex 33ea34487..cfdeda837 100644--- a/source/skills/polish/SKILL.md+++ b/source/skills/polish/SKILL.md@@ -10,7 +10,7 @@ user-invokable: true## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. Additionally gather: quality bar (MVP vs flagship).+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: quality bar (MVP vs flagship).---diff --git a/source/skills/quieter/SKILL.md b/source/skills/quieter/SKILL.mdindex c2e028628..503a522c7 100644--- a/source/skills/quieter/SKILL.md+++ b/source/skills/quieter/SKILL.md@@ -12,7 +12,7 @@ Reduce visual intensity in designs that are too bold, aggressive, or overstimula## MANDATORY PREPARATION-Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding.+Use the frontend-design skill — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first.---