Prompt optimize

From senda-labs/DQIII8 · View interactive version

Prompt optimize is an AI agent skill from the GitHub repository senda-labs/DQIII8. Analyze and optimize a prompt for the DQIII8 ecosystem. Classifies prompt type (LLM routing, image gen, TTS, agent instruction, Telegram), scores 5 dimensions, produces optimized version.

How to use this skill

Skill file

/prompt-optimize — Optimize a Prompt for DQIII8/Pipeline

Analyze and optimize a prompt for maximum effectiveness in the DQIII8 ecosystem

(LLM routing, scene director, TTS, Telegram bot, or agent instructions).

Usage

/prompt-optimize [the prompt text or file path]

Your Task

Given the prompt in $ARGUMENTS:

1. Classify the prompt type

2. Evaluate on 5 dimensions (score 0-10 each)

| Dimension | What to check |

|-----------|---------------|

| Clarity | Unambiguous intent, no vague instructions |

| Specificity | Concrete examples, exact formats, numbers |

| Conciseness | No filler words, no redundant instructions |

| Output contract | Explicit format (JSON/markdown/text) stated |

| Edge cases | Handles empty input, failure, ambiguity |

3. Produce optimized version

Apply these DQIII8-specific improvements:

For LLM prompts:

For image prompts (fal.ai):

For TTS narration:

For agent instructions:

(.claude/rules/03_tiering_and_routing.md)

For Telegram messages:

4. Output format

PROMPT OPTIMIZATION REPORT
===========================
Type: [classified type]
Original score: [X]/50

Scores:
  Clarity:       [X]/10  — [one-line finding]
  Specificity:   [X]/10  — [one-line finding]
  Conciseness:   [X]/10  — [one-line finding]
  Output contract:[X]/10 — [one-line finding]
  Edge cases:    [X]/10  — [one-line finding]

Key issues:
  1. [issue + fix]
  2. [issue + fix]

Optimized prompt:
---
[full optimized prompt text]
---
Optimized score: [X]/50

CRITICAL

User Input

$ARGUMENTS

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.