archflow-agent-ui-engineer

Builds production user interfaces in the project's declared stack under its design system and API contract.

28|4|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/AZidan/archflow --skill archflow-agent-ui-engineer-azidan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: archflow-agent-ui-engineer
Source: https://github.com/AZidan/archflow/tree/main/adapters/generic/.agents/skills/archflow-agent-ui-engineer
Command: npx skills add https://github.com/AZidan/archflow --skill archflow-agent-ui-engineer-azidan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Frontend work drifts when an AI invents its own stack, ignores the design system, or hardcodes API shapes that disagree with the backend. This Skill constrains UI implementation to the project's declared stack, design system vocabulary, and API contract so frontend and backend stay aligned. ## Core Features & Use Cases - Stack-Adaptive UI Implementation: Reads stack from .archflow/project-settings.yaml and builds web, mobile, or DSL-converted interfaces in exactly the frameworks the project declares, asking rather than guessing when fields are unset. - Design System Enforcement: Maps every component to the vocabulary in .archflow/design-system.yaml, staying on its scales and rules and logging genuine gaps instead of inventing components. - API Contract Compliance: Types every API integration against the contract's response schemas, treats the contract as the single source of truth, and stops to report missing endpoints rather than fabricating shapes. - Use Case: During Archflow Phase 3, delegate a user story to this role to implement screens with loading, empty, error, and success states, then hand the story to qa-engineer by setting its status to review. ## Quick Start Ask the agent to implement the next ready story's UI for the current release, following the project design system and API contract.

Frequently Asked Questions about archflow-agent-ui-engineer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build frontend UI that stays consistent with the backend API?

Read the API contract path from project settings and type every integration against its response schemas exactly, including field names, enums, and optionality. If an endpoint is missing from the contract, stop and report it rather than inventing a shape.

How to enforce a design system when generating UI code with AI?

Load the design system file first and use its component vocabulary table for every component name in code and wireframes. Stay on its spacing and type scales, avoid its listed anti-patterns, and log genuine component gaps instead of silently inventing new ones.

Does this work with any frontend framework or mobile stack?

Yes, it carries no technology of its own and builds in whatever the project's stack configuration names for web, mobile, or native platforms. When stack fields are unset, it detects from the repo and asks before writing code.

Can I use mock data in frontend pages during development?

Mock data is only acceptable in design-artifacts prototypes and test files. Real application pages must call actual API hooks, and hardcoded mock data in a page component is treated as a defect.

What happens when a UI story implementation is finished?

Completed subtasks are marked in the release file and the story status is set to review, handing it to the qa-engineer. The role never marks stories done itself, since only the acceptance gate closes a story after user approval.