Starting new prototypes
This guide provides instructions for setting up new PatternFly prototypes using AI-assisted development tools.
Before you get started, review best practices for AI-assisted prototyping.
If you need to add AI tools to existing codebases instead, follow our guidelines for enhancing existing projects.
Project setup
For new prototypes, we recommend using the patternfly-react-seed (ai_enabled branch) application as your starting point. This application provides AI tools with immediate access to PatternFly context and guidelines, which offers better support for vibe coding.
The patternfly-react-seed ai_enabled branch comes pre-configured with:
- A basic PatternFly React application structure.
- The patternfly-ai-coding tool already integrated and ready to use.
- Essential dependencies and build configuration.
- Example components and patterns to reference.
Set up the patternfly-react-seed
- Clone or download the patternfly-react-seed repository using the ai_enabled branch.
- Install dependencies according to the project's README.
- Start the development server.
- Begin prototyping with your AI development tools.
How to prototype
Once you've installed and set up the patternfly-react-seed ai_enabled branch, with the patternfly-ai-coding tool, follow these steps to begin prototyping:
- Define your scope: Clearly articulate what you want to build using vibe coding principles. Describe the experience, not the technical implementation.
- Leverage AI assistance: Use AI tools to generate PatternFly components based on your requirements, communicating through natural language descriptions of user needs and design intent.
- Iterate and refine: Review generated code and make adjustments as needed, continuing to use vibe coding to guide refinements.
- Test and validate: Ensure your prototype meets design and functional requirements.