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 November 7, 2025 13:40
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 December 18, 2025 12:10
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.
@aashari
aashari / 00 - Cursor AI Prompting Rules.md
Last active December 22, 2025 13:26
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 December 16, 2025 04:21
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.