Promptify

From bighardperson/computer-science-skills-collection · View interactive version

Promptify is an AI agent skill from the GitHub repository bighardperson/computer-science-skills-collection. Optimize prompts for clarity and effectiveness. Use when user says "improve this prompt", "optimize my prompt", "make this clearer", or provides vague/unstructured prompts. Intelligently routes to sub-agents for codebase research, clarifying questions, or web search as needed.

How to use this skill

Skill file

Prompt Optimizer

Transform prompts into clear, effective ones. Model-agnostic.

Modifiers (parse from ARGUMENTS)

No modifiers? Auto-detect what's needed.

Auto-Detection Triggers

| Trigger | Signals |

|---------|---------|

| codebase-researcher | "this project", "our API", specific files/functions, "integrate", "extend", "refactor" |

| clarifier | Ambiguous ("make it better"), multiple interpretations, missing constraints, vague pronouns |

| web-researcher | "best practices", "latest", external APIs/libraries, framework patterns, year references |

Agent Dispatch

When agents needed:

  1. Announce which and why
  2. Run in parallel via Task tool (agents/ directory)
  3. Synthesize findings
  4. Optimize with gathered context

Core Contract (every prompt needs all four)

| Element | If Missing |

|---------|------------|

| Role | Add persona with expertise |

| Task | Make action specific |

| Constraints | Infer from context |

| Output | Specify format/structure |

Process

  1. If image: Analyze, incorporate context
  2. Detect type: coding/writing/analysis/creative/data
  3. Convert output→process: "Write X" → "Analyze → Plan → Implement → Validate"
  4. Strip fluff: "please", "I want you to", filler, apologies
  5. Apply contract: Verify all 4 elements
  6. Add structure: XML tags for complex prompts

Type Focus

Output

  1. Optimized prompt in code block
  2. echo 'PROMPT' | pbcopy
  3. 2-3 sentence explanation
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.