@oninross/toolbox
v1.0.1
Published
CLI toolbox for scaffolding, components, and guides.
Maintainers
Readme
toolbox
toolbox is a CLI utility to speed up common frontend project tasks. It provides commands for generating LLM guidelines, scaffolding a Next.js + Storybook project, and running a component generator.
Installation & Usage
You can run toolbox directly with npx (no install required):
npx @oninross/toolbox <command>Available Commands
| Command | Description |
| ------------------------ | -------------------------------------------------------------------------- |
| --llm-guide, -g | Generate llm.txt in the project root with LLM guidelines |
| --create-component, -c | Run @oninross/create-component to scaffold a new component |
| --scaffold | Scaffold a Next.js + Storybook project (with TypeScript, ESLint, and SCSS) |
| --switch, -s | Interactively switch which SSH key is used for GitHub pushes |
| --clean-modules, -x | Remove node_modules and package-lock.json from the project root |
| --help, -h | List all available commands |
Examples
Generate LLM guidelines file:
npx @oninross/toolbox --llm-guideRun the component generator:
npx @oninross/toolbox --create-componentScaffold a Next.js + Storybook project:
npx @oninross/toolbox --scaffoldSwitch SSH key for GitHub pushes:
npx @oninross/toolbox --switch
# or
npx @oninross/toolbox -sRemove node_modules and package-lock.json:
npx @oninross/toolbox --clean-modules
# or
npx @oninross/toolbox -xShow help:
npx @oninross/toolbox --helpThis tool is maintained by oninross.
