Skill instructions (SKILL.md) could not be loaded from local cache or raw GitHub repository.
create-component
star 5
Create a new React component in `src/components/` following skymap's conventions — own folder, `<Name>.tsx` + `<Name>.module.css`, single-component-per-file, `function Name() {}` + `export default Name`, top-level `.root` class. Use when the user types `/create-component`, asks to "make a component", "add a component", "extract this into a component", or "split this component up". Also use proactively whenever a component file is growing past ~120 lines or starts handling more than one concern — the *right* time to create a new component is before the parent gets messy, not after.
Install via CLI
npx skills add https://github.com/rulkens/skymap --skill create-component
Repository Details
star Stars
5
call_split Forks
1
navigation Branch
main
article Path
SKILL.md
More from Creator
rulkens Explore all skills →