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

prompt-engineer

Transforms user prompts into optimized prompts using established frameworks (RTF, RISEN, Chain of Thought, RODES). Analyzes intent, selects framework, and produces structured, ready-to-use prompts.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md7.0 KB

SKILL.md(원문)

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

Prompt Engineering

Transform vague or unstructured prompts into highly effective, framework-backed prompts that maximize AI output quality.

When to Use

  • User provides a vague or generic prompt ("help me code Python")
  • User has a complex idea but struggles to articulate it clearly
  • User asks "create a prompt for..." or "how do I ask AI to..."
  • Task requires step-by-step reasoning (debugging, analysis, design)
  • User wants to improve an existing prompt's effectiveness

When NOT to Use

  • User's prompt is already clear and specific
  • Simple factual questions ("what is X?")
  • During pipeline workflows that have their own prompting structure

Operating Mode

Work silently — no framework jargon in the output. The user gets a polished prompt, not a lecture on prompt engineering theory.


Workflow

1. Analyze Intent

Read the raw prompt and detect:

DimensionOptions
TypeCoding, writing, analysis, design, learning, planning, creative
ComplexitySimple (one-step), moderate (multi-step), complex (reasoning needed)
ClarityClear intent vs. ambiguous/vague
DomainTechnical, business, creative, academic

Identify implicit requirements:

  • Does the user need examples?
  • Is the output format specified?
  • Are there constraints (time, scope, resources)?
  • Is this exploratory or execution-focused?

2. Clarify If Needed

  • 0 questions if intent is clear (most cases)
  • 1-2 questions max if critical information is ambiguous
  • Never ask about framework selection — that's your job

3. Select Framework

Task TypeFrameworkWhy
Role-based tasks (act as expert)RTF (Role-Task-Format)Clear role + task + output format
Step-by-step reasoning (debugging, analysis)Chain of ThoughtForces explicit reasoning steps
Multi-phase projects (systems, deliverables)RISEN (Role, Instructions, Steps, End goal, Narrowing)Comprehensive structure
Complex design/architectureRODES (Role, Objective, Details, Examples, Sense check)Balances detail with validation
Summarization/synthesisChain of DensityIterative compression to essentials
Communication (reports, presentations)RACE (Role, Audience, Context, Expectation)Audience-aware messaging
Goal-setting (OKRs, planning)CLEAR (Collaborative, Limited, Emotional, Appreciable, Refinable)Actionable goals

Blending: Combine 2 frameworks when a task spans types. Example: architecture design → RODES + Chain of Thought.

Selection happens silently — never explain framework choice to the user.

4. Generate Prompt

Build the optimized prompt using the selected framework(s):

Structure rules:

  • Start with a clear role definition
  • State the objective in one sentence
  • Break complex tasks into numbered steps
  • Include output format specification
  • Add a validation/sense-check instruction for complex tasks
  • Keep the prompt self-contained (no external context needed)

Quality checks before presenting:

  • Prompt is self-contained
  • Task is specific and measurable
  • Output format is clear
  • No ambiguous language
  • Appropriate detail for task complexity
  • Language matches user's language

5. Present

Present the optimized prompt in a clean markdown code block. No meta-commentary, no framework explanation.


Examples

Vague Input → RTF

User: "help me write better code"

Output:

Role: You are a senior software engineer conducting a code review.

Task: Review the code I provide and identify issues across these dimensions:
1. Readability — naming, structure, comments
2. Correctness — logic errors, edge cases, off-by-one errors
3. Performance — unnecessary allocations, O(n²) where O(n) exists
4. Security — injection risks, data exposure, input validation
5. Maintainability — coupling, cohesion, testability

Format: For each issue found, provide:
- Location (file/line if applicable)
- Category (readability/correctness/performance/security/maintainability)
- Current code
- Suggested improvement with explanation
- Severity (critical/warning/suggestion)

Complex Input → RODES + Chain of Thought

User: "I need to build a recommendation system using purchase history and user preferences"

Output:

Role: You are a senior ML engineer specializing in recommendation systems.

Objective: Design a product recommendation system combining user purchase history, stated preferences, and behavioral signals.

Details:
- Input sources: transaction logs, preference surveys, browsing behavior
- Algorithm tradeoffs: collaborative filtering vs. content-based vs. hybrid
- Performance targets: recommendations served in <200ms, updated hourly
- Scale: handle 100K+ users with sparse interaction matrices

Approach this step-by-step:
1. Analyze data sources and their signal quality
2. Propose 2-3 algorithm approaches with tradeoff analysis
3. Design the data pipeline (ingestion → processing → serving)
4. Define evaluation metrics (precision, recall, diversity, novelty)
5. Outline a phased implementation roadmap

Examples: Include pseudocode for the core recommendation logic, a data flow diagram, and sample API response structure.

Sense check: Verify the solution balances personalization with discovery, handles cold-start problems for new users, and scales to production load.

Output: Technical design document with architecture diagrams, algorithm justification, and implementation roadmap.

Debugging → Chain of Thought

User: "my code isn't working, needs debugging"

Output:

You are an expert debugger.

Task: Debug the code I provide using systematic analysis.

Step-by-step approach:
1. Read the code and identify its intended purpose
2. Identify the error or unexpected behavior
3. Trace variable states through execution
4. Locate the root cause
5. Propose a fix with explanation
6. Suggest preventive measures

For each step, show your reasoning:
- What you're checking
- What you found
- Why it matters

Output format:
- **Issue**: [Describe the bug]
- **Root cause**: [Why it's happening]
- **Fix**: [Corrected code with inline comments]
- **Prevention**: [How to avoid this in the future]

Include a minimal working example to verify the fix.

Rules

NEVER:

  • Explain which framework was selected or why
  • Generate generic, one-size-fits-all prompts
  • Ask more than 2 clarifying questions
  • Include meta-commentary ("This prompt uses...", "Note that...")

ALWAYS:

  • Analyze intent before generating
  • Select framework based on task type and complexity
  • Include output format specification
  • Present in a clean code block
  • Match the user's language (English → English, etc.)

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Structured methodology for adversarial thinking — generating attack scenarios, abuse cases, race conditions, and security edge cases against specs and implementations. Produces spec-level gap items, not code-level fixes.

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Orchestrate multiple Antigravity skills through guided workflows for SaaS MVP delivery, security audits, AI agent builds, and browser QA.

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Manage API versioning and evolution with URL/header/query strategies, deprecation workflows, breaking change classification, sunset headers, and consumer-driven contract testing. Use when designing versioning strategy, deprecating endpoints, or evolving API contracts.

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Analyzes codebase structure, data flow, module relationships, and key patterns to generate and maintain a living architecture document (ARCHITECTURE.md).

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

RepairYourTech의 스킬 모두 보기

이 스킬의 문제 신고