iamantoniodinuzzo/claude-flutter/scaffold-feature
Claude Code and agent skill by iamantoniodinuzzo/claude-flutter
- community
Checking that the SKILL.md file is still in the repository.
Scaffold a new Flutter feature respecting clean architecture (feature-first), repository pattern with dependency inversion, Riverpod v3 DI, go_router navigation, structured logging, and explicit exception handling. Use when the user says they are starting a new feature, scaffolding feature folders, or kicking off feature implementation. Does NOT handle git, issues, or branches — those stay manual.
Install
npx vskill@latest install iamantoniodinuzzo/claude-flutter/scaffold-featureSKILL.md
The same SKILL.md was published earlier as iamantoniodinuzzo/claude-flutter/scaffold-feature.
scaffold-feature
Runtime and resources
Use the current agent's native file, search, shell, and question tools; plain-text questions and direct sequential scans are valid fallbacks. Subagents are optional and require host permission. Bundled paths below are relative to this installed skill directory; application paths are relative to the target Flutter project. Resolve sibling skills through the installed skill registry (or sibling directories), never by assuming a skills/ folder in the application. If a required dependency is absent, name it and report the affected step as unavailable; never invent its rules or claim complete coverage.
Phase 1 — Socratic intake
Ask the user in one message (do not proceed until all answers are received):
- Scope: Top-level feature or sub-feature of an existing parent?
- If sub-feature: which parent? (verify
lib/src/features/<parent>/exists on disk)
- Name: Short
snake_casename for the feature. - Purpose: One-line description of what this feature does.
- Design probes (tailor to the description):
- What data sources does it touch? (Firestore / REST / local DB / none)
- What is the navigation entry point? (deep link / tab / modal / nested route)
- What is the primary state shape? (list / single entity / form / real-time stream)
- What failures can the repository surface? (e.g. not-found, permission-denied, network)
Wait for the user's full answers before proceeding.
Phase 2 — Scaffold clean-architecture directories
Use the Write tool with empty .gitkeep content to create parent directories implicitly.
Top-level feature → lib/src/features/<name>/
Sub-feature → lib/src/features/<parent>/<name>/
Sub-features are UI-only. Domain, data, and application layers are provided by the parent feature.
Phase 3 — Load architectural context
Read the following files in parallel from inside this skill's own references/ folder.
Mandatory (always load)
Breaking changes — language and async safety
references/breaking/dart-language.mdreferences/breaking/dart-async-errors.mdreferences/breaking/riverpod-core.mdreferences/breaking/riverpod-async-mutations.mdreferences/breaking/riverpod-flutter.md
Architecture patterns
references/patterns/feature-creation.mdreferences/patterns/repository-pattern.mdreferences/patterns/exception-handling.mdreferences/patterns/go-router-navigation-conventions.mdreferences/patterns/async-notifier-command-api.mdreferences/patterns/riverpod-rebuild-optimization.mdreferences/patterns/no-ui-strings-outside-ui.mdreferences/patterns/widget-classes-no-build-helpers.mdreferences/patterns/flutter-side-effects.md
Logging standard
references/logging.md
Conditional (load only when Phase 1 answer matches)
| Condition | File | |
|---|---|---|
| Primary state shape is real-time stream | references/breaking/riverpod-streams-lifecycle.md |
Internalize rules silently — do not echo back unless the user explicitly asks.
Phase 4 — Architecture contract
Print a compact contract derived from Phase 1 answers + the loaded references. Use this template, filling in every <…> from the intake answers:
Ask the user to confirm or correct the contract before moving to implementation.
Phase 5 — Closing summary
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/scaffold-feature/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/iamantoniodinuzzo/claude-flutter/scaffold-feature)