iamantoniodinuzzo/claude-flutter/audit-feature
Claude Code and agent skill by iamantoniodinuzzo/claude-flutter
- community
Checking that the SKILL.md file is still in the repository.
Orchestrate a full static audit of a Flutter feature folder across all present clean-architecture layers — domain, data, application, and presentation. Delegates each layer to its dedicated per-layer audit skill (using permitted read-only subagents or sequential scans), then aggregates violations into one grouped report and offers targeted fixes. Falls back to audit-presentation-layer alone when only presentation/ is present (sub-feature or UI-only feature). Use proactively when the user says \…
Install
npx vskill@latest install iamantoniodinuzzo/claude-flutter/audit-featureSKILL.md
The same SKILL.md was published earlier as iamantoniodinuzzo/claude-flutter/audit-feature.
Audit 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.
Orchestrates per-layer audits of a Flutter feature folder. Spawns one read-only subagent per detected layer when available and permitted (otherwise scans sequentially), aggregates all violations, and offers a combined fix prompt.
This skill has no rules of its own — it reads each layer's ../audit-<layer>-layer/rules/CATALOG.md and passes the rules inline to the corresponding read-only subagent.
Phase 0 — Resolve feature path
Read the user's request and extract a feature folder path. Accepted forms:
- Top-level feature:
lib/src/features/<feature>/ - Sub-feature:
lib/src/features/<parent>/<sub>/ - Bare feature name (e.g.
auth) — expand tolib/src/features/auth/
If the path is ambiguous, ask exactly one question:
"Provide the feature folder path (e.g.lib/src/features/auth/) or the feature name."
Do not proceed until a path is confirmed.
Dependencies
Requires audit-domain-layer, audit-data-layer, audit-application-layer, and audit-presentation-layer for the audited layers. Resolve each installed directory before reading <installed layer skill directory>/rules/CATALOG.md; ../audit-<layer>-layer/ is only a sibling-layout shortcut. Missing catalogs mean incomplete coverage, not clean layers.
Phase 1 — Detect layers
Check which layer directories exist under the resolved feature path:
Sub-feature / presentation-only shortcut: if only presentation/ is present (and no domain/, data/, or application/), delegate the entire audit to audit-presentation-layer by loading that installed skill's instructions and following them for the presentation/ path. Then stop — do not continue to Phase 2.
Otherwise, for each layer directory that exists, prepare a layer scan (see Phase 2). Log a warning for any expected layer that is absent:
Graceful degradation: if a layer's CATALOG file (../audit-<layer>-layer/rules/CATALOG.md) is missing, emit a warning and continue auditing the other layers:
Phase 2 — Parallel layer audits
For each present layer, scan with a permitted read-only subagent in parallel, or scan directly and sequentially when delegation is unavailable. Give each scanner:
- The full contents of the layer's
<installed layer skill directory>/rules/CATALOG.md(read it before spawning). - The layer directory path to scan.
- A self-contained scan prompt (see template below).
Include the installed layer skill's absolute directory and its scan instructions, so resource links resolve outside the target application's cwd. Preserve the layer's file discovery and rule gating; for presentation, forward any requested --platform and follow that skill's platform resolution. Stop each layer scan before its fix prompt; this orchestrator collects fix choices in Phase 4.
Layer scan prompt template
Phase 3 — Aggregate and report
After all layer scans complete, merge their outputs into a single report:
If a layer was skipped (missing directory or missing CATALOG), include the warning in its section header instead of a table.
Phase 4 — Combined fix prompt
After the report, ask:
On response:
- "none" or no response: done.
- "all" or specific IDs:
- Group selected IDs by layer.
- For each layer with selected fixes, apply heuristics from that layer's CATALOG
(read from ../audit-<layer>-layer/rules/CATALOG.md).
- For
autofix_safe: truerules: apply edits directly, show diff. - For
autofix_safe: falserules: show the required transformation and ask for
confirmation before editing.
- After edits, state which violations were resolved.
Never edit files that were not explicitly approved by the user.
Usage examples
audit all layers of features/authfull feature audit for features/bookingcheck all layers in lib/src/features/flight_plan//audit-feature auth/audit-feature lib/src/features/booking//audit-feature lib/src/features/home/home_screen/← sub-feature → presentation-only
Notes
- Application paths resolve from the project root; bundled catalogs resolve from the installed layer skill directories.
- Pass rules inline to permitted subagents. Without delegation, apply those same rules directly.
- For the presentation-only shortcut, follow the installed
audit-presentation-layerinstructions, including its platform detection frompubspec.yaml. - To modify per-layer rules, edit the respective
../audit-<layer>-layer/rules/CATALOG.md — this orchestrator reads them at runtime.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/audit-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/audit-feature)