New Bus Component — Development skill for Claude Code
Scaffold a new bus/ component with styles, following project conventions.
How to install New Bus Component
Installs to ~/.claude/commands/codemercl-claude-framework-new-bus-component.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/codemercl/claude-framework/HEAD/.claude/commands/new-bus-component.md -o ~/.claude/commands/codemercl-claude-framework-new-bus-component.md Restart Claude Code, or start a new session, for it to be picked up.
What New Bus Component does
name: new-bus-component description: Scaffold a new bus/ component with styles, following project conventions. Usage: /new-bus-component [--element]
Create a new component in `front/src/bus/$ARGUMENTS`.
Parse arguments: first arg is domain (e.g. `profile`), second is componentName (e.g. `profileCard`). If `--element` flag is present, create an Element (no hooks, no `Component` suffix). Otherwise create a Component.
Steps
- Verify the domain exists: `front
Alternatives in Development
- Hand Drawn Styles — Claude Code skill:把内容套进内置手绘画风配方,产出可直接复制的生图提示词 930 ★
- Migrate Component — Migrate a docs component from rST/Snooty AST to MDX 775 ★
- Beautiful Feishu Whiteboard — 35 curated colour palette styles for building beautiful, editable Feishu / Lark (飞书) whiteboards 687 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
New Hook
Scaffold a new GraphQL hook (useQuery or useMutation) with gql/ directory, following project conventions. Usag
Pinpoint
Click an element on your local dev site, write what should change, and your coding agent gets it — selector, c
API Endpoint
Scaffold a complete new API endpoint for the WealthWise API following all project conventions.
New Page
Scaffold a complete new dashboard page for the WealthWise web app following all project conventions.
Ableton Init
Bootstrap a fresh Ableton Live project with our preferred bus structure, return tracks, group templates, and c
Dev Inspector
Claude Code skill: click an element in your dev app, auto-inject source/component/selector/screenshot into the
Related Agents
Plugin Scaffold
Scaffold a new vlist feature with all required files following project conventions. Use when creating a new fe
Module Scaffolder
Use this agent when you need to scaffold a new Laravel module in the LaraDashboard project, including generati
Fec Design Token Mapper
Use this subagent to map styles and variables in Figma, Sketch, MasterGo, Pixso, Mokou, or Mockup to existing