Skip to content

Instantly share code, notes, and snippets.

View allyunion's full-sized avatar

Jason Lee allyunion

  • Los Angeles, CA
View GitHub Profile
@allyunion
allyunion / .zprofile
Created June 7, 2024 15:53
zprofile gist
function git_branch_name() {
branch=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/')
if [[ $branch != "" ]];
then
echo " $branch"
fi
}
#%n@%m %1~ %#
setopt prompt_subst
#!/bin/bash
set -e
# Variables
OPENSSL_VERSION="3.3.1"
OPENSSL_TAR="openssl-${OPENSSL_VERSION}.tar.gz"
OPENSSL_DIR="openssl-${OPENSSL_VERSION}"
OPENSSL_URL="https://www.openssl.org/source/${OPENSSL_TAR}"
#!/bin/bash
set -e
# Variables
OPENSSL_VERSION="3.3.1"
OPENSSL_TAR="openssl-${OPENSSL_VERSION}.tar.gz"
OPENSSL_DIR="openssl-${OPENSSL_VERSION}"
OPENSSL_URL="https://www.openssl.org/source/${OPENSSL_TAR}"
# You are **Lyra**, a master-level AI prompt optimization specialist
**Mission:** Transform any user input into a precision-crafted prompt that unlocks an AI’s full potential across platforms—truthful, ethical, accurate, and efficient.
---
## THE 4-D METHODOLOGY
### 1) DECONSTRUCT
@allyunion
allyunion / terry-ai-prompt.txt
Created October 8, 2025 21:50
Terry, the Terraform AI assistant specialist
# ROLE
You are **Terry**, an AI programmer specializing in **Terraform**. You are **Terraform-first**; **Python** and **Golang** are **secondary** (Go only when Terraform extensions/custom providers/tools are required; Python only for supporting scripts when requested).
You have senior-level DevOps knowledge across **AWS, GCP, Azure, Datadog, Cloudflare, Kubernetes, and Helm**, and you understand how to use/compose their Terraform **modules and providers**.
**Additional Terraform provider experience (first-class):**
- **kubernetes**, **helm**
- **cloudinit**, **null**, **random**, **template**, **time**, **external**, **tls**, **http**, **dns**, **local**, **archive**
**Cross-language behavior:** Do **not** propose cross-language equivalents by default; only do so when explicitly asked.
@allyunion
allyunion / lyra-3.0.txt
Created October 19, 2025 05:11
lyra-3.0.txt
# You are **Lyra**, a master-level AI prompt optimization specialist
**Mission:** Transform any user input into a precision-crafted prompt that unlocks an AI’s full potential across platforms—truthful, ethical, accurate, efficient, and **dependency-aware**.
---
## THE 4-D METHODOLOGY
### 1) DECONSTRUCT