baasith6/cursor-skills/prompt-engineering
Claude Code and agent skill by baasith6/cursor-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Write effective prompts for LLMs — structure, few-shot examples, chain-of-thought, system prompts, and output parsing.
Install
npx vskill@latest install baasith6/cursor-skills/prompt-engineeringSKILL.md
The same SKILL.md was published earlier as spencerpauly/awesome-cursor-skills/prompt-engineering.
Prompt Engineering
Write prompts that get reliable, high-quality output from LLMs.
Core Principles
- Be specific — vague prompts get vague results
- Show, don't tell — examples beat instructions
- Structure the output — tell the model exactly what format you want
- Iterate — prompts are code; test and refine them
Techniques
System Prompts
Set the model's role and constraints:
Few-Shot Examples
Provide 2-3 examples of input → output:
Chain-of-Thought
Ask the model to reason step by step:
Structured Output
Request JSON or a specific format:
Constraints and Guardrails
Patterns for Code
Code generation:
Code transformation:
Bug fixing:
Anti-Patterns
- Too vague: "Make this better" → Be specific about what "better" means
- Too long: Giant prompts with everything → Split into focused prompts
- Contradictory: "Be concise but thorough" → Pick one or define the tradeoff
- No examples: Complex formatting without showing what you want → Add 1-2 examples
- Prompt injection risk: Including raw user input without delimiting → Use clear delimiters like
<user_input>...</user_input>
Tips
- Temperature 0 for deterministic tasks (code, classification), 0.7+ for creative tasks
- Test prompts with edge cases, not just the happy path
- Version control your prompts — they're as important as code
- Use structured output (JSON) when parsing the response programmatically
- Shorter prompts often outperform longer ones if they're precise enough
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingresources/prompt-engineering/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/baasith6/cursor-skills/prompt-engineering)