Design Context Capture is a design Claude Skill built by CUBIS Engineering. Best for: Design leads and frontend teams capture product design rules once, then reference them across implementation, QA, and downstream design workflows instead of recreating intent per-task..
- What it does
- Establish canonical design documentation in docs/foundation/DESIGN.md to unify visual direction across teams.
- Category
- design
- Created by
- CUBIS Engineering
- Last updated
Design Context Capture
Establish canonical design documentation in docs/foundation/DESIGN.md to unify visual direction across teams.
Skill instructions
name: design-context-capture
description: Capture or refresh the project's canonical design context in docs/foundation/DESIGN.md so downstream design, implementation, and QA skills stop relying on vague taste or one-off prompts.
Design Context Capture
Purpose
Establish the short, durable design document that the rest of Foundry should treat as the source of truth for visual direction. Use this when a repo has no coherent design context yet, when the design language has drifted, or when a benchmark needs to be translated into Foundry-owned language instead of copied raw.
When to Use
- Starting a new product surface with no canonical design context
- Refreshing design intent after major UI drift
- Translating benchmark references into project-owned design rules
- Preparing the repo for
frontend-design, Stitch work, or UI harness runs
Instructions
- Use
docs/foundation/DESIGN.mdas the canonical path — Create it when missing and refresh it when stale because downstream skills need one predictable place for design truth. - Capture design decisions, not moodboard prose — Record typography voice, palette behavior, spacing rhythm, composition moves, motion rules, state principles, and anti-patterns in short operational language.
- Ground the file in repo or benchmark evidence — Pull from existing product surfaces, screenshots, fixtures, or approved references because the goal is to encode intent that can be executed and reviewed.
- State what must not happen — List banned defaults such as card nesting, default system typography, generic gradients, or weak mobile collapse because exclusions are part of anti-slop control.
- Keep it compact — A concise design context is more reusable than a giant narrative brief. Prefer bullets and short sections over long prose.
- Route external references through Foundry language — Convert benchmarks into Foundry-owned terms instead of copying raw prompts or long passages.
- Feed follow-on work into the right skill — Use
frontend-design-style-selectorandfrontend-design-screen-brieffor new work, or the remediation skills when fixing existing UI. - Mirror for Stitch only when needed — If the task explicitly enters a Stitch flow, hand the resolved design state to
stitch-design-systemso.stitch/DESIGN.mdstays aligned.
Output Format
Deliver:
- Canonical path used or created
- Short design thesis
- Typography, palette, spacing, composition, and motion rules
- Explicit anti-patterns to avoid
- Recommended next design skill
References
| File | Load when |
| --- | --- |
| ../frontend-design/references/visual-direction.md | Defining the point of view, dominant motif, and anti-generic checks. |
| ../frontend-design/references/design-tokens.md | Translating visual language into token-ready rules. |
| ../stitch-design-system/SKILL.md | The task also needs Stitch-facing design state kept in sync. |
Claude Platform Notes
- Use
$ARGUMENTSto access user-provided arguments passed when the skill is invoked. - Reference skill-local files with
${CLAUDE_SKILL_DIR}/references/<file>for portable paths. - When
context: forkis set, the skill runs in an isolated subagent context; theagentfield names the fork target. - Custom subagents live under
../../agents/relative to the mirrored skill directory and support YAML frontmatter:name,description,tools,model,maxTurns,memory,handoffs. - Use
modelfield in agent frontmatter to select model per subagent (e.g.,model: opusfor complex analysis). - Set
maxTurnsto prevent runaway iterations (default: 25, orchestrator: 30). - Current project-memory agents are
orchestratorandplanner; use them for durable project context. - Hook templates in
.claude/hooks/provide lifecycle event integration atUserPromptSubmitand other events. - Path-scoped rules live under
../../rules/withpaths:frontmatter for targeted guidance. - MCP skill tools (
skill_search,skill_get,skill_validate,skill_get_reference) are available for dynamic skill discovery and loading. - Use
allowed-toolsin frontmatter to restrict tool access for security-sensitive skills. - Workflow skills can be compiled to
.claude/skills/<workflow-id>/SKILL.mdasgeneratedSkills.
Install
/plugin install design-context-capture@CUBETIQRequires Claude Code CLI.
Use cases
Design leads and frontend teams capture product design rules once, then reference them across implementation, QA, and downstream design workflows instead of recreating intent per-task.
Reviews
No reviews yet. Be the first to review this skill.
Stats
Creator
CCUBIS Engineering
@CUBETIQ