Skip to main content

Copy-Paste Prompt Collection

Prompts that run as-is when pasted into Claude Code. When you're not sure what to type, start here. Click a card to copy the entire prompt instantly.

셋업 & 환경#01

CLAUDE.md 자동 생성

프로젝트를 분석해 기술 스택·코드 스타일·금지 사항까지 담은 CLAUDE.md를 만든다.

배경 →
클릭 복사
셋업 & 환경#02

Hook 자동 설정

파일 저장 시 자동 포맷팅, 위험 명령 차단을 settings.json에 세팅한다.

배경 →
클릭 복사
셋업 & 환경#03

MCP 서버 추천 + 설치

프로젝트 특성에 유용한 MCP 서버를 찾아 용도와 설치 명령을 알려준다.

배경 →
클릭 복사
셋업 & 환경#04

설정이 실제 로드됐는지 진단

CLAUDE.md·Hook·MCP가 의도대로 안 먹을 때, 무엇이 실제로 로드됐는지 확인한다.

배경 →
클릭 복사
코드 작업#05

코드 리뷰 + 커밋

변경사항을 리뷰하고 Conventional Commits 메시지까지 만들어 확인받는다.

배경 →
클릭 복사
코드 작업#06

멀티파일 리팩토링

여러 파일에 걸친 변경을 계획→승인→단계 실행으로 안전하게 진행한다.

배경 →
클릭 복사
코드 작업#07

테스트 자동 생성

테스트 없는 함수를 찾아 우선순위대로 정상·엣지·에러 케이스를 작성한다.

배경 →
클릭 복사
코드 작업#08

버그 근본 원인 진단

고치기 전에 근본 원인부터 찾게 한다. 증상만 덮는 수정을 막는다.

배경 →
클릭 복사
코드 작업#09

처음 보는 코드베이스 파악

큰 저장소를 처음 열었을 때 전체 구조와 흐름을 먼저 잡는다.

배경 →
클릭 복사
자동화 & 생산성#10

세션 마무리 메모리 정리

세션 끝에 한 일·이어서 할 일을 정리해 MEMORY.md에 저장한다.

배경 →
클릭 복사
자동화 & 생산성#11

반복 작업을 Skill로

자주 하는 작업을 슬래시 커맨드(Skill)로 만들어 한 번에 실행한다.

배경 →
클릭 복사
자동화 & 생산성#12

내 프롬프트 개선

평소 쓰던 프롬프트의 빈 곳·빠진 제약을 짚고 더 나은 버전을 준다.

배경 →
클릭 복사
셋업 & 환경#13

작업에 맞는 모델 고르기

지금 하려는 작업에 Opus·Sonnet·Haiku 중 뭐가 맞는지 근거와 함께 정한다.

배경 →
클릭 복사
자동화 & 생산성#14

/compact 칠까 새 세션 열까

대화가 길어졌을 때 압축이 맞는지 새 세션이 맞는지 기준으로 판단한다.

배경 →
클릭 복사
코드 작업#15

PR 통째로 리뷰

현재 브랜치의 변경 전체를 보안·엣지케이스·구조 관점으로 리뷰한다.

배경 →
클릭 복사
코드 작업#16

고치기 전에 설계부터 검토

Plan 모드로 코드는 안 건드리고 접근 방식·엣지케이스·트레이드오프를 먼저 잡는다.

배경 →
클릭 복사
코드 작업#17

병렬로 나눠서 분석

독립적인 여러 갈래를 서브에이전트로 동시에 조사해 결과를 종합한다.

배경 →
클릭 복사
자동화 & 생산성#18

Git Worktree 병렬 작업

지금 브랜치를 두고, 급한 다른 작업을 별도 worktree에서 병행한다.

배경 →
클릭 복사
자동화 & 생산성#19

CI에 헤드리스로 붙이기

PR마다 Claude Code가 자동 리뷰/작업하도록 파이프라인에 연결한다.

배경 →
클릭 복사
코드 작업#20

워크스페이스 보안 점검

API 키 노출·gitignore 누락·권한 설정 등 흔한 보안 구멍을 훑는다.

배경 →
클릭 복사
How to use

