AGENT SKILL
flutter-feature-folder-scaffold
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
flutter-feature-folder-scaffold
Purpose
Create the feature folder tree for a Flutter module with the correct layer boundaries and file locations.
Use when
- A new feature directory needs to be created
- You need the folder structure before adding code
- You want an output that other skills can build on
Do NOT use when
- The feature folder already exists and only code changes are needed
- You need contracts, state, or routing code in the same pass
- The task is only an audit
Inputs required
- Feature name
- Target layer layout
- Whether tests should be seeded now
Constraints
- Create directories only, not implementation logic
- Keep the folder names feature-specific
- Do not invent route, state, or repository code here
Step-by-step workflow
- Create
lib/features/<feature_name>/. - Create
data/,domain/, andpresentation/. - Create nested layer folders needed by the project standard.
- Seed support files only if the caller requested them.
- Return the created tree.
Output contract
- A folder tree for the feature
- A path list of created directories
- A handoff note for follow-up skills
Validation checklist
- The folder tree matches the feature name
- Layer directories exist
- No business logic was added
- No unrelated files were changed
Related skills
flutter-feature-contract-scaffoldflutter-riverpod-state-skeletonflutter-go-router-route-map
References
Real example
For a profile feature, create:
lib/features/profile/data/
lib/features/profile/domain/
lib/features/profile/presentation/
Real file output sample
lib/features/profile/data/
lib/features/profile/domain/
lib/features/profile/presentation/
04 同仓库更多 Skills
toolkit-i18n-operator
Use the toolkit-i18n CLI for repeated Flutter localization workflows with compact outputs, CSV validation, key coverage reporting, generated JSON exports, and safe non-mutating behavior.
★ 0
toolkit-design-operator
Use the toolkit-design CLI for repeated repository workflows.
★ 0
toolkit-ci-operator
Use the toolkit-ci CLI for repeated repository workflows.
★ 0
toolkit-arch-operator
Use the toolkit-arch CLI for repeated repository workflows, including Flutter i18n usage scans, layer checks, and localization coverage.
★ 0
web-testing
暂无简介
★ 0
web-state
暂无简介
★ 0