/design-foundation:design-foundationfrom design-foundation
Provides the DesignFoundation (DF) component and theming API reference for SwiftUI projects. Use when writing or reviewing DF views, themes, styles, or tokens to avoid duplicating existing components.
Ships in design-foundation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Never build UI components that DesignFoundation already provides.
Before writing any SwiftUI UI code in a DesignFoundation project, check whether a DF component already covers it. A custom button, toggle, card, or list row you hand-roll wastes tokens and breaks theme consistency. One DFButton("Save") { } line replaces 25+ lines of custom SwiftUI.
Import the package:
import DesignFoundation
Before writing any DesignFoundation UI code, open reference.md in this same skill directory. It holds the full component, theming, style, and form API, and the exact signatures that compile. Do not guess initializer labels or style names from memory.
Theme tokens are read from the environment inside custom views (@Environment(\.dfTheme) private var theme), and presets are applied at the scene root with .dfThemePreset(...). Details are in reference.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nerdsnipe-inc/design-foundation --plugin design-foundationOther plugins' skills for the same job