AI Agent Hub
Back to skills
Smart Prompt icon

Smart Prompt

AI Agent Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Follow https://skillhub.cn/install/skillhub.md to install @user_ad872d55/smart-prompt.

About this skill

Problem

Ordinary prompts often state only what to do, without goals, constraints, output format, or evaluation criteria. smart-prompt turns a short instruction into a structured prompt and reduces manual copy-paste execution steps.

How It Works

  • Intent recognition: uses 5W1H to identify task type, goal, constraints, audience, and output format.
  • Scene matching: selects a pattern from code, writing, analysis, creative, data, or general prompts.
  • Thinking enhancement: injects commands such as critical evaluation, reverse thinking, first principles, tree reasoning, and constraint optimization.
  • Structured generation: outputs a refined prompt with role, task breakdown, few-shot examples, and output format.
  • Auto execution: defaults to auto_execute: true, runs the refined prompt immediately, and returns both result and prompt for review.

Boundaries

It is useful for quickly rewriting instructions and trial-running tasks, but not ideal for high-risk operations that require strict human confirmation. Default auto execution reduces confirmation steps, so be cautious with production data, published content, or irreversible actions. The default timeout is 300s, and complex tasks may need splitting. Scoring history and A/B testing compare accuracy, completeness, practicality, and creativity across prompt versions, while final quality still depends on task clarity and model capability.

Use Cases

  • Turn a one-line competitor request into structured analysis and generate a draft report.
  • Expand “fix this bug” with constraints, repro steps, and output format before debugging.
  • Convert “write an intro” into product copy with audience, tone, and section structure.
  • Run A/B versions of the same prompt and compare accuracy and completeness.

Best For

  • Product managers who turn one-line instructions into structured task briefs.
  • Technical writers who need consistent output format from model responses.
  • Prompt engineers comparing versions to choose better structured prompts.
  • Data analysts adding constraints and output templates to analysis requests.