Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | -51% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -50% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 107% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -4% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 137% | 0% |
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.
references/component-architecture.mdreferences/typescript-and-scss-rules.mdIf the /react-container-presentation-component input is incomplete, ask questions first before creating files.
/react-container-presentation-componentui vs features classification within the Container/Presentation patternIf any of the following information is missing, ask the user using ask_user.
ui or features)ui)Question requirements:
ui, features)ui, ask whether direct usage of Mantine or other UI libraries in existing features should be replaced with the new componentsrc/components/ui/<ComponentName> or src/components/features/<ComponentName> already exists.ui: src/components/ui/<ComponentName>features: src/components/features/<ComponentName>ui is specified)ui is specified, before creating files, review Reclassification Rule in references/component-architecture.md.features.features, do not proceed as ui; use ask_user and confirm one of the following before continuing.Create as featuresKeep ui and move state/logic to parent or featuresui: index.tsx, index.module.scss, index.stories.tsxfeatures: index.tsx, use<ComponentName>.tsx, presentation.tsx, types.ts, presentation.module.scss, presentation.stories.tsxui)features with the new ui component.Storybook Minimum in references/component-architecture.md for story state decisions.ask_user whether to run a Storybook check (for example: "Run" / "Skip for now").npm run storybook only if the user selects "Run".ui or features.Other measured skills in the registry, with their headline benchmark lift.