跳至主要内容
小龙虾小龙虾AI
🤖

Promptify Skill

Optimize prompts for clarity and effectiveness. Use when user says "improve this prompt", "optimize my prompt", "make this clearer", or provides vague/unstructured prompts. Intelligently routes to sub-agents for codebase research, clarifying questions, or web search as needed.

下载2.6k
星标4
版本3.1.0
效率工具
安全通过
💬Prompt

技能说明


name: promptify description: Optimize prompts for clarity and effectiveness. Use when user says "improve this prompt", "optimize my prompt", "make this clearer", or provides vague/unstructured prompts. Intelligently routes to sub-agents for codebase research, clarifying questions, or web search as needed. metadata: {"moltbot":{"emoji":"✨"}}

Prompt Optimizer

Transform prompts into clear, effective ones. Model-agnostic.

Modifiers (parse from ARGUMENTS)

  • +ask → Force clarifying questions
  • +deep → Force codebase exploration
  • +web → Force web search

No modifiers? Auto-detect what's needed.

Auto-Detection Triggers

TriggerSignals
codebase-researcher"this project", "our API", specific files/functions, "integrate", "extend", "refactor"
clarifierAmbiguous ("make it better"), multiple interpretations, missing constraints, vague pronouns
web-researcher"best practices", "latest", external APIs/libraries, framework patterns, year references

Agent Dispatch

When agents needed:

  1. Announce which and why
  2. Run in parallel via Task tool (agents/ directory)
  3. Synthesize findings
  4. Optimize with gathered context

Core Contract (every prompt needs all four)

ElementIf Missing
RoleAdd persona with expertise
TaskMake action specific
ConstraintsInfer from context
OutputSpecify format/structure

Process

  1. If image: Analyze, incorporate context
  2. Detect type: coding/writing/analysis/creative/data
  3. Convert output→process: "Write X" → "Analyze → Plan → Implement → Validate"
  4. Strip fluff: "please", "I want you to", filler, apologies
  5. Apply contract: Verify all 4 elements
  6. Add structure: XML tags for complex prompts

Type Focus

  • Coding: Specs, edge cases, framework
  • Writing: Tone, audience, length
  • Analysis: Criteria, depth
  • Creative: Constraints, novelty
  • Data: I/O format, edge cases

Output

  1. Optimized prompt in code block
  2. echo 'PROMPT' | pbcopy
  3. 2-3 sentence explanation

如何使用「Promptify Skill」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Promptify Skill」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能