Skip to content

Instantly share code, notes, and snippets.

View crushcafeteria's full-sized avatar

Nelson Ameyo crushcafeteria

  • Nairobi, Kenya
View GitHub Profile
@crushcafeteria
crushcafeteria / 00 - Cursor AI Prompting Rules.md
Created October 21, 2025 09:15 — 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

@crushcafeteria
crushcafeteria / default.conf
Created June 29, 2017 08:16
Sample Nginx Laravel Server Block
server {
listen 80 default_server;
root /var/www/laravel/public;
index index.php index.html index.htm;
server_name _;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
try_files $uri /index.php = 404;