tui-prd-to-descriptions
Generate and render a pixel-precise ASCII TUI PRD to Descriptions component with complete output blocks (TUI_RENDER, COMPONENT_SPEC, PENCIL_SPEC, PENCIL_BATCH_DESIGN) for Pencil MCP drawing workflows. Use when the user asks to create a PRD to descriptions in a terminal UI, text-based interface, or Pencil MCP project.
Best use case
tui-prd-to-descriptions is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Generate and render a pixel-precise ASCII TUI PRD to Descriptions component with complete output blocks (TUI_RENDER, COMPONENT_SPEC, PENCIL_SPEC, PENCIL_BATCH_DESIGN) for Pencil MCP drawing workflows. Use when the user asks to create a PRD to descriptions in a terminal UI, text-based interface, or Pencil MCP project.
Generate and render a pixel-precise ASCII TUI PRD to Descriptions component with complete output blocks (TUI_RENDER, COMPONENT_SPEC, PENCIL_SPEC, PENCIL_BATCH_DESIGN) for Pencil MCP drawing workflows. Use when the user asks to create a PRD to descriptions in a terminal UI, text-based interface, or Pencil MCP project.
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "tui-prd-to-descriptions" skill to help with this workflow task. Context: Generate and render a pixel-precise ASCII TUI PRD to Descriptions component with complete output blocks (TUI_RENDER, COMPONENT_SPEC, PENCIL_SPEC, PENCIL_BATCH_DESIGN) for Pencil MCP drawing workflows. Use when the user asks to create a PRD to descriptions in a terminal UI, text-based interface, or Pencil MCP project.
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/tui-prd-to-descriptions/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How tui-prd-to-descriptions Compares
| Feature / Agent | tui-prd-to-descriptions | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate and render a pixel-precise ASCII TUI PRD to Descriptions component with complete output blocks (TUI_RENDER, COMPONENT_SPEC, PENCIL_SPEC, PENCIL_BATCH_DESIGN) for Pencil MCP drawing workflows. Use when the user asks to create a PRD to descriptions in a terminal UI, text-based interface, or Pencil MCP project.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# PRD 界面 → 多格式描述 将 **PRD 中的界面/屏幕描述** 转化为三种可交付物,供文档补充与下游 stitch-skills、pencil-skills 使用。本技能**只产出描述文本**,不调用 Stitch MCP 或 Pencil MCP。 ## 何时使用 - 用户提供 PRD 文档或 PRD 界面章节,需要同时得到:ASCII 界面(补充 PRD)、Stitch 可识别的提示词、Pencil 可执行计划。 - 需要明确「PRD 界面 → 多格式」的产出结构,便于与 stitch-skills、pencil-skills 流水线衔接。 ## 输入 - **PRD 文档** 或 **PRD 中的界面相关段落**:功能概述、页面/屏幕列表、详细功能需求中的界面说明、非功能需求中的视觉/主题偏好。 - 可选:目标框架或设计说明摘要(如 uView Pro、Element Plus),用于生成更贴合的 Stitch 与 Pencil 描述。 ## 输出(三种块,均需产出) ### 1. TUI_RENDER(ASCII 界面) - 等宽字符绘制的界面示意,可多屏,每屏可标注名称(如「登录页」「首页」)。 - 用途:补充 PRD 的「界面原型关联」或附录;不驱动 Stitch/Pencil 执行。 - 约定:无 TAB;每行宽度一致(如 widthCols=70)。 ### 2. STITCH_PROMPT(Stitch 可执行描述) - 分段结构,与 stitch-skills 的 [prd-to-stitch-workflow](https://github.com/partme-ai/stitch-skills/blob/main/docs/prd-to-stitch-workflow.md) 兼容:`[Context]`、`[Layout]`、`[Components]`、`[Content]`。 - 可直接或经微调后作为 `generate_screen_from_text` 的 prompt,或作为 stitch-ui-prompt-architect 的输入。 - 下游:由 **stitch-skills** 消费并执行 Stitch MCP;本技能不调用。 ### 3. PENCIL_PLAN 或 PENCIL_BATCH_DESIGN(Pencil 可执行描述) - **PENCIL_PLAN**:步骤序列,每步含工具名(如 `mcp__pencil__open_document`、`mcp__pencil__batch_design`)、意图、关键参数;与 pencil-skills 的 pencil-ui-design-spec-generator 输出格式一致。 - **PENCIL_BATCH_DESIGN**:可直接用于 Pencil MCP `batch_design` 的 operations(每批 ≤25 操作)。 - 下游:由 **pencil-skills** 或 Agent 按步执行 Pencil MCP;本技能不调用。 ## 逻辑规则 1. **解析 PRD**:提取页面/屏幕列表、每屏功能与主要组件、交互要点、视觉/主题偏好。 2. **ASCII**:按屏或按区域生成线框式 ASCII,保持等宽与可读性。 3. **Stitch 描述**:按屏生成 Stitch 分段提示,包含设备类型、布局、组件与内容描述,便于 stitch-skills 直接使用。 4. **Pencil 描述**:按「后续界面设计」需求生成 PENCIL_PLAN 或 PENCIL_BATCH_DESIGN 片段,与 pencil-skills 的 PENCIL_PLAN 格式一致。 ## 边界(无能力交叉) - **不调用** Stitch MCP 或 Pencil MCP。 - Stitch 实际绘制由 **stitch-skills** 完成;Pencil 实际绘制由 **pencil-skills** 完成。本技能仅产出描述语言。 ## 参考 - 边界与三种输出格式:[docs/boundary-and-outputs.md](../../docs/boundary-and-outputs.md) - PRD 界面→多格式约定:[docs/prd-interface-to-multi-format.md](../../docs/prd-interface-to-multi-format.md) - 组件词汇表:本库 `tui-*` 组件技能(tui-button、tui-input 等)可在组合界面时引用其语义与规范。
Related Skills
vant-vue3
Provides structured guidance for Vant of Vue 3.0. Use when the user needs Vant with Vue 3, asks about mobile UI components such as Button, Cell, Form, Dialog, Toast, Popup, ConfigProvider, theme customization, project setup, or wants to implement mobile-first interfaces with vant or van- components.
layui-vue3
Provides comprehensive guidance for Layui Vue component library including components, layer dialogs, and utilities. Use when the user asks about Layui Vue, needs to use Layui components in Vue 3, or implement UI components.
element-plus-vue3
Provides comprehensive guidance for Element Plus Vue 3 component library including installation, components, themes, internationalization, and API reference. Use when the user asks about Element Plus for Vue 3, needs to build Vue 3 applications with Element Plus, or customize component styles.
bootstrap-vue3
Provides comprehensive guidance for Bootstrap Vue 3 component library including Bootstrap components, grid system, utilities, and Vue 3 integration. Use when the user asks about Bootstrap Vue 3, needs to use Bootstrap components in Vue 3, or implement responsive layouts.
vuex-vue2
Provides comprehensive guidance for Vuex 2.x state management in Vue 2 applications including state, mutations, actions, getters, modules, and plugins. Use when the user asks about Vuex for Vue 2, needs to manage state in Vue 2 applications, or implement Vuex patterns.
vue3
Guidance for Vue 3 using the official guide and API reference. Use when the user needs Vue 3 concepts, patterns, or API details to build components, apps, and tooling.
vue2
Provides comprehensive guidance for Vue 2.x development including Options API, components, directives, lifecycle hooks, computed properties, watchers, Vuex state management, and Vue Router. Use when the user asks about Vue 2, needs to create Vue 2 components, implement reactive data binding, handle component communication, or work with Vue 2 ecosystem tools.
vue-router
Provides comprehensive guidance for Vue Router including route configuration, navigation, dynamic routes, nested routes, route guards, programmatic navigation, and route meta. Use when the user asks about Vue Router, needs to set up routing, implement navigation guards, handle route parameters, or manage route transitions.
vue-router-v4
Provides comprehensive guidance for Vue Router v4 including route configuration, navigation, nested routes, route guards, and Vue 3 integration. Use when the user asks about Vue Router v4, needs to set up routing for Vue 3 applications, implement navigation guards, or work with Vue Router v4 features.
vue-router-v3
Guidance for Vue Router v3 using the official Installation, Guide, and API docs. Use when users need routing setup, navigation patterns, or API details for Vue 2 projects.
pinia
Provides comprehensive guidance for Pinia state management including stores, state, getters, actions, plugins, and TypeScript support. Use when the user asks about Pinia, needs to manage application state, create stores, implement state persistence, or migrate from Vuex.
vscode-project-init
Scaffold a new VS Code extension project using TypeScript via Yeoman generator (yo code), creating src/extension.ts entry point and package.json manifest. Use when the user wants to start a new VS Code extension project from scratch.