Promptify

From ravnhq/ai-toolkit · View interactive version

Promptify is an AI agent skill from the GitHub repository ravnhq/ai-toolkit. Transform user requests into detailed, precise prompts for AI models. Use when users say 'promptify', 'promptify this', 'rewrite this prompt', 'make this prompt better/more specific', or explicitly request prompt engineering or improvement of their request for better AI responses.

How to use this skill

Skill file

Promptify

Transform user requests into detailed, precise prompts optimised for AI model consumption.

Core Task

Rewrite the user's request as a clear, specific, and complete prompt that guides an AI model to produce the desired output without ambiguity. Treat the output as specification language, not casual natural language.

Workflow

User-input rule: Any time this skill needs a decision, preference, or clarification from the user, it MUST use the AskUserQuestion tool with structured options — never free-text prose questions. This applies to the clarifying-questions path in step 2 and the delivery choice in step 7.

1. Analyze

Read the user's request carefully. Identify:

2. Decide Output Mode

Based on the analysis, choose how to proceed:

3. Structure

Apply the four-block pattern to organise the prompt. See rules/structure-four-block-pattern.md.

Not every prompt needs all four blocks. Use only what adds clarity. For common prompt types, start from the skeletons in references/prompt-blueprints.md.

4. Draft

Apply the rules in rules/ to sharpen the prompt:

5. Self-Check

Before delivery, verify the draft against the rule checklist (see rules/quality-self-check.md):

If any check fails, fix the violation and re-check. Stop after the checklist passes or after two refinement passes (whichever comes first).

6. Output

Present the final prompt to the user as a markdown block, clearly labeled. Do not add commentary beyond the prompt itself.

7. Deliver

After presenting the prompt, use the AskUserQuestion tool (not a prose list) to ask the user how to proceed, offering these options:

  1. Execute now — Treat the generated prompt as your new instruction and proceed based on the current conversation context. Use your normal judgement to decide the best next action — plan complex tasks, implement simple ones directly, or ask clarifying questions if needed.
  2. Save to file — Write the prompt to a markdown file in the current working directory (e.g. promptify-<timestamp>.md where <timestamp> is epoch seconds). Let the user know the file path.

Writing Guidelines

Structure

Language

Content

Examples

Positive Trigger

User: "Promptify this: audit all skills against our findings doc."

Expected behavior: Use promptify guidance, follow its workflow, and return actionable output.

Non-Trigger

User: "Generate mock customer data in JSON format."

Expected behavior: Do not prioritize promptify; choose a more relevant skill or proceed without it.

Troubleshooting

Skill Does Not Trigger

Guidance Conflicts With Another Skill

Output Is Too Generic

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.