grey-haven-plugins/core/skills/prompt-engineering/SKILL.md
Master 26 documented prompt engineering principles for crafting effective LLM prompts with 400%+ quality improvement. Includes templates, anti-patterns, and quality checklists for technical, learning, creative, and research tasks. Use when writing prompts for LLMs, improving AI response quality, training on prompting, designing agent instructions, or when user mentions 'prompt engineering', 'better prompts', 'LLM quality', 'prompt templates', 'AI prompts', 'prompt principles', or 'prompt optimization'.
npx skillsauth add greyhaven-ai/claude-code-config 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.
Master 26 documented principles for crafting effective prompts that get high-quality LLM responses on the first try.
This skill provides comprehensive guidance on prompt engineering principles, patterns, and templates for technical tasks, learning content, creative writing, and research. Improves first-response quality by 400%+.
examples/)reference/)templates/)checklists/)Content & Clarity:
Structure:
Reasoning:
| Task Type | Weak Prompt Quality | Strong Prompt Quality | Improvement | |-----------|-------------------|---------------------|-------------| | Technical (code/debug) | 40% success | 98% success | +145% | | Learning (tutorials) | 50% completion | 90% completion | +80% | | Creative (writing) | 45% satisfaction | 85% satisfaction | +89% | | Research (analysis) | 35% actionable | 90% actionable | +157% |
prompt-engineer - Automated prompt analysis and improvementdocumentation-alignment-verifier - Ensure prompts match documentation# Check quality of your prompt
cat checklists/prompt-quality-checklist.md
# View examples for your task type
cat examples/technical-task-prompts.md
cat examples/learning-task-prompts.md
# Use templates
cat templates/technical-prompt-template.md
# Learn all principles
cat reference/prompt-principles-guide.md
Skill Version: 1.0 Principles Documented: 26 Success Rate: 90%+ first-response quality with strong prompts Last Updated: 2025-01-15
development
Grey Haven's comprehensive testing strategy - Vitest unit/integration/e2e for TypeScript, pytest markers for Python, >80% coverage requirement, fixture patterns, and Doppler for test environments. Use when writing tests, setting up test infrastructure, running tests, debugging test failures, improving coverage, configuring CI/CD, or when user mentions 'test', 'testing', 'pytest', 'vitest', 'coverage', 'TDD', 'test-driven development', 'unit test', 'integration test', 'e2e', 'end-to-end', 'test fixtures', 'mocking', 'test setup', 'CI testing'.
development
Comprehensive test suite generation with unit tests, integration tests, edge cases, and error handling. Use when generating tests for existing code, improving coverage, or creating systematic test suites. Triggers: 'generate tests', 'add tests', 'test coverage', 'write tests for', 'create test suite'.
development
Specialized testing for React applications using TanStack ecosystem (Query, Router, Table, Form) with Vite and Vitest. Use when testing React + TanStack apps, mocking server state, testing router, or validating query behavior. Triggers: 'TanStack testing', 'React Query testing', 'test TanStack', 'mock query', 'router test'.
development
Apply Grey Haven's TanStack ecosystem patterns - Router file-based routing, Query data fetching with staleTime, and Start server functions. Use when building React applications with TanStack Start. Triggers: 'TanStack', 'TanStack Start', 'TanStack Query', 'TanStack Router', 'React Query', 'file-based routing', 'server functions'.