Skip to content

Instantly share code, notes, and snippets.

View Naxon's full-sized avatar

Daniel Naxon Naxon

View GitHub Profile
@Naxon
Naxon / ArraysController.php
Created August 24, 2017 10:44
Collections vs Arrays
<?php
namespace App\Http\Controllers;
class ArraysController extends Controller
{
public function avg()
{
// Simple Array
$numbersArr = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20];
@Naxon
Naxon / 00 - Cursor AI Prompting Rules.md
Created June 28, 2025 09:32 — 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.

Cursor AI Prompting Framework — Usage Guide

A disciplined, evidence-first workflow for autonomous code agents


1 · Install the Operational Doctrine

The Cursor Operational Doctrine (file core.md) encodes the agent’s always-on principles—reconnaissance before action, empirical validation over conjecture, strict command-execution hygiene, and zero-assumption stewardship.