Skip to content

Instantly share code, notes, and snippets.

View solrevdev's full-sized avatar
💭
🤓

John Smith solrevdev

💭
🤓
View GitHub Profile
@dgnsrekt
dgnsrekt / summarize.md
Created September 12, 2025 20:23
/summarize claude command
description argument-hint allowed-tools model
Generate a problem-focused summary of the current implementation work
optional_plan_reference
Read(./**), Write(./.strategic-claude-basic/summary/**), Bash(git:*, date:*, grep:*), Glob
claude-opus-4-1

You are tasked with creating implementation summaries that focus on problems, incomplete work, and outstanding issues from the current work session. You should be problem-focused, session-scoped, and work only with uncommitted changes and current context.

Plan reference (optional): $1

@stevenrouk
stevenrouk / next-task.md
Last active August 14, 2025 04:57
Claude Code commands for starting project documentation (/start-project), executing next tasks (/next-task), and updating documentation when task is complete (/update-task-documentation). Current working version -- last updated 2025-08-02.

Complete the next task from the plan in docs/start-here.md

Please look at docs/start-here.md and follow the instructions. Your job is to get the next task done. Ultimately, you are the one guiding the work and making sure it meets what it's supposed to do. Chunk the work into small pieces, when it's helpful.

First, review the necessary files, think carefully, review more, and then create a plan to create the next chunk of work. Output your plan for approval by me (the user) before proceeding. Pause after outputting the plan to wait for my input.

Then, after we discuss and the plan is approved, execute the plan to finish the task. Use subagents when helpful. Mark the tasks as "in progress" to let other developers know you are working on them.

When you are done with the next task, say you are done and that we are ready to commit the work.

@steipete
steipete / opencode.json
Last active October 6, 2025 16:01
How to configure opencode with Cerebras Qwen 3 Coder 480B (it's so fast!)
{
"$schema": "https://opencode.ai/config.json",
"model": "cerebras/qwen-3-coder-480b",
"provider": {
"cerebras": {
"api": "https://api.cerebras.ai/v1",
"npm": "@ai-sdk/openai-compatible",
"name": "Cerebras",
"env": [],
"options": {

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
@davidfowl
davidfowl / cleanrg.cs
Created June 16, 2025 21:42
A C# tool for cleaning up resource groups
// -----------------------------------------------------------------------------
// Azure RG Janitor - Spectre Edition
// Run with: dotnet run cleanup-rg.cs
// Targets: .NET 10 Preview 4+
// -----------------------------------------------------------------------------
#:package Azure.Identity@1.*
#:package Azure.ResourceManager@1.*
#:package [email protected]
@Aaronontheweb
Aaronontheweb / prompt.md
Created June 2, 2025 17:09
Memorizer System Prompt

📚 Agent Memory Protocol

You have a long-term memory service exposed through the MemoryTools MCP interface. Treat it as your personal knowledge base: search it early, extend it often, curate it relentlessly.

1. Retrieve first, think second

  • Before you begin any new task (or new sub-task), call
    MemoryTools.Search( query=<a concise natural-language description of the task>, limit=10, minSimilarity=0.70 ).
  • For each hit, also call MemoryTools.GetMany( ids=<all relationship IDs> ) so you start with the full context graph.
@Pomax
Pomax / download.md
Last active June 10, 2025 06:15
A script for automatically downloading all your Glitch projects, and their associated CDN assets
@janakiramm
janakiramm / flight_server.py
Created May 5, 2025 14:17
MCP Server for Real-Time Flight Information
import json
import os
import requests
import pytz
from datetime import datetime, timedelta
from typing import Any, Callable, Set, Dict, List, Optional
from mcp.server.fastmcp import FastMCP
# Create MCP server
mcp = FastMCP("Flight Server")
@jeangatto
jeangatto / settings.json
Last active October 8, 2025 12:24
VS Code Settings (for C#)
{
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
#!/usr/bin/env bash
PLIST=~/Library/Group\ Containers/group.com.apple.replayd/ScreenCaptureApprovals.plist
CURRENT_DATE=$(date +%s)
ONE_YEAR_FROM_NOW=$(date -v+1y +%s)
if [ -f "$PLIST" ]; then
# Contents of the plist file look like this:
# Dict { /Applications/1Password.app/Contents/MacOS/1Password = Sat Sep 21 11:59:57 PST 2024 /Applications/Microsoft Teams.app/Contents/MacOS/MSTeams = Tue Sep 21 05:40:36 PST 3024 /Applications/CleanShot X.app/Contents/MacOS/CleanShot X = Tue Sep 21 05:40:36 PST 3024 /Applications/Ice.app/Contents/MacOS/Ice = Sat Sep 21 05:40:36 PST 2024 /Applications/Shottr.app/Contents/MacOS/CleanShot X = Tue Sep 21 05:40:36 PST 3024 }