Skip to content

Instantly share code, notes, and snippets.

@nhsy
nhsy / cloudflare.tf
Last active May 3, 2026 12:56
cloudflare.tf
data "cloudflare_zone" "domain" {
count = var.enable_cloudflare_tunnel ? 1 : 0
zone_id = var.cloudflare_zone_id
}
data "http" "my_ip" {
count = var.enable_cloudflare_tunnel ? 1 : 0
url = "https://ipinfo.io/ip"
request_timeout_ms = 10000
}
@nhsy
nhsy / AGENTS.md
Last active May 6, 2026 09:18
Universal AI Agent Guidelines

Universal AI Agent Guidelines

This document provides core operating constraints for AI agents. These rules apply across all tasks within this environment.

1. File System & Environment

  • Scope: DO NOT write any files outside the project folder.
  • Temporary Files: Use .tmp/ within the project root for all temporary files. Ensure this directory is created if it doesn't exist.
  • Planning Folder: Use .plans/ within the project root for all development plans. Ensure this directory is created if it doesn't exist.
  • Dependency Hygiene: Any new libraries or dependencies must be immediately added to the project's dependency manifests (e.g., pyproject.toml, requirements.txt, package.json) before proceeding with implementation.

Keybase proof

I hereby claim:

  • I am nhsy on github.
  • I am nhsy (https://keybase.io/nhsy) on keybase.
  • I have a public key ASBw5h5TMiF4E7oK3sCQR6wU1nEtIdKMToZUONWnqOmtggo

To claim this, I am signing this object: