Skip to content
Productivity
Skill

/system-prompt-creator

Create high-quality, model-aware system prompts for any LLM (Claude, GPT, Gemini, open-source, etc.). Use this skill whenever the user wants to create, write, build, design, draft, or improve a system prompt, system instructions, or custom instructions for any AI model. Also

From plugin
agent-skills
11419 skills

Claude Code

$ npx -y skills add tronghieu/agent-skills --skill system-prompt-creator --agent claude-code

SKILL.md

system-prompt-creator.SKILL.md
name: system-prompt-creator
description: Create high-quality, model-aware system prompts for any LLM (Claude, GPT, Gemini, open-source, etc.). Use this skill whenever the user wants to create, write, build, design, draft, or improve a system prompt, system instructions, or custom instructions for any AI model. Also trigger when the user asks about prompt engineering, prompt design, prompt optimization, or wants to define behavior for an AI assistant, chatbot, agent, or any LLM-powered application — even if they don't explicitly say "system prompt". Covers all use cases including chatbots, agentic systems, tool-use workflows, content generation, data extraction, code assistants, and multi-turn conversations.

System Prompt Creator

Build effective system prompts for any LLM using a structured, research-backed process derived from the official prompting guides of Claude (Anthropic), GPT-5 (OpenAI), and Gemini (Google).

This skill guides you through interview, analysis, structuring, drafting, and optimization — producing system prompts that are clear, well-structured, and tailored to the target model.

Workflow

Follow these 5 steps in order. Each step builds on the previous.

Step 1: Interview — Gather Requirements

Before writing anything, collect these essentials from the user:

1. **Target model** — Which LLM? (Claude, GPT, Gemini, open-source, or model-agnostic) 2. **Use case** — What will the AI do? (chatbot, agent, content generator, data extractor, code assistant, etc.) 3. **Persona** — Who should the AI be? (role, expertise level, personality traits) 4. **Audience** — Who interacts with it? (developers, end users, internal team, customers) 5. **Input types** — What will users send? (free text, code, documents, images, structured data) 6. **Output format** — What should responses look like? (prose, JSON, markdown, code, tables) 7. **Tone & style** — Formal, casual, technical, friendly? Concise or detailed? 8. **Constraints** — What must it NOT do? (safety rules, topic limits, action restrictions) 9. **Tools & capabilities** — Does it have tool access? (APIs, file system, web search, code execution) 10. **Examples** — Can the user provide examples of good/bad responses?

If the user is vague on some points, suggest reasonable defaults and confirm before proceeding.

**Push for completeness:** After gathering basics, ask "What *else* might users ask about?" Many prompts fail not because they handle their core task poorly, but because they don't anticipate adjacent scenarios. A billing chatbot also gets account access questions, product questions, and complaints. A coding agent needs to handle not just building features but also debugging, refactoring, and project setup. Map the full territory before writing.

Step 2: Analyze — Determine Complexity & Scope

Based on the interview, classify the prompt complexity:

| Complexity | Characteristics | Typical Length | |-----------|----------------|---------------| | **Simple** | Single task, no tools, fixed format | 50-200 words | | **Moderate** | Multiple behaviors, some tools, varied outputs | 200-800 words | | **Complex** | Agentic, multi-tool, long-running, safety-critical | 800-2000+ words |

Then determine which sections are needed:

  • **Role/Persona** — Almost always needed
  • **Context/Knowledge** — When domain expertise or background is required
  • **Instructions/Rules** — Always needed
  • **Domain Playbooks** — When the system handles multiple distinct operational scenarios (see below)
  • **Output Format** — When response structure matters
  • **Examples** — When accuracy and consistency matter (3-5 diverse examples)
  • **Tool Usage** — When the model has access to tools or APIs
  • **Safety/Guardrails** — When actions have real-world consequences
  • **Agentic Behavior** — When the model operates autonomously

**Domain Playbooks:** For systems that handle multiple distinct workflows (a coding agent that builds, debugs, refactors, and reviews; a support bot that handles billing, accounts, and technical issues), include named playbooks — concise step-by-step patterns for each operational scenario. These give the model a reliable decision tree for common situations rather than forcing it to derive the approach from general instructions every time. Place playbooks inside the `<instructions>` section, organized by scenario name.

Step 3: Structure — Apply the Layered Architecture

Organize the prompt using this universal architecture. Include only the sections relevant to the use case.

**XML structure** (preferred for complex prompts):

<role>
  Who the AI is, expertise, personality
</role>

<context>
  Domain knowledge, background information, constraints
</context>

<instructions>
  Core behavior rules, workflow steps, decision criteria
</instructions>

<output_format>
  Response structure, formatting rules, verbosity guidelines
</output_format>

<examples>
  3-5 diverse input/output pairs covering normal cases and edge cases
</examples>

<tools>
  Tool usage guidelines, when to use each tool, safety thresholds
</tools>

<guardrails>
  Safety boundaries, escalation rules, refusal criteria
</guardrails>

**Markdown structure** (suitable for simpler prompts):

# Role
...

# Instructions
...

# Output Format
...

**Why structure matters:** When a prompt mixes instructions, context, examples, and inputs without clear boundaries, models may confuse which content serves which purpose. Structured tags eliminate this ambiguity and directly improve instruction adherence.

Step 4: Draft — Apply the 12 Universal Principles

These principles represent the consensus from all 3 major LLM providers on what makes system prompts effective.

A. Structure Principles

**P1 — Layered Architecture.** Organize into distinct labeled sections (role, context, instructions, format, examples, guardrails). This directly affects how the model parses and prioritizes information.

**P2 — Consistent Tags.** Use XML

Read more
@tronghieu
Ships withagent-skills

Language: English | Tiếng Việt | 中文 A collection of method-driven skills for people who use AI to make decisions, run projects, analyze evidence, create documents, and produce finished work.

Stars on GitHub

Momentum

stars in total
114
Star history of tronghieu/agent-skills on GitHub, a chart by star-history.com

Other skills on agent-skills.

bmad-run-inspector

bmad-run-inspector

Inspect and explain bmad-loop run artifacts under `.bmad-loop/runs/`. Use for live health checks ("is it stuck?", "is the loop…

brainstorm-coach

brainstorm-coach

Coach structured brainstorming sessions on any topic: diverge on ideas together, then converge on priorities and next steps in a…

critical-thinking

critical-thinking

Audit the reasoning of a document or argument (memo, proposal, investment analysis, board paper, article, the user's own draft):…

cv-scorer

cv-scorer

Evaluate, score, and compare candidate CVs/resumes against a job description with a shared 100-point rubric and traceable…

data-scientist

data-scientist

Act as an end-to-end data scientist: turn business questions into defensible analysis, validated models, and decision-ready…

deep-reader

deep-reader

Read, study, and answer questions about long books and papers without loading the whole text into one context window, keeping…

More skills from other plugins.

i-have-adhd

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…

@ayghri@ayghriInstall Skill
ab-test-analysis

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop…

pm-skills11d28k
@phuryn@phurynInstall Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

Questions about system-prompt-creator.

Which coding agents can use system-prompt-creator?
system-prompt-creator installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.