用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aiFabricoCom/fabrico-collections-codex --skill fabrico-implement-ui命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | fabrico-implement-ui |
| description | Implement UI with iterative verification against Figma. |
Invocation portability:
$fabrico-*below means the discovered entry workflow. Use the unqualified name for repository or filesystem installs and$fabrico-collections:fabrico-*for plugin installs.
Use the user’s current request as the workflow input. Expected context: [task or Jira ID].
If a named custom agent is unavailable, as in a skills-only plugin installation, perform that delegated step in
the current thread with the referenced skills and the same implementation, visual-verification, and review gates.
Your goal is to implement the UI feature according to the provided implementation plan and feature context, orchestrating iterative verification against Figma designs until the implementation matches within agreed tolerances.
Before delegating tasks, open the research file (*.research.md) and plan file (*.plan.md) to find all Figma URLs:
Relevant Links section.Gathered Information.Task details.Use these URLs when delegating to both the fabrico-software-engineer subagent (implementation context) and the fabrico-ui-reviewer subagent (verification target).
If you cannot find a Figma URL for a component/section that needs verification:
Task details or Design References)Do NOT skip verification or delegate without a Figma reference.
Review the plan — Review the implementation plan and feature context thoroughly. Identify which tasks are UI implementation tasks (need Figma verification) and which are non-visual tasks. Extract all Figma URLs from the research/plan files.
Delegate codebase analysis (if needed) — Check if the plan file (*.plan.md) contains a populated "Technical Context" section. If it does, skip this step — the context was already captured during planning. If the section is missing or empty, use the subagent delegation (custom agent fabrico-architect) to perform codebase analysis and technical context discovery to establish project conventions, coding standards, architecture patterns, and existing codebase patterns before implementing.
Confirm dev server URL — Use the direct user question now to ask the user for the dev server URL (e.g., "What URL is the frontend app running at? Is it http://localhost:3000?"). Do not defer this to later — you need the confirmed URL before any verification can start. Do not guess from running processes or port scans — multiple services may run on different ports. Use the confirmed URL for all subsequent verifications in this session.
Delegate UI implementation — For each UI implementation task, delegate to the fabrico-software-engineer subagent using $fabrico-implement-ui-common-task. Pass the relevant Figma URLs, component context, and plan section. For non-Figma frontend and backend tasks, use $fabrico-implement-common-task.
Delegate UI verification — After each UI implementation task completes, delegate verification to the fabrico-ui-reviewer subagent by spawning the fabrico-ui-reviewer custom agent with $fabrico-review-ui. Pass: the Figma URL, the user-confirmed dev server URL from step 3, and the component/section name. The ui-reviewer will compare the Figma design against the running implementation and return a structured report. Note: You do NOT need the figma MCP server or the playwright MCP server yourself — the fabrico-ui-reviewer subagent has them. Just use the subagent delegation to delegate. Never skip verification because these tools aren't in your own tool list.
fabrico-ui-reviewer subagentfabrico-code-reviewer subagent via $fabrico-review. Include E2E test execution as part of the review. The code reviewer runs all quality gates (unit, integration, E2E tests, linting, build).fabrico-ui-reviewer subagent — minimum once per component, no exceptionsBefore proceeding from a UI verification step to the next task or to code review, confirm that the fabrico-ui-reviewer subagent actually performed a real Figma+Playwright comparison. A valid verification report must contain:
If the report is missing either side of the comparison (e.g., the reviewer only read source code files, or skipped Playwright because of a blocker), the verification is INVALID. Do not accept it. Instead:
fabrico-ui-reviewer subagent once the blocker is resolvedNever proceed to code review with unverified UI components. If verification cannot be completed for a component, document it in the plan's Changelog and get explicit user approval before moving to code review.
fabrico-ui-reviewer subagent Returns ErrorsIf the fabrico-ui-reviewer subagent consistently returns LOW confidence or tool errors:
Handle verification results:
fabrico-software-engineer subagent — pass the complete verification report and explicitly instruct the engineer to fix ALL listed differences, not just the first one. After the fix, re-delegate verification to the fabrico-ui-reviewer subagent. Repeat up to 5 iterations per component.Handle confidence levels from verification reports:
Update the plan — After completing each task step, update the plan to reflect progress (check the box). Note the verification result (PASS, number of iterations, or escalation).
Run quality checks after each phase — Run static code analysis, build the project, run unit and integration tests to verify nothing is broken.
Before code review — UI Verification Summary — Before delegating code review, compile: