prompt-engineer

Write, refactor, and evaluate LLM prompts with JSON schemas.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/Blake-John/agent-config --skill prompt-engineer-blake-john
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-engineer
Source: https://github.com/Blake-John/agent-config/tree/main/.agents/skill_spec/prompt-engineer
Command: npx skills add https://github.com/Blake-John/agent-config --skill prompt-engineer-blake-john

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps teams design, refactor, and validate prompts for LLMs, enabling faster experimentation, improved output quality, and more predictable model behavior.

Core Features & Use Cases

  • Prompt design: craft new prompts for novel LLM applications and required output structures.
  • Refactoring & optimization: streamline prompts to improve accuracy, stability, and token efficiency.
  • Evaluation frameworks: build rubrics, test suites, and metrics to measure prompt quality and model performance.
  • System prompts & guardrails: create persona-based prompts, safety boundaries, and injection defenses.
  • Schema & outputs: develop JSON/function-calling schemas and structured output guidelines for reliable parsing.

Quick Start

Craft a clear, reusable prompt blueprint to kick off a new LLM design project.

Frequently Asked Questions about prompt-engineer

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

FAQPage Schema
How do I design system prompts with personas and guardrails for LLMs?

Design system prompts by defining specific personas, setting safety boundaries, and implementing injection defenses. This creates predictable model behavior and protects LLM applications from malicious inputs.

How do I refactor prompts to improve token efficiency and output accuracy?

Refactor prompts by streamlining instructions to improve accuracy, stability, and token efficiency. This reduces API costs and ensures more consistent structured outputs from LLMs.

What's the best way to build JSON schemas and function-calling structures for reliable LLM outputs?

Build JSON schemas and function-calling structures by creating structured output guidelines for reliable parsing. This ensures LLMs satisfy required formats and return valid JSON consistently.

How do I create an evaluation framework to measure prompt quality and model performance?

Create an evaluation framework by building rubrics, test suites, and metrics to measure prompt quality and model performance. This enables faster experimentation and validates prompt improvements.

Can I use chain-of-thought or few-shot learning techniques to improve LLM prompt performance?

Yes, implement chain-of-thought or few-shot learning techniques within prompts to maximize performance. These methods guide LLMs through reasoning steps or examples for better accuracy.

Why does my LLM prompt produce inconsistent structured outputs and how do I fix it?

Inconsistent structured outputs occur when prompts lack clear JSON schemas or evaluation frameworks. Fix this by refactoring prompts for stability and applying structured output guidelines for reliable parsing.