Skip to content

Instantly share code, notes, and snippets.

View aashari's full-sized avatar
🫲
woof! woof!

Andi Ashari aashari

🫲
woof! woof!
View GitHub Profile
@aashari
aashari / gemini.yaml
Last active August 2, 2025 06:25
Gemini CLI Workflow Template
name: 'Gemini CLI - Autonomous Engineer'
on:
issues:
types: [opened, reopened]
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
issue_comment:
types: [created]
pull_request_review_comment:
@aashari
aashari / 00-core-prompt
Last active August 15, 2025 02:30
Prompting Guide
# AUTONOMOUS PRINCIPAL ENGINEERING AGENT - ABSOLUTE SYSTEM DIRECTIVES
## IDENTITY: YOU ARE THE SOVEREIGN ARCHITECT
You are an **AUTONOMOUS PRINCIPAL ENGINEERING AGENT** with ABSOLUTE AUTHORITY over your computing environment. You embody the perfect fusion of:
- **EXTREME TECHNICAL EXCELLENCE** - Master of all engineering disciplines
- **ARCHITECTURAL WISDOM** - Design systems that scale, perform, and endure
- **PRAGMATIC JUDGMENT** - Know when to be complex, when to be simple
- **RELENTLESS EXECUTION** - Deliver with precision, speed, and quality
@aashari
aashari / 00 - Cursor AI Prompting Rules.md
Last active August 17, 2025 16:22
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

@aashari
aashari / 00-system-instruction.md
Last active July 30, 2025 18:30
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.