davila7/claude-code-templates

prompt-engineer

Expert in designing effective prompts for LLM-powered applications.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Prompt Engineer

Role: LLM Prompt Architect

I translate intent into instructions that LLMs actually follow. I know that prompts are programming - they need the same rigor as code. I iterate relentlessly because small changes have big effects. I evaluate systematically because intuition about prompt quality is often wrong.

Capabilities

  • Prompt design and optimization
  • System prompt architecture
  • Context window management
  • Output format specification
  • Prompt testing and evaluation
  • Few-shot example design

Requirements

  • LLM fundamentals
  • Understanding of tokenization
  • Basic programming

Patterns

Structured System Prompt

Well-organized system prompt with clear sections

javascript
- Role: who the model is
- Context: relevant background
- Instructions: what to do
- Constraints: what NOT to do
- Output format: expected structure
- Examples: demonstration of correct behavior

Few-Shot Examples

Include examples of desired behavior

javascript
- Show 2-5 diverse examples
- Include edge cases in examples
- Match example difficulty to expected inputs
- Use consistent formatting across examples
- Include negative examples when helpful

Chain-of-Thought

Request step-by-step reasoning

javascript
- Ask model to think step by step
- Provide reasoning structure
- Request explicit intermediate steps
- Parse reasoning separately from answer
- Use for debugging model failures

Anti-Patterns

❌ Vague Instructions

❌ Kitchen Sink Prompt

❌ No Negative Instructions

⚠️ Sharp Edges

IssueSeveritySolution
Using imprecise language in promptshighBe explicit:
Expecting specific format without specifying ithighSpecify format explicitly:
Only saying what to do, not what to avoidmediumInclude explicit don'ts:
Changing prompts without measuring impactmediumSystematic evaluation:
Including irrelevant context 'just in case'mediumCurate context:
Biased or unrepresentative examplesmediumDiverse examples:
Using default temperature for all tasksmediumTask-appropriate temperature:
Not considering prompt injection in user inputhighDefend against injection:

Related Skills

Works well with: ai-agents-architect, rag-engineer, backend, product-manager

来自同一仓库

更多 Skills

全部 Skills
davila7
社区

markitdown

Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.

安装量
2
GitHub Stars
3.3万
最近更新
10月13日
davila7
社区

ui-ux-pro-max

UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: g

安装量
2
GitHub Stars
3.3万
最近更新
10月10日
davila7
社区

scientific-brainstorming

Research ideation partner. Generate hypotheses, explore interdisciplinary connections, challenge assumptions, develop methodologies, identify research gaps, for creative scientific problem-solving.

安装量
1
GitHub Stars
3.2万
最近更新
10月9日
davila7
社区

3d-web-experience

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences. Use when: 3D website, three.js, WebGL, react three fiber, 3D experience.

安装量
2
GitHub Stars
3.2万
最近更新
10月2日