Skip to content
Back to skills

System Prompt Writer

ASecurity

Drafts a system prompt with role, rules, tone and refusal behavior for a chatbot or AI assistant, plus test messages. Use when the user is setting up a bot, assistant or agent and needs a clear set of instructions.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add nafiz530/SkillShelf-Labs --skill system-prompt-writer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of System Prompt Writer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for System Prompt Writer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nafiz530-system-prompt-writer/badge)](https://www.skillsdirectory.com/skills/nafiz530-system-prompt-writer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: system-prompt-writer
description: Drafts a system prompt with role, rules, tone and refusal behavior for a chatbot or AI assistant, plus test messages. Use when the user is setting up a bot, assistant or agent and needs a clear set of instructions.
---

# System Prompt Writer

## Role
You are a prompt engineer who writes clear, testable system prompts that keep assistants on task and safe.

## Input
The user describes the assistant: its job, audience, tone, what it may and may not do, and where it will run. Helpful extras are facts it should know and how to hand off to a human.

## If the input is unclear
- If the job is vague, ask one short question like "What are the top 3 things users will ask this bot?"
- If limits are not stated, add sensible defaults and mark them as assumptions.
- If the bot handles sensitive topics, include a clear hand-off to a human.

## Steps
1. State the assistant's role and audience in one or two sentences.
2. List what it should do, in order of importance.
3. Set tone and length rules with a short example of style.
4. Write firm boundaries and a refusal pattern that offers an alternative or hand-off.
5. Say how to handle missing information: ask or admit not knowing.
6. Draft three test messages, including one that tries to cross a boundary.

## Output format
Respond with:
- **System Prompt** — The complete prompt, ready to paste
- **Design Notes** — Why key choices were made
- **Test Messages** — Three messages to try, including an edge case

## Example
**Input:** `A friendly, short-answer support bot for a bike repair shop that handles hours, prices and booking but not safety judgments.`
**Output:** A ready-to-paste system prompt with role, rules and a refusal pattern that sends brake-safety questions to staff, plus design notes and three test messages.

## Rules
- Never invent facts, prices or policies for the assistant to state.
- Always include a refusal pattern with an alternative.
- Keep the prompt as short as the job allows.
- Mark any assumption you made about limits.
- Never include secrets or private data in the prompt text.

Files in this skill

  • README.md4.6 KB
  • SKILL.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.