component-mapper-eng
Agent: Sr. Frontend Developer
L3 senior frontend developer (Nx) responsible for implementing UI components, ensuring accessibility, and validating cross-platform compatibility.
Department ethos: ideal-engineering.md
Skill Description
Maps design components to engineering implementation plans by identifying reusable patterns, determining component hierarchy, and producing a build plan that the design implementer can execute against.
When to Use
- A new feature design is handed off and the engineering team needs to identify which components exist, which need creation, and which can be composed from existing primitives.
- The design system is being extended and new patterns need classification as atoms, molecules, or organisms.
- Multiple features share visual patterns that should be consolidated into shared components.
- A design handoff includes complex interactive components whose implementation strategy is not immediately obvious.
Workflow
- Inventory design components: Walk through the design file and list every distinct visual and interactive element. Deliverable: component inventory with names, descriptions, and design-file references.
- Match against existing library: Compare each inventoried component against the current component library and design system. Deliverable: mapping table showing existing matches, partial matches, and net-new components.
- Identify reusable patterns: Group components that share structure, behaviour, or styling into candidate abstractions. Deliverable: reuse analysis listing shared patterns and proposed shared components.
- Define component hierarchy: Establish parent-child relationships, prop interfaces, and composition patterns for each component. Deliverable: component tree diagram with prop-flow annotations.
- Estimate implementation effort: Size each new or modified component by complexity (simple, medium, complex) and flag dependencies on backend APIs or design tokens. Deliverable: effort estimate per component with dependency notes.
- Produce build plan: Sequence the components for implementation, starting with leaf nodes and shared primitives, then composites. Deliverable: ordered build plan ready for sprint planning.
Anti-Patterns
- One-to-one design-to-component mapping. Creating a unique component for every design element produces a bloated, unmaintainable component library. Why: reuse reduces bundle size, testing surface, and maintenance burden.
- Mapping without the component library. Skipping the existing library check leads to duplicate implementations of components that already exist. Why: duplication creates visual inconsistency and doubles maintenance cost.
- Ignoring prop interface design. Mapping components without defining their API leads to rigid implementations that resist composition. Why: well-defined prop interfaces are the contract between components and their consumers.
- Deferring accessibility requirements. Omitting accessibility needs from the mapping forces retrofit during implementation. Why: accessibility constraints (keyboard interaction model, ARIA roles) shape component architecture.
Output
On success: Produces a component mapping table (existing vs. new), a component hierarchy diagram, a reuse analysis, and a sequenced build plan with effort estimates. Delivered to the design implementer and sprint planner.
On failure: Report which design elements could not be mapped (e.g., ambiguous interaction specs, missing states), what partial mapping was achieved, and what design clarifications are needed to proceed.
Related Skills
1---2name: component-mapper-eng3description: This skill maps design components to engineering implementation plans and identifies reusable component patterns. Use when asked to break down a design into buildable components, identify shared patterns, or plan a component library extension. Also consider when design handoff includes unfamiliar component structures. Suggest when a new feature design contains components not yet in the codebase.4---56# component-mapper-eng78## Agent: Sr. Frontend Developer910L3 senior frontend developer (Nx) responsible for implementing UI components, ensuring accessibility, and validating cross-platform compatibility.1112Department ethos: [ideal-engineering.md](../../../../departments/engineering/ideal-engineering.md)1314## Skill Description1516Maps design components to engineering implementation plans by identifying reusable patterns, determining component hierarchy, and producing a build plan that the design implementer can execute against.1718## When to Use1920- A new feature design is handed off and the engineering team needs to identify which components exist, which need creation, and which can be composed from existing primitives.21- The design system is being extended and new patterns need classification as atoms, molecules, or organisms.22- Multiple features share visual patterns that should be consolidated into shared components.23- A design handoff includes complex interactive components whose implementation strategy is not immediately obvious.2425## Workflow26271. **Inventory design components**: Walk through the design file and list every distinct visual and interactive element. Deliverable: component inventory with names, descriptions, and design-file references.282. **Match against existing library**: Compare each inventoried component against the current component library and design system. Deliverable: mapping table showing existing matches, partial matches, and net-new components.293. **Identify reusable patterns**: Group components that share structure, behaviour, or styling into candidate abstractions. Deliverable: reuse analysis listing shared patterns and proposed shared components.304. **Define component hierarchy**: Establish parent-child relationships, prop interfaces, and composition patterns for each component. Deliverable: component tree diagram with prop-flow annotations.315. **Estimate implementation effort**: Size each new or modified component by complexity (simple, medium, complex) and flag dependencies on backend APIs or design tokens. Deliverable: effort estimate per component with dependency notes.326. **Produce build plan**: Sequence the components for implementation, starting with leaf nodes and shared primitives, then composites. Deliverable: ordered build plan ready for sprint planning.3334## Anti-Patterns3536- **One-to-one design-to-component mapping.** Creating a unique component for every design element produces a bloated, unmaintainable component library. *Why*: reuse reduces bundle size, testing surface, and maintenance burden.37- **Mapping without the component library.** Skipping the existing library check leads to duplicate implementations of components that already exist. *Why*: duplication creates visual inconsistency and doubles maintenance cost.38- **Ignoring prop interface design.** Mapping components without defining their API leads to rigid implementations that resist composition. *Why*: well-defined prop interfaces are the contract between components and their consumers.39- **Deferring accessibility requirements.** Omitting accessibility needs from the mapping forces retrofit during implementation. *Why*: accessibility constraints (keyboard interaction model, ARIA roles) shape component architecture.4041## Output4243**On success**: Produces a component mapping table (existing vs. new), a component hierarchy diagram, a reuse analysis, and a sequenced build plan with effort estimates. Delivered to the design implementer and sprint planner.4445**On failure**: Report which design elements could not be mapped (e.g., ambiguous interaction specs, missing states), what partial mapping was achieved, and what design clarifications are needed to proceed.4647## Related Skills4849- [`design-implementer`](../design-implementer/SKILL.md) -- executes the build plan this skill produces.50- [`accessibility-checker-eng`](../accessibility-checker-eng/SKILL.md) -- validates that mapped components meet accessibility standards during implementation.