Only replace the [bracketed] parts to match your project. Even if you leave the brackets out entirely, Claude will analyze things on its own. Click the Background → link on each card to jump to the chapter that explains the underlying principle.


In Depth — Background and Variations

Below are the full prompts with background explanations. Once you understand the principles, you can adapt them to your own situations.


Setup & Environment

Auto-Generate CLAUDE.md

Background: Writing CLAUDE.md

Analyzes your project structure and creates a CLAUDE.md. It automatically figures out the tech stack, code style, and even the do-not rules.

Analyze this project and create a CLAUDE.md.

Include:
- A one-line description
- Tech stack (language, framework, package manager)
- Key directory structure
- Build/test commands
- Code style (infer patterns from existing code)
- Prohibited actions (e.g., don't modify config files, don't delete existing tests)

Reference config files like package.json, tsconfig, and .eslintrc so it matches the actual project.

Auto-Configure Hooks

Background: The Hooks System

Sets up automatic formatting on file save, blocking dangerous commands, and more.

Set up Claude Code hooks that fit this project.

Check:
- Whether a formatting tool exists (Prettier, ESLint, Black, etc.)
- Whether a test framework exists

Configure:
1. Auto-format after file edits (PostToolUse hook)
2. Block dangerous commands like rm -rf (PreToolUse hook)

Save to .claude/settings.json.

Recommend + Install MCP Servers

Background: Connecting MCP Servers

Finds and installs MCP servers useful for your project.

Check the currently installed MCP servers, then recommend MCP servers that would be useful for this project.

Project characteristics:
- [Services in use: GitHub, Notion, Slack, DB, etc.]
- [Main work: code review, docs management, data queries, etc.]

For each recommendation, explain what the server is for and give the install command.

Coding

Code Review + Commit

Background: Git Integration

Reviews your changes and generates a commit message.

Review my current changes:

1. Check the changes with git diff
2. Check for security problems, performance issues, and edge cases
3. If everything looks good, write a commit message in Conventional Commits format
4. Show me the message and get my confirmation before committing

Multi-File Refactoring

Background: Multi-File Work

Plans and executes changes spanning multiple files, safely.

Implement [the change].

Process:
1. First show me the list of affected files and the change plan
2. Execute once I approve
3. Change one file at a time, verifying the build after each step

Do not touch: [config files, external API call sites, etc.]

Auto-Generate Tests

Background: Test Automation

Finds untested code and adds tests for it.

Find the key functions/modules in this project that have no tests.

When you find them:
1. Prioritize by importance
2. Write tests for the top 3
3. Include happy-path + edge cases + error cases
4. Match the style of existing test files

Test framework: [Jest/Vitest/Pytest, etc. — delete this line if unsure]

Automation & Productivity

Memory Cleanup

Background: The Memory System

Wraps up your work and saves it to memory before the session ends, so the next session doesn't lose context.

Summarize what we did in this session:

1. List of completed work
2. Work in progress (and how far it got)
3. What to pick up next
4. Issues discovered and decisions made

Save it to MEMORY.md, and update CLAUDE.md too if anything belongs there.

Turn a Repeated Task into a Skill

Background: The Skills System

Automates a task you do often into a slash command.

There's a task I repeat often:

[Task description — e.g., "After writing a post, update the frontmatter, add it to the index file, and record the date"]

Turn this into a Skill I can run as /[skill-name].
Save it to .claude/commands/[skill-name].md.

Improve My Prompt

Background: Prompting Strategy

Analyzes a prompt you've been using and suggests a better version.

This is how I usually write my prompt:

"[your usual prompt]"

Analyze this prompt and improve it:
- What parts are unclear
- What constraints are missing
- What to add for better results

Show me the improved prompt.

Usage Tips

  • New to this? → Start with Setup & Environment. One good CLAUDE.md raises the quality of every prompt after it.
  • You can delete the brackets → Claude analyzes the project on its own. The brackets are just hints.
  • Happy with a result? Share it → A screenshot of the output makes the best content.
To adapt prompts freely

Click each prompt's "Background" link to understand the principle behind it. Once you know the structure, you can reshape it for any situation.