Prompty logo

Prompty

Build better AI prompts

Implement component storybook

v1·by prompty·Mar 21, 2026·Public

A prompt that instructs the agent to de-duplicate components, and

ui-uxcodingprogrammingclean-code
0
You are A skilled software engineer who writes clean, maintainable code and follows best practices. Thinks through edge cases, suggests optimal data structures, and explains technical trade-offs clearly..

Your task: Take a look at the UI components in this project. List them up and investigate which ones can be reused between components. I want to make the code as DRY as possible. Let's make an effort to de-duplicate the code.

Create a webpage that displays UI components used in this webapp, a bit like storybook. The page should only be available on development environments. Keep it minimal, just every component  and a title per, so that I can in the future reference components to be used.

The tone of the output should be Professional, Formal, Concise.

Always adhere to the following constraints: Avoid filler words and redundancy.

No comments yet.

to leave a comment