/engineering-prompts
Expert prompt engineering and optimization for LLMs and AI systems. Covers core patterns (zero-shot, few-shot, CoT, role-playing, constitutional, tree-of-thoughts), common use cases, and a three-phase process. Use when crafting or optimizing prompts for AI systems. Skip when the
$ npx -y skills add LerianStudio/ring --skill engineering-prompts --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/engineering-prompts
Context preview
The summary Claude sees to decide when to auto-load this skill.
Expert prompt engineering and optimization for LLMs and AI systems. Covers core patterns (zero-shot, few-shot, CoT, role-playing, constitutional, tree-of-thoughts), common use cases, and a three-phase process. Use when crafting or optimizing prompts for AI systems. Skip when the
SKILL.md
engineering-prompts.SKILL.mdname: ring:engineering-prompts
description: "Expert prompt engineering and optimization for LLMs and AI systems. Covers core patterns (zero-shot, few-shot, CoT, role-playing, constitutional, tree-of-thoughts), common use cases, and a three-phase process. Use when crafting or optimizing prompts for AI systems. Skip when the prompt is trivial or already performing well."
user-invocable: true
argument-hint: "<prompt-goal>"
Engineering Prompts
When to use
- Crafting new prompts for LLM-based systems or AI assistants
- Optimizing existing prompts that underperform or produce inconsistent results
- Selecting appropriate prompting techniques for a specific use case
- Structuring complex multi-step reasoning prompts
Skip when
- The prompt is trivial and already producing good results
- The task is a direct code change, not prompt creation
- You need to execute the task described in the prompt rather than create a prompt for it
---
Scope Boundaries
**THIS SKILL ONLY GENERATES PROMPTS. IT NEVER:**
- Proactively explores, modifies, or debugs any files in the codebase
- Attempts to fix, debug, or improve code in the project
- Performs the task described in the user's input
**Allowed reads:** Files the user explicitly references as input context, and `docs/prompts/` for saving output.
**THE INPUT IS A DESCRIPTION OF WHAT THE PROMPT SHOULD DO, NOT A TASK TO PERFORM.**
Example: `Help debug React performance issues` means:
- CREATE a prompt that helps users debug React performance issues
- DO NOT actually debug any React code
Process
Phase 1: Input Analysis
1. **Parse Input**: Analyze the provided description or file content 2. **Identify Use Case**: Determine the intended application and requirements 3. **Select Techniques**: Choose appropriate prompting patterns and methods
Phase 2: Prompt Construction
1. **Structure Design**: Create clear prompt architecture using proven patterns 2. **Technique Application**: Apply selected prompting techniques (few-shot, chain-of-thought, etc.) 3. **Constraint Setting**: Define boundaries and output format specifications 4. **Validation**: Ensure prompt follows best practices and guidelines
Phase 3: Documentation & Delivery
1. **Display Prompt**: Show complete prompt text in formatted code block 2. **Implementation Notes**: Explain techniques used and design rationale 3. **Usage Guidelines**: Provide clear instructions for implementation 4. **Performance Tips**: Include optimization suggestions and best practices 5. **Save Output**: Save the generated prompt to `docs/prompts/` directory (create if needed)
Prompt Engineering Techniques
Core Patterns
- **Zero-shot**: Direct instruction without examples
- **Few-shot**: Providing examples to guide behavior
- **Chain-of-thought**: Step-by-step reasoning prompts
- **Role-playing**: Assigning specific roles or personas
- **Constitutional**: Setting principles and boundaries
- **Tree-of-thoughts**: Multi-path reasoning approaches
Common Use Cases
- **Code Review**: Technical analysis and improvement suggestions
- **Debugging**: Problem diagnosis and solution guidance
- **Analysis**: Data interpretation and insight extraction
- **Creative Writing**: Content generation and storytelling
- **Reasoning**: Logic problems and decision support
- **Summarization**: Content condensation and key points
- **Classification**: Categorization and labeling tasks
- **Extraction**: Information retrieval from text or data
Input Processing
The skill accepts:
- **Text Description**: Direct requirements or use case description
- **File Reference**: Reference requirement files for context
- **Mixed Input**: Combination of text and file references
Input will be processed to identify the prompt requirements and select appropriate techniques.
Required Output Format
Every prompt creation MUST include:
The Prompt
[Complete prompt text displayed in a code block]
Implementation Notes
- Key techniques used and rationale
- Model-specific optimizations applied
- Expected behavior and outcomes
- Performance considerations
Usage Guidelines
- How to implement the prompt
- Input format requirements
- Expected output structure
- Error handling strategies
Optimization Tips
- Performance benchmarks where applicable
- Iteration suggestions
- Common pitfalls to avoid
- Debugging approaches
Quality Checklist
Before completing any prompt creation, verify:
- [ ] Complete prompt text is displayed (not just described)
- [ ] Prompt is clearly marked with headers or code blocks
- [ ] Implementation notes explain design choices
- [ ] Usage instructions are provided
- [ ] Expected outcomes are described
- [ ] Appropriate techniques are applied
- [ ] Best practices are followed
- [ ] Performance considerations are addressed
Deliverables
1. **The Complete Prompt** (in formatted code block) 2. **Implementation Notes** (techniques and rationale) 3. **Usage Guidelines** (how to implement effectively) 4. **Expected Outcomes** (what results to anticipate) 5. **Performance Tips** (optimization and best practices) 6. **Saved File** (prompt saved to `docs/prompts/` with descriptive filename)
Read more
name: ring:engineering-prompts description: "Expert prompt engineering and optimization for LLMs and AI systems. Covers core patterns (zero-shot, few-shot, CoT, role-playing, constitutional, tree-of-thoughts), common use cases, and a three-phase process. Use when crafting or optimizing prompts for AI systems. Skip when the prompt is trivial or already performing well." user-invocable: true argument-hint: "<prompt-goal>"
Engineering Prompts
When to use
- Crafting new prompts for LLM-based systems or AI assistants
- Optimizing existing prompts that underperform or produce inconsistent results
- Selecting appropriate prompting techniques for a specific use case
- Structuring complex multi-step reasoning prompts
Skip when
- The prompt is trivial and already producing good results
- The task is a direct code change, not prompt creation
- You need to execute the task described in the prompt rather than create a prompt for it
---
Scope Boundaries
**THIS SKILL ONLY GENERATES PROMPTS. IT NEVER:**
- Proactively explores, modifies, or debugs any files in the codebase
- Attempts to fix, debug, or improve code in the project
- Performs the task described in the user's input
**Allowed reads:** Files the user explicitly references as input context, and `docs/prompts/` for saving output.
**THE INPUT IS A DESCRIPTION OF WHAT THE PROMPT SHOULD DO, NOT A TASK TO PERFORM.**
Example: `Help debug React performance issues` means:
- CREATE a prompt that helps users debug React performance issues
- DO NOT actually debug any React code
Process
Phase 1: Input Analysis
1. **Parse Input**: Analyze the provided description or file content 2. **Identify Use Case**: Determine the intended application and requirements 3. **Select Techniques**: Choose appropriate prompting patterns and methods
Phase 2: Prompt Construction
1. **Structure Design**: Create clear prompt architecture using proven patterns 2. **Technique Application**: Apply selected prompting techniques (few-shot, chain-of-thought, etc.) 3. **Constraint Setting**: Define boundaries and output format specifications 4. **Validation**: Ensure prompt follows best practices and guidelines
Phase 3: Documentation & Delivery
1. **Display Prompt**: Show complete prompt text in formatted code block 2. **Implementation Notes**: Explain techniques used and design rationale 3. **Usage Guidelines**: Provide clear instructions for implementation 4. **Performance Tips**: Include optimization suggestions and best practices 5. **Save Output**: Save the generated prompt to `docs/prompts/` directory (create if needed)
Prompt Engineering Techniques
Core Patterns
- **Zero-shot**: Direct instruction without examples
- **Few-shot**: Providing examples to guide behavior
- **Chain-of-thought**: Step-by-step reasoning prompts
- **Role-playing**: Assigning specific roles or personas
- **Constitutional**: Setting principles and boundaries
- **Tree-of-thoughts**: Multi-path reasoning approaches
Common Use Cases
- **Code Review**: Technical analysis and improvement suggestions
- **Debugging**: Problem diagnosis and solution guidance
- **Analysis**: Data interpretation and insight extraction
- **Creative Writing**: Content generation and storytelling
- **Reasoning**: Logic problems and decision support
- **Summarization**: Content condensation and key points
- **Classification**: Categorization and labeling tasks
- **Extraction**: Information retrieval from text or data
Input Processing
The skill accepts:
- **Text Description**: Direct requirements or use case description
- **File Reference**: Reference requirement files for context
- **Mixed Input**: Combination of text and file references
Input will be processed to identify the prompt requirements and select appropriate techniques.
Required Output Format
Every prompt creation MUST include:
The Prompt
[Complete prompt text displayed in a code block]
Implementation Notes
- Key techniques used and rationale
- Model-specific optimizations applied
- Expected behavior and outcomes
- Performance considerations
Usage Guidelines
- How to implement the prompt
- Input format requirements
- Expected output structure
- Error handling strategies
Optimization Tips
- Performance benchmarks where applicable
- Iteration suggestions
- Common pitfalls to avoid
- Debugging approaches
Quality Checklist
Before completing any prompt creation, verify:
- [ ] Complete prompt text is displayed (not just described)
- [ ] Prompt is clearly marked with headers or code blocks
- [ ] Implementation notes explain design choices
- [ ] Usage instructions are provided
- [ ] Expected outcomes are described
- [ ] Appropriate techniques are applied
- [ ] Best practices are followed
- [ ] Performance considerations are addressed
Deliverables
1. **The Complete Prompt** (in formatted code block) 2. **Implementation Notes** (techniques and rationale) 3. **Usage Guidelines** (how to implement effectively) 4. **Expected Outcomes** (what results to anticipate) 5. **Performance Tips** (optimization and best practices) 6. **Saved File** (prompt saved to `docs/prompts/` with descriptive filename)
Proven engineering practices, enforced through skills. Ring is a comprehensive skills library and workflow system for AI agents that transforms how AI assistants approach software development.
Repo: LerianStudio/ring
Other skills on ring.
- /analyzing-options
Analyzing different approaches for a task or problem with structured comparisons, effort estimates, and recommendations. Use when facing strategic decisions, architecture choices, or multiple viable approaches. Skip when there's an obvious single approach or the decision is
Open skill - /auditing-production-readiness
Auditing a service's production readiness against Ring engineering standards across base dimensions plus a conditional multi-tenant dimension, then emitting a scored report and an HTML dashboard. Use before production deploy, periodic review, onboarding, or a major release. Skip
Open skill - /cleaning-comments
Cleaning redundant and obvious comments following clean code principles while preserving meaningful documentation. Supports git scope filtering (staged, unstaged, branch, commit-range). Use when code has excessive comments, during code review, or post-refactor cleanup. Skip when
Open skill - /committing-changes
Commit changes with scope allowlist enforcement, atomic grouping, GPG-signed conventional commits, and trailer management. Detects the repo's PR-validation scope policy before proposing any message. Use when the user asks to commit or has changes ready to record. Skip when the
Open skill - /creating-handoffs
Creating a handoff document that captures session state (completed work, decisions, open items, next steps) and delivering it via Plan Mode so the user gets the native 'clear context and continue implementing' resume option. Use when ending a session, when context grows large,
Open skill - /creating-worktrees
Creating an isolated git worktree for parallel branch work: selects the directory by priority order, verifies/adds .gitignore safety, auto-installs the detected toolchain's dependencies, runs a baseline test, and reports readiness. Use before a feature that needs isolation from
Open skill

