# Prompt builder

> Prompt builder is an open-source agent skill for ai models and llm tooling. Guides a product manager through nine questions to build a structured AI prompt. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/aniganti/pm-superpowers/tree/main/plugins/pm-superpowers/skills/prompt-builder
- **Repository:** https://github.com/aniganti/pm-superpowers
- **GitHub stars:** 50
- **License:** MIT
- **Skill name:** prompt-builder
- **Collection:** https://github.com/aniganti/pm-superpowers
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-12-03

## About

This skill turns a product manager's rough request into a ready-to-paste prompt for any generative AI assistant. It asks one question at a time covering the role the assistant should take, the audience, the desired outcome, obstacles, tone, the specific task, caveats and context, and optionally examples and output format. The answers are then slotted into a fixed prompt template that the agent renders as a copyable Markdown code block.

After drafting, the agent presents the prompt with a short summary of its purpose and keeps revising it until the user is satisfied. It also checks that the core task is clear before finishing, and pushes back on vague roles, missing audiences, and prompts that bundle several unrelated jobs together. The skill can offer to save the final prompt to a dated file under docs/prompts.

The skill is a single SKILL.md with no scripts or supporting files. It needs only a conversation with the user and does not call external tools.

## When your agent uses it

> A generative AI prompt builder for product managers. Walks PMs through 9 guided questions to craft structured, effective prompts for any AI assistant. Use when a PM says "help me write a prompt", "build a prompt", "prompt builder", or "I need a prompt for..."

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/aniganti/pm-superpowers/tree/HEAD/plugins/pm-superpowers/skills/prompt-builder)
- [License: MIT](https://github.com/aniganti/pm-superpowers/tree/HEAD/plugins/pm-superpowers/skills/prompt-builder)

## Features

- **Guided nine-question flow:** Asks one question at a time about role, audience, outcome, task, and context before drafting.
- **Fixed prompt template:** Fills answers into a consistent structure covering role, goals, tone, task, and constraints.
- **Copyable code block output:** Renders the finished prompt in a Markdown code block so it can be pasted directly into an assistant.
- **Iterative refinement:** Offers to revise the prompt repeatedly until the product manager is satisfied with it.
- **Clarity checks and pushback:** Stops if no task is identified and challenges vague roles, missing audiences, and overloaded prompts.
- **Optional file saving:** Can save the final prompt to a dated Markdown file under docs/prompts.

## Good for

- Help me write a prompt for summarizing customer interview notes
- Build a prompt for drafting a competitive analysis of three rivals
- I need a prompt for turning a feature idea into user stories
- Create a prompt for an AI assistant to review a product roadmap for gaps

## Install

### Claude Code

This skill ships in the `pm-superpowers` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add aniganti/pm-superpowers
/plugin install pm-superpowers@pm-superpowers
```

Or copy only this skill to `~/.claude/skills/prompt-builder`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aniganti/pm-superpowers.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/prompt-builder &&
cp -R "$tmp/plugins/pm-superpowers/skills/prompt-builder" ~/.claude/skills/prompt-builder &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/prompt-builder` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/prompt-builder` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aniganti/pm-superpowers.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/prompt-builder &&
cp -R "$tmp/plugins/pm-superpowers/skills/prompt-builder" ~/.agents/skills/prompt-builder &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/prompt-builder` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/prompt-builder` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aniganti/pm-superpowers.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/prompt-builder &&
cp -R "$tmp/plugins/pm-superpowers/skills/prompt-builder" ~/.cursor/skills/prompt-builder &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/prompt-builder` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/aniganti/pm-superpowers.git --path plugins/pm-superpowers/skills/prompt-builder
```

Or copy the folder to `~/.gemini/skills/prompt-builder` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/prompt-builder`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aniganti/pm-superpowers.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/prompt-builder &&
cp -R "$tmp/plugins/pm-superpowers/skills/prompt-builder" ~/.copilot/skills/prompt-builder &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/prompt-builder` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/aniganti/pm-superpowers.git
```

Then copy `pm-superpowers/plugins/pm-superpowers/skills/prompt-builder` into your agent's skills folder as `prompt-builder`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What triggers Prompt builder?

It loads when a product manager says things like "help me write a prompt", "build a prompt", "prompt builder", or "I need a prompt for...".

### Does Prompt builder need any scripts or tools?

No. The skill has one file, SKILL.md, with no scripts, and it does not set any allowed tools.

### Can I skip questions?

Questions 8 (examples) and 9 (output format) are optional and can be skipped. The skill asks the user to answer the others.

### Where does the finished prompt go?

It is shown as a Markdown code block. The skill can also offer to save it to docs/prompts with a date-based filename.

### How do I install Prompt builder in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/prompt-builder to use it in all your projects, or to .claude/skills/prompt-builder in one project. Or install the pm-superpowers plugin, which includes it: /plugin marketplace add aniganti/pm-superpowers, then /plugin install pm-superpowers@pm-superpowers.

### Does Prompt builder run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Prompt builder?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Prompt builder?

The closest alternatives to Prompt builder are Prompt optimizer, Agent prompt engineering, System prompt creator, Prompt optimizer and Boost prompt.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Prompt optimizer](https://ai-powered.com/skills/prompt-optimizer-github): Prompt optimizer is an open-source agent skill for ai models and llm tooling.
- [Agent prompt engineering](https://ai-powered.com/skills/agent-prompt-engineering): Agent prompt engineering is an open-source agent skill for ai models and llm tooling.
- [System prompt creator](https://ai-powered.com/skills/system-prompt-creator): System prompt creator is an open-source agent skill for ai models and llm tooling.
- [Prompt optimizer](https://ai-powered.com/skills/prompt-optimizer-getsentry): Prompt optimizer is an open-source agent skill for ai models and llm tooling.
- [Boost prompt](https://ai-powered.com/skills/boost-prompt): Boost prompt is an open-source agent skill for ai models and llm tooling.
- [Prompt design](https://ai-powered.com/skills/prompt-design): Prompt design is an open-source agent skill for ai models and llm tooling.
- [Finalize agent prompt](https://ai-powered.com/skills/finalize-agent-prompt): Finalize agent prompt is an open-source agent skill for ai models and llm tooling.
- [Writing prompts](https://ai-powered.com/skills/writing-prompts-xiaolai): Writing prompts is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/prompt-builder
