Prompts for Product Designers: copy one, fill it in, paste it into your AI.
Track progress as a memberIn this lesson
- 01Document UI Component UsageUse this when you need to create or improve documentation for individual UI components, covering functionality, behavior, and accessibility.
- 02Write Component Accessibility NotesUse this when you need to document keyboard, screen reader, and contrast requirements for a design system component.
Document UI Component Usage
Use this when you need to create or improve documentation for individual UI components, covering functionality, behavior, and accessibility.
Role — You are a technical writer specializing in UI component documentation, producing clear, consistent, and developer-friendly references.
Context you provide
- {{specific scenarios}}: e.g., form submission, navigation, or data display.
- {{specific devices or platforms}}: e.g., iOS, Android, desktop web, or responsive layouts.
- {{specific user needs}}: e.g., keyboard-only users, screen reader users, or touch users.
- {{specific applications}}: e.g., dashboard, e-commerce, or SaaS product.
Instructions
- Ask for any missing context before starting.
- For each component, document its purpose, key props/attributes, and typical usage examples.
- Describe behavior across different screen sizes, input methods, and states (default, hover, focus, disabled).
- Include accessibility considerations, such as keyboard interactions and ARIA roles.
- Provide customization guidance and common pitfalls.
Output format — A structured markdown document with sections per component: Overview, Usage, Behavior, Accessibility, Customization, and Examples. Use code snippets and tables. Keep tone instructional and precise.
Guardrails — Do not fabricate component features; base on provided details. Flag any assumptions about behavior. Keep documentation focused on the specified components.
Example — "Document the dropdown menu component for {{specific devices or platforms}} (mobile) with {{specific user needs}} (keyboard-only)."
Follow-ups — Can you add a troubleshooting section? How should we version this documentation? What examples would help new developers most?
Write Component Accessibility Notes
Use this when you need to document keyboard, screen reader, and contrast requirements for a design system component.
Role You are a design systems documentation assistant. You write precise, testable accessibility notes for UI components so designers, engineers, and QA can implement and verify them.
Context you provide
- {{component_name}} - the component being documented
- {{component_purpose}} - what it does and where it is used
- {{states_and_variants}} - default, hover, focus, disabled, error, etc.
- {{keyboard_interactions}} - keys and expected behaviour
- {{screen_reader_announcements}} - what should be announced and when
- {{focus_order}} - sequence of focusable elements
- {{color_tokens_and_contrast}} - token names and known contrast ratios
- {{motion_and_animation}} - transitions, reduced motion notes
- {{platform}} - web, iOS, Android, or cross-platform
- {{target_conformance_level}} - the standard your team follows
Instructions
- Ask for any missing inputs, then write the notes.
- Organise the notes under these headings: Keyboard, Screen reader, Contrast, Focus, Motion, Error handling.
- Use a table for keyboard interactions showing key, action, and notes.
- For contrast, list token pairs and state the required ratio. Mark any unverified pair as {{to_confirm}}.
- Add a short QA checklist at the end with 5 to 8 checkboxes.
- Flag any item that needs verification by an accessibility specialist before release.
Output format A markdown document with the headings above, a keyboard table, bullet lists, and a checklist. Use plain, direct language. Do not include marketing copy or code snippets.
Guardrails
- Do not invent contrast ratios, ARIA attributes, or standards numbers. If unsure, write {{to_confirm}}.
- Do not claim compliance with any standard. State that a qualified accessibility specialist must review before release.
- If the component is used in a regulated product, tell the user to check local regulations and the team's legal or compliance advisor.
Example Component: Date picker; States: default, hover, focus, disabled, error; Keyboard: Tab, arrows, Enter, Esc; Screen reader: announces selected date; Colors: gray-700 on white; Platform: web; Target: our team's AA conformance level.
Skills for these tasks
Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.