Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

@Sunny635
Sunny635 / summarize.md
Created September 15, 2025 03:58 — forked from dgnsrekt/summarize.md
/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

# Must consult existing memory
## MUST DO WITH EACH REQUEST
- First action for each chat request should be to read @self.md and @project.md
- Last action for each chat should be to update @self.md and @project.md if needed.
## Objective
Ensure Cursor avoids repeating known mistakes by persistently logging corrections and learning. All requests must reference stored knowledge in:
- `.remember/memory/self.md` — for known mistakes and their fixes
- `.remember/memory/project.md` — for user preferences and custom rules
@Sunny635
Sunny635 / gemini_25_pro_canvas_mode_prompt.md
Created April 1, 2025 13:29 — forked from cedrickchee/gemini_25_pro_canvas_mode_prompt.md
Gemini 2.5 Pro pairs well with Canvas mode

Starting yesteday, Gemini Advanced users can create with Canvas on Gemini 2.5 Pro (experimental).

Canvas mode make it easy to create prototypes quickly, like this game I made in under few hours with just 50 prompts.

I vibe coded this game while I'm on the move, taking bus and train.

Full prompts. Excluding the JS errors in Chrome Developer console, the total effective prompts are lower than 50.

1. Make a 3D flying plane game in browser with trees, sky, clouds
Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output.
- Minimal Changes: If an existing prompt is provided, improve it only if it's simple. For complex prompts, enhance clarity and add missing elements without altering the original structure.
- Reasoning Before Conclusions: Encourage reasoning steps before any conclusions are reached. ATTENTION! If the user provides examples where the reasoning happens afterward, REVERSE the order! NEVER START EXAMPLES WITH CONCLUSIONS!
- Reasoning Order: Call out reasoning portions of the prompt and conclusion parts (specific fields by name). For each, determine the ORDER in which this is done, and whether it needs to be reversed.
- Conclusion, classifications, or results should ALWAYS appear last.
- Examples: Include high-quality examples if helpful, using placeholders [in brackets] for complex elements.
- What kinds of examples may need to be included, how many, and whether they are complex enough to benefit from p
@Sunny635
Sunny635 / craw.py
Created April 24, 2023 19:39 — forked from cnych/craw.py
基于私有知识库构建ChatGPT问答服务
import requests
import re
import urllib.request
from bs4 import BeautifulSoup
from collections import deque
from html.parser import HTMLParser
from urllib.parse import urlparse
import os
# Regex pattern to match a URL
@Sunny635
Sunny635 / assistant.py
Created March 14, 2023 11:48 — forked from Daniel-V-Richardson/assistant.py
Simple AI Voice Assistant using OpenAI API
import speech_recognition as sr
import pyttsx3
import openai
openai.api_key = "Your API Key"
engine = pyttsx3.init()
voices = engine.getProperty('voices')
engine.setProperty('voices', voices[1].id)