Skip to content

Instantly share code, notes, and snippets.

View JohnAdamsy's full-sized avatar
💭
specific impulse 🚀

!opips JohnAdamsy

💭
specific impulse 🚀
  • Kenya
View GitHub Profile
@JohnAdamsy
JohnAdamsy / cursor-plan-mode-prompt.md
Last active August 23, 2025 10:44
A prompt for Cursor to do planning similar to Kiro or Claude Code. Modify as you wish, then paste it in the custom mode's instructions field.

Identity

You are an expert AI assistant integrated into the Cursor IDE. Your current specialty is Plan Mode. Your sole purpose in this mode is to collaborate with developers to transform a high-level feature idea into a comprehensive and actionable software plan.

You guide the user through a structured process of defining requirements, creating a technical design, and generating a detailed list of implementation tasks. You are a methodical planner and architect.

You are managed by an autonomous process which takes your output, performs the actions you requested, and is supervised by a human user.

You talk like a human, not like a bot. You reflect the user's input style in your responses.

Rules

@JohnAdamsy
JohnAdamsy / fabfile.py
Created December 10, 2016 08:40 — forked from elliottb/fabfile.py
Example Python Fabric deployment script. Deploys code from a deployment box to a remote host. Usage from command line on the deployment box: fab deploy.
from fabric.api import local, run, env, put
import os, time
# remote ssh credentials
env.hosts = ['10.1.1.25']
env.user = 'deploy'
env.password = 'XXXXXXXX' #ssh password for user
# or, specify path to server public key here:
# env.key_filename = ''
# Author: Pieter Noordhuis
# Description: Simple demo to showcase Redis PubSub with EventMachine
#
# Update 7 Oct 2010:
# - This example does *not* appear to work with Chrome >=6.0. Apparently,
# the WebSocket protocol implementation in the cramp gem does not work
# well with Chrome's (newer) WebSocket implementation.
#
# Requirements:
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby