plugins/kronen/skills/prompt-optimizer/SKILL.md
Sharpens vague prompts into precise instructions using proven frameworks. Mode A (auto-sharpen): hook-triggered, infers missing context from codebase, rewrites the prompt, shows the sharpened version, proceeds. Mode B (prompt builder): command-triggered via /prompt:create, takes rough intent, applies best framework, outputs a polished prompt for copy or execution.
npx skillsauth add hjemmesidekongen/ai prompt-optimizerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Transforms vague or underspecified prompts into precise, structured instructions.
Mode A (auto-sharpen) — Triggered by hook context when a prompt is too vague. Infer missing context from codebase, apply RSCIT framework, present "I'll approach this as: [sharpened version]", then proceed with the sharpened interpretation.
Mode B (prompt builder) — Triggered by /prompt:create. Takes rough intent,
categorizes it (Technical/Creative/Analysis/Transformation), selects the best
framework, asks 2-3 clarifying questions if needed, outputs a polished prompt
in a code block, then asks "Copy this, or execute it here?"
/prompt:create (Mode B)See references/process.md for the full methodology, diagnostic patterns,
and audit checklist.
See references/frameworks.md for the five supported frameworks with usage
guidance and example structures.
See references/templates.md for reusable prompt templates organized by
category: Technical, Creative, Analysis, Transformation.
System Context > Task > Examples > Input > Output Formatdevelopment
Creates a brand from scratch through market research and interactive sparring. Runs competitive research via Perplexity, then guides the user through positioning, audience, voice, values, and content pillars. Produces the full brand guideline set at .ai/brand/{name}/. Use when building a new brand, defining brand strategy for a product, or when /våbenskjold:create is invoked.
testing
Loads brand guidelines from .ai/brand/{name}/ and makes them available to the current context. Progressive disclosure: L1 confirms brand exists, L2 loads summary, L3 loads specific files on demand. Use when a downstream skill or user needs brand context, or when /våbenskjold:apply is invoked.
documentation
Guided reinvention of an existing brand guideline. Loads current brand from .ai/brand/{name}/, identifies what to keep vs change, and walks the user through targeted evolution. Preserves brand equity while updating positioning, voice, or values. Use when refreshing a brand or when /våbenskjold:evolve is invoked.
development
Codifies an existing brand from materials, samples, and references. Analyzes provided content to extract voice patterns, values, and positioning. Produces the same guideline format as brand-strategy. Use when a brand already exists but isn't documented, or when /våbenskjold:audit is invoked.