Skip to content

Conversation

@eschultink
Copy link
Member

@eschultink eschultink commented Dec 20, 2025

Features

  • AGENTS.md for examples
  • init scripts gracefully handle lack of platform-specific CLIs

Change implications

  • dependencies added/changed? no
  • something important to note in future release notes? no


Note

Adds AI Agent guides for the AWS and GCP example repos and hardens initialization scripts for environments lacking cloud CLIs/providers.

  • New AGENTS.template.md in infra/examples-dev/aws and infra/examples-dev/gcp describing example repo purpose, setup, and troubleshooting
  • tools/init-tfvars.sh: suppresses terraform providers stderr, guards aws/gcloud/az calls, fills placeholders when values can’t be detected, refines prompts/messages, updates AWS docs URL, and conditionally skips/removes Google Workspace/Microsoft 365 config
  • tools/release/example-copy.sh: copies README.template.md to README.md and, if present, AGENTS.template.md to AGENTS.md

Written by Cursor Bugbot for commit 10b24b7. This will update automatically on new commits. Configure here.

…ovider information. Update links and improve user prompts for GCP and Microsoft 365 configurations, ensuring users are informed when values need to be manually filled in. This improves the robustness of the initialization script.
@eschultink eschultink requested a review from Copilot December 20, 2025 01:14
@eschultink eschultink self-assigned this Dec 20, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the example repository infrastructure by adding AI agent documentation and enhancing initialization scripts to gracefully handle missing platform-specific CLI tools.

Key changes:

  • Added AGENTS.template.md files for both GCP and AWS examples to guide AI agents in understanding and assisting with repository usage
  • Updated initialization scripts to suppress error output and provide fallback values when platform CLIs (gcloud, az) are unavailable
  • Changed documentation reference from GitHub URL to docs.worklytics.co

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 2 comments.

File Description
tools/release/example-copy.sh Added logic to copy AGENTS.template.md file if it exists to example repositories
tools/init-tfvars.sh Enhanced error handling to gracefully manage missing CLI tools (gcloud, az) and provide fallback values with user warnings
infra/examples-dev/gcp/AGENTS.template.md New AI agent guide documenting the GCP example repository structure, purpose, and common tasks
infra/examples-dev/aws/AGENTS.template.md New AI agent guide documenting the AWS example repository structure, purpose, and common tasks

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@eschultink eschultink marked this pull request as ready for review January 4, 2026 16:06
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on February 10

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

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.

2 participants