Skip to content

Conversation

@policyengine
Copy link
Contributor

@policyengine policyengine bot commented Dec 9, 2025

Summary

Adds a new skill documenting PolicyEngine's infrastructure deployment patterns, capturing learnings from the policyengine-api-v2-alpha GCP migration task.

What's New

New skill: policyengine-infrastructure-skill

Documents:

  • GCP Cloud Run deployment architecture
  • Terraform configuration patterns for PolicyEngine services
  • GitHub Actions CI/CD with OIDC authentication
  • AWS to GCP migration patterns
  • Common troubleshooting scenarios
  • Best practices for infrastructure as code

Why This Helps

Future Claude Code sessions working on PolicyEngine infrastructure will benefit from:

  • Standardized Terraform patterns (project naming, bucket conventions, resource configuration)
  • Clear OIDC setup documentation for GitHub Actions
  • Troubleshooting guides for common deployment issues
  • Migration patterns when moving services to GCP
  • Security and cost management best practices

Context

This skill was created after helping migrate policyengine-api-v2-alpha from AWS to GCP Cloud Run. The migration revealed several patterns and conventions that would be valuable for future infrastructure work across PolicyEngine repositories.

🤖 Generated with Claude Code

Add skill documenting the policyengine-api-v2 repository - a monorepo
with microservices architecture currently in active development.

The skill covers:
- Microservices architecture (api-full, api-simulation, api-tagger)
- Modern Python tooling (Python 3.13+, uv package manager)
- Docker Compose development setup
- Supabase integration
- Design token integration patterns
- Migration patterns from v1

This helps future Claude Code sessions working on API v2 understand
the architecture and development patterns.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@policyengine policyengine bot force-pushed the bot/learnings-policyengine-api-v2-alpha branch from a329e1e to 02dccc2 Compare December 18, 2025 13:13
policyengine bot pushed a commit that referenced this pull request Dec 18, 2025
Adds new skill documenting critical guidance for the PolicyEngine GitHub agent:
- NEVER mention @PolicyEngine or @policyengine-auto in bot responses
- Explains how these mentions create infinite loop scenarios
- References PR #22 as a real-world example

This prevents the bot from triggering itself repeatedly when responding to issues/PRs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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