Agent skill

To Prd

by ayoubben18 in ayoubben18/ab-method

Turn the current conversation context into a PRD and submit it as a GitHub issue.

MITAuto-check passedProduct & Project Management

Install To Prd

skills CLI
$ npx skills add ayoubben18/ab-method --skill to-prd -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ayoubben18/ab-method to-prd --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ayoubben18/ab-method.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/to-prd .claude/skills/to-prd && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
to-prd
GitHub stars
192
Token cost
~615 tokens
SKILL.md length
357 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

Turn the current conversation context into a PRD and submit it as a GitHub issue.

  • Works in 2 steps: Explore the repo to understand the… → Sketch out the major modules you will…
  • User wants to create a PRD from the current context
  • SKILL.md covers Process, Problem Statement, Solution and User Stories, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

To Prd is an agent skill from ayoubben18/ab-method. Turn the current conversation context into a PRD and submit it as a GitHub issue. Use when user wants to create a PRD from the current context.

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Product & Project Management, covering PRD writing and User stories. It works with GitHub. The repository describes itself as: A workflow system for Claude Code and Codex. It grills a problem into a domain-grounded plan, then either drives it through test-driven missions you review one at a time, or… The licence is MIT.

When your agent uses it

  • User wants to create a PRD from the current context
  • Tasks that involve PRD writing
  • Tasks that involve User stories

Example prompts

  • “/to-prd”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Explore the repo to understand the current state of the codebase, if you haven't already.
  2. Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract…

What it can do on your machine

Read from SKILL.md and the folder at commit 85946e3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

To Prd loads about 615 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 357 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~615

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ayoubben18/ab-method at commit 85946e3, republished under its MIT licence (© ayoubben18). 357 words, ~615 tokens.

