scaffold-feature
Installation
SKILL.md
Scaffold Feature
Create a new feature structure following LeanCode architecture standards.
Inputs to confirm
- Confirm the feature name in
snake_case(e.g.user_profile,booking_details) - Determine whether the feature is single-page or multi-page.
- If multi-page, confirm the page names before creating directories.
Structure rules
- Create a dedicated directory for each feature.
- Follow pattern:
features/<feature_name>. - Try not to cross-reference features.
- Put each feature part in the same folder. If a feature consists of multiple pages, put each page in a separate subfolder.
Single-page feature
Keep the feature flat: