pierrejeambrun commented on code in PR #54060:
URL: https://github.com/apache/airflow/pull/54060#discussion_r2251696746


##########
dev/react-plugin-tools/react_plugin_template/ai_agents_rules/prompt-guidelines.md:
##########


Review Comment:
   No, we shouldn't have a rule on how to prompt the AI.
   
   The content of these files should be best practices / coding style / 
guidelines on how to develop a good react plugin following best practices. (You 
can take a look at airflow Core UI source to see what are the patterns we use 
most).
   
   For instance 'useEffect' should be avoided as much as possible. Displaying 
markdown should use our custom component instead of the one from 
`react-markdown` directly, how to write test file, when to write them.
   
   Commands on how to run `linting` and `tests` to help the agent automatically 
perform checks on suggestions, 
   
   Coding style about functional component (class component shouldn't be used 
at all) and so on.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to