Skip to content
Back to skills

Prompt Craft

ASecurity

Transform basic prompts into elite structured prompts using Anthropic's 10-step framework.

  • 651 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 10, 2026
ai-agentsbashapi

Works with

  • api

Security analysis

A100/100

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

Scanned February 12, 2026

npx -y skills add sundial-org/awesome-openclaw-skills --skill prompt-craft --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Craft?

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

Security grade badge for Prompt Craft
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sundial-org-prompt-craft/badge)](https://www.skillsdirectory.com/skills/sundial-org-prompt-craft)

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: prompt-craft
---

# ai-prompt-craft

Transform basic prompts into elite structured prompts using Anthropic's 10-step framework.

## Quick Reference

```bash
# Transform a basic prompt
ai-prompt-craft transform "Write a sorting function"

# Build with all options
ai-prompt-craft build --role "expert dev" --tone technical --format code --thinking systematic --action "Create a REST API"

# Generate a template
ai-prompt-craft template --use-case coding

# Analyze prompt structure
ai-prompt-craft analyze "Your prompt here"

# List presets
ai-prompt-craft list tones
ai-prompt-craft list formats
```

## The 10-Step Framework

1. **Task Context** - Role + main task (`--role`, `--task`)
2. **Tone Context** - Communication style (`--tone`)
3. **Background Data** - Documents/context (`--context`)
4. **Detailed Task** - Constraints/rules (`--instructions`, `--rules`)
5. **Examples** - Desired outputs (`--examples`)
6. **Conversation History** - Past context (`--history`)
7. **Immediate Task** - Specific action (`--action`)
8. **Deep Thinking** - Reasoning mode (`--thinking`)
9. **Output Format** - Structure (`--format`)
10. **Prefilled Response** - Start structure (`--prefill`)

## Presets

**Tones:** professional, casual, technical, warm, concise, academic, creative

**Formats:** bullets, numbered, markdown, json, table, prose, code, stepByStep

**Thinking:** standard, deep, analytical, critical, creative, systematic

**Templates:** coding, writing, analysis, research, brainstorm, review, explain

## Examples

### Code Review Prompt
```bash
ai-prompt-craft build \
  --role "senior code reviewer" \
  --tone professional \
  --thinking critical \
  --format markdown \
  --rules "Check for bugs,Review architecture,Suggest improvements" \
  --action "Review this pull request"
```

### Research Prompt
```bash
ai-prompt-craft build \
  --role "thorough researcher" \
  --tone academic \
  --thinking deep \
  --format markdown \
  --action "Research the history of quantum computing"
```

### Creative Writing
```bash
ai-prompt-craft template --use-case writing --tone creative --action "Write a short story about AI"
```

## Piping

```bash
echo "Explain machine learning" | ai-prompt-craft transform --tone warm --format stepByStep
cat draft.txt | ai-prompt-craft analyze
```

Files in this skill

  • README.md4.9 KB
  • SKILL.md2.2 KB
  • cli.js8.8 KB
  • index.js11.3 KB
  • package.json961 B

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.