Skip to content

Conversation

@CamSoper
Copy link
Contributor

@CamSoper CamSoper commented Sep 19, 2025

This pull request optimizes for AI agent use (specifically Claude and GitHub Copilot) and sets up automated one-time reviews by Claude.

Repository agent and review instructions

  • Added AGENTS.md as the canonical source for agent instructions.
  • Moved existing instructions from CLAUDE.md to AGENTS.md.
  • Updated CLAUDE.md to instruct agents to follow the canonical AGENTS.md file.
  • Added .github/copilot-instructions.md, which instructs Copilot to defer to the AGENTS.md file and includes instructions for when a PR review is requested from Copilot.

Note

Copilot was not configured for automatic PRs due to Copilot's inability to consider SYTLE-GUIDE.md. It's also nowhere near as thorough as Claude. I included PR instructions for Copilot in the event it's tagged as a reviewer.

Automation and code review workflow

  • Added a GitHub workflow to prompt Claude to perform a one-time review for style, consistency, and voice (blog vs. doc).
  • Currently configured to kick off on Open, Reopen, and Ready for Review.
  • Example review #1, Example Review #2

Documentation style guide

  • Optimized STYLE-GUIDE.md. The guide is now more structured and easier to follow. No rules or guidance were substantively changed. The file was just refactored for readability and use by AI agents.

CamSoper and others added 27 commits September 19, 2025 00:39
* Add PR content reviewer agent and workflow for automated content analysis

* fix: update installation command for Claude Code from sh to bash

* refactor: streamline PR content review process by replacing setup script with action usage

* fix: add id-token permission for content review workflow
Updated pull request trigger types and enhanced review prompt.
* "Update Claude PR Assistant workflow"

* "Update Claude Code Review workflow"
Added guidelines for providing reviews on pull requests.
Clarified instructions for PR reviews to minimize comments.
…ENTS.md with clearer review guidelines and instructions.

This comment was marked as resolved.

@pulumi-bot
Copy link
Collaborator

@pulumi-bot
Copy link
Collaborator

This comment was marked as resolved.

@pulumi-bot
Copy link
Collaborator

@CamSoper CamSoper enabled auto-merge (squash) September 19, 2025 23:11
@pulumi-bot
Copy link
Collaborator

@CamSoper CamSoper merged commit cb8d209 into master Sep 22, 2025
8 checks passed
@CamSoper CamSoper deleted the CamSoper/automated-reviews branch September 22, 2025 17:20
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.

4 participants