Refactor Component
ClickHouse/ClickStack/.claude/skills/refactor-componentcodingOfficial
Official Provider SkillView repo
Refactor a large React component file into a directory of smaller files. Use when the user asks to break up, split, or refactor a big component file.
Files1 files
SKILL.md204 lines
Loading editor…
Install
RecommendedOne command — your agent picks it up automatically.
Select an AI agent above to see the install command.
or
Manual Install
More stepsDownload the file and paste it into your agent's system prompt.
Skill details
Versionv1.0.0
AuthorClickHouse
Categorycoding
Skill IDClickHouse/ClickStack/.claude/skills/refactor-component
Related skills
Data Source IconsUse the correct Tabler icon for each HyperDX data source kind (Log, Trace, Session, Metric, PromQL). Use whenever adding or changing an icon that represents a source kind or a signal type — source selectors, side panels, cross-source actions like "View Trace", tabs, badges, breadcrumbs, or anywhere a log/trace/session/metric is depicted.Naming ObjectsName user-created objects (dashboards, saved searches, tiles, alerts) with the shared InlineNameInput. Use when adding or changing the place where a user names or renames something, building an editor or page header that shows an object's name, or when tempted to add a pencil edit button, a "Name" field in a save modal, or a bordered name TextInput.Page LayoutAdd or update app page headers and layout using PageHeader and PageLayout. Use when creating a new page, fixing inconsistent headers, or migrating Service Map / Kubernetes / dashboard pages to the shared layout.PlaywrightWrites end-to-end tests code using Playwright browser automation.BisectBisect a ClickHouse regression using pre-built master binaries from CI. Use when the user wants to find the commit that introduced a bug.Clean Old Worktrees GlobalFind and delete unused git worktrees and build directories under the home directory (or another root), treating everything not modified within a given age (default one day) as unused. Use when the user asks to clean up old worktrees, stale build directories, or free disk space across all checkouts.