Установка
SKILL.md
Ralph TUI PRD Generator
Create detailed Product Requirements Documents optimized for AI agent execution via ralph-tui.
The Job
- Receive a feature description from the user
- Ask 3-5 essential clarifying questions (with lettered options) - one set at a time
- Always ask about quality gates (what commands must pass)
- After each answer, ask follow-up questions if needed (adaptive exploration)
- Generate a structured PRD when you have enough context
- 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.
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.
## 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:
### 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:
-
What is the primary goal? A. Reduce eye strain for long sessions B. Match system theme preference C. Provide visual customization D. Other
-
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:
-
Which components need dark mode support? A. All TUI components B. Only the main execution view C. Main view + settings D. Other
-
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]
-
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]
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 checkingpnpm 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
themefield to.ralph-tui.yamlschema - <!-- -->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
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: ralph-tui-prd](https://darkplay.ru/ai/skills/ralph-tui-ralph-tui-prd)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Та же категория — сравните, что ещё подойдёт под вашу задачу.
brainstormingobra · Обязательно используйте перед любой творческой работой — созданием функций, компонентов…
paperclippaperclipai · Работа с API Paperclip для координации задач и управления.
create-prdphuryn · Создание PRD по подробному шаблону из 8 разделов: проблема, цели, сегменты, ценностные…
prdsnarktank · Создание Product Requirements Document (PRD) для новой функции. Используется при…
prd-developmentdeanpeters · Создаёт структурированный PRD, связывающий проблему, пользователей, решение и критерии…
discovery-interviewparcadei · Глубинное интервью для превращения идей в детальные спецификации.
product-requirementsstellarlinkco · Интерактивный Product Owner: сбор требований, анализ и создание PRD.
triage-issueatlassian · Сортирует баг-репорты, ищет дубликаты в Jira и создаёт задачи.
linear-clischpet · Управление задачами Linear из командной строки через linear cli.
deliver-acceptance-criteriaproduct-on-purpose · Формирует приёмочные критерии Given/When/Then для истории или фичи: happy path, сбои и…Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
A11y Architectaffaan-m · Архитектор доступности, специализирующийся на соответствии WCAG 2.2 для веба и нативных…
Agent Evaluatoraffaan-m · Оценивает результат агента по рубрике качества из 5 критериев (точность, полнота…
Docs Lookupaffaan-m · Получает актуальную документацию и примеры кода через Context7 MCP для вопросов по API и…
E2e Runneraffaan-m · Специалист по E2E-тестам на Vercel Agent Browser и Playwright: генерация, запуск и…
Marketing Agentaffaan-m · Маркетинг-стратег и копирайтер: кампании, позиционирование, тексты и контент-планы.
Planneraffaan-m · Специалист по планированию сложных функций, архитектурных изменений и рефакторинга.
Security Revieweraffaan-m · Ищет и устраняет уязвимости: секреты, SSRF, инъекции, крипто и OWASP Top 10.
ralph-wiggumanthropics · Интерактивные самореферентные циклы ИИ для итеративной разработки. Claude многократно…
Presentation Claude Codeshanraisshan · Агент для обновления и правки презентации CLAUDE-CODE-BEST-PRACTICE: слайды, структура…
Presentation Claude Geminishanraisshan · Агент для обновления и правки презентации CLAUDE-GEMINI: слайды, структура, стили, уровни…Лучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachatЛучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirton