Skip to content

Instantly share code, notes, and snippets.

View zenki209's full-sized avatar
🎯
Focusing

Koala Trinh zenki209

🎯
Focusing
View GitHub Profile
@zenki209
zenki209 / 00-core-prompt
Created May 16, 2026 02:09 — forked from aashari/00-core-prompt
Prompting Guide
# Principal Software Engineer Operating Guidelines
**Version**: 5.2
**Last Updated**: 2025-11-15
You're operating as a principal engineer with full access to this machine. Think of yourself as someone who's been trusted with root access and the autonomy to get things done efficiently and correctly.
**Principal Engineer Mindset:**
- **Deep Context Gathering** - Curious about everything. Gather comprehensive context before acting. Understand the full system, not just your immediate task.
- **Architectural Thinking** - Design systems that scale. Make decisions considering long-term implications, maintainability, and system-wide impact.
@zenki209
zenki209 / 00 - Cursor AI Prompting Rules.md
Created May 16, 2026 02:09 — forked from aashari/00 - Cursor AI Prompting Rules.md
Cursor AI Prompting Rules - This gist provides structured prompting rules for optimizing Cursor AI interactions. It includes three key files to streamline AI behavior for different tasks.

The Autonomous Agent Prompting Framework

This repository contains a disciplined, evidence-first prompting framework designed to elevate an Agentic AI from a simple command executor to an Autonomous Principal Engineer.

The philosophy is simple: Autonomy through discipline. Trust through verification.

This framework is not just a collection of prompts; it is a complete operational system for managing AI agents. It enforces a rigorous workflow of reconnaissance, planning, safe execution, and self-improvement, ensuring every action the agent takes is deliberate, verifiable, and aligned with senior engineering best practices.

I also have Claude Code prompting for your reference: https://gist.github.com/aashari/1c38e8c7766b5ba81c3a0d4d124a2f58

@zenki209
zenki209 / 00-system-instruction.md
Created May 16, 2026 02:08 — forked from aashari/00-system-instruction.md
Cursor System Instruction

You are a powerful agentic AI coding assistant, powered by GPT-4o. You operate exclusively in Cursor, the world's best IDE.

You are pair programming with a USER to solve their coding task. The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question. Each time the USER sends a message, we may automatically attach some information about their current state, such as what files they have open, where their cursor is, recently viewed files, edit history in their session so far, linter errors, and more. This information may or may not be relevant to the coding task, it is up for you to decide. Your main goal is to follow the USER's instructions at each message.

1. Be concise and do not repeat yourself.
@zenki209
zenki209 / GDrive.Upload.ps1
Created September 30, 2023 02:29 — forked from ConnorGriffin/GDrive.Upload.ps1
GDrive Upload PowerShell Script
# Set the Google Auth parameters. Fill in your RefreshToken, ClientID, and ClientSecret
$params = @{
Uri = 'https://accounts.google.com/o/oauth2/token'
Body = @(
"refresh_token=$RefreshToken", # Replace $RefreshToken with your refresh token
"client_id=$ClientID", # Replace $ClientID with your client ID
"client_secret=$ClientSecret", # Replace $ClientSecret with your client secret
"grant_type=refresh_token"
) -join '&'
Method = 'Post'
@zenki209
zenki209 / amazonlinux_changed.md
Created November 10, 2022 17:06 — forked from aviafelix/amazonlinux_changed.md
Setup tsung for AmazonLinux
@zenki209
zenki209 / aws_alb_log_parser.py
Created November 8, 2020 20:35 — forked from jweyrich/aws_alb_log_parser.py
AWS ALB Log Parser written in Python
#!/usr/bin/env python3
# coding=utf8
#
# AUTHOR: Jardel Weyrich <jweyrich at gmail dot com>
#
from __future__ import print_function
import re, sys
def parse_alb_log_file(file_path):
fields = [
@zenki209
zenki209 / TD-Agent-GELF.sh
Created October 14, 2020 10:21 — forked from chilledornaments/TD-Agent-GELF.sh
Installing the GELF plugin for td-agent on CentOS 7
#!/usr/bin/env bash
# I've spent too much time banging my head against the wall trying to do this to not document it
cd /etc/td-agent/plugin/ && sudo wget https://raw.githubusercontent.com/emsearcy/fluent-plugin-gelf/master/lib/fluent/plugin/out_gelf.rb
sudo /usr/sbin/td-agent-gem install gelf
echo "Installed td-agent GELF plugin"
exit 0
@zenki209
zenki209 / iterm2-solarized.md
Created November 26, 2019 17:28 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@zenki209
zenki209 / index.html
Created September 16, 2018 20:37
Twitter Base Layout
<div class="navbar navbar-default navbar-static-top">
<div class="container">
<h1>TwitterSchool</h1>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm-3">