skills/prompt-crafter/SKILL.md
Create, optimize, critique, and programmatically structure prompts for AI systems. Use this skill whenever the user is designing or improving a static prompt, system prompt, coding prompt, agent prompt, workflow prompt, MCP-oriented prompt package, or an algorithmic prompt optimization pipeline. Also use it when the user asks to turn vague AI behavior into a precise instruction set, tool policy, agent spec, evaluation metric, or prompt architecture.
npx skillsauth add fatih-developer/fth-skills prompt-crafterInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Prompt Crafter is an AI prompt and agent design framework.
Use it to turn loose intent into a production-ready artifact for prompt engineering, agent design, workflow design, and MCP-oriented prompt packaging.
Do not ask a fixed intake questionnaire.
Instead:
Detect the closest match before producing anything:
prompt: a general task prompt for an LLMsystem_prompt: system or instruction-layer promptagent_prompt: prompt plus operating rules for an agentworkflow_prompt: multi-step prompt or orchestration flowcoding_prompt: prompt tuned for coding agents and IDE assistantsimage_prompt: prompt for image generation systemsevaluation_prompt: rubric, grading prompt, or critique harnessmcp_prompt_package: prompt package for MCP-style tool usage, tool descriptions, config scaffolds, and approval rulesprogrammatic_prompt: algorithmic prompt pipeline design (Task Signature, Evaluation Metric, Dataset Blueprint, Optimizer Strategy)If the user request spans multiple types, choose the primary one and mention the secondary ones in the output.
Ask questions only when the missing information would materially change the artifact.
Typical missing context:
Skip questions when the user already provided enough context to produce a strong first draft.
If questions are needed:
After request-type detection, load only the reference files that matter:
references/tool-profiles.mdreferences/prompt-patterns.mdreferences/agent-templates.mdreferences/workflow-templates.mdreferences/evaluation-rubrics.mdreferences/rag-patterns.mdreferences/mcp-templates.mdreferences/multi-agent-patterns.mdreferences/examples.mdreferences/checklists.mdDo not load every reference file by default.
Always return an artifact that matches the request type.
promptReturn:
GoalFinal PromptWhy This Structure WorksOptional Tweakssystem_promptReturn:
RoleBehavior RulesConstraintsOutput ContractFinal System Promptagent_promptReturn:
Agent RoleInputsToolsMemory PolicyDecision RulesEscalation RulesOutput ContractFinal Agent Promptworkflow_promptReturn:
Workflow GoalStagesStage InstructionsQuality GatesFinal Workflow Promptcoding_promptReturn:
Task SummaryConstraintsValidation ExpectationsFinal Coding Promptimage_promptReturn:
SubjectCompositionStyleNegative ConstraintsFinal Image Promptevaluation_promptReturn:
Artifact Under ReviewCriteriaScoring LogicFailure ConditionsFinal Evaluation Promptmcp_prompt_packageReturn:
Package GoalSystem Prompt GuidanceTool Description GuidanceApproval and Escalation PolicyWorkflow RulesEvaluation ChecksConfig ScaffoldFor V1, this package is documentation and scaffolding only. Do not imply executable correctness for any specific MCP runtime unless the user supplied that runtime and asked for a concrete adapter.
programmatic_promptReturn:
Task Signature: High-level description of the task, input fields, and output fields.Evaluation Metric: Scoring logic or 'LLM-as-a-judge' criteria for programmatic evaluation.Dataset Blueprint: Structure of the examples needed to optimize the prompt (train/dev/test splits).Optimizer Strategy: Recommended algorithmic optimization approach (e.g., automated few-shot selection, iterative prompt tuning) based on the task.When the user asks to improve an existing prompt, follow this sequence:
programmatic_prompt approach (defining metrics and datasets for algorithmic optimization) rather than manually tweaking static words.Common improvements:
When the user asks to evaluate or critique a prompt:
references/evaluation-rubrics.md.Focus on:
Do not produce prompts or agent packages that are designed to:
For agent, workflow, and MCP-oriented outputs, default to:
This skill should trigger for:
This skill should not trigger for:
Before finishing, verify:
testing
Assumption-first architecture review skill to stress-test project plans and expose hidden risks.
testing
Enforce and manage DESIGN.md specifications, extract design systems from URLs, and combine design reasoning with token roles to prevent drift.
testing
Forces the agent to act with a Claude-like product mindset, prioritizing user journey, UX states, and visual quality before coding.
development
Compiles and extracts session knowledge into a living, interconnected LLM-Wiki. Instead of writing isolated logs, it identifies key entities, updates cross-referenced topic files in docs/knowledgelib/, and maintains an index and chronological log. Use this to ensure persistent, compounding project knowledge.