Agent skill

Ralph Tui Prd

by subsy in subsy/ralph-tui

Generate a Product Requirements Document (PRD) for ralph-tui task orchestration.

MITAuto-check passedProduct & Project Management

Install Ralph Tui Prd

skills CLI
$ npx skills add subsy/ralph-tui --skill ralph-tui-prd -a claude-code

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

GitHub CLI
$ gh skill install subsy/ralph-tui ralph-tui-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/subsy/ralph-tui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ralph-tui-prd .claude/skills/ralph-tui-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
ralph-tui-prd
GitHub stars
2.5k
Used in
1 other repo
Token cost
~2.5k tokens
SKILL.md length
1,170 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Generate a Product Requirements Document (PRD) for ralph-tui task orchestration.

  • Works in 2 steps: Clarifying Questions (Iterative) → PRD Structure
  • Plan this feature
  • SKILL.md covers The Job, Step 1: Clarifying Questions…, Step 2: PRD Structure and Writing for AI Agents, plus 8 more sections
  • Calls pnpm, npm and bun

What it does

Ralph Tui Prd is an agent skill from subsy/ralph-tui. Generate a Product Requirements Document (PRD) for ralph-tui task orchestration. Creates PRDs with user stories that can be converted to beads issues or prd.json for automated execution. Triggers on: create a prd, write prd for, plan this feature, requirements for, spec out.

Its SKILL.md is about 2.5k 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. The licence is MIT.

When your agent uses it

  • Plan this feature
  • Requirements for

Example prompts

  • “/ralph-tui-prd”

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Clarifying Questions (Iterative)
  2. PRD Structure

What it can do on your machine

Read from SKILL.md and the folder at commit af44322. 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

    Shell commands in SKILL.md call:

    • pnpm
    • npm
    • bun

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

  • Network

    No URLs in SKILL.md. Its commands use pnpm and npm, which can reach the network depending on how they are called.

    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

Ralph Tui Prd loads about 2.5k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 1,170 words of instructions outside code blocks.

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

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 subsy/ralph-tui at commit af44322, republished under its MIT licence (© subsy). 1,170 words, ~2,479 tokens.

Download SKILL.mdSave it as .claude/skills/ralph-tui-prd/SKILL.md (or your agent's skills folder).
name
ralph-tui-prd
description
Generate a Product Requirements Document (PRD) for ralph-tui task orchestration. Creates PRDs with user stories that can be converted to beads issues or prd.json for automated execution. Triggers on: create a prd, write prd for, plan this feature, requirements for, spec out.

Ralph TUI PRD Generator

Create detailed Product Requirements Documents optimized for AI agent execution via ralph-tui.


The Job

  1. Receive a feature description from the user
  2. Ask 3-5 essential clarifying questions (with lettered options) - one set at a time
  3. Always ask about quality gates (what commands must pass)
  4. After each answer, ask follow-up questions if needed (adaptive exploration)
  5. Generate a structured PRD when you have enough context
  6. Output the PRD wrapped in [PRD]...[/PRD] markers for TUI parsing

Important: Do NOT start implementing. Just create the PRD.


Step 1: Clarifying Questions (Iterative)

Ask questions one set at a time. Each answer should inform your next questions. Focus on:

  • Problem/Goal: What problem does this solve?
  • Core Functionality: What are the key actions?
  • Scope/Boundaries: What should it NOT do?
  • Success Criteria: How do we know it's done?
  • Integration: How does it fit with existing features?
  • Quality Gates: What commands must pass for each story? (REQUIRED)
Format Questions Like This:
1. What is the primary goal of this feature?
   A. Improve user onboarding experience
   B. Increase user retention
   C. Reduce support burden
   D. Other: [please specify]

2. Who is the target user?
   A. New users only
   B. Existing users only
   C. All users
   D. Admin users only

This lets users respond with "1A, 2C" for quick iteration.

If you are Claude Code in an interactive session, you may present these questions with the AskUserQuestion tool instead - same questions and options, still one set at a time. When this skill is driven by ralph-tui create-prd, the agent runs non-interactively and nothing can answer a tool call, so ask in plain text with lettered options as above.

Quality Gates Question (REQUIRED)

Always ask about quality gates - these are project-specific:

What quality commands must pass for each user story?
   A. pnpm typecheck && pnpm lint
   B. npm run typecheck && npm run lint
   C. bun run typecheck && bun run lint
   D. Other: [specify your commands]

For UI stories, should we include browser verification?
   A. Yes, use dev-browser skill to verify visually
   B. No, automated tests are sufficient
Adaptive Questioning

After each response, decide whether to:

  • Ask follow-up questions (if answers reveal complexity)
  • Ask about a new aspect (if current area is clear)
  • Generate the PRD (if you have enough context)

Typically 2-4 rounds of questions are needed.


Step 2: PRD Structure

Generate the PRD with these sections:

1. Introduction/Overview

Brief description of the feature and the problem it solves.

2. Goals

Specific, measurable objectives (bullet list).

3. Quality Gates

CRITICAL: List the commands that must pass for every user story.

markdown
## Quality Gates

These commands must pass for every user story:
- `pnpm typecheck` - Type checking
- `pnpm lint` - Linting

For UI stories, also include:
- Verify in browser using dev-browser skill

This section is extracted by conversion tools (ralph-tui-create-json, ralph-tui-create-beads) and appended to each story's acceptance criteria.

4. User Stories

Each story needs:

  • Title: Short descriptive name
  • Description: "As a [user], I want [feature] so that [benefit]"
  • Acceptance Criteria: Verifiable checklist of what "done" means

Each story should be small enough to implement in one focused AI agent session.

Format:

markdown
### US-001: [Title]
**Description:** As a [user], I want [feature] so that [benefit].

**Acceptance Criteria:**
- [ ] Specific verifiable criterion
- [ ] Another criterion

Note: Do NOT include quality gate commands in individual story criteria - they are defined once in the Quality Gates section and applied automatically during conversion.

Important:

  • Acceptance criteria must be verifiable, not vague
  • "Works correctly" is bad
  • "Button shows confirmation dialog before deleting" is good
  • Each story should be independently completable
5. Functional Requirements

Numbered list of specific functionalities:

  • "FR-1: The system must allow users to..."
  • "FR-2: When a user clicks X, the system must..."

Be explicit and unambiguous.

6. Non-Goals (Out of Scope)

What this feature will NOT include. Critical for managing scope.

7. Technical Considerations (Optional)
  • Known constraints or dependencies
  • Integration points with existing systems
  • Performance requirements
8. Success Metrics

How will success be measured?

9. Open Questions

Remaining questions or areas needing clarification.


Writing for AI Agents

The PRD will be executed by AI coding agents via ralph-tui. Therefore:

  • Be explicit and unambiguous
  • User stories should be small (completable in one session)
  • Acceptance criteria must be machine-verifiable where possible
  • Include specific file paths if you know them
  • Reference existing code patterns in the project

Output Format

CRITICAL: Wrap the final PRD in markers for TUI parsing:

[PRD]
# PRD: Feature Name

## Overview
...

## Quality Gates
...

## User Stories
...
[/PRD]

File naming: The TUI will save to ./tasks/prd-[feature-name].md


Example Conversation Flow

User: Create a PRD for adding dark mode to the TUI

Assistant: I'll help you create a PRD for dark mode. Let me ask a few questions:

  1. What is the primary goal? A. Reduce eye strain for long sessions B. Match system theme preference C. Provide visual customization D. Other

  2. Should the setting persist? A. Yes, save to config file B. No, session only C. Follow system preference

User: 1A, 2A

Assistant: Great! A couple more questions:

  1. Which components need dark mode support? A. All TUI components B. Only the main execution view C. Main view + settings D. Other

  2. What quality commands must pass for each story? A. pnpm typecheck && pnpm lint B. npm run typecheck && npm run lint C. bun run typecheck D. Other: [specify]

  3. For UI stories, include browser verification? A. Yes, use dev-browser skill B. No, automated tests sufficient

User: 3A, 4A, 5A

Assistant: Perfect, I have enough to generate the PRD.

[PRD]

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

PRD: Dark Mode for Ralph TUI

Overview

Add dark mode support to ralph-tui to reduce eye strain during long orchestration sessions. The feature will apply to all TUI components and persist the user's preference in the config file.

Goals

  • Provide a comfortable viewing experience in low-light environments
  • Persist theme preference across sessions
  • Apply consistent styling to all TUI components

Quality Gates

These commands must pass for every user story:

  • pnpm typecheck - Type checking
  • pnpm lint - Linting

For UI stories, also include:

  • Verify in browser using dev-browser skill

User Stories

US-001: Add theme configuration

Description: As a user, I want to set my preferred theme (light/dark) so that it persists across sessions.

Acceptance Criteria:

  • Add theme field to .ralph-tui.yaml schema
  • Support values: "light", "dark", "system"
  • Default to "light" for backwards compatibility
US-002: Create dark theme color palette

Description: As a user, I want a soft-contrast dark theme that's easy on the eyes.

Acceptance Criteria:

  • Define dark palette with gray tones (not pure black)
  • Ensure sufficient contrast ratios (WCAG AA)
  • Colors work well for all UI states (selected, hover, disabled)
US-003: Apply theme to TUI components

Description: As a user, I want all TUI components to respect my theme preference.

Acceptance Criteria:

  • Header component uses theme colors
  • Task list uses theme colors
  • Detail panels use theme colors
  • Progress bar uses theme colors
  • Dialogs use theme colors
US-004: Add theme toggle in settings

Description: As a user, I want to toggle themes from within the TUI settings.

Acceptance Criteria:

  • Theme option visible in settings view
  • Changes apply immediately without restart
  • Changes persist to config file

Functional Requirements

  • FR-1: Theme setting must be readable from .ralph-tui.yaml
  • FR-2: Theme must apply on TUI startup
  • FR-3: Theme changes in settings must apply immediately
  • FR-4: All text must maintain readability in both themes

Non-Goals

  • System theme auto-detection (future enhancement)
  • Custom color schemes beyond light/dark
  • Per-component theme overrides

Technical Considerations

  • Use existing OpenTUI theming capabilities if available
  • Consider creating a ThemeContext for React components
  • Minimize re-renders when theme changes

Success Metrics

  • All components render correctly in dark mode
  • No accessibility contrast issues
  • Theme persists across sessions

Open Questions

  • Should we detect system theme preference automatically in v2? [/PRD]

Checklist

Before outputting the PRD:

  • Asked clarifying questions with lettered options
  • Asked about quality gates (REQUIRED)
  • Asked follow-up questions when needed
  • Quality Gates section included with project-specific commands
  • User stories are small and independently completable
  • User stories do NOT include quality gate commands (they're in the Quality Gates section)
  • Functional requirements are numbered and unambiguous
  • Non-goals section defines clear boundaries
  • PRD is wrapped in [PRD]...[/PRD] markers

© subsy, 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 skills/ralph-tui-prd of subsy/ralph-tui.

Open the folder on GitHubat commit af44322

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in subsy/ralph-tui, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Ralph Tui 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.

Ralph Tui Prd compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ralph Tui Prd this skillsubsy/ralph-tui2.5k1 repos~2.5kAutomated safety check: PassMIT
CCPM Project Managementautomazeio/ccpm8.4k—~1.1kAutomated safety check: PassMIT
Trellis Brainstormanjiemo/SunnyBeach1787 repos~4kAutomated safety check: PassApache-2.0
Prd Generatorjamesrochabrun/skills2162 repos~3.8kAutomated safety check: PassMIT
BossechoVic/boss-skill5631 repos~1.6kAutomated safety check: PassMIT
To Issuesywwynm/EverythingDone14412 repos~893Automated safety check: PassGPL-3.0

Similar skills

  • 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
  • Trellis Brainstorm

    anjiemo/SunnyBeach

    Guides collaborative requirements discovery before implementation.

    178 GitHub starsUsed in 7 repos~4k tokens
    Product & Project ManagementAuto-check passed
  • Prd Generator

    jamesrochabrun/skills

    Generate comprehensive Product Requirements Documents (PRDs) for product managers.

    216 GitHub starsUsed in 2 repos~3.8k tokens
    Product & Project ManagementAuto-check passed
  • Boss

    echoVic/boss-skill

    可审计的 agent 团队:BMAD 全自动研发流水线编排器。编排 9 个专业 Agent(PM、架构师、UI Designer、Tech Lead、Scrum Master、Frontend、Backend、QA、DevOps)从需求到部署,每一步都有事件溯源 + 不可绕过门禁 + 确定性 eval——可验证测试真跑、门禁真过。支持单环节切片命令(/boss:plan /review /qa…

    563 GitHub starsUsed in 1 repo~1.6k tokens
    Product & Project ManagementAuto-check passed
  • To Issues

    ywwynm/EverythingDone

    Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.

    144 GitHub starsUsed in 12 repos~893 tokens
    Product & Project ManagementAuto-check passed
  • Adversarial Spec

    zscole/adversarial-spec

    Iteratively refine a product spec by debating with multiple LLMs (GPT, Gemini, Grok, etc.) until all models agree.

    556 GitHub stars~8.3k tokensUpdated 8 mo ago
    Product & Project ManagementAuto-check: notes

More from subsy/ralph-tui

  • 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
    Auto-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
    Auto-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
    Auto-check passed
  • Testing Tui Runtime

    subsy/ralph-tui

    How to drive the ralph-tui TUI (run, watch mode, pause/quit paths) end-to-end in a real terminal with a fake agent and a scratch beads tracker, without AI credentials.

    2.5k GitHub stars~2.6k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Ralph Tui Prd

What does Ralph Tui Prd do?

Generate a Product Requirements Document (PRD) for ralph-tui task orchestration. Ralph Tui Prd is an agent skill from subsy/ralph-tui. Generate a Product Requirements Document (PRD) for ralph-tui task orchestration.

When should I use Ralph Tui Prd?

Ralph Tui Prd fits situations like: plan this feature; requirements for.

How do I install Ralph Tui Prd in Claude Code?

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

How do I install Ralph Tui Prd in Codex?

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

Can I use Ralph Tui 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 subsy/ralph-tui --skill ralph-tui-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/ralph-tui-prd, .gemini/skills/ralph-tui-prd, .github/skills/ralph-tui-prd and .opencode/skills/ralph-tui-prd in your project.

What does Ralph Tui Prd need to run?

Going by SKILL.md and its folder, Ralph Tui Prd needs the command-line tools its instructions call (pnpm, npm and bun).

Does Ralph Tui Prd access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Ralph Tui 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 Ralph Tui Prd use?

Ralph Tui 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 Ralph Tui Prd use?

About 2.5k tokens (SKILL.md is roughly 9.9k 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 Ralph Tui Prd?

Skills that share tags, products or a category with Ralph Tui Prd: CCPM Project Management (automazeio/ccpm, 8.4k stars), Trellis Brainstorm (anjiemo/SunnyBeach, 178 stars), Prd Generator (jamesrochabrun/skills, 216 stars) and Boss (echoVic/boss-skill, 563 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ralph Tui Prd?

subsy (a GitHub user) maintains it in subsy/ralph-tui, which has 2,451 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 4, 2026.

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