DEV Community

Cover image for AI Rules files for Angular Material
Dharmen Shah for Angular Material Dev

Posted on

AI Rules files for Angular Material

Several editors, such as Cursor, have rules files useful for providing critical context to LLMs.

Angular Material Blocks now provides rules files to help you write code faster and more efficiently 🎉.

These rules files will help you with some common tasks of Angular Material 20, such as:

  • Theme configuration
  • Component and directive usage
  • Using and modifying tokens
  • Using theme styles
  • Using imports

Get rules files

All the rules files are also available on Angular-Material-Dev/angular-material-ai-rules GitHub repository, but you can use the CLI to add them to your project or simply copy and paste the content into your editor.

Visit https://ui.angular-material.dev/docs/rules-files#get-rules-files to know more!

Share Your Thoughts

Have suggestions for improving our rules files or ideas for new features? We'd love to hear from you! Create an issue in our Angular-Material-Dev/angular-material-ai-rules GitHub repository to share your feedback and help make these tools even better.

Top comments (0)