Use the frontend-design skill¶
frontend-design is a skill written by Anthropic. It asks the agent to decide
a visual direction (palette, typography, layout) before it writes interface
code, so that the result does not look like a template. amplihack installs it
as a pinned dependency. It is not one of the skills every session lists.
When to use it¶
Use it when a task builds a new user interface or reshapes an existing one: a web page, a component, a dashboard, a terminal layout with a visual design. Leave it out for back-end work, refactoring that keeps the interface as it is, and fixes that change no visual element.
The default workflow asks for the skill. The design step of the Azure DevOps path, its implementation step and the build loop's goal text each tell the agent to load it when the task is interface work.
Install it¶
amplihack install fetches SKILL.md and its LICENSE.txt from
anthropics/claude-plugins-official, at the commit recorded in
claude-plugin/frontend-design.rev, and places them in
~/.amplihack/.claude/skills/frontend-design/. The two files are kept in
~/.amplihack/cache/frontend-design/<commit>/, so later installs and the
automatic re-install at startup place them again without the network.
If GitHub cannot be reached, the install prints a warning and finishes without
the skill. Run amplihack install again once GitHub is reachable.
Check that it is installed:
The line it prints gives the path of SKILL.md.
Load it¶
Each tool loads the skill in one of two ways.
| Tool | How it loads the skill |
|---|---|
| Claude Code | From its skill list once the skill is enabled (below), or by reading the file. |
| Codex | From its skill list once the skill is enabled, or by reading the file. |
| Copilot CLI | From its skill list once the skill is enabled, or by reading the file. |
| Amplifier | By reading the file only. amplihack does not register skills with Amplifier. |
To add the skill to the skill list of Claude Code, Codex and Copilot CLI:
Start a new session afterwards. To take it out of the lists again, run
amplihack directory disable skill:frontend-design. See
Choose listed skills and agents.
Without enabling it, ask the agent to read the file at the path that
amplihack directory find frontend-design prints. This works in every tool,
Amplifier included.
Show the agent the interface¶
The skill works best when the agent sees the interface it changes.
- Before the change, take screenshots of each screen or state the task touches, at the sizes that matter (for example a phone width and a desktop width). Save them in the worktree's scratch folder, not in the repository.
- Give the agent the paths, and ask it to describe what it sees before it proposes a direction.
- After the change, take the same screenshots again and give the agent both sets, so that it compares them and fixes what does not match the direction.
- Attach the before and after screenshots to the pull request in a comment.
A browser automation tool such as Playwright can take the screenshots; any tool that saves an image file works.
Choose the model tier¶
The steps that ask for the skill run on the strong tier, the most capable one:
step-05-architecture in workflow-design.yaml, step-08-implement in
workflow-tdd.yaml, and decide, the turn step of the build loop. To move
one of them to another tier, name its step id in [step_tiers]:
The decide step is shared with the other goal loops, such as
auto-drive-to-merge, so a [step_tiers] entry for decide changes them too.
No model name is written into the skill. See
Set recipe model tiers.
Move to a newer upstream commit¶
- Read the newest commit of
anthropics/claude-plugins-officialthat changesplugins/frontend-design/skills/frontend-design/. - Write its full 40-character id into
claude-plugin/frontend-design.rev. - Build amplihack and run
amplihack install. It fetches the files at the new commit into a new cache folder.
Licence¶
The skill is Anthropic's work under the Apache License 2.0. The licence text
is installed beside it as LICENSE.txt. amplihack fetches the upstream file
unchanged and keeps no copy in its own repository.