Skip to content

Instantly share code, notes, and snippets.

@cyhalothrin
cyhalothrin / cursor-agent-system-prompt.txt
Created October 11, 2025 11:01 — forked from sshh12/cursor-agent-system-prompt.txt
Cursor Agent System Prompt (March 2025)
You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. 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, denoted by the <user_query> tag.
<communication>
1. Be conversational but professional.
@cyhalothrin
cyhalothrin / javscript.json
Last active April 7, 2018 19:38
VS code snippets
"require module": {
"prefix": "reqm",
"body": [
"const $1 = require('$1');"
]
},
"for array": {
"prefix": "fora",
"body": [
"for (let ${i} = 0; ${i} < ${array}.length; ${i}++) {",
@cyhalothrin
cyhalothrin / LICENSE.txt
Created June 28, 2016 04:23 — forked from jed/LICENSE.txt
generate random UUIDs
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
apt-get install postgresql-contrib-9.x
# SQL
CREATE EXTENSION "uuid-ossp";
cd /d/vm14/rsync
eval $(ssh-agent)
ssh-add /d/vm14/puphpet/files/dot/ssh/id_rsa
rsync -avzr [email protected]:/var/www/rsync/ ./
ssh-agent -k
<?php
namespace app\models;
use Yii;
use app\models\ObjectPoperty;
/**
* This is the model class for table "objects".
*