/web-framework-development:react-container-presentation-component componentName type(ui|features)from web-framework-development
Scaffolds a React Container/Presentation component with TypeScript, SCSS Module, Storybook, and ui/features classification. Supports optional Mantine replacement and enforces architecture rules from project references.
Ships in web-framework-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create a React component under src/components that follows this repository's Container/Presentation pattern, TypeScript conventions, SCSS module rules, and Storybook minimums.
/react-container-presentation-component"Use $ARGUMENTS as componentName type(ui|features). Validate that the component name is PascalCase and the type is exactly ui or features. If arguments are incomplete, ask for missing information before creating files; if the environment has an ask_user interaction primitive, use it.
Required questions when missing:
| Missing input | Question requirement |
|---|---|
| Component name | Require PascalCase. |
| Type | Offer only ui and features. |
Replacement intent for ui | Ask whether equivalent direct Mantine or other UI-library usage in existing features should be replaced. |
| Type | Directory | Use when | Required files |
|---|---|---|---|
ui | src/components/ui/<ComponentName> | Pure reusable rendering with no business logic, async processing, context/store update, or feature-specific state management. | index.tsx, index.module.scss, index.stories.tsx |
features | src/components/features/<ComponentName> | Component coordinates state management, side effects, async processing, context/store updates, or business logic. | index.tsx, use<ComponentName>.tsx, presentation.tsx, types.ts, presentation.module.scss, presentation.stories.tsx |
Even when the user specifies ui, apply Reclassification Rule in references/component-architecture.md before creating files. If the implementation is closer to features, pause and confirm one of these choices: Create as features or Keep ui and move state/logic to parent or features.
references/component-architecture.md and references/typescript-and-scss-rules.md.$ARGUMENTS and ask for any missing component name, type, or ui replacement decision.src/components/ui/<ComponentName> or src/components/features/<ComponentName> already exists.ui or features.ui and the user approved replacements, replace equivalent direct implementations using Mantine or other UI libraries in existing features.Storybook Minimum from references/component-architecture.md. Ask whether to run a Storybook check, with run/skip choices such as Run or Skip for now.npm run storybook only if the user selects Run; otherwise report that Storybook execution was skipped.| Concern | ui location | features location |
|---|---|---|
| Rendering markup | index.tsx | presentation.tsx |
| Styles | index.module.scss | presentation.module.scss |
| Public props | index.tsx types when small | types.ts |
| State and effects | Parent or feature component, not ui | use<ComponentName>.tsx hook |
| Storybook examples | index.stories.tsx | presentation.stories.tsx |
| Business logic | Not allowed | Container/hook, not presentation |
| Resource | Use it when |
|---|---|
references/component-architecture.md | Classification, Reclassification Rule, Storybook Minimum, dependency direction, and Container/Presentation responsibilities. |
references/typescript-and-scss-rules.md | TypeScript exports, props, SCSS module naming, and style conventions. |
ui: state management, side effects, async processing, context/store updates, or business logic mean features unless logic is moved upward.Run or Skip for now.ui must not depend on features.## React component scaffold result
**Status:** created | needs input | blocked
**Component:** `<ComponentName>`
**Classification:** `ui` | `features`
**Target directory:** `src/components/<ui|features>/<ComponentName>`
### Files created
- `<path>`
### Replacements
- `<changed file>`: <replacement details or none>
### Usage example
```tsx
<<ComponentName> />
npm run storybook | skipped by user
## Quality gate
- [ ] `$ARGUMENTS` was parsed as `componentName type(ui|features)` and missing values were requested.
- [ ] Component name is PascalCase and type is `ui` or `features`.
- [ ] Existing `src/components/ui/<ComponentName>` and `src/components/features/<ComponentName>` were checked before writing.
- [ ] `ui` classification was re-checked against state, side effects, async processing, context/store updates, and business logic.
- [ ] Required files were created for the selected classification.
- [ ] Approved replacements in existing `features` were reported, or none were performed.
- [ ] Build and lint commands were run or a concrete blocker was reported.
- [ ] Storybook execution was run only after user approval or explicitly reported as skipped.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/chrome-devtoolsHandle `browser-related` tasks and control a live Chrome browser through Chrome DevTools MCP for browser automation, visual inspection, debugging, performance analysis, and emulation. Use when navigating pages, clicking elements, filling forms, handling `alerts/prompts.`, taking snapshots or screenshots, inspecting console and network activity, evaluating JavaScript, profiling Core Web Vitals, or testing viewport and network conditions./gsap-framer-scroll-animationBuild production scroll animations and scroll effects in vanilla JS, React, or Next.js using GSAP ScrollTrigger or Framer Motion/Motion v12. Use when asked for scroll-triggered reveals, parallax, pinned sections, horizontal scroll, scrubbed timelines, ScrollSmoother, matchMedia, useScroll, useTransform, useSpring, whileInView, variants, sticky sections, Apple-like scroll, progress bars, entrance animations, or GitHub Copilot prompts for scroll motion./markstream-installInstall and configure Markstream streaming Markdown renderers for Vue, React, Svelte, Angular, Nuxt, Next.js, and Vue 2 applications. Use when adding streaming Markdown to AI chat or document interfaces, repairing Markstream styles or SSR, or choosing static, smooth-streaming, or externally parsed AST input./next-intl-add-languageAdd a new locale to a Next.js application that uses next-intl, including message JSON, routing, middleware, and the language toggle UI. Use this skill when the user asks to add a language, locale, translation file, next-intl routing entry, or language selector option.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin web-framework-developmentOther plugins' skills for the same job