feature-scaffolding

Generates a standardized feature module skeleton with types, stores, hooks, and components for Dayopt projects.

Updated Jun 23, 2025
One-click install
npx skills add https://github.com/Dayopt/app --skill feature-scaffolding-dayopt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-scaffolding
Source: https://github.com/Dayopt/app/tree/main/.claude/skills/feature-scaffolding
Command: npx skills add https://github.com/Dayopt/app --skill feature-scaffolding-dayopt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of a standardized feature module skeleton with stores, hooks, components, and types.

Core Features & Use Cases

  • Provides a consistent directory layout for new features (types, stores, hooks, components, assets).
  • Enforces naming conventions and public API structure to simplify maintenance and collaboration.
  • Use case: When adding a new feature to Dayopt, run the scaffold to quickly generate a complete module skeleton.

Quick Start

Run the scaffolding command to generate the new feature module structure for your feature name.

Frequently Asked Questions about feature-scaffolding

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

FAQPage Schema
How do I generate a TypeScript feature module skeleton with a standardized directory layout?

To generate a TypeScript feature module skeleton, run the scaffolding command to automatically create directories for types, stores, hooks, components, and contexts, enforcing naming conventions and public API index generation for your project.

What's the best way to enforce consistent naming conventions when adding new feature modules?

Enforcing consistent naming conventions for feature modules is achieved by using a deterministic bootstrap that creates placeholder files and type definitions, ensuring repository structure consistency and simplifying maintenance across collaborative projects.

Can I scaffold a feature module structure that includes stores, hooks, and components together?

Yes, you can scaffold a feature module structure that includes stores, hooks, and components together. The scaffolding process generates a complete module skeleton with predefined directories for assets, types, and contexts if present.

What is a public API index in feature module scaffolding and why is it needed?

A public API index in feature module scaffolding is an exported file interface generated during directory creation. It is needed to define the module's public API structure, simplifying maintenance and collaboration by enforcing strict repository boundaries.

Does the feature scaffolding process work without external dependencies?

Yes, the feature scaffolding process works without external dependencies. It implements a deterministic bootstrap that directly creates directories, placeholder files, and type definitions within your existing project structure.

When do I need to run a scaffold for a new feature module?

You need to run a scaffold for a new feature module when adding new functionality to your project that requires a consistent directory layout. This ensures the new module immediately adheres to standardized repository structure conventions.