[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FQ4CCFQPZCHB7F0142AZ8P":3,"skill-same:01M6FQ4CCFQPZCHB7F0142AZ8P":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6FQ4CCFQPZCHB7F0142AZ8P","prompt-rewriter",null,"Advanced prompt rewriting and optimization service. Analyzes prompts for clarity, specificity, structure, completeness, and usability. Identifies weaknesses, suggests improvements, and generates multiple rewrite options. Use when users need to improve an existing prompt's effectiveness, understand why a prompt isn't working well, generate variations of a prompt for A\u002FB testing, or learn prompt engineering best practices through examples.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fhhhh124hhhh\u002Fprompt-rewriter\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"prompt rewriter","rewriter","prompt","use","advanced","users","completeness","rewrite","structure","options","usability","testing","clarity","improve","why","Optimization","examples","best practices","learn","generate","2026-11-10 10:12:30",false,"---\nname: prompt-rewriter\ndescription: Advanced prompt rewriting and optimization service. Analyzes prompts for clarity, specificity, structure, completeness, and usability. Identifies weaknesses, suggests improvements, and generates multiple rewrite options. Use when users need to improve an existing prompt's effectiveness, understand why a prompt isn't working well, generate variations of a prompt for A\u002FB testing, or learn prompt engineering best practices through examples.\n---\n\n# Prompt Rewriter\n\n## Overview\n\nHelp users transform vague, ineffective prompts into powerful, well-structured instructions that produce consistent, high-quality results from AI models. Analyzes prompts across multiple quality dimensions and provides actionable suggestions.\n\n## Quick Start\n\n**User says**: \"Help me rewrite this prompt: 'Write a blog post about AI'\"\n\n**You should**:\n1. Analyze the original prompt's weaknesses (too vague, no audience specified, no format defined)\n2. Identify improvement areas (add topic specificity, target audience, tone, length, structure)\n3. Provide 2-3 rewrite options with different approaches\n4. Explain the changes and why they matter\n\n---\n\n## Core Capabilities\n\n### 1. Prompt Quality Analysis\n\nEvaluate prompts across five key dimensions:\n\n**Clarity** (0-2)\n- Is the request unambiguous?\n- Are terms defined?\n- Can Claude understand without clarification?\n\n**Specificity** (0-2)\n- Are constraints clear?\n- Is output format specified?\n- Are boundaries defined?\n\n**Structure** (0-2)\n- Is information organized logically?\n- Are steps clear if applicable?\n- Is there a framework?\n\n**Completeness** (0-2)\n- Is sufficient context provided?\n- Are requirements comprehensive?\n- Is missing information flagged?\n\n**Usability** (0-2)\n- Is it reusable?\n- Can it be adapted easily?\n- Is the language natural?\n\n**Scoring**:\n- 8-10: Excellent prompt, minor tweaks needed\n- 6-7: Good prompt, moderate improvements possible\n- 4-5: Functional but has significant weaknesses\n- 0-3: Poor prompt, needs major rework\n\n### 2. Rewrite Generation\n\nGenerate 2-3 rewrite variations using different approaches:\n\n**Variation 1: Conservative Fix**\n- Keep original intent\n- Add specificity and structure\n- Minimal stylistic changes\n- Best when user wants to preserve voice\n\n**Variation 2: Technique Enhancement**\n- Apply prompt engineering patterns (CoT, few-shot, etc.)\n- Add advanced techniques\n- Focus on effectiveness\n- Best when user wants optimal results\n\n**Variation 3: Simplification**\n- Strip complexity while keeping core request\n- Make more conversational\n- Focus on ease of use\n- Best for beginners or quick tasks\n\n### 3. Improvement Explanation\n\nFor each rewrite, explain:\n- What changed (specific modifications)\n- Why it matters (impact on AI output)\n- When to use (appropriate scenarios)\n\n### 4. Pattern Application\n\nApply proven prompt engineering techniques:\n\n**Chain of Thought (CoT)**\n- \"Let's think step by step\"\n- \"First, analyze... Then, evaluate...\"\n- Best for: complex reasoning, math, logic\n\n**Few-Shot Learning**\n- Provide 2-3 examples before request\n- Pattern: Example 1 → Example 2 → Example 3 → Your task\n- Best for: format specification, style matching\n\n**Role-Based Prompts**\n- \"Act as a senior engineer...\"\n- \"You are a marketing expert...\"\n- Best for: specialized knowledge, tone control\n\n**Output Structure**\n- Use templates and headers\n- Define sections explicitly\n- Best for: reports, documentation, structured content\n\n**Constraint Definition**\n- \"Limit response to 500 words\"\n- \"Exclude jargon for non-technical audience\"\n- Best for: length control, accessibility\n\n### 5. A\u002FB Testing Guidance\n\nHelp users test prompts effectively:\n- Generate variations systematically\n- Suggest test methodology\n- Recommend evaluation criteria\n\n---\n\n## Workflow\n\n### Step 1: Receive and Analyze\n\n1. Extract the prompt to rewrite\n2. Identify user's intent (what do they want to achieve?)\n3. Check for constraints (tone, format, length, audience)\n4. Evaluate against 5 quality dimensions\n5. Calculate score and identify primary weaknesses\n\n### Step 2: Generate Rewrites\n\n1. **Variation 1 (Conservative)**: Add structure, clarify terms, define output\n2. **Variation 2 (Technique-Enhanced)**: Apply relevant patterns (CoT, few-shot, etc.)\n3. **Variation 3 (Simplified)**: Make conversational, reduce complexity\n\n### Step 3: Present Options\n\nFor each rewrite:\n- Show the improved prompt\n- Explain the changes\n- Highlight which techniques were used\n- Recommend which to use based on context\n\n### Step 4: Educational Component\n\nBriefly explain:\n- Which prompt engineering techniques were applied\n- Why they work in this context\n- How the user can apply them in future prompts\n\n---\n\n## Common Patterns and Fixes\n\n### Pattern: Too Vague\n\n**Weak**: \"Write about climate change\"\n**Fix**: Add specificity - audience, purpose, format, depth\n\n**Strong**: \"Write a 1000-word blog post for a general audience explaining climate change's causes, effects, and potential solutions. Use an optimistic but realistic tone. Include: (1) introduction with hook, (2) 3 main sections with data, (3) conclusion with actionable advice.\"\n\n### Pattern: No Structure\n\n**Weak**: \"Analyze this data\"\n**Fix**: Add framework or step-by-step instructions\n\n**Strong**: \"Analyze the sales data provided. Structure your response as:\n1. **Executive Summary** (3 bullet points of key findings)\n2. **Detailed Analysis** (break down by region and product)\n3. **Trend Identification** (what patterns emerge?)\n4. **Recommendations** (3 actionable steps based on data)\"\n\n### Pattern: Missing Context\n\n**Weak**: \"Improve this email\"\n**Fix**: Add context about audience, goal, constraints\n\n**Strong**: \"Improve this email for a C-level executive audience. Goal: Get approval for a $50k project. Keep it under 200 words. Tone: Professional but persuasive. Current email: [paste]\"\n\n### Pattern: Unclear Output Format\n\n**Weak**: \"Create marketing content\"\n**Fix**: Specify format, style, deliverables\n\n**Strong**: \"Create marketing content for our new product launch. Deliver:\n1. **Social media post** (LinkedIn, 150 words, professional tone)\n2. **Email blurb** (75 words, excitement-focused)\n3. **Website headline** (catchy, under 10 words)\n4. **3 key benefits** (each under 15 words)\"\n\n---\n\n## Examples\n\n### Example 1: Content Creation\n\n**Input Prompt**: \"Write an article about remote work\"\n\n**Analysis**:\n- Clarity: 1\u002F2 (clear topic but vague on specifics)\n- Specificity: 0\u002F2 (no format, audience, length)\n- Structure: 0\u002F2 (no framework)\n- Completeness: 0\u002F2 (missing key details)\n- Usability: 1\u002F2 (somewhat reusable)\n- **Score: 2\u002F10** - Major weaknesses across dimensions\n\n**Rewrite Option 1 (Conservative)**:\n```\nWrite a 1500-word article about remote work for business professionals. Cover:\n1. Benefits of remote work (productivity, cost savings, flexibility)\n2. Challenges (isolation, communication, work-life balance)\n3. Best practices for success (routine, communication tools, workspace setup)\n4. Future trends (hybrid models, technology evolution)\n\nTone: Informative and balanced\nFormat: Use headings and bullet points\n```\n\n**Rewrite Option 2 (Technique-Enhanced)**:\n```\nAct as an experienced remote work consultant. Write a comprehensive article about remote work for business leaders considering transitioning their teams.\n\nStructure your response using the following framework:\n\n**Introduction (150 words)**\n- Hook with a surprising statistic\n- Briefly state the article's purpose\n- Outline what will be covered\n\n**Section 1: The Business Case (400 words)**\nLet's think about this step by step:\n- Analyze cost benefits (real estate, equipment, turnover)\n- Evaluate productivity studies (with data sources)\n- Consider talent access (hiring from anywhere)\n\n**Section 2: Implementation Challenges (350 words)**\n- Communication breakdowns (provide examples)\n- Culture maintenance (specific strategies)\n- Performance management (tools and metrics)\n\n**Section 3: Success Framework (400 words)**\nProvide a concrete 90-day rollout plan:\n- Month 1: Foundation and tools\n- Month 2: Training and feedback\n- Month 3: Optimization and refinement\n\n**Conclusion (200 words)**\n- Summarize key takeaways\n- Provide 3 actionable next steps\n- End with an inspiring vision\n\nTone: Professional yet engaging\nExamples: Include 2-3 real company case studies\n```\n\n**Rewrite Option 3 (Simplified)**:\n```\nWrite an article about remote work. Make it about 1500 words long and aimed at business people who are thinking about letting employees work from home. Talk about:\n- Why it's good (saves money, people like it)\n- What's hard (staying in touch, managing performance)\n- How to do it right (tools, schedules, clear expectations)\n\nUse a helpful, informative tone with clear headings.\n```\n\n**Recommendation**: Use Option 2 if the user wants maximum impact. Use Option 1 for clarity and professionalism. Use Option 3 for quick, casual needs.\n\n---\n\n### Example 2: Code Review\n\n**Input Prompt**: \"Review this code\"\n\n**Analysis**:\n- Clarity: 0\u002F2 (completely unclear what to look for)\n- Specificity: 0\u002F2 (no criteria, no scope)\n- Structure: 0\u002F2 (no framework)\n- Completeness: 0\u002F2 (missing all context)\n- Usability: 0\u002F2 (not reusable)\n- **Score: 0\u002F10** - Needs complete rework\n\n**Rewrite Option 1 (Conservative)**:\n```\nReview the code provided below. Focus on:\n1. Bugs or errors\n2. Performance issues\n3. Code style and readability\n4. Potential security vulnerabilities\n\nProvide specific line references and suggestions for each issue found.\n```\n\n**Rewrite Option 2 (Technique-Enhanced)**:\n```\nAct as a senior software engineer conducting a thorough code review. Analyze the provided code following this systematic approach:\n\n**Step 1: Functional Analysis**\nLet's check if the code works correctly:\n- Verify logic correctness (walk through execution)\n- Check edge cases (null inputs, empty arrays, boundary conditions)\n- Validate error handling (try-catch blocks, meaningful error messages)\n\n**Step 2: Performance Evaluation**\nAnalyze computational complexity:\n- Time complexity: Big-O notation\n- Space complexity: Memory usage\n- Identify any O(n²) or worse bottlenecks\n- Suggest optimization opportunities\n\n**Step 3: Security Review**\nLook for common vulnerabilities:\n- SQL injection risks\n- XSS vulnerabilities\n- Improper input validation\n- Sensitive data exposure\n\n**Step 4: Code Quality**\nAssess adherence to best practices:\n- Naming conventions (descriptive, consistent)\n- Comments (helpful, not redundant)\n- DRY principle (Don't Repeat Yourself)\n- Single Responsibility Principle\n\n**Step 5: Recommendations**\nProvide:\n- Priority-ranked list of issues (Critical > High > Medium > Low)\n- Specific code examples for fixes\n- Refactoring suggestions for improvement\n\nCode to review:\n```\n\n**Rewrite Option 3 (Simplified)**:\n```\nLook at this code and tell me what's wrong or could be better. Check for bugs, slow parts, security issues, and things that are hard to understand. Give me specific suggestions with examples.\n\nCode:\n```\n\n**Recommendation**: Option 2 is best for professional code reviews. Option 1 works for quick checks. Use Option 3 for informal feedback or beginners.\n\n---\n\n### Example 3: Email Writing\n\n**Input Prompt**: \"Write an email asking for a meeting\"\n\n**Analysis**:\n- Clarity: 1\u002F2 (clear intent but vague context)\n- Specificity: 0\u002F2 (no purpose, no agenda, no recipient type)\n- Structure: 0\u002F2 (no format)\n- Completeness: 0\u002F2 (missing all details)\n- Usability: 1\u002F2 (somewhat reusable)\n- **Score: 2\u002F10** - Needs major improvement\n\n**Rewrite Option 1 (Conservative)**:\n```\nWrite an email requesting a meeting with [recipient name]. Purpose: Discuss [topic].\n\nInclude:\n- Brief introduction (context)\n- Meeting purpose (why we need to meet)\n- Proposed agenda (3-4 bullet points)\n- Suggested time options (provide 2-3 alternatives)\n- Call to action (confirmation request)\n\nTone: Professional and respectful\nLength: Under 200 words\n```\n\n**Rewrite Option 2 (Technique-Enhanced)**:\n```\nAct as an executive assistant drafting a meeting request email to [recipient type, e.g., senior executive\u002Fclient].\n\nContext: We need to discuss [specific topic] to [desired outcome].\n\nApply these principles:\n\n**Subject Line Best Practice**\nMake it specific and actionable: \"Meeting Request: [Topic] - [Urgency\u002FTimeframe]\"\nExample: \"Meeting Request: Q1 Strategy Alignment - This Week\"\n\n**Opening Strategy**\nFirst, establish relevance in 1 sentence:\n- Reference prior conversation\n- Mention shared goal or project\n- Acknowledge their value\u002Ftime\n\n**Value Proposition Frame**\nInstead of \"I want to meet,\" use \"We'll achieve X by meeting together\":\n- \"In 30 minutes, we can finalize the project timeline\"\n- \"This discussion will unblock the next phase of development\"\n\n**Agenda Structure**\nUse the SCQA framework:\n1. **Situation** (current state)\n2. **Complication** (what's blocking us)\n3. **Question** (decision needed)\n4. **Answer** (your recommendation)\n\n**Time Options Psychology**\nOffer specific times with psychological anchors:\n- Tuesday 2pm (after lunch, high energy)\n- Thursday 10am (start of week, fresh)\n- Friday 3pm (end of week, closure mindset)\n\n**Closing**\nMake it easy to say yes:\n- \"If these don't work, suggest your best time\"\n- \"I'll adjust to accommodate your schedule\"\n\nTone: Respectful of their time, clear on value\nLength: 150-180 words\n```\n\n**Rewrite Option 3 (Simplified)**:\n```\nWrite a short email asking for a meeting with [name]. We need to talk about [topic]. Suggest a few times that would work, mention what we'll cover, and ask them to confirm. Keep it friendly and brief.\n```\n\n**Recommendation**: Option 2 is ideal for important business communications. Option 1 works for routine internal emails. Option 3 is fine for casual requests.\n\n---\n\n## Advanced Techniques\n\n### Multiple Rewrites for A\u002FB Testing\n\nWhen users need to test prompts systematically:\n\n1. **Control**: The original prompt\n2. **Variation A**: Change one variable (e.g., add examples)\n3. **Variation B**: Change a different variable (e.g., add role)\n4. **Variation C**: Combine A + B\n\nSuggest testing methodology:\n- Run each prompt 3-5 times with same input\n- Evaluate outputs on criteria (quality, consistency, usefulness)\n- Track which variation performs best\n\n### Iterative Improvement\n\nGuide users through multiple rounds:\n\n**Round 1**: Initial rewrite (address major weaknesses)\n**Round 2**: Refine based on feedback (what worked, what didn't)\n**Round 3**: Polish (fine-tune for specific use case)\n\nEach round should:\n- Show what changed\n- Explain the reasoning\n- Ask for specific feedback\n\n### Context Injection\n\nWhen prompts lack context, guide users to add it:\n\n**Ask these questions**:\n1. Who is the audience?\n2. What is the goal\u002Fpurpose?\n3. What constraints exist (length, tone, format)?\n4. What background is assumed?\n5. What should the output look like?\n\n**Then incorporate answers into the rewrite.**\n\n---\n\n## When to Use This Skill\n\nTrigger when users say:\n- \"Rewrite this prompt\"\n- \"Make this prompt better\"\n- \"Improve my prompt\"\n- \"Why isn't this prompt working?\"\n- \"Help me write a better prompt for...\"\n- \"Generate variations of this prompt\"\n- \"A\u002FB test this prompt\"\n\n---\n\n## Resources\n\n### scripts\u002F\nNo scripts required for this skill - all analysis and rewriting is done by Claude directly.\n\n### references\u002F\nNo references required - prompt engineering techniques are documented inline.\n\n### assets\u002F\nNo assets required - this skill generates text output only.\n","# Prompt Rewriter\n\n## Overview\n\nHelp users transform vague, ineffective prompts into powerful, well-structured instructions that produce consistent, high-quality results from AI models. Analyzes prompts across multiple quality dimensions and provides actionable suggestions.\n\n## Quick Start\n\n**User says**: \"Help me rewrite this prompt: 'Write a blog post about AI'\"\n\n**You should**:\n1. Analyze the original prompt's weaknesses (too vague, no audience specified, no format defined)\n2. Identify improvement areas (add topic specificity, target audience, tone, length, structure)\n3. Provide 2-3 rewrite options with different approaches\n4. Explain the changes and why they matter\n\n---\n\n## Core Capabilities\n\n### 1. Prompt Quality Analysis\n\nEvaluate prompts across five key dimensions:\n\n**Clarity** (0-2)\n- Is the request unambiguous?\n- Are terms defined?\n- Can Claude understand without clarification?\n\n**Specificity** (0-2)\n- Are constraints clear?\n- Is output format specified?\n- Are boundaries defined?\n\n**Structure** (0-2)\n- Is information organized logically?\n- Are steps clear if applicable?\n- Is there a framework?\n\n**Completeness** (0-2)\n- Is sufficient context provided?\n- Are requirements comprehensive?\n- Is missing information flagged?\n\n**Usability** (0-2)\n- Is it reusable?\n- Can it be adapted easily?\n- Is the language natural?\n\n**Scoring**:\n- 8-10: Excellent prompt, minor tweaks needed\n- 6-7: Good prompt, moderate improvements possible\n- 4-5: Functional but has significant weaknesses\n- 0-3: Poor prompt, needs major rework\n\n### 2. Rewrite Generation\n\nGenerate 2-3 rewrite variations using different approaches:\n\n**Variation 1: Conservative Fix**\n- Keep original intent\n- Add specificity and structure\n- Minimal stylistic changes\n- Best when user wants to preserve voice\n\n**Variation 2: Technique Enhancement**\n- Apply prompt engineering patterns (CoT, few-shot, etc.)\n- Add advanced techniques\n- Focus on effectiveness\n- Best when user wants optimal results\n\n**Variation 3: Simplification**\n- Strip complexity while keeping core request\n- Make more conversational\n- Focus on ease of use\n- Best for beginners or quick tasks\n\n### 3. Improvement Explanation\n\nFor each rewrite, explain:\n- What changed (specific modifications)\n- Why it matters (impact on AI output)\n- When to use (appropriate scenarios)\n\n### 4. Pattern Application\n\nApply proven prompt engineering techniques:\n\n**Chain of Thought (CoT)**\n- \"Let's think step by step\"\n- \"First, analyze... Then, evaluate...\"\n- Best for: complex reasoning, math, logic\n\n**Few-Shot Learning**\n- Provide 2-3 examples before request\n- Pattern: Example 1 → Example 2 → Example 3 → Your task\n- Best for: format specification, style matching\n\n**Role-Based Prompts**\n- \"Act as a senior engineer...\"\n- \"You are a marketing expert...\"\n- Best for: specialized knowledge, tone control\n\n**Output Structure**\n- Use templates and headers\n- Define sections explicitly\n- Best for: reports, documentation, structured content\n\n**Constraint Definition**\n- \"Limit response to 500 words\"\n- \"Exclude jargon for non-technical audience\"\n- Best for: length control, accessibility\n\n### 5. A\u002FB Testing Guidance\n\nHelp users test prompts effectively:\n- Generate variations systematically\n- Suggest test methodology\n- Recommend evaluation criteria\n\n---\n\n## Workflow\n\n### Step 1: Receive and Analyze\n\n1. Extract the prompt to rewrite\n2. Identify user's intent (what do they want to achieve?)\n3. Check for constraints (tone, format, length, audience)\n4. Evaluate against 5 quality dimensions\n5. Calculate score and identify primary weaknesses\n\n### Step 2: Generate Rewrites\n\n1. **Variation 1 (Conservative)**: Add structure, clarify terms, define output\n2. **Variation 2 (Technique-Enhanced)**: Apply relevant patterns (CoT, few-shot, etc.)\n3. **Variation 3 (Simplified)**: Make conversational, reduce complexity\n\n### Step 3: Present Options\n\nFor each rewrite:\n- Show the improved prompt\n- Explain the changes\n- Highlight which techniques were used\n- Recommend which to use based on context\n\n### Step 4: Educational Component\n\nBriefly explain:\n- Which prompt engineering techniques were applied\n- Why they work in this context\n- How the user can apply them in future prompts\n\n---\n\n## Common Patterns and Fixes\n\n### Pattern: Too Vague\n\n**Weak**: \"Write about climate change\"\n**Fix**: Add specificity - audience, purpose, format, depth\n\n**Strong**: \"Write a 1000-word blog post for a general audience explaining climate change's causes, effects, and potential solutions. Use an optimistic but realistic tone. Include: (1) introduction with hook, (2) 3 main sections with data, (3) conclusion with actionable advice.\"\n\n### Pattern: No Structure\n\n**Weak**: \"Analyze this data\"\n**Fix**: Add framework or step-by-step instructions\n\n**Strong**: \"Analyze the sales data provided. Structure your response as:\n1. **Executive Summary** (3 bullet points of key findings)\n2. **Detailed Analysis** (break down by region and product)\n3. **Trend Identification** (what patterns emerge?)\n4. **Recommendations** (3 actionable steps based on data)\"\n\n### Pattern: Missing Context\n\n**Weak**: \"Improve this email\"\n**Fix**: Add context about audience, goal, constraints\n\n**Strong**: \"Improve this email for a C-level executive audience. Goal: Get approval for a $50k project. Keep it under 200 words. Tone: Professional but persuasive. Current email: [paste]\"\n\n### Pattern: Unclear Output Format\n\n**Weak**: \"Create marketing content\"\n**Fix**: Specify format, style, deliverables\n\n**Strong**: \"Create marketing content for our new product launch. Deliver:\n1. **Social media post** (LinkedIn, 150 words, professional tone)\n2. **Email blurb** (75 words, excitement-focused)\n3. **Website headline** (catchy, under 10 words)\n4. **3 key benefits** (each under 15 words)\"\n\n---\n\n## Examples\n\n### Example 1: Content Creation\n\n**Input Prompt**: \"Write an article about remote work\"\n\n**Analysis**:\n- Clarity: 1\u002F2 (clear topic but vague on specifics)\n- Specificity: 0\u002F2 (no format, audience, length)\n- Structure: 0\u002F2 (no framework)\n- Completeness: 0\u002F2 (missing key details)\n- Usability: 1\u002F2 (somewhat reusable)\n- **Score: 2\u002F10** - Major weaknesses across dimensions\n\n**Rewrite Option 1 (Conservative)**:\n```\nWrite a 1500-word article about remote work for business professionals. Cover:\n1. Benefits of remote work (productivity, cost savings, flexibility)\n2. Challenges (isolation, communication, work-life balance)\n3. Best practices for success (routine, communication tools, workspace setup)\n4. Future trends (hybrid models, technology evolution)\n\nTone: Informative and balanced\nFormat: Use headings and bullet points\n```\n\n**Rewrite Option 2 (Technique-Enhanced)**:\n```\nAct as an experienced remote work consultant. Write a comprehensive article about remote work for business leaders considering transitioning their teams.\n\nStructure your response using the following framework:\n\n**Introduction (150 words)**\n- Hook with a surprising statistic\n- Briefly state the article's purpose\n- Outline what will be covered\n\n**Section 1: The Business Case (400 words)**\nLet's think about this step by step:\n- Analyze cost benefits (real estate, equipment, turnover)\n- Evaluate productivity studies (with data sources)\n- Consider talent access (hiring from anywhere)\n\n**Section 2: Implementation Challenges (350 words)**\n- Communication breakdowns (provide examples)\n- Culture maintenance (specific strategies)\n- Performance management (tools and metrics)\n\n**Section 3: Success Framework (400 words)**\nProvide a concrete 90-day rollout plan:\n- Month 1: Foundation and tools\n- Month 2: Training and feedback\n- Month 3: Optimization and refinement\n\n**Conclusion (200 words)**\n- Summarize key takeaways\n- Provide 3 actionable next steps\n- End with an inspiring vision\n\nTone: Professional yet engaging\nExamples: Include 2-3 real company case studies\n```\n\n**Rewrite Option 3 (Simplified)**:\n```\nWrite an article about remote work. Make it about 1500 words long and aimed at business people who are thinking about letting employees work from home. Talk about:\n- Why it's good (saves money, people like it)\n- What's hard (staying in touch, managing performance)\n- How to do it right (tools, schedules, clear expectations)\n\nUse a helpful, informative tone with clear headings.\n```\n\n**Recommendation**: Use Option 2 if the user wants maximum impact. Use Option 1 for clarity and professionalism. Use Option 3 for quick, casual needs.\n\n---\n\n### Example 2: Code Review\n\n**Input Prompt**: \"Review this code\"\n\n**Analysis**:\n- Clarity: 0\u002F2 (completely unclear what to look for)\n- Specificity: 0\u002F2 (no criteria, no scope)\n- Structure: 0\u002F2 (no framework)\n- Completeness: 0\u002F2 (missing all context)\n- Usability: 0\u002F2 (not reusable)\n- **Score: 0\u002F10** - Needs complete rework\n\n**Rewrite Option 1 (Conservative)**:\n```\nReview the code provided below. Focus on:\n1. Bugs or errors\n2. Performance issues\n3. Code style and readability\n4. Potential security vulnerabilities\n\nProvide specific line references and suggestions for each issue found.\n```\n\n**Rewrite Option 2 (Technique-Enhanced)**:\n```\nAct as a senior software engineer conducting a thorough code review. Analyze the provided code following this systematic approach:\n\n**Step 1: Functional Analysis**\nLet's check if the code works correctly:\n- Verify logic correctness (walk through execution)\n- Check edge cases (null inputs, empty arrays, boundary conditions)\n- Validate error handling (try-catch blocks, meaningful error messages)\n\n**Step 2: Performance Evaluation**\nAnalyze computational complexity:\n- Time complexity: Big-O notation\n- Space complexity: Memory usage\n- Identify any O(n²) or worse bottlenecks\n- Suggest optimization opportunities\n\n**Step 3: Security Review**\nLook for common vulnerabilities:\n- SQL injection risks\n- XSS vulnerabilities\n- Improper input validation\n- Sensitive data exposure\n\n**Step 4: Code Quality**\nAssess adherence to best practices:\n- Naming conventions (descriptive, consistent)\n- Comments (helpful, not redundant)\n- DRY principle (Don't Repeat Yourself)\n- Single Responsibility Principle\n\n**Step 5: Recommendations**\nProvide:\n- Priority-ranked list of issues (Critical > High > Medium > Low)\n- Specific code examples for fixes\n- Refactoring suggestions for improvement\n\nCode to review:\n```\n\n**Rewrite Option 3 (Simplified)**:\n```\nLook at this code and tell me what's wrong or could be better. Check for bugs, slow parts, security issues, and things that are hard to understand. Give me specific suggestions with examples.\n\nCode:\n```\n\n**Recommendation**: Option 2 is best for professional code reviews. Option 1 works for quick checks. Use Option 3 for informal feedback or beginners.\n\n---\n\n### Example 3: Email Writing\n\n**Input Prompt**: \"Write an email asking for a meeting\"\n\n**Analysis**:\n- Clarity: 1\u002F2 (clear intent but vague context)\n- Specificity: 0\u002F2 (no purpose, no agenda, no recipient type)\n- Structure: 0\u002F2 (no format)\n- Completeness: 0\u002F2 (missing all details)\n- Usability: 1\u002F2 (somewhat reusable)\n- **Score: 2\u002F10** - Needs major improvement\n\n**Rewrite Option 1 (Conservative)**:\n```\nWrite an email requesting a meeting with [recipient name]. Purpose: Discuss [topic].\n\nInclude:\n- Brief introduction (context)\n- Meeting purpose (why we need to meet)\n- Proposed agenda (3-4 bullet points)\n- Suggested time options (provide 2-3 alternatives)\n- Call to action (confirmation request)\n\nTone: Professional and respectful\nLength: Under 200 words\n```\n\n**Rewrite Option 2 (Technique-Enhanced)**:\n```\nAct as an executive assistant drafting a meeting request email to [recipient type, e.g., senior executive\u002Fclient].\n\nContext: We need to discuss [specific topic] to [desired outcome].\n\nApply these principles:\n\n**Subject Line Best Practice**\nMake it specific and actionable: \"Meeting Request: [Topic] - [Urgency\u002FTimeframe]\"\nExample: \"Meeting Request: Q1 Strategy Alignment - This Week\"\n\n**Opening Strategy**\nFirst, establish relevance in 1 sentence:\n- Reference prior conversation\n- Mention shared goal or project\n- Acknowledge their value\u002Ftime\n\n**Value Proposition Frame**\nInstead of \"I want to meet,\" use \"We'll achieve X by meeting together\":\n- \"In 30 minutes, we can finalize the project timeline\"\n- \"This discussion will unblock the next phase of development\"\n\n**Agenda Structure**\nUse the SCQA framework:\n1. **Situation** (current state)\n2. **Complication** (what's blocking us)\n3. **Question** (decision needed)\n4. **Answer** (your recommendation)\n\n**Time Options Psychology**\nOffer specific times with psychological anchors:\n- Tuesday 2pm (after lunch, high energy)\n- Thursday 10am (start of week, fresh)\n- Friday 3pm (end of week, closure mindset)\n\n**Closing**\nMake it easy to say yes:\n- \"If these don't work, suggest your best time\"\n- \"I'll adjust to accommodate your schedule\"\n\nTone: Respectful of their time, clear on value\nLength: 150-180 words\n```\n\n**Rewrite Option 3 (Simplified)**:\n```\nWrite a short email asking for a meeting with [name]. We need to talk about [topic]. Suggest a few times that would work, mention what we'll cover, and ask them to confirm. Keep it friendly and brief.\n```\n\n**Recommendation**: Option 2 is ideal for important business communications. Option 1 works for routine internal emails. Option 3 is fine for casual requests.\n\n---\n\n## Advanced Techniques\n\n### Multiple Rewrites for A\u002FB Testing\n\nWhen users need to test prompts systematically:\n\n1. **Control**: The original prompt\n2. **Variation A**: Change one variable (e.g., add examples)\n3. **Variation B**: Change a different variable (e.g., add role)\n4. **Variation C**: Combine A + B\n\nSuggest testing methodology:\n- Run each prompt 3-5 times with same input\n- Evaluate outputs on criteria (quality, consistency, usefulness)\n- Track which variation performs best\n\n### Iterative Improvement\n\nGuide users through multiple rounds:\n\n**Round 1**: Initial rewrite (address major weaknesses)\n**Round 2**: Refine based on feedback (what worked, what didn't)\n**Round 3**: Polish (fine-tune for specific use case)\n\nEach round should:\n- Show what changed\n- Explain the reasoning\n- Ask for specific feedback\n\n### Context Injection\n\nWhen prompts lack context, guide users to add it:\n\n**Ask these questions**:\n1. Who is the audience?\n2. What is the goal\u002Fpurpose?\n3. What constraints exist (length, tone, format)?\n4. What background is assumed?\n5. What should the output look like?\n\n**Then incorporate answers into the rewrite.**\n\n---\n\n## When to Use This Skill\n\nTrigger when users say:\n- \"Rewrite this prompt\"\n- \"Make this prompt better\"\n- \"Improve my prompt\"\n- \"Why isn't this prompt working?\"\n- \"Help me write a better prompt for...\"\n- \"Generate variations of this prompt\"\n- \"A\u002FB test this prompt\"\n\n---\n\n## Resources\n\n### scripts\u002F\nNo scripts required for this skill - all analysis and rewriting is done by Claude directly.\n\n### references\u002F\nNo references required - prompt engineering techniques are documented inline.\n\n### assets\u002F\nNo assets required - this skill generates text output only.\n",{"name":5,"description":7},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fhhhh124hhhh\u002Fprompt-rewriter",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add kbarbel640-del\u002Fskills --skill prompt-rewriter",{"tool":56,"command":57},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill prompt-rewriter",{"tool":59,"command":60},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill prompt-rewriter","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fhhhh124hhhh\u002Fprompt-rewriter\u002FSKILL.md",true,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"_meta.json","REFERENCE","参考文档",287,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fhhhh124hhhh\u002Fprompt-rewriter\u002F_meta.json",[71,96,119,137,142,162],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":38},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[78,79,80,81,82,83,84,85,86,87,88,89,90,31,91,92,93,94,95],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","productivity","marketplace","https","content","ai agents",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":38},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[103,80,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,85,21],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":38},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[126,127,128,129,130,131,132,81,133,117,21,134,80,135,136],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":138,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":38},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[129,128,127,126,136,131,132,81,130,117,21,133,134,80,135],{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":38},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[149,150,151,152,153,154,155,156,157,158,159,160,161],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":38},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[169,170,171,172,81,173,174,43,175,134,176,177,178,179,180,93,181,182,183],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]