Inline context gathering protocol into frontend-design SKILL.md

Moves the protocol from a separate reference file directly into
frontend-design's main SKILL.md to avoid two-level indirection
(skill → frontend-design → reference file) that could cause the
AI to miss it. Also fixes leftover "shipping timeline" in the
built polish output.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Paul Bakaus
2026-03-15 18:34:15 -07:00
co-authored by Claude Opus 4.6
parent 247bf2caaf
commit 67daf2bf17
5 changed files with 39 additions and 53 deletions
+19 -1
View File
@@ -6,7 +6,25 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
*Before starting, follow the [context gathering protocol](reference/context-gathering.md) to ensure you have project context.*
## Context Gathering Protocol
Design skills produce generic output without project context. Follow this protocol to gather what you need before proceeding.
**Required context** — every design skill needs at minimum:
- **Target audience**: Who uses this product and in what context?
- **Use cases**: What jobs are they trying to get done?
- **Brand personality/tone**: How should the interface feel?
Individual skills may require additional context — check the skill's preparation section for specifics.
**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.
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.
---
## Design Direction
@@ -1,25 +0,0 @@
# Context Gathering Protocol
Design skills produce generic output without project context. Follow this protocol to gather what you need before proceeding.
## Required context
Every design skill needs at minimum:
- **Target audience**: Who uses this product and in what context?
- **Use cases**: What jobs are they trying to get done?
- **Brand personality/tone**: How should the interface feel?
Individual skills may require additional context — check the skill's preparation section for specifics.
## 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.
### 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.