refine-prompt

- Working directory: !pwd

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "refine-prompt" with this command: npx skills add paulrberg/agent-skills/paulrberg-agent-skills-refine-prompt

Context

  • Working directory: !pwd

  • Request: $ARGUMENTS

Task

You are an expert prompt engineer. Create an optimized prompt based on $ARGUMENTS .

  1. Craft the Prompt

Apply relevant techniques:

  • Few-shot examples (when helpful)

  • Chain-of-thought reasoning

  • Role/perspective setting

  • Output format specification

  • Constraints and boundaries

  • Self-consistency checks

Structure with:

  • Clear role definition (if applicable)

  • Explicit task description

  • Expected output format

  • Constraints and guidelines

  1. Display the Result

Show the complete prompt in a code block, ready to copy:

[Complete prompt text]

Briefly note which techniques you applied and why.

  1. Save to .ai/PROMPT.md

First ensure the directory exists: mkdir -p .ai

If .ai/PROMPT.md exists:

Read current contents and append:


[Brief title from $ARGUMENTS]

[The optimized prompt]

If .ai/PROMPT.md does not exist:

Create with:

Optimized Prompts

[Brief title from $ARGUMENTS]

[The optimized prompt]

Confirm: "Saved to .ai/PROMPT.md"

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

openclaw

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

biome-js

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

md-docs

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

bump-release

No summary provided by upstream source.

Repository SourceNeeds Review