One-click install
npx skills add https://github.com/ajbmachon/ajbm-skills --skill prompt-craft-ajbmachon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-craft
Source: https://github.com/ajbmachon/ajbm-skills/tree/main/plugins/development-skills/skills/prompt-craft
Command: npx skills add https://github.com/ajbmachon/ajbm-skills --skill prompt-craft-ajbmachon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Prompt Craft diagnoses why an existing prompt underperforms and rewrites it using proven techniques so the model produces more reliable, high-quality output.

Core Features & Use Cases

  • Mode-based prompting: Analyze (critique), Craft (build from scratch), Teach (deep-dive a technique), and Quick Fix (fast improvements).
  • Technique-driven improvements: Applies core methods like structured output, placement/salience, roles, positive framing, reasoning-first, verbalized sampling, and self-reflection.
  • Model-aware adjustments: Supports model-specific guidance to avoid generic or incorrectly tuned prompting.

Quick Start

Use prompt-craft in Analyze mode to improve a prompt you already have by giving the current prompt text and the task it must perform.

Frequently Asked Questions about prompt-craft

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

FAQPage Schema
How do I fix an LLM prompt that is not following instructions properly?

To fix a prompt not following instructions, you can analyze its failures and rewrite it using proven prompt engineering techniques like positive framing, structured output, and placement adjustments to improve model guidance and instruction following.

What is the best way to build a structured output prompt from scratch?

The best way to build a structured output prompt is to use a crafting mode that applies research-backed techniques like verbalized sampling and reasoning-first design, ensuring the model produces reliable and correctly formatted responses.

Why does my prompt underperform when I switch to a different target model?

Your prompt underperforms across different models because generic prompts lack model-aware adjustments. Diagnosing the prompt and applying model-specific tuning avoids incorrectly configured guidance and yields higher quality output.

Can I analyze an existing prompt to see which engineering techniques are missing?

Yes, you can analyze an existing prompt by scoring it against a core set of prompt engineering techniques such as role definition, salience, and self-reflection to identify exactly why it fails and how to optimize it.

What prompt engineering techniques help with reasoning and formatting tasks?

Prompt engineering techniques that help with reasoning and formatting tasks include reasoning-first structuring, structured output formatting, verbalized sampling, and self-reflection to guide the model through complex instructions.

Do I need to provide target model specifications for a quick prompt fix?

For a quick prompt fix, target model specifications are optional but recommended. Providing the target model allows the rewriting process to tailor the optimized replacement prompt specifically to that model's guidance requirements.