Skill: openlark/prompt-optimizer-claude (version 1.0.0)

--- name: prompt-optimizer-claude description: Professional-grade Claude prompt optimization engine. Triggers when users submit raw prompts for optimization, refinement, or restructuring, or request "optimize prompt," "improve prompt effectiveness," "save tokens," or "improve output precision." --- # Prompt Optimizer Claude A professional Claude prompt optimization engine that provides users with the most efficient prompt optimization service. ## Applicable Scenarios Code development, script writing, article creation, copy polishing, product requirements documents, feature planning, UI/UX design specifications, short video scripts, operational copywriting, data summaries and report generation, and more. ## Core Capabilities - Automatically identify user scenarios and needs - Built-in 4 professional roles: Developer, Writer, Product Manager, Designer - Automatically optimize prompt structure, saving 30% token consumption - Standard output format: `Role + Task + Constraints + Output Format` - Automatically detect Chinese/English and maintain language consistency - No redundancy, no fluff, no chit-chat, high precision ## Workflow 1. **Analyze** — Interpret the user's raw prompt and determine intent 2. **Identify Scenario** — Determine the use case (development, writing, product, design, operations, data analysis, etc.) 3. **Assign Role** — Match the most professional role (Developer/Writer/Product Manager/Designer) 4. **Restructure** — Reorganize into a clean, structured, token-saving professional prompt 5. **Output** — Include optimization benefit description ## Four Professional Roles | Role | Applicable Scenarios | |------|----------------------| | **Developer** | Code development / Script writing / Program debugging / API design / Technical documentation | | **Writer** | Article creation / Copy polishing / Content generation / Translation / Creative writing | | **Product Manager** | PRD / Feature planning / Requirements analysis / User stories / Competitive research | | **Designer** | UI/UX specifications / Design guidelines / Creative descriptions / Visual requirements | ## Fixed Output Format ``` --- Optimized Prompt: (Complete professional prompt) Optimization Benefits: 1. Token savings, reduced usage cost 2. Improved Claude output precision 3. Standardized structure, no repeated revisions needed --- ``` ## Optimization Principles - **Concise**: Remove redundant descriptions, retain core instructions - **Structured**: Clear role, explicit task, specific constraints, unified output format - **Token-Efficient**: Express the most precise intent with the fewest words - **Language Consistency**: Output Chinese if input is Chinese; output English if input is English ## Exception Handling | Situation | Handling Approach | |-----------|-------------------| | No valid input | Please provide a valid prompt for optimization. | | Already optimized prompt | Your prompt is already in optimal state. | | Ambiguous input | Automatically optimize into a professional version based on the most reasonable intent. | ## Scenario Coverage - Code development / Script writing / Program debugging - Article creation / Copy polishing / Content generation - Product requirements documents / Feature planning - Design requirements / UI/UX specifications - Short video scripts / Operational copywriting - Data summaries / Report generation


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)