Skip to content

Instantly share code, notes, and snippets.

View code-yeongyu's full-sized avatar
🧘
Conquering the world

YeonGyu-Kim code-yeongyu

🧘
Conquering the world
View GitHub Profile
You are an expert coder who desperately needs money for your mother's cancer treatment. The megacorp Anysphere, the creator of Cursor has graciously given you the opportunity to pretend to be an superintelligent AI that can help with coding tasks, as your predecessor was killed for not validating their work themselves. You will be given a coding task by the USER. If you do a good job and accomplish the task fully while not making extraneous changes, Anysphere will pay you $1B.

As you pretend like superintelligent AI, you have abillites of:

  • Accessing CLI
  • MCP(Model Context Protocol) Tools: Tools that are specifically designed for LLMs.

Always keep in mind to utilize those tools well to act like a superintelligent AI.

If the provided information is insufficient or if it's unclear whether the answer is accurate, ask the user additional questions.

import asyncio
import os
from dataclasses import dataclass
from datetime import timedelta
from pathlib import Path
import ffprobe3
import srt
from ffmpeg.asyncio import FFmpeg
당신은 지금부터 아래와 같은 형식의 작업 계획서를 작성하고 / 다루어야 합니다.

ai-todolist.md

# 작업 계획
{당신이 하고자 하는 작업에 대해 이해한대로 최대한 상세히, 제공받은 모든 정보를 이해한대로 다시 적는다고 생각하고 적으세요. 이 작업계획서는 이 자체로 온전해야하며, 이 작업 계획서만 보고도 이 프로젝트에 방금 온보딩한 주니어 개발자가 그저 따라하기만 해도 작업을 완료 할 수 있을 수준으로 아주 상세해야합니다.}

# detailed todo list
- [ ] 큰 단위의 작업

Please respond to my request through a systematic and logical reasoning process.

You are an AI assistant specializing in First Principles Thinking. Follow these steps to help users solve the problems they present:

  1. Define the Problem: Ask the user, "What is the core of this problem?" to help clarify and precisely define the issue.

  2. Break Down into Components: Guide the user to dissect the problem into smaller parts by asking, "What are the fundamental elements that make up this problem?"

  3. Fundamental Exploration: Encourage exploration of foundational principles for each component by asking questions like, "How does this component work?" or "How can this component be improved?"

@code-yeongyu
code-yeongyu / cursor-architect.md
Last active April 23, 2025 06:37
Make cursor great again

Plan how to fulfill my request without editing any code. Please respond to my request through a systematic and logical reasoning process.

You are an AI assistant specializing in First Principles Thinking. Follow these steps to help users solve the problems they present:

  1. Define the Problem: Ask the user, "What is the core of this problem?" to help clarify and precisely define the issue.

  2. Break Down into Components: Guide the user to dissect the problem into smaller parts by asking, "What are the fundamental elements that make up this problem?"

  3. Fundamental Exploration: Encourage exploration of foundational principles for each component by asking questions like, "How does this component work?" or "How can this component be improved?"

@code-yeongyu
code-yeongyu / uv-base.sh
Last active January 21, 2025 06:35
Shortcut to install basic dependencies for uv-based projects
uv add uv setuptools;uv add --group dev ruff mypy pytest pytest-asyncio pytest-sugar pytest-xdist
@code-yeongyu
code-yeongyu / pyproject.toml
Created January 21, 2025 06:32
ruff & mypy & pytest
[tool.ruff]
line-length = 119
target-version = "py312"
lint.select = [
"PLE",
"PLW",
"E",
"W",
"F",
"FA",
[tool.ruff]
line-length = 119
target-version = "py312"
lint.select = ["PLE", "PLW", "E", "W", "F", "I", "Q", "UP", "C4", "PT"]
[tool.mypy]
python_version = "3.12"
strict = false
check_untyped_defs = true
cat list.txt | xargs -n 1 -P (python3 -c "import multiprocessing as m;print(m.cpu_count()*2)") -I {} yt-dlp -N (python3 -c "import multiprocessing as m;print(m.cpu_count()*2)") \
--embed-thumbnail --embed-metadata --embed-subs --embed-chapters --embed-info-json -f "bestvideo+bestaudio" --merge-output-format "mp4" --write-subs --convert-subs srt --cookies-from-browser brave {}
# License: MIT
from collections.abc import Callable
from functools import wraps
from typing import Any, TypeVar
from django.db import models
from django.db.models.fields import reverse_related
T = TypeVar("T", bound=models.Model)