Use when starting or integrating work on a UI/visual project — anything that renders a screen, component, page, or layout a human looks at. Enforces a visual-first gate: for a UI project you confirm the look (a signed-off Figma frame or a throwaway preview page) BEFORE writing implementation code, and any UI change must carry a visual comparison (screenshot / preview URL / Figma frame) before it can merge. Fires when a project is flagged `ui_project: true` or the diff touches front-end files (.tsx/.jsx/.vue/.svelte/.css), and on "is the design signed off", "visual gate", "UI 專案要先確認畫面", "這個要附截圖對照嗎". Figma is the source of truth — this skill reuses the existing figma skills for design↔code sync rather than reimplementing them. The `auto-integrate` skill calls this as an extra green-light condition for UI projects.
Ships in dev. 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.
None: SKILL.md is the whole skill.
For projects with a visible surface, aesthetics get confirmed before code, and no UI change merges without a visual comparison. Two gates, plus Figma as the single source of truth.
Decide in this order:
CLAUDE.md declares ui_project: true. Trust it..tsx, .jsx, .vue,
.svelte, .css, .scss, styled components, or the diff references a figma.com link). Treat as UI and tell
the user — suggest they add ui_project: true to CLAUDE.md to make it deterministic next time.For a UI project, do not start implementation until the look is settled and the user has signed off:
Get the user's explicit aesthetic OK on that artifact first. Only then write code. If neither exists, stop and help produce one (see Figma flow below) rather than coding blind.
Don't reimplement Figma integration — reuse the installed figma skills. The direction of truth is Figma → code, then code changes get pushed back:
| Step | Reuse |
|---|---|
| Finalize the design in Figma | design in Figma; figma-use / figma-generate-design for authoring |
| Pull tokens/context into the implementation | get_design_context, get_variable_defs (via figma-use) |
| Map components to code | figma-code-connect |
| A screen changed in code → push it back to Figma | figma-generate-design |
The rule: finalize in Figma → pull design context/tokens to implement → if the UI changes in code, reflect it back to Figma so the two don't drift.
When auto-integrate runs on a UI project, its green light gains one requirement on top of "tests pass + no
blocking findings": the merge must carry at least one visual comparison artifact:
Record which one (as a link/path) in the docs/merge-log.md line for that merge. No visual artifact → not green →
stop and ask the user for one. This is where design/code drift gets caught before it lands.
What SKILL.md sets; muted values are Claude Code's defaults
/dev:ui-visual-gatefrom dev
npx claudepluginhub chienchuanw/chuan-skills --plugin dev7 skills in this plugin
/apply-coding-rulesStamp a managed coding-discipline rules block into a project's CLAUDE.md (or AGENTS.md / GEMINI.md) — the four rules: think before coding, simplicity first, surgical changes, goal-driven execution, plus a guard on irreversible/git-history actions. This skill is the single source of truth for those rules; running it writes or updates the rules between managed markers, idempotently, leaving the rest of the file untouched. Use when the user wants to add, update, sync, or propagate the shared coding rules / coding standards into a repository — "apply the coding rules", "add the four rules to this project's CLAUDE.md", "sync our coding standards here", "stamp the coding discipline block" — even if they don't name the skill./auto-integrateUse when you want an agent to autonomously take a finished feature branch through review, self-fix, and merge into an integration branch (`dev`) without a human reading the PR — the agent runs an objective code review, fixes or refactors what it can, gates on a hard green light (tests pass AND no blocking findings), then does a clean rebase-merge and logs a one-line revert entry. Fires on "auto-integrate this branch", "review-fix-and-merge to dev", "run the autonomous merge loop", "自主整合這個分支", "跑自動 merge 迴圈". Manual-only (`disable-model-invocation`) because it merges code. It NEVER touches `main`/production (release stays manual). Not a PR-review reporter (that is `/code-review`) and not the full issue→PR delivery flow (that is `feature`).