dev_component_scaffold

Generate standardized Leptos UI component scaffolds with prop validation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/maisonnat/axur-tool --skill dev-component-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev_component_scaffold
Source: https://github.com/maisonnat/axur-tool/tree/main/.agent/skills/dev_component_scaffold
Command: npx skills add https://github.com/maisonnat/axur-tool --skill dev-component-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines building reusable Leptos UI components by providing a proven scaffold that enforces prop validation, consistent styling, and project-wide conventions.

Core Features & Use Cases

  • Generates a reusable Leptos component scaffold with #[component] attribute and #[prop(into)]
  • Ensures consistent styling with Tailwind-like classes and docstrings
  • Use Case: Quickly create a new UI element like UserCard with validated props and standardized structure.

Quick Start

Provide a ComponentName and Props to generate a ready-to-use Leptos component scaffold

Frequently Asked Questions about dev_component_scaffold

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

FAQPage Schema
How do I scaffold Leptos components with prop validation?

To scaffold Leptos components with prop validation, provide a ComponentName and Props to generate a ready-to-use structure. This automatically applies the #[component] attribute and #[prop(into)] to enforce validation for your frontend WASM project.

What is the best way to enforce consistent styling across Leptos UI components?

Enforcing consistent styling across Leptos UI components is achieved by generating scaffolds with Tailwind-like classes and comprehensive inline documentation. This standardizes the visual structure and ensures project-wide conventions for reusable widgets.

Can I use this scaffold for reusable widgets in a Leptos WASM project?

Yes, you can use this scaffold for reusable widgets in a Leptos WASM project. It targets frontend teams by handling naming, module wiring, and template application to build standardized UI elements like a UserCard.

Does the generated Leptos component scaffold include inline documentation?

Yes, the generated Leptos component scaffold includes comprehensive inline documentation. It automatically applies docstrings alongside the #[component] attribute to ensure the generated UI elements are fully documented.

What do I need to provide to generate a Leptos component scaffold?

To generate a Leptos component scaffold, you need to provide a ComponentName and Props. The system then automates the generation of the standardized structure, handling the module wiring and template application automatically.