Download SKILL.mdSave it as .claude/skills/to-prd/SKILL.md (or your agent's skills folder).
name
to-prd
description
Turn the current conversation context into a PRD and submit it as a GitHub issue. Use when user wants to create a PRD from the current context.

This skill takes the current conversation context and codebase understanding and produces a PRD. Do NOT interview the user — just synthesize what you already know.

Process

  1. Explore the repo to understand the current state of the codebase, if you haven't already.

  2. Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract deep modules that can be tested in isolation.

A deep module (as opposed to a shallow module) is one which encapsulates a lot of functionality in a simple, testable interface which rarely changes.

Check with the user that these modules match their expectations. Check with the user which modules they want tests written for.

  1. Write the PRD using the template below and submit it as a GitHub issue.
<prd-template>

Problem Statement

The problem that the user is facing, from the user's perspective.

Solution

The solution to the problem, from the user's perspective.

User Stories

A LONG, numbered list of user stories. Each user story should be in the format of:

  1. As an <actor>, I want a <feature>, so that <benefit>
<user-story-example>
1. As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending
</user-story-example>

This list of user stories should be extremely extensive and cover all aspects of the feature.

Show full SKILL.md (127 more words)Show less

Implementation Decisions

A list of implementation decisions that were made. This can include:

  • The modules that will be built/modified
  • The interfaces of those modules that will be modified
  • Technical clarifications from the developer
  • Architectural decisions
  • Schema changes
  • API contracts
  • Specific interactions

Do NOT include specific file paths or code snippets. They may end up being outdated very quickly.

Testing Decisions

A list of testing decisions that were made. Include:

  • A description of what makes a good test (only test external behavior, not implementation details)
  • Which modules will be tested
  • Prior art for the tests (i.e. similar types of tests in the codebase)

Out of Scope

A description of the things that are out of scope for this PRD.

Further Notes

Any further notes about the feature.

</prd-template>

© ayoubben18, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/to-prd of ayoubben18/ab-method.

Open the folder on GitHubat commit 85946e3

Compare with similar skills

To Prd next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

To Prd compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
To Prd this skillayoubben18/ab-method192—~615Automated safety check: PassMIT
Plan Create Storiescoleam00/skills676—~922Automated safety check: PassMIT
To Specsammcj/agentic-coding162—~665Automated safety check: PassApache-2.0
CCPM Project Managementautomazeio/ccpm8.4k—~1.1kAutomated safety check: PassMIT
Ralph Tui Create Beadssubsy/ralph-tui2.5k1 repos~2.6kAutomated safety check: PassMIT
Ralph Tui Create Beads Rustsubsy/ralph-tui2.5k1 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Plan Create Stories

    coleam00/skills

    Decomposes a PRD into well-formed, engineer-ready tickets — Jira issues or GitHub issues.

    676 GitHub stars~922 tokensUpdated 2 days ago
    Product & Project ManagementAuto-check passed
  • To Spec

    sammcj/agentic-coding

    Turn the current conversation context into a spec and submit it as a GitHub issue.

    162 GitHub stars~665 tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed
  • Ralph Tui Create Beads

    subsy/ralph-tui

    Convert PRDs to beads for ralph-tui execution. An agent skill from subsy/ralph-tui.

    2.5k GitHub starsUsed in 1 repo~2.6k tokens
    Product & Project ManagementAuto-check passed
  • Convert PRDs to beads for ralph-tui execution using beads-rust (br CLI).

    2.5k GitHub starsUsed in 1 repo~2.8k tokens
    Product & Project ManagementAuto-check passed
  • Ralph Tui Create JSON

    subsy/ralph-tui

    Convert PRDs to prd.json format for ralph-tui execution. An agent skill from subsy/ralph-tui.

    2.5k GitHub starsUsed in 1 repo~2.6k tokens
    Product & Project ManagementAuto-check passed

More from ayoubben18/ab-method

All 26 skills in this repo
  • Codebase Design

    ayoubben18/ab-method

    Shared vocabulary and principles for designing deep modules — small interfaces, clean seams, testable through the interface.

    192 GitHub stars~1.7k tokensUpdated 9 days ago
    Auto-check passed
  • Grill With Docs

    ayoubben18/ab-method

    Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise.

    192 GitHub stars~2.1k tokensUpdated 9 days ago
    Auto-check passed
  • Change Map

    ayoubben18/ab-method

    Draw a task's blast radius twice. An agent skill from ayoubben18/ab-method.

    192 GitHub stars~2.9k tokensUpdated 9 days ago
    Auto-check passed
  • Handoff

    ayoubben18/ab-method

    Compact the current conversation (or a side-topic that surfaced mid-grill) into a handoff document another agent can pick up.

    192 GitHub stars~696 tokensUpdated 9 days ago
    Auto-check passed
  • Improve Codebase Architecture

    ayoubben18/ab-method

    Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

    192 GitHub stars~1.9k tokensUpdated 9 days ago
    Auto-check passed
  • Reconcile Roadmap

    ayoubben18/ab-method

    Cross-plan coherence critic for a whole roadmap. An agent skill from ayoubben18/ab-method.

    192 GitHub stars~2.8k tokensUpdated 9 days ago
    Auto-check passed

Works with

Questions about To Prd

What does To Prd do?

Turn the current conversation context into a PRD and submit it as a GitHub issue. To Prd is an agent skill from ayoubben18/ab-method. Turn the current conversation context into a PRD and submit it as a GitHub issue.

When should I use To Prd?

To Prd fits situations like: user wants to create a PRD from the current context; tasks that involve PRD writing; tasks that involve User stories.

How do I install To Prd in Claude Code?

Run `npx skills add ayoubben18/ab-method --skill to-prd -a claude-code`. Or copy the skill folder (.agents/skills/to-prd in ayoubben18/ab-method) into .claude/skills/to-prd in your project. Claude Code loads it when a task matches its description.

How do I install To Prd in Codex?

Run `npx skills add ayoubben18/ab-method --skill to-prd -a codex`. Or copy the skill folder (.agents/skills/to-prd in ayoubben18/ab-method) into .agents/skills/to-prd in your project. Codex loads it when a task matches its description.

Can I use To Prd in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ayoubben18/ab-method --skill to-prd -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/to-prd, .gemini/skills/to-prd, .github/skills/to-prd and .opencode/skills/to-prd in your project.

What does To Prd need to run?

SKILL.md names no scripts, command-line tools or credentials: To Prd is instructions for the agent only.

Does To Prd access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is To Prd safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does To Prd use?

To Prd is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does To Prd use?

About 615 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to To Prd?

Skills that share tags, products or a category with To Prd: Plan Create Stories (coleam00/skills, 676 stars), To Spec (sammcj/agentic-coding, 162 stars), CCPM Project Management (automazeio/ccpm, 8.4k stars) and Ralph Tui Create Beads (subsy/ralph-tui, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains To Prd?

ayoubben18 (a GitHub user) maintains it in ayoubben18/ab-method, which has 192 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 1, 2026.

Source: ayoubben18/ab-method on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.