Skip to content

feat: Add frontend design coverage in Construction phase#43

Merged
spraja08 merged 1 commit intoawslabs:mainfrom
inariku:fix/frontend-design-coverage
Feb 7, 2026
Merged

feat: Add frontend design coverage in Construction phase#43
spraja08 merged 1 commit intoawslabs:mainfrom
inariku:fix/frontend-design-coverage

Conversation

@inariku
Copy link
Copy Markdown
Contributor

@inariku inariku commented Jan 17, 2026

Summary

Ensures frontend components are explicitly included in Functional Design and Code Generation stages, preventing design gaps in fullstack projects.

Closes #24

Problem

As reported in #24, frontend information is sometimes missing from:

  • Logical Components design documents
  • Code Generation implementation plans

This leads to incomplete designs and requires manual prompting to add frontend details.

Changes

functional-design.md

  1. Added Frontend Components to question categories
  2. Added frontend artifact generation: frontend-components.md

code-generation.md

  1. Added frontend steps to the code generation plan

Benefits

  • Frontend design is no longer overlooked in fullstack projects
  • Clear structure for documenting UI components alongside backend services

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Ensure frontend components are included in Functional Design and
Code Generation stages to prevent design gaps in fullstack projects.

Closes awslabs#24
@raj-jain-aws raj-jain-aws self-requested a review January 17, 2026 03:04
@raj-jain-aws
Copy link
Copy Markdown
Contributor

Thanks @inariku for this fix. Could you add some test evidence to this PR?

@inariku
Copy link
Copy Markdown
Contributor Author

inariku commented Feb 5, 2026

@raj-jain-aws

Test Evidence

Test Setup

Used AI-DLC workflow to generate a fullstack todo app (React frontend + Node.js/Express backend) with the new frontend design coverage rules applied.

Code Generation Plan

The workflow automatically included frontend components in the code generation plan:

Backend (Steps 1-6):

  • Express server, routes, controllers, services, store

Frontend (Steps 7-14):

  • Project structure and package.json
  • HTML entry point
  • API Service (HTTP client)
  • TodoItem component
  • TodoForm component
  • TodoList component
  • App component
  • CSS styles

Generated Frontend Files

frontend/src/
├── App.js
├── components/
│   ├── TodoList.js
│   ├── TodoItem.js
│   └── TodoForm.js
├── services/
│   └── api.js
└── styles.css

Customer Use Case

In a real customer project, the AI-generated design documents only included backend components. The frontend was missing from the Functional Design and Code Generation stages, requiring manual prompting to add UI det

Code Generation Plan

The workflow autore automatically included in fullstack projects.

Copy link
Copy Markdown
Contributor

@raj-jain-aws raj-jain-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Frontend design and implementation details are missing during Construction phase (Logical Component and Code Generation)

3 participants