- Write a failing test first
- Write the minimum code to make the test pass
- Refactor while keeping tests green
- Follow Red-Green-Refactor cycle strictly
- Maximum 50 lines of changes per commit
| #!/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 |
| $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 |
| #!/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 |
| <!-- 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"> |
| IP_ADDRESS=192.168.X.X | |
| URL=hamclock.yourdomain.local |
| esphome: | |
| name: counter-defender-1 | |
| friendly_name: Counter Defender 1 | |
| on_boot: | |
| priority: -10 | |
| then: | |
| - text_sensor.template.publish: | |
| id: system_status | |
| state: "Disarmed" |
| 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. |
Generate memes via the imgflip API and deliver them inline in chat.
| 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) |
End-to-end workflow for reviewing, pushing, and shipping a PR. This is the standard process used in this repo.