skills/prompt-engineering/SKILL.md
Comprehensive prompt engineering framework for designing, optimizing, and iterating LLM prompts. Use when creating prompts, optimizing existing prompts, or improving AI instructions.
npx skillsauth add sabahattinkalkan/antigravity-fullstack-hq prompt-engineeringInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
User Request
|
+-- "Create a prompt" --> EXPLORATION PHASE
+-- "Optimize this prompt" --> OPTIMIZATION PHASE
+-- "Fix this issue" --> ANALYSIS PHASE
Before creating any prompt, understand:
| Dimension | Options | |-----------|---------| | Complexity | Simple vs multi-step | | Output | Creative vs analytical vs structured | | Stakes | High vs experimental |
| Task Type | Approach | |-----------|----------| | Simple | Direct instructions | | Complex | Chain-of-thought | | Creative | Role setting | | Structured | Format specs + examples |
As an experienced code reviewer, analyze...
Think step-by-step:
1. First, identify...
2. Then, analyze...
3. Finally, conclude...
Example 1:
Input: "Great product"
Output: { "sentiment": "positive" }
Now analyze: "It was okay"
- Limit to 3 paragraphs
- Focus on technical aspects only
- Do not include pricing
## Context
[Background information]
## Role (Optional)
You are a [ROLE] with expertise in [DOMAIN].
## Task
[Clear instruction]
## Constraints
- Constraint 1
- Constraint 2
## Output Format
[Format specification]
## Examples (Optional)
[Input/Output examples]
| Mistake | Fix | |---------|-----| | Vague instructions | Be specific | | No examples | Add 1-2 examples | | Too many rules | Simplify | | No format spec | Define output structure |
testing
Generating Excel files with xlsx/exceljs in Node.js. Use when generating .xlsx reports, data exports, dashboards, or spreadsheets from database data.
development
Playwright E2E patterns, Testing Library component tests, test selectors. Use when writing browser tests, component tests, or setting up an E2E testing pipeline for a Next.js or React app.
development
Web design best practices, accessibility, responsive layout, color contrast. Use when auditing a UI for a11y compliance, designing responsive layouts, or establishing design standards across a web app.
tools
TypeScript type system patterns, generics, utility types, and strict mode best practices. Use when writing or reviewing TypeScript code.