Awesome-openclaw-skills prompt-craft

ai-prompt-craft

install
source · Clone the upstream repo
git clone https://github.com/sundial-org/awesome-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/prompt-craft" ~/.claude/skills/sundial-org-awesome-openclaw-skills-prompt-craft && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/prompt-craft" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-prompt-craft && rm -rf "$T"
manifest: skills/prompt-craft/SKILL.md
source content

ai-prompt-craft

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

Quick Reference

# 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

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

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

Creative Writing

ai-prompt-craft template --use-case writing --tone creative --action "Write a short story about AI"

Piping

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