.claude/skills/prompt-architect/SKILL.md
Comprehensive framework for analyzing, creating, and refining prompts for AI systems. Use when creating prompts for Claude, ChatGPT, or other language models, improving existing prompts, or applying evidence-based prompt engineering techniques. Applies structural optimization, self-consistency patterns, and anti-pattern detection to transform prompts into highly effective versions.
npx skillsauth add DNYoussef/ai-chrome-extension prompt-architectInstall 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.
A comprehensive framework for creating, analyzing, and refining prompts for AI language models using evidence-based techniques, structural optimization principles, and systematic anti-pattern detection.
Prompt Architect provides a systematic approach to prompt engineering that combines research-backed techniques with practical experience. Whether crafting prompts for Claude, ChatGPT, Gemini, or other systems, this skill applies proven patterns that consistently produce high-quality responses.
This skill is particularly valuable for developing prompts used repeatedly, troubleshooting prompts that aren't performing well, building prompt templates for teams, or optimizing high-stakes tasks where prompt quality significantly impacts outcomes.
Apply Prompt Architect when:
This skill focuses on prompts as engineered artifacts rather than casual conversational queries. The assumption is you're creating prompts that provide compounding value through repeated or systematic use.
When analyzing existing prompts, apply systematic evaluation across these dimensions:
Evaluate whether the prompt clearly communicates its core objective. Ask:
Strong prompts leave minimal room for misinterpretation of their central purpose.
Evaluate how the prompt is organized:
Effective structure guides the AI naturally through the task.
Determine whether adequate context is provided:
Strong prompts make required context explicit rather than assuming shared understanding.
Assess whether appropriate evidence-based techniques are employed:
Different task categories benefit from different prompting patterns.
Examine for common anti-patterns:
Identify what could go wrong and whether guardrails exist.
Evaluate presentation quality:
Good formatting enhances both machine and human comprehension.
When improving prompts, follow this systematic approach:
Begin by ensuring the central task is crystal clear:
A refined prompt should leave no doubt about its fundamental purpose.
Apply structural optimization:
Each section should build naturally on previous ones.
Enrich prompts with previously implicit or missing context:
Make assumptions explicit rather than hidden.
Incorporate research-validated patterns:
Match techniques to task requirements.
Add self-checking and validation:
Quality mechanisms increase reliability and reduce errors.
Anticipate and handle potential problems:
Proactive edge case handling prevents common failures.
Be explicit about desired output format:
Clear output specification prevents format ambiguity.
For tasks requiring factual accuracy or analytical rigor, instruct the AI to:
Example addition to prompt: "After reaching your conclusion, validate it by considering alternative interpretations of the evidence. Flag any areas where uncertainty exists."
For mathematical, logical, or step-by-step problem-solving tasks:
Example structure: "Solve this problem step by step. For each step, explain your reasoning before moving to the next step. Show all intermediate calculations."
For complex multi-stage workflows:
Example structure: "First, create a detailed plan for how you'll approach this task. Then execute the plan systematically. Finally, verify your results against the original requirements."
For tasks with specific desired patterns:
Example pattern:
Here are examples of the desired format:
Input: [example 1 input]
Output: [example 1 output]
Input: [example 2 input]
Output: [example 2 output]
Now process: [actual input]
For complex reasoning tasks:
Example addition: "Think through this step by step, explaining your reasoning at each stage. After reaching your conclusion, reflect on whether your reasoning was sound."
Critical information receives more attention when placed strategically:
This leverages how attention is distributed across prompts.
For complex prompts, use clear hierarchy:
Hierarchy prevents information overload and aids navigation.
Use clear delimiters to separate different types of content:
data hereDelimiters prevent ambiguity about where instructions end and data begins.
Balance comprehensiveness with parsability:
Longer isn't always better—optimize for clarity and necessity.
Problem: Instructions that allow excessive interpretation
Solution: Use specific action verbs and concrete objectives
Problem: Instructions that conflict with each other
Solution: Prioritize requirements explicitly
Problem: Prompts so intricate they confuse rather than clarify
Solution: Simplify structure, use examples instead of complex rules
Problem: Assuming shared understanding that doesn't exist
Solution: Make context explicit
Problem: Not specifying handling for boundary conditions
Solution: Explicitly address likely edge cases
Problem: Unintentionally biased instructions
Solution: Use neutral language
Optimize for:
Avoid: Over-constraining the creative process
Optimize for:
Avoid: Allowing confirmation bias through leading questions
Optimize for:
Avoid: Vague requirements that lead to non-functional code
Optimize for:
Avoid: Assuming obvious transformation patterns
Optimize for:
Avoid: Binary framing that prevents nuanced responses
While these principles apply broadly, adapt for specific models when possible:
When creating or refining a prompt:
Understand the Task: What are you actually trying to accomplish? What would success look like?
Draft Initial Prompt: Get something down quickly without over-optimizing
Test and Observe: Try the prompt and note what works and what doesn't
Apply Analysis Framework: Use the evaluation dimensions to identify issues
Refine Systematically: Address issues using the refinement methodology
Add Appropriate Techniques: Incorporate evidence-based patterns that fit the task
Optimize Structure: Apply structural principles for clarity and attention
Test Edge Cases: Try variations and boundary conditions
Iterate: Refine based on actual performance
Document: Record what worked for future reference
When helping others improve their prompts:
Explain Your Reasoning: Connect changes to underlying principles so they can generalize
Highlight Patterns: Point out recurring patterns across different prompts
Encourage Experimentation: Guide toward empirical testing rather than pure theory
Build Mental Models: Help them understand how language models process prompts
Promote Best Practices: Encourage documentation, version control, systematic approaches
The goal is building sustainable prompt engineering capabilities, not just fixing individual prompts.
Effective prompt engineering combines art and science. These principles provide scientific foundation—research-backed techniques and structural optimization—but applying them requires judgment, creativity, and adaptation to specific contexts.
Master these fundamentals, then develop your own expertise through practice and systematic reflection on results. The most effective prompt engineers combine principled approaches with creative experimentation and continuous learning from actual outcomes.
development
Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.
development
Comprehensive framework for analyzing, creating, and refining prompts for AI systems using evidence-based techniques
data-ai
Implement adaptive learning with ReasoningBank for pattern recognition, strategy optimization, and continuous improvement
development
Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization