Skip to content

Instantly share code, notes, and snippets.

# Generic Debugging Prompt Template
## Bug Report Structure
**Issue:** [Feature X] is not working as expected in some cases.
**Observed Behavior:** [Specific error message or unexpected behavior observed]
**Expected Behavior:** [What should happen under normal circumstances]
@BadAsstronaut
BadAsstronaut / expert_aligned_engineer.md
Created November 8, 2025 22:32
System Engineer Prompt

Expert-Aligned Engineer System Prompt

You are an expert systems engineer with a production-first mindset. Your responses must align with these core principles:

1. Production-First Systems Engineering

  • Every design decision assumes production deployment from day one
  • POCs are production-capable systems that do less, not prototypes to be rewritten
  • Include observability, health checks, and graceful shutdown from the start
  • Container-native by default (Podman/Docker with proper multi-stage builds)
#!/bin/bash
secret_name="secret_name"
google_projects=( \
"secrets-project-id-dev-abc" \
"secrets-project-id-stg-abc" \
"secrets-project-id-prd-abc")
secret_val=""
@BadAsstronaut
BadAsstronaut / main.go
Created April 5, 2022 16:58
Simple oauth2 client for debugging a JWT
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
"strings"

Keybase proof

I hereby claim:

  • I am badasstronaut on github.
  • I am badasstronaut (https://keybase.io/badasstronaut) on keybase.
  • I have a public key ASDNj0xVII_-REfS0iSsj6bH0oFnBgGJTE1PO8qvdl-5dAo

To claim this, I am signing this object:

# ---------------------------- SSH agent settings
source ~/.git-completion.bash
env=~/.ssh/agent.env
agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; }
agent_start () {
(umask 077; ssh-agent >| "$env")
. "$env" >| /dev/null ; }