prompt-optimizer

Analyze raw prompts, map them to ECC components, and generate optimized prompt versions.

1|1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/zardusai-cyber/zardus_setup --skill prompt-optimizer-zardusai-cyber
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-optimizer
Source: https://github.com/zardusai-cyber/zardus_setup/tree/main/ecc/skills/prompt-optimizer
Command: npx skills add https://github.com/zardusai-cyber/zardus_setup --skill prompt-optimizer-zardusai-cyber

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze raw prompts, identify intent and gaps, match ECC components (skills/commands/agents/hooks), and output a ready-to-paste optimized prompt. Advisory role only — never executes the task itself.

Core Features & Use Cases

  • Analyze prompts to detect intent and missing elements
  • Map prompts to ECC components (skills, commands, agents, hooks)
  • Generate a complete, ready-to-paste optimized prompt in full and quick versions
  • Provide guidance on when to trigger specific ECC workflows

Quick Start

Provide an optimized prompt for the user's draft prompt following ECC guidelines.

Frequently Asked Questions about prompt-optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize raw prompts for ECC workflows like plan and code review?

To optimize raw prompts for ECC workflows, this tool analyzes intent, assesses scope, and matches requirements to ECC components to output a ready-to-paste optimized prompt. It processes inputs across planning, TDD, code review, and verification workflows.

What is ECC prompt engineering and when do I need it?

ECC prompt engineering maps raw instructions to specific components like skills, commands, agents, and hooks. You need it when draft prompts lack context or structure, ensuring the model receives complete guidance for planning or code review tasks.

Can I use prompt optimization for Chinese language inputs?

Yes, prompt optimization handles multilingual inputs including Chinese equivalents. The pipeline detects intent, identifies missing context, and maps the text to ECC components to produce both full and quick optimized prompt versions.

How do I map a draft prompt to specific skills, commands, and agents?

Mapping a draft prompt to ECC components involves detecting project scope and intent, then matching requirements to available skills, commands, agents, and hooks. The tool outputs an optimized prompt with missing context filled in automatically.

What is the best way to structure a prompt for TDD and verification workflows?

The best way to structure prompts for TDD and verification is applying a six-phase pipeline: project detection, intent detection, scope assessment, component matching, missing context detection, and model recommendation to generate complete optimized prompts.

Does the prompt optimizer execute code generation or planning tasks directly?

No, the prompt optimizer serves an advisory role only and never executes tasks itself. It analyzes raw prompts, identifies gaps, and generates ready-to-paste optimized prompts with full and quick versions for downstream execution.