React container presentation component

From github/awesome-copilot · View interactive version

React container presentation component is an AI agent skill from the GitHub repository github/awesome-copilot. Create a React component using the Container/Presentation pattern in src/components by asking for the component name and type (ui or features), then scaffold files that follow this repository's TypeScript, Storybook, and SCSS conventions. Use when the user explicitly asks for a Container/Presentatio

How to use this skill

Skill file

Container/Presentation Component

Use this skill to create a React component under src/components that follows the Container/Presentation pattern.

Refer to this skill's bundled references for detailed rules.

If the /react-container-presentation-component input is incomplete, ask questions first before creating files.

When To Use

Required Questions

If any of the following information is missing, ask the user using ask_user.

  1. Component name
  2. Type (ui or features)
  3. Whether to replace existing components (only when creating ui)

Question requirements:

Procedure

  1. Check existing components
  1. Decide target directory
  1. Re-check classification (only when ui is specified)
  1. Create required files
  1. Replace existing usages (only when creating ui)
  1. Validate

Output Contract

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.