frontend-components
Skill by rommapp
Sets the rules for building or changing components in the RomM v2 frontend under frontend/src/. Covers the three component tiers, file conventions, SFC structure, import order and Storybook requirements.
Install frontend-components
Built from the published package, never by AI.
git clone --depth 1 https://github.com/rommapp/romm /tmp/romm && mkdir -p ~/.claude/skills && cp -r /tmp/romm/.claude/skills/frontend-components ~/.claude/skills/frontend-componentsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/rommapp/romm /tmp/romm && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/romm/.claude/skills/frontend-components ~/.gemini/antigravity-cli/skills/frontend-componentsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install frontend-components in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill sets the rules for building or changing components in the RomM v2 frontend, located in frontend/src/. It explains the three component tiers: primitives in src/lib/ with R* prefixes, shared composites, and feature composites. It also covers file and folder conventions, single-file component structure, import order, barrels, and Storybook requirements.
The skill lists stable premises and anti-patterns. Examples include not changing shared store APIs to fix a call site, not hand-rolling forms, and using scoped CSS with design tokens instead of utility classes. It is aimed at developers working on RomM's frontend who need the v2 component rules before editing files under frontend/src/. It points to related skills for theming, input, patterns, i18n and review.
Written from the project's SKILL.md and checked against it.
What it can do
- Three-tier component modelExplains when a component is a primitive, shared composite, or feature composite.
- File and folder conventionsDescribes folder layout for primitives, composites, and barrels in src/lib/.
- SFC structureSets script setup, defineProps, defineEmits, and style block order for Vue components.
- Import order and aliasesDefines the import sequence and requires the @/ alias over relative paths.
- Storybook requirementsSpecifies stories and play() interactions required for primitives in /lib.
- Attribute forwarding contractRequires inheritAttrs false with v-bind attrs and slot passthrough on wrappers.
- Anti-patterns listLists practices to avoid, such as inline role checks and backwards-compat shims.
- Composable and logging rulesSets naming for use-prefixed composables and limits console.log and console.warn.
What you need
- npm to run the test suite (npm run test)
Try asking
- Create a new R* primitive in src/lib/ following the RomM v2 component rules
- Review my frontend/src/ component for SFC structure and import order issues
- Check whether my new component belongs in lib, shared, or a feature folder
Good to know
- Covers only the RomM v2 frontend; the legacy v1 UI has been removed
- Primitives cannot use Pinia stores, API services, router, emitter, or i18n directly
- Layout uses scoped CSS and tokens, with no Tailwind or Vuetify
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/frontend-components/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to frontend-components
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
frontend-components: common questions
Where do RomM v2 components live?
Primitives go in src/lib/ with an R* prefix, shared composites in src/components/shared/, and feature composites in src/components/<feature>/.
Does RomM v2 use Tailwind or Vuetify?
No. The skill says v2 uses no utility-class framework and no component library, and layout is written in scoped CSS against tokens.
Are Storybook stories required for every component?
Stories are mandatory for primitives in /lib, while shared and feature composites have them as optional.
How do I install frontend-components?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is frontend-components free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is frontend-components safe to use?
It scores 83 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to frontend-components?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
