Skip to content

Commit 464485f

Browse files
committed
refactor(skill): generalize component scaffolding guidance beyond Mantine
1 parent 2243c97 commit 464485f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

skills/react-clean-architecture-add-component/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Question requirements:
3434

3535
- Provide the type as options (`ui`, `features`)
3636
- Require the component name to be in PascalCase
37-
- For `ui`, ask whether direct Mantine usage in existing `features` should be replaced with the new component
37+
- For `ui`, ask whether direct usage of Mantine or other UI libraries in existing `features` should be replaced with the new component
3838

3939
## Procedure
4040

@@ -63,7 +63,7 @@ Question requirements:
6363

6464
5. Replace existing usages (only when creating `ui`)
6565

66-
- Only when the user approves, replace equivalent direct Mantine implementations in existing `features` with the new `ui` component.
66+
- Only when the user approves, replace equivalent direct implementations using Mantine or other UI libraries in existing `features` with the new `ui` component.
6767

6868
6. Validate
6969

skills/react-clean-architecture-add-component/references/component-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Ask using these options:
3030
- Keep components stateless.
3131
- Accept data and callbacks via props.
3232
- Do not add side effects or data fetching.
33-
- Prefer Mantine primitives first; use custom JSX/SCSS only when needed.
33+
- Prefer primitives from Mantine or other UI libraries first; use custom JSX/SCSS only when needed.
3434

3535
### features
3636

skills/react-clean-architecture-add-component/references/typescript-and-scss-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This reference defines coding rules required by the `add-component` skill.
2020

2121
### Style Constraints
2222

23-
- Prefer Mantine first; use SCSS only when complementing Mantine styles is necessary.
23+
- Prefer Mantine or other UI libraries first; use SCSS only when complementing library styles is necessary.
2424
- Do not use negative margins.
2525
- Prefer unitless `line-height`.
2626
- Prefer `letter-spacing` in `em`.

0 commit comments

Comments
 (0)