Create Feature Component

Scaffold a Phoenix MVVM feature with MobX ViewModel, React View, and unit tests.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/biggs3d/Tools --skill create-feature-component
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Create Feature Component
Source: https://github.com/biggs3d/Tools/tree/main/.ai-guidance/.claude/skills/create-feature
Command: npx skills add https://github.com/biggs3d/Tools --skill create-feature-component

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rapidly scaffolds a complete UI feature with ViewModel, View, tests, and optional display registration, following Phoenix MVVM patterns to reduce boilerplate.

Core Features & Use Cases

  • Generate ViewModel with MobX state, computed properties, and actions.
  • Create observer-wrapped React View and optional display registration.
  • Produce unit tests and update barrel exports for quick integration.

Quick Start

Provide a feature name and library location to generate a full MVVM feature, including ViewModel, View, and tests. Example: "Create FeatureName in faad.components."

Frequently Asked Questions about Create Feature Component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a complete React UI feature with ViewModel and tests?

Scaffold a complete React UI feature by providing a feature name and library location to generate a ViewModel with MobX state management, an observer-wrapped View component, and unit tests following Phoenix MVVM patterns, reducing boilerplate code.

Can I use MobX with React components for state management?

Yes. MobX integrates with React through observer-wrapped components that automatically re-render when state changes. This Skill generates observer Views paired with MobX ViewModels for reactive state management in UI features.

What's included when I scaffold an MVVM feature component?

Scaffolding generates a ViewModel with MobX state and computed properties, a React observer View component, unit tests for the ViewModel, optional display registration, and barrel exports for quick integration into your Phoenix framework.

Do I need to write boilerplate code for each new UI feature?

No. This Skill eliminates repetitive boilerplate by automatically generating complete MVVM feature structure—ViewModel, View, and tests—following established Phoenix patterns, so you focus on feature logic instead of scaffolding.

How do I structure state management for React configuration panels?

Structure state with a MobX ViewModel containing properties and actions, wrap your React View component with observer to bind it to ViewModel state, and include unit tests. This Skill generates this complete structure for configuration components and UI panels.

What testing is generated for the ViewModel?

Unit tests are generated for the ViewModel to validate MobX state, computed properties, and actions, ensuring state transitions and business logic work correctly before integration with the React View component.