shahar1 commented on PR #68656:
URL: https://github.com/apache/airflow/pull/68656#issuecomment-4726407123
Idea:
Maybe we could have a mechanism to turn each pre-commit into a skill that
instructs the agent how to pass it, so we could avoid polluting the agents'
instructions with detailed coding standards that basically "echo" the purpose
of the pre-commits.
Flow example:
1. In each pre-commit's script (or description in `.pre-commit-config`)
we'll have the detailed instruction (as a comment).
2. We'll have a script that generates a skill for each pre-commit.
3. Each coding standard in `code-review.instructions.md` will include a
table where each row indicates the pre-commit and what should trigger it (e..g,
if the agent thinks of raising an exception - it should load the skill that is
associated with it.
--
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]