prompt

Create and refine LLM prompts with explicit output contracts and constraints.

10|5|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/JHostalek/dotclaude --skill prompt-jhostalek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt
Source: https://github.com/JHostalek/dotclaude/tree/main/skills/prompt
Command: npx skills add https://github.com/JHostalek/dotclaude --skill prompt-jhostalek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps turn vague or bloated LLM instructions into focused prompts with clear behavior, constraints, and output contracts, improving consistency and reducing unintended responses.

Core Features & Use Cases

  • Prompt Creation: Draft system prompts, user prompts, tool descriptions, agent-loop instructions, and few-shot exemplars.
  • Prompt Refinement: Preserve essential approval gates, refusal boundaries, and output requirements while removing unnecessary complexity.
  • Model-Aware Design: Adapt structure, examples, decomposition, and constraint density to reasoning models, instruction-tuned chat models, and small or open-weight models.
  • Use Case: Give the Skill an existing customer-support system prompt and ask it to make the instructions clearer, safer, and better suited to the target model.

Quick Start

Use the prompt skill to refine the provided LLM system prompt for clarity, reliability, and model-specific performance.

Frequently Asked Questions about prompt

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

FAQPage Schema
How do I refine LLM system prompts for better behavioral consistency?

To refine LLM system prompts for behavioral consistency, you must model the target model, task shape, and output contract while removing unnecessary complexity and preserving essential refusal boundaries. This reduces unintended responses and ensures reliable execution.

What is an output contract in prompt engineering?

An output contract in prompt engineering defines strict formatting and behavioral constraints for LLM responses. Establishing a clear output contract ensures the generated text adheres to required structures for classifier, generator, extractor, agent, and judge tasks.

Can I use prompt optimization for small open-weight models?

Yes, prompt optimization applies to small open-weight models by adapting structure, examples, decomposition, and constraint density. Model-aware design tailors the system prompts to match the specific reasoning capabilities of instruction-tuned chat or small models.

What's the best way to structure few-shot exemplars for agent loops?

The best way to structure few-shot exemplars for agent loops is to align examples with explicit task shape, security boundaries, and refusal behavior. This example strategy guides the LLM through expected tool descriptions and multi-step instructions reliably.

Why does my LLM output fail despite detailed prompt instructions?

LLM output fails despite detailed prompt instructions due to bloated or vague constraints lacking a defined output contract. Simplifying instructions while explicitly modeling the target model and task shape improves output reliability and consistency.