Skip to content

Instantly share code, notes, and snippets.

View adrozdenko's full-sized avatar

Andrii Drozdenko adrozdenko

  • Lviv, Ukraine
View GitHub Profile
@adrozdenko
adrozdenko / 00 - Cursor AI Prompting Rules.md
Created May 21, 2025 23:38 — 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

This guide explains how to use the structured prompting files (core.md, refresh.md, request.md) to optimize your interactions with Cursor AI, leading to more reliable, safe, and effective coding assistance.

Core Components

  1. core.md (Foundational Rules)
    • Purpose: Establishes the fundamental operating principles, safety protocols, tool usage guidelines, and validation requirements for Cursor AI. It ensures consistent and cautious behavior across all interactions.
    • Usage: This file's content should be persistently active during your Cursor sessions.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=1<PERFORMNUD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether d0:a6:37:ee:92:83
@adrozdenko
adrozdenko / SassMeister-input.scss
Created October 21, 2015 14:49
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
.input-pair {
$self: ".input-pair";
#{$self}—required#{$self}—editing {
color:red;
}
}