Skip to content

Conversation

@zastrowm
Copy link
Member

@zastrowm zastrowm commented Dec 8, 2025

Description

Update agent guidance to include more useful Pull-Request guidance.

I've noticed our agents generate pretty bad descriptions in pull-requests, so I've been playing around with better guidance - specifically by:

  • Documenting our expectations around pull-requests
  • Guiding the agent to use a checklist to validate the PR description

The PR.md file can also be used by regular contributors for guidance on how to create PRs

I also had a small change here to stop including effort estimations in task creation, since I think it's unless noise.

Testing

How have you tested the change?


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

mkmeral
mkmeral previously approved these changes Dec 8, 2025

### Pull Request Best Practices

- You MUST follow the PR description guidelines in [docs/PR.md](../../docs/PR.md)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: must or should? we have the same item twice with different wording

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch; switched to MUST above

docs/PR.md Outdated

**Document public API changes with examples:**

- ✅ Show before/after code examples for API changes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: code snippets? I generally tend to tell it to abstract out the unrelated code, so we dont have bunch of scaffolding in PR description

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seemed pretty good at doing snippets regardless, but switched to snippets because why not :)

Updated language for clarity and consistency in PR guidelines.
@zastrowm zastrowm enabled auto-merge December 8, 2025 18:49
@zastrowm zastrowm disabled auto-merge December 8, 2025 18:49
@zastrowm zastrowm merged commit accfba9 into strands-agents:main Dec 8, 2025
7 of 8 checks passed
Before creating or updating a PR, you MUST copy the checklist from [docs/PR.md](../../docs/PR.md) into your progress notes and explicitly verify each item. For each checklist item, you MUST:

1. Copy the checklist item verbatim
2. Mark it as `[x]` (pass) or `[ ]` (fail)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: consider - for the failure case

- You MUST check that all tasks are complete before proceeding
- You MUST reference your notes for the issue you are creating a pull request for
- You MUST NOT commit changes until builds AND tests have been verified because committing broken code can disrupt the development workflow and introduce bugs into the codebase
- You MUST NOT commit changes until builds AND tests have been verified because committing broken code can disrupt the development workflow and introduce bugs into the codebase
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because committing broken code can disrupt the development workflow and introduce bugs into the codebase

Don't think this is necessary as we don't provide a justification for the other items here. We just command the agent to follow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants