# Pb build prototype

> Pb build prototype is an open-source agent skill for developer tools. Builds an isolated, reversible UI prototype in your Next.js/React app and reports what was. 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/ccomkhj/skills/tree/main/product-bridge/skills/pb-build-prototype
- **Repository:** https://github.com/ccomkhj/skills
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** pb-build-prototype
- **Collection:** https://github.com/ccomkhj/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill guides an agent through prototyping a chosen UX concept or a small change to an existing component inside an authorized Next.js or React codebase. The agent is pushed to reuse existing components and design tokens, search the component library before adding any new UI element, and work on a separate branch behind a new route or a default-off flag using synthetic data, so production routes, data, auth and environment settings are left alone.

The workflow exercises loading, empty, error, success, narrow viewport and keyboard-only behavior rather than relying on screenshots, and it runs the repository's own lint, typecheck and tests, reporting each command and its result. Anything that could not run is recorded as not run, with the reason. Results are written to a prototype report, and the prototype is marked ready for review rather than merged or deployed. Pushing, opening a pull request and creating a preview deployment each require separate approval.

Without access to the repository, the skill produces an implementation plan instead of code. Optional Figma MCP and Impeccable integrations are used for design context and critique when they are available.

## When your agent uses it

> ProductBridge stage 4. Build an isolated, reversible prototype of a chosen concept inside an authorized Next.js/React codebase, reusing its components and tokens and exercising loading, empty, error, success, responsive and keyboard behavior, then report exactly what was built and checked. Without repository access it returns an implementation plan instead. Use whenever someone asks to prototype or demo a UX change in the real app, whether a chosen concept or a small change to an existing component.

## What it can access

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

- [Instructions only, no scripts](https://github.com/ccomkhj/skills/tree/HEAD/product-bridge/skills/pb-build-prototype)
- [License: MIT](https://github.com/ccomkhj/skills/tree/HEAD/product-bridge/skills/pb-build-prototype)

## Features

- **Isolated branch build:** Creates the prototype on a dedicated branch behind a new route or disabled flag, leaving production code untouched.
- **Component reuse first:** Searches the existing component library and tokens before introducing any new UI element.
- **Behavior state coverage:** Exercises loading, empty, error, success, responsive and keyboard-only states.
- **Honest check reporting:** Records which lint, typecheck and test commands ran, their results, and any that could not run.
- **Approval-gated actions:** Requires explicit consent before editing the repo, pushing, opening a PR or deploying a preview.
- **Plan without repo access:** Writes an implementation plan and requests access when the codebase cannot be read or edited.

## Good for

- Prototype a chosen UX concept inside our Next.js app without touching production routes
- Demo a small change to an existing React component behind a feature flag
- Check how a new form behaves with loading, error and keyboard navigation
- Produce a written report of what a prototype built and which checks passed

## Install

### Claude Code

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

```sh
/plugin marketplace add ccomkhj/skills
/plugin install product-bridge@ccomkhj-skills
```

Or copy only this skill to `~/.claude/skills/pb-build-prototype`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pb-build-prototype &&
cp -R "$tmp/product-bridge/skills/pb-build-prototype" ~/.claude/skills/pb-build-prototype &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/pb-build-prototype` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/pb-build-prototype` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pb-build-prototype &&
cp -R "$tmp/product-bridge/skills/pb-build-prototype" ~/.agents/skills/pb-build-prototype &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/pb-build-prototype` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/pb-build-prototype` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pb-build-prototype &&
cp -R "$tmp/product-bridge/skills/pb-build-prototype" ~/.cursor/skills/pb-build-prototype &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/pb-build-prototype` 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/ccomkhj/skills.git --path product-bridge/skills/pb-build-prototype
```

Or copy the folder to `~/.gemini/skills/pb-build-prototype` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pb-build-prototype &&
cp -R "$tmp/product-bridge/skills/pb-build-prototype" ~/.copilot/skills/pb-build-prototype &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/pb-build-prototype` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ccomkhj/skills.git
```

Then copy `skills/product-bridge/skills/pb-build-prototype` into your agent's skills folder as `pb-build-prototype`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need before Pb build prototype starts editing?

It needs read and edit access to the app repository and the user's approval of the repo and branch before the first edit.

### Does Pb build prototype deploy or merge the prototype?

No. Merge and production deploy are out of scope, and push, pull request and preview deploy each need their own approval.

### What happens if I don't give Pb build prototype repository access?

It writes an implementation plan into the prototype file, states that no code was written, and asks for access as the next step.

### Which tools does Pb build prototype use?

It uses Figma MCP for design context and Impeccable for critique when they are present; when absent, the skipped step is named in the report.

### How do I install Pb build prototype in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pb-build-prototype to use it in all your projects, or to .claude/skills/pb-build-prototype in one project. Or install the product-bridge plugin, which includes it: /plugin marketplace add ccomkhj/skills, then /plugin install product-bridge@ccomkhj-skills.

### Does Pb build prototype 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 Pb build prototype?

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 Pb build prototype?

The closest alternatives to Pb build prototype are Mt prototype, Buildable web builder, Prototype, Buildable mobile builder and Buildable reviewer.

## Where this comes from

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

## Alternatives

- [Mt prototype](https://ai-powered.com/skills/mt-prototype): Mt prototype is an open-source agent skill for developer tools.
- [Buildable web builder](https://ai-powered.com/skills/buildable-web-builder): Buildable web builder is an open-source agent skill for developer tools.
- [Prototype](https://ai-powered.com/skills/prototype): Prototype is an open-source agent skill for developer tools.
- [Buildable mobile builder](https://ai-powered.com/skills/buildable-mobile-builder): Buildable mobile builder is an open-source agent skill for developer tools.
- [Buildable reviewer](https://ai-powered.com/skills/buildable-reviewer): Buildable reviewer is an open-source agent skill for developer tools.
- [React container presentation component](https://ai-powered.com/skills/react-container-presentation-component): React container presentation component is an open-source agent skill for developer tools.
- [Gan harness edho ferdian](https://ai-powered.com/skills/gan-harness-edho-ferdian): Gan harness edho ferdian is an open-source agent skill for developer tools.
- [Remember design system](https://ai-powered.com/skills/remember-design-system): Remember design system is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/pb-build-prototype
