Search papers, labs, and topics across Lattice.
This paper introduces a production-grade AI coding system tailored for client-side development that addresses the challenges of heterogeneous inputs and complex interaction logic. The system employs a structured, multi-stage pipeline that integrates Figma designs, natural language PRDs, and domain-specific engineering knowledge into explicit intermediate artifacts for controlled planning and incremental code generation. Evaluation on proprietary datasets demonstrates improved PRD understanding accuracy and high UI fidelity, suggesting the efficacy of artifact-centric pipelines for production-grade AI coding.
A structured, artifact-centric pipeline can reliably translate product requirements into production-ready client-side code, even with heterogeneous inputs and complex interaction logic.
Deploying large language model-based code generation in real-world client-side development remains challenging due to heterogeneous inputs, strict engineering constraints, and complex interaction logic expressed in product requirement documents (PRDs). Existing design-to-code approaches often focus on visual translation or single-shot generation, and struggle to reliably align generated code with production requirements. This paper presents a production-grade AI coding system designed for client-side development under realistic industrial constraints. The system adopts a structured, multi-stage pipeline that integrates Figma designs, natural-language PRDs, and domain-specific engineering knowledge into explicit intermediate artifacts, enabling controlled planning and incremental code generation. By grounding PRD understanding in concrete UI components, the system improves alignment between product requirements and implementation. We evaluate the system on proprietary but realistic datasets derived from production client-side projects. Results show that domain-specific adaptation significantly improves PRD understanding accuracy, while end-to-end evaluations demonstrate high UI fidelity and robust implementation of interaction logic in real-world cases. These findings suggest that structured, artifact-centric pipelines provide a practical foundation for production-grade AI coding systems.