diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a0ab4d8d9..5ecbf6031 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,6 +6,7 @@ ### Checklist +- [ ] Review the [generative AI contribution guidelines](https://github.com/aws/serverless-application-model/blob/develop/CONTRIBUTING.md#ai-usage) - [ ] Adheres to the [development guidelines](https://github.com/aws/serverless-application-model/blob/develop/DEVELOPMENT_GUIDE.md#development-guidelines) - [ ] Add/update [transform tests](https://github.com/aws/serverless-application-model/blob/develop/DEVELOPMENT_GUIDE.md#unit-testing-with-multiple-python-versions) - [ ] Using correct values diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ad46dd0dd..3221dae79 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,6 +7,17 @@ transparent and open process for evolving AWS SAM. Please read through this document before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution. +## AI Usage + +While using generative AI is allowed when contributing to this project, please keep the following points in mind: + +* Review all code yourself before you submit it. +* Understand all the code you have submitted in order to answer any questions the maintainers could have when reviewing your PR. +* Avoid being overly verbose in code and testing - extra code can be hard to review. + * For example, avoid writing unit tests that duplicate existing ones, or test libraries that you're using. +* Keep PR descriptions, comments, and follow ups concise. +* Ensure AI-generated code meets the same quality standards as human-written code. + ## Integrating AWS SAM into your tool We encourage you to modify SAM to integrate it with other frameworks and deployment providers from the community for building serverless applications. If you're building a new tool that will use AWS SAM, let us know how we can help!