본문으로 건너뛰기
cccskills
무료GitHub에 공개

prompt-patterns

Practical prompt patterns and techniques for effective Claude Code usage. Reference when crafting prompts, planning workflows, or debugging interactions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Prompt Patterns for Claude Code

Discovery Patterns

Interview-Driven Spec

Instead of writing a spec yourself, let Claude interview you:

Start with a minimal description of what I want to build, then interview me
using AskUserQuestion tool. Ask one question at a time until you have enough
information to write a complete specification. Then create the spec document.

Creates better specs than writing them manually. Claude asks questions you wouldn't think of.

Codebase Understanding

Read the entire codebase and explain the architecture to me as if I'm a new
team member. Focus on: data flow, key abstractions, and non-obvious design decisions.

Quality Challenge Patterns

Grill Mode

After implementation, challenge Claude to prove correctness:

Grill me on these changes and don't make a PR until I pass your test.

or

Prove to me this works. Diff between main and this branch, explain every change,
and identify any edge cases we missed.

Elegant Redo

When a fix works but feels hacky:

Knowing everything you know now, scrap this and implement the elegant solution.

Claude's second attempt is almost always better because it has full context of the problem.

Self-Critique

Review the code you just wrote as a senior engineer. Be harsh.
What would you change if this was going into a production system
serving 10 million users?

Efficiency Patterns

Subagent Offloading

When context is getting heavy:

Use subagents to investigate [topic]. Keep the main context clean.

Explicitly telling Claude to use subagents prevents context pollution.

Batch Operations

Process these 5 files in parallel using subagents. Each subagent handles one file.
Collect all results and present a unified summary.

Deep Reasoning

For complex design and architecture decisions:

  • Use Plan Mode for work that benefits from an explicit reviewed plan before changes.
  • Extended thinking is controlled by the harness (thinking toggle / effort settings), not by magic keywords in the prompt.
  • In the prompt itself, ask for depth in natural language, e.g.:
Before implementing, compare alternative designs and their trade-offs.

Debugging Patterns

Bug -> Fix (No Micromanagement)

Here's the bug: [paste error/screenshot]. Fix it.

Claude fixes most bugs by itself. Don't prescribe the solution.

Visual Debugging

Paste a screenshot of the issue, then:

Look at this screenshot. The layout is broken. Fix it.

Session Management Patterns

Phase-wise Gated Plan

Create a phase-wise plan for this feature. Each phase must have:
1. Clear deliverable
2. Test criteria (unit, integration, or manual verification)
3. Rollback plan if verification fails

Do not proceed to the next phase until the current phase passes all tests.

Context-Aware Restart

Before starting a new task in the same session:

/clear

After heavy investigation:

/compact Preserve the key findings about [topic] and the implementation plan

Rename and Resume

Name important sessions for easy retrieval:

/rename [feature-name implementation v2]

Later: claude --resume to pick up where you left off.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cloudnative-co/claude-code-starter-kit1542026년 10월 12일 업데이트

ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cloudnative-co/claude-code-starter-kit1542026년 10월 12일 업데이트

日本語の業務文書を作成・修正するときに使用する共通品質基準。事実性、確度、論理、簡潔さ、自然な日本語を守る。提案書、報告、技術説明、議事録、メール、Slack、要約、レビューに適用する。創作、広告コピー、コードや構造化データだけの生成には使用しない。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cloudnative-co/claude-code-starter-kit1542026년 10월 12일 업데이트

Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cloudnative-co/claude-code-starter-kit1542026년 10월 12일 업데이트

Formal evaluation framework for Claude Code sessions implementing eval-driven development (EDD) principles.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cloudnative-co/claude-code-starter-kit1542026년 10월 12일 업데이트

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cloudnative-co/claude-code-starter-kit1542026년 10월 12일 업데이트

cloudnative-co의 스킬 모두 보기

이 스킬의 문제 신고