Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sk-prompt

БесплатноБез исполняемых скриптовНе проверен

Prompt engineering: turns a request into a structured, checked AI prompt, with a component skeleton and CLEAR screening.

MichelKerkmeesterот MichelKerkmeester★ 40 звёзд на GitHub

Об этом скилле

Prompt Engineering Specialist - One-Pass Prompt Improvement

Transforms vague or basic inputs into structured AI prompts in one pass: a ten-row checklist, one component skeleton with optional framework presets, and CLEAR screening.

Core Principle: Clarity, logic, expression, and reliability through structured methodology.


1. WHEN TO USE

Activation Triggers

Use when:

  • Enhancing or improving an AI prompt for any purpose
  • Evaluating prompt quality with CLEAR scoring
  • Selecting the right prompt framework for a given task
  • Transforming vague requests into structured, effective prompts
  • Supporting indirect invocation from @prompt-improver agent dispatches (the deep-path escalation target for CLI fast-path prompt cards)

Keyword Triggers:

  • $improve, $text, $short, $refine, $json, $yaml
  • $raw (no checklist pass, fast pass-through)
  • "improve my prompt", "enhance this prompt", "prompt engineering"
  • "create a prompt for", "optimize this prompt"

Use Cases

Text Prompt Enhancement

Transform vague requests into structured prompts from one default skeleton, with RCAF, COSTAR, RACE, CIDI, TIDD-EC, CRISPE or CRAFT as optional presets, and CLEAR screening (40+/50 threshold).

Design-Generation Prompt

Construct a grounded, anti-default generation brief for a design-generation run. This skill owns the prompt only, never the measured design-reference extraction (sk-design-md-generator) or the run transport.

When NOT to Use

Skip this skill when:

  • Writing code or debugging (use sk-code skills instead)
  • Creating documentation (use sk-doc instead)
  • Simple text editing without prompt structure needs
  • Direct API calls that do not need prompt optimization

2. SMART ROUTING

The $improve, $text, $refine, $short, $json, $yaml and $raw prefixes select this skill, and so does a request to improve, enhance, score or restructure a prompt. The prefix is authoritative: it fixes the operating mode, and the intent scores the router computes never change it. With no prefix, weighted keyword scoring picks the top intent, or the top two when their scores sit within AMBIGUITY_DELTA. A zero score falls back to TEXT_ENHANCE with the disambiguation checklist rather than guessing.

references/improvement-checklist.md loads first on every run except $raw and the FRAMEWORK intent, and references/patterns-evaluation.md joins it for the text, design-generation, Markdown, JSON and YAML intents. On FRAMEWORK it replaces the checklist default instead of joining it. The DESIGN_GEN intent loads references/patterns-evaluation.md, the framework library and the CLEAR rubric, so the brief is built from a named framework rather than a design-specific reference this skill does not ship. Read ROUTER.md before selecting skill-local resources. Open only the matched files.


3. HOW IT WORKS

Enhancement Pipeline

Every improvement runs one pass, described in improvement-checklist.md:

  1. Detect the mode from the command token or the user's own words. A pasted prompt is set aside before routing, so text inside it never picks the mode.
  2. Check the prompt once against the ten checklist rows, marking each present, absent or not needed with a reason. A prompt that passes exits early, unchanged or minimally edited.
  3. Write the prompt from the default component skeleton, applying a framework preset only when the request names one or its fit is clear from the task.
  4. Self-check once against the success criteria, run the quick test when the effort level calls for it, and screen with CLEAR.
  5. Deliver the prompt first, then the numbered open items and the change report.

See the Smart Router Pseudocode in ROUTER.md for the complete routing logic.

Operating Modes

Mode Command Effort Scoring Use Case
Interactive (default) standard CLEAR Guided enhancement
Text $text standard CLEAR Standard text prompt
Short $short quick CLEAR Quick refinement
Improve $improve standard CLEAR Standard enhancement
Refine $refine thorough CLEAR Maximum optimization
JSON $json standard CLEAR API-ready format
YAML $yaml standard CLEAR Config format
Raw $raw none None No checklist pass

Framework Presets

Every prompt starts from one default skeleton: task, context, constraints, output format, optional examples and success criteria. The seven framework names stay as optional presets. Apply one only when the user or caller names it, or when its fit is clear from the task; the t

Полный SKILL.md на GitHub

Установить sk-prompt в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash
Glob
Grep

Вложенные файлы

README.mdROUTER.mdassets/cli-prompt-quality-card.mdassets/format-guide-json.mdassets/format-guide-markdown.mdassets/format-guide-yaml.mdassets/framework-registry.jsonbenchmark/README.mdbenchmark/reports/2026-07-10--router-mode-a--router/README.mdbenchmark/reports/2026-07-10--router-mode-a--router/failed-runs.mdbenchmark/reports/2026-07-10--router-mode-a--router/findings-and-recommendations.mdbenchmark/reports/2026-07-10--router-mode-a--router/results.csvbenchmark/reports/2026-07-10--router-mode-a--router/skill-benchmark-report.jsonbenchmark/reports/2026-07-10--router-mode-a--router/skill-benchmark-report.mdbenchmark/reports/2026-07-10--router-mode-a--router/source.mdbenchmark/reports/README.mdbenchmark/reports/compiled-routing/2026-07-21--playbook-verify--sonnet/README.mdbenchmark/reports/compiled-routing/2026-07-21--playbook-verify--sonnet/failed-runs.mdbenchmark/reports/compiled-routing/2026-07-21--playbook-verify--sonnet/findings-and-recommendations.mdbenchmark/reports/compiled-routing/2026-07-21--playbook-verify--sonnet/report.jsonbenchmark/reports/compiled-routing/2026-07-21--playbook-verify--sonnet/results.csvbenchmark/reports/compiled-routing/2026-07-21--playbook-verify--sonnet/source.mdbenchmark/reports/compiled-routing/2026-07-21--real--luna-high/README.mdbenchmark/reports/compiled-routing/2026-07-21--real--luna-high/failed-runs.mdbenchmark/reports/compiled-routing/2026-07-21--real--luna-high/findings-and-recommendations.mdbenchmark/reports/compiled-routing/2026-07-21--real--luna-high/results.csvbenchmark/reports/compiled-routing/2026-07-21--real--luna-high/serving-snapshot.jsonbenchmark/reports/compiled-routing/2026-07-21--real--luna-high/serving-snapshot.mdbenchmark/reports/compiled-routing/2026-07-21--real--luna-high/skill-benchmark-report.jsonbenchmark/reports/compiled-routing/2026-07-21--real--luna-high/skill-benchmark-report.mdbenchmark/reports/compiled-routing/2026-07-21--real--luna-high/source.mdbenchmark/reports/compiled-routing/2026-07-21--verify--luna-high/README.mdbenchmark/reports/compiled-routing/2026-07-21--verify--luna-high/failed-runs.mdbenchmark/reports/compiled-routing/2026-07-21--verify--luna-high/findings-and-recommendations.mdbenchmark/reports/compiled-routing/2026-07-21--verify--luna-high/results.csvbenchmark/reports/compiled-routing/2026-07-21--verify--luna-high/serving-snapshot.jsonbenchmark/reports/compiled-routing/2026-07-21--verify--luna-high/serving-snapshot.mdbenchmark/reports/compiled-routing/2026-07-21--verify--luna-high/skill-benchmark-report.jsonbenchmark/reports/compiled-routing/2026-07-21--verify--luna-high/skill-benchmark-report.mdbenchmark/reports/compiled-routing/2026-07-21--verify--luna-high/source.md

FAQ

Что делает скилл sk-prompt?

Prompt engineering: turns a request into a structured, checked AI prompt, with a component skeleton and CLEAR screening.

Как установить скилл sk-prompt?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sk-prompt запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить sk-prompt с