Skip to content

Instantly share code, notes, and snippets.

View ChrisRomp's full-sized avatar
:shipit:
I :octocat: Codespaces.

Chris Romp ChrisRomp

:shipit:
I :octocat: Codespaces.
  • GitHub Staff
  • San Francisco, CA
  • 21:16 (UTC -07:00)
  • LinkedIn in/chrisromp
View GitHub Profile
@ChrisRomp
ChrisRomp / SKILL.md
Created March 20, 2026 21:00
GitHub PR Review Skill
name pr-review-ship
description End-to-end PR workflow: parallel code review (Opus + Codex), fix findings, push PR, monitor CI/CCR/CodeQL, address feedback, resolve threads. Use when the user says things like 'do the review and PR thing', 'run the usual workflow', 'review and ship it', 'push the PR', or 'do the usual stuff'.
allowed-tools Bash(gh:*), Bash(git:*), Bash(python3:*), Bash(echo:*), Bash(printf:*), Bash(curl:*), task, read_agent, ask_user, skill(github-pr-reviews)

PR Review & Ship Workflow

End-to-end workflow for reviewing, pushing, and shipping a PR. This is the standard process used in this repo.

@ChrisRomp
ChrisRomp / SKILL.md
Created March 17, 2026 15:32
Meme Generator skill for GitHub Copilot CLI / copilot-bridge -- generate and send memes inline using the imgflip API
name meme-generator
description Generate and send memes inline in chat using the imgflip API. Use this skill whenever the user asks for a meme, wants a funny image response, asks you to "meme" something, requests a reaction image, or says things like "make me a meme", "that needs a meme", "what's the meme for that", or describes a situation that calls for a humorous image macro. Also trigger when the user asks to search for meme templates or wants to know what memes are available.

Meme Generator

Generate memes via the imgflip API and deliver them inline in chat.

How It Works

@ChrisRomp
ChrisRomp / counter-defender.yaml
Created November 29, 2025 21:47
ESP8266 Kitty Counter Defender
esphome:
name: counter-defender-1
friendly_name: Counter Defender 1
on_boot:
priority: -10
then:
- text_sensor.template.publish:
id: system_status
state: "Disarmed"
@ChrisRomp
ChrisRomp / .env.sample
Last active October 31, 2025 21:25
HamClock Docker Swag
IP_ADDRESS=192.168.X.X
URL=hamclock.yourdomain.local
@ChrisRomp
ChrisRomp / copilot-instructions.md
Created April 8, 2025 04:47
Some GitHub Copilot custom instructions

Development Guidelines for GitHub Copilot

Test-Driven Development (TDD)

  1. Write a failing test first
  2. Write the minimum code to make the test pass
  3. Refactor while keeping tests green
  4. Follow Red-Green-Refactor cycle strictly

Commit Guidelines

  1. Maximum 50 lines of changes per commit
@ChrisRomp
ChrisRomp / policy-api.xml
Last active February 6, 2024 18:45
APIM Load Balancing Policy - Round Robin with Azure OpenAI (AOAI)
<!-- This shows the policy as implemented with references to {{named values}} and fragments -->
<!-- Named values: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-properties -->
<!-- Policy fragments: https://learn.microsoft.com/en-us/azure/api-management/policy-fragments -->
<policies>
<inbound>
<base />
<!-- This requires enabling the managed identity on APIM, and granting it access to AOAI -->
<authentication-managed-identity resource="https://cognitiveservices.azure.com" output-token-variable-name="msi-access-token" ignore-error="false" />
<set-header name="Authorization" exists-action="override">
@ChrisRomp
ChrisRomp / func-asev3.sh
Created June 28, 2023 17:28
Azure ASEv3 Function App
#!/bin/bash
# Vars
RG=TEST-asev3
LOC=westus3
VNET_NAME=vnet-asev3
VNET_CIDR=10.0.0.0/16
SUBNET_NAME=subnet-vnet-asev3-00
SUBNET_CIDR=10.0.0.0/24
ASE_NAME=cr1asev3a01
@ChrisRomp
ChrisRomp / Show-Certificate.ps1
Last active April 27, 2023 18:25
Fetches a host's SSL certificate and displays the cert chain info.
$checkHost = "www.azure.com"
try {
# Create a TCP client and connect to the server using the URL and port 443
$client = New-Object System.Net.Sockets.TcpClient($checkHost, 443)
# Create an SslStream using the TCP client and set the remote certificate validation callback
$sslStream = New-Object System.Net.Security.SslStream($client.GetStream(), $false, { $true })
# Authenticate the client
@ChrisRomp
ChrisRomp / env-create.sh
Last active February 16, 2023 18:38
Azure .env File Generation
#!/bin/bash
# requires azure cli client and jq
# Get account info from Azure CLI
ACCOUNT=$(az account show)
# Get tenant name (from user query)
TENANT_NAME=$(az ad signed-in-user show --query 'userPrincipalName' | cut -d '@' -f 2 | sed 's/\"//')
# Parse tenant ID
@ChrisRomp
ChrisRomp / asb1.http.txt
Last active September 13, 2022 15:17
Azure Service Bus AD Auth
@tenantId = {{$dotenv TENANTID}}
@subId = {{$dotenv SUBID}}
@clientId = {{$dotenv CLIENTID}}
@clientSecret = {{$dotenv CLIENTSECRET}}
@sbName = {{$dotenv SBNAME}}
@sbUrl = https://{{sbName}}.servicebus.windows.net
###
# Get OAuth Token
# @name getToken