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/Presentation-based component or runs /react-container-presentation-component.
Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.
Prompt
Install the "react-container-presentation-component" Agent Skill by GitHub Awesome Copilot contributors, from https://github.com/github/awesome-copilot.
1. Fetch the whole folder skills/react-container-presentation-component — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
skill_checkout=$(mktemp -d)
git init "$skill_checkout"
git -C "$skill_checkout" fetch --depth 1 https://github.com/github/awesome-copilot.git 1683f50e94c9fd489191f73d7c8f7e2bd871bd0c
git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "react-container-presentation-component":
- Claude Code: ~/.claude/skills/react-container-presentation-component/ (all projects) or .claude/skills/react-container-presentation-component/ (this project only)
- Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that react-container-presentation-component/SKILL.md exists and its frontmatter says name: react-container-presentation-component.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.
skills CLI
One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).
Only when the user approves, replace equivalent direct implementations using Mantine or other UI libraries in existing features with the new ui component.
Validate
Run build and lint commands, and ensure both pass; if issues are introduced by newly added or updated files, fix them.
Follow Storybook Minimum in references/component-architecture.md for story state decisions.
Ask the user via ask_user whether to run a Storybook check (for example: “Run” / “Skip for now”).
Run npm run storybook only if the user selects “Run”.
If the user selects “Skip for now”, explicitly mention in the final report that Storybook execution was skipped.
Output Contract
Report the list of files created.
If replacements were performed, report the list of changed files and replacement details.
Provide one usage example of the created component.
Report whether Storybook verification was executed (run/skip), and if run, include the command used.
Explain why the component was classified as ui or features.
Summarize where state, side effects, and rendering responsibilities were placed.
Confirm whether there were any dependency direction violations.