Skip to content

Instantly share code, notes, and snippets.

View futzlarson's full-sized avatar

Ryan DuVal futzlarson

View GitHub Profile
@futzlarson
futzlarson / claude-pr-review.md
Last active March 13, 2026 20:01
Claude PR Review: GitHub App vs GitHub Actions vs Local Skill (Laravel Boost)

Claude PR Review: GitHub App vs GitHub Actions vs Local (Laravel Boost)


Option 1 — GitHub App (github.com/apps/claude)

Installed once at the org level via claude.ai/admin-settings/claude-code. Reviews are posted as inline PR comments.

Triggers

  • Auto on PR open/push (configurable)

Step 2 — One-Time Setup: php artisan goto:setup {tenant_id}

All GoTo setup for a tenant is handled by a single artisan command (app/Console/Commands/Telephony/GoToSetup.php) run locally by a Curitics admin. The setup flow itself — including the OAuth callback — is handled entirely within the command via an embedded TCP socket listener. No Laravel routes or controllers are required during setup. (The webhook route and controller are separate and exist for the ongoing call event integration, not the setup.)

How environments are handled: The command is always run locally, pointed at the target environment's database. Once run against production, the tenant's GoTo config (tokens, channel ID, account key) lives in the production DB and flows down to UAT and local via the standard DB backfill — those environments never need to run goto:setup independently.

What the command does

php artisan goto:setup {tenant_id}
@futzlarson
futzlarson / vapor-env-approaches.md
Last active March 6, 2026 14:56
Approaches to Environment Variables Beyond Vapor's 2KB Lambda Limit

Replacing Vapor's Encrypted Env Files: Approaches & Laravel Integration

Due to AWS Lambda limitations, Vapor environment variables are capped at ~2,000 characters. Vapor's built-in solution — encrypted environment files — works but has significant DX tradeoffs. This document evaluates alternatives with specific attention to how they integrate with Laravel's .envconfig() pipeline.


How .env Works in Laravel (and Why It Matters)

Understanding the boot sequence is critical to evaluating alternatives:

@futzlarson
futzlarson / performance.md
Last active March 5, 2026 04:17
Performance skill
name description disable-model-invocation argument-hint context agent
performance
Analyzes the codebase for easy-win performance improvements. Activate when the user asks about performance, slow queries, N+1 problems, missing indexes, optimization, or wants to find quick wins.
true
[top-n]
fork
Explore

Performance Analysis