prompt-craft

Diagnose and rewrite LLM prompts with explicit output formats and boundary constraints.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/CNife/skills --skill prompt-craft-cnife
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-craft
Source: https://github.com/CNife/skills/tree/main/.archive/prompt-craft
Command: npx skills add https://github.com/CNife/skills --skill prompt-craft-cnife

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users revise an existing LLM prompt when the model's output is vague, unstable, or poorly structured. It keeps the original task intent while making the instruction clearer and easier to execute.

Core Features & Use Cases

  • Reviews prompts for ambiguity, missing constraints, and weak formatting.
  • Rewrites prompts for common tasks such as summarization, extraction, rewriting, and response drafting.
  • Preserves the original language and style unless the user asks for a change.
  • Example: turn a loose request like "make this shorter" into a prompt that states length, audience, input boundaries, and desired output format.

Quick Start

把你要优化的提示词直接发给我,我会先给出诊断,再提供可直接复制使用的改进版。

Frequently Asked Questions about prompt-craft

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

FAQPage Schema
How do I fix unstable or vague LLM output from my existing prompts?

Refine existing LLM prompts to improve clarity and controllability by applying structured diagnosis, instruction prioritization, delimiter-based context separation, and explicit output format constraints while preserving the original language and intent.

How do I rewrite a prompt for extraction or summarization tasks?

Rewrite prompts for extraction or summarization by applying structured diagnosis and instruction prioritization, adding explicit output formatting and boundary constraints to ensure the LLM produces stable and controllable results.

What is the best way to add output formatting and boundary constraints to LLM prompts?

The best way to add output formatting and boundary constraints to LLM prompts is through delimiter-based context separation and instruction prioritization, ensuring the LLM produces structured and stable results.

Can I optimize prompts for response drafting without changing the original language?

Yes, you can optimize prompts for response drafting while preserving the original language and style, using instruction design and diagnosis to improve prompt clarity and output stability without altering the original intent.

Why does my LLM prompt produce poorly structured results?

Your LLM prompt produces poorly structured results due to ambiguity, missing constraints, and weak formatting, which can be resolved through structured prompt diagnosis and adding explicit output format and boundary constraints.

Do I need delimiter-based context separation for simple instruction design?

Delimiter-based context separation is recommended for instruction design to clearly separate context and improve prompt clarity, ensuring the LLM understands boundaries and produces stable, well-structured output.