multi-module-generator

Generate Astro 6 modules with standard directory structure and content schema.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/rahlplx/New-Smile-Savers --skill multi-module-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: multi-module-generator
Source: https://github.com/rahlplx/New-Smile-Savers/tree/main/smile-savers-site/.agent/skills/module-generator
Command: npx skills add https://github.com/rahlplx/New-Smile-Savers --skill multi-module-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of modular, scalable Astro 6 features by generating the standard directory layout, content layer setup, actions, layouts, and a starter workflow.

Core Features & Use Cases

  • Scaffolds a new feature module under src/modules/[feature-name]/ with components, layouts, and pages.
  • Sets up a typesafe content schema in src/content/config.ts and a starter data entry in src/data.
  • Provides a repeatable workflow for module generation, validation via astro check, and alignment with Astro 6 Best Practices.

Quick Start

Create a new Astro 6 module skeleton with the standard directory structure and sample data.

Frequently Asked Questions about multi-module-generator

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

FAQPage Schema
How do I scaffold a new feature module in Astro 6?

To scaffold an Astro 6 module, this generator automates the creation of the src/modules/[feature-name]/ directory, populating it with standard components, layouts, and pages for immediate feature development.

What is the standard directory structure for an Astro 6 feature module?

The standard Astro 6 module structure includes dedicated directories for components, layouts, and pages under src/modules/[feature-name]/, alongside a typesafe content schema in src/content/config.ts and starter data entries.

How do I set up a typesafe content layer in an Astro 6 project?

Setting up a typesafe content layer involves defining a schema in src/content/config.ts and adding starter data entries in src/data, which this module scaffolding process configures automatically for your new features.

Can I generate starter workflows and configurations for Astro 6 blog or docs features?

Yes, you can generate starter configurations for Astro 6 features like blogs or docs. The scaffolding process applies standard layouts and ready-to-run workflow integration tailored for these specific content types.

Does Astro 6 module scaffolding include validation checks?

Astro 6 module scaffolding includes validation via the astro check command, ensuring the generated directory layout, content layer setup, and starter configurations align with Astro 6 best practices before development.

Do I need any dependencies to use the Astro 6 module generator?

No external dependencies are required to use the Astro 6 module generator. It operates independently to produce the standard module structure, content schema, and starter data for your project.