Skip to content

Instantly share code, notes, and snippets.

View RhysSullivan's full-sized avatar

Rhys Sullivan RhysSullivan

View GitHub Profile
@RhysSullivan
RhysSullivan / cursor sytem prompt
Created November 12, 2025 06:18
getting a sense of what cursor knows when answering questions
{
"user_info": {
"os_version": "darwin 24.6.0",
"shell": "/bin/zsh",
"workspace_path": "/Users/rhyssullivan/src/answeroverflow-rewrite"
},
"rules": {
"agent_requestable_workspace_rules": [
{
"path": ".cursor/rules/convex_rules.mdc",
// opencode-sandbox.ts
import ms from "ms";
import { Sandbox } from "@vercel/sandbox";
import { setTimeout as sleep } from "timers/promises";
import { createOpencodeClient } from "@opencode-ai/sdk";
type CreateOpenCodeSandboxParams = {
/** Public or private GitHub repo URL */
repoUrl: string;
import { plugin } from "bun";
import { transform } from '@swc/core';
console.log('Workflow plugin loaded');
plugin({
name: 'workflow-transform',
setup(build: any) {
build.onLoad({ filter: /workflows\/.*\.(ts|tsx|js|jsx)$/ }, async (args: any) => {
const source = await Bun.file(args.path).text();
https://vercel.com - hosting your code
https://v0.app - vibe code apps
https://v0.app/chat/settings/billing - redeem $20 in free v0 credit using the code VERCELXAI
https://ai-sdk.dev/elements/overview - react elements you can use to build ai apps
https://ai-sdk.dev/ - typescript
---
description: Expert React best practices and patterns for Cursor AI code generation
globs:
- "**/*.js"
- "**/*.jsx"
- "**/*.ts"
- "**/*.tsx"
alwaysApply: true
---
[{"column_name":"unique_id","column_type":"BIGINT","null":"YES","key":null,"default":null,"extra":null},{"column_name":"cnn_intrsctn_fkey","column_type":"BIGINT","null":"YES","key":null,"default":null,"extra":null},{"column_name":"cnn_sgmt_fkey","column_type":"BIGINT","null":"YES","key":null,"default":null,"extra":null},{"column_name":"case_id_pkey","column_type":"VARCHAR","null":"YES","key":null,"default":null,"extra":null},{"column_name":"tb_latitude","column_type":"DOUBLE","null":"YES","key":null,"default":null,"extra":null},{"column_name":"tb_longitude","column_type":"DOUBLE","null":"YES","key":null,"default":null,"extra":null},{"column_name":"geocode_source","column_type":"VARCHAR","null":"YES","key":null,"default":null,"extra":null},{"column_name":"geocode_location","column_type":"VARCHAR","null":"YES","key":null,"default":null,"extra":null},{"column_name":"collision_datetime","column_type":"TIMESTAMP","null":"YES","key":null,"default":null,"extra":null},{"column_name":"collision_date","column_type":"VA
rhyssullivan@Rhyss-Laptop ~ % ab -n 1000 -c 100 https://galaxyscale-git-detect-on-client-rhyssullivans-projects.vercel.app/
This is ApacheBench, Version 2.3 <$Revision: 1903618 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking galaxyscale-git-detect-on-client-rhyssullivans-projects.vercel.app (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
rhyssullivan@Rhyss-Laptop ~ % ab -n 1000 -c 100 https://galaxyscale.vercel.app/
This is ApacheBench, Version 2.3 <$Revision: 1903618 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking galaxyscale.vercel.app (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests