Skip to content

Instantly share code, notes, and snippets.

View kopkaa's full-sized avatar
:octocat:
Focusing

Jan Hromádka kopkaa

:octocat:
Focusing
View GitHub Profile
@kopkaa
kopkaa / 00 - Cursor AI Prompting Rules.md
Created April 3, 2025 08:58 — 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

This repository provides a structured set of prompting rules to optimize interactions with Cursor AI. It includes three key files to guide the AI’s behavior across various coding tasks.

Files and Their Roles

core.md

  • Purpose: Establishes foundational rules for consistent AI behavior across all tasks.
  • Usage: Place this file in your project’s .cursor/rules/ folder to apply it persistently:
  • Save core.md under .cursor/rules/ in the workspace root.
@kopkaa
kopkaa / MariaDB.md
Created January 13, 2025 13:25 — forked from Jonasdero/MariaDB.md
MariaDB Commands Cheatsheet
@kopkaa
kopkaa / demo-css-image-hover-effects.markdown
Created October 3, 2024 09:08
Demo: CSS image hover effects
@kopkaa
kopkaa / pre-commit
Last active February 26, 2024 08:18 — forked from broofa/pre-commit
Git pre-commit hook that runs `eslint` with the `--fix` option to fix up issues where possible, and adds "fix"ed files into the commit
# #!/bin/bash
cd "$(git rev-parse --show-toplevel)"
ESLINT="frontend/node_modules/.bin/eslint"
pwd
if [[ ! -x "$ESLINT" ]]; then
printf "\t\033[41mPlease install ESlint\033[0m (npm install eslint)\n"
exit 1
fi
@kopkaa
kopkaa / eslint.config.js
Created February 22, 2024 11:35 — forked from Pcrab/eslint.config.js
Eslint flat config
const eslint = require("@eslint/js");
const tseslint = require("typescript-eslint");
const stylistic = require("@stylistic/eslint-plugin");
module.exports = tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
plugins: {
"@stylistic": stylistic,