AI coding helpers for PatternFly development. This repository provides plugins, rules, and documentation to help AI tools (Claude Code, Cursor, Copilot, etc.) generate accurate, best-practice PatternFly applications.
# Add the marketplace
/plugin marketplace add patternfly/ai-helpers
# Install the PatternFly React plugin
/plugin install pf-react@ai-helpersAfter installation, use the commands in any project:
/coding-standards # PatternFly v6 React coding standards
/test-generator # Generate unit tests following Testing Library best practicesSee plugins/pf-react/ for full documentation.
Copy the .cursor/rules/ directory into your project to enable PatternFly best-practice enforcement.
Copy the docs/ directory into your project workspace. AI tools index local files for context, so having the documentation present locally ensures accurate PatternFly guidance.
ai-helpers/
├── plugins/ # Claude Code plugins
│ └── pf-react/ # PatternFly React coding standards & test generation
├── docs/ # AI-friendly PatternFly documentation
│ ├── guidelines/ # Coding standards, styling, accessibility
│ ├── components/ # Component-specific patterns
│ ├── charts/ # Chart guidelines
│ └── chatbot/ # Chatbot patterns
├── .cursor/rules/ # Cursor IDE rules
├── .claude-plugin/ # Plugin marketplace configuration
└── .claude/ # Claude Code settings
The docs/ directory contains comprehensive, AI-friendly PatternFly documentation. See docs/README.md for the full table of contents.
AI tools only index files present in your local workspace. To get the full benefit:
- Clone or copy this repository (or at least the
docs/directory) into your project - Open your project in your AI coding tool
- The tool will automatically reference the documentation for PatternFly guidance
See CONTRIBUTING.md for guidelines on adding plugins, commands, documentation, and Cursor rules.