flutter-layered-architecture-workspace

flutter-layered-architecture-workspace is a skill for Claude Code, Codex from eaglesakura/agent-skills. It costs 181 tokens per session (1,295 once invoked), scanned A, original, MIT.

A guide to the folder and dependency layout of a Flutter project split into several Dart packages in one workspace.

In plain words
What is it for?
Use it to read the root pubspec.yaml, inspect workspace packages and dependency overrides, and find the app package used for Flutter builds.
Why use it?
It helps you find the local packages, understand how their dependency versions are aligned, and identify where the app is built.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to read the root pubspec.yaml, inspect workspace packages and dependency overrides, and find the app package used for Flutter builds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eaglesakura/agent-skills/flutter-layered-architecture-workspace
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add eaglesakura/agent-skills --skill flutter-layered-architecture-workspace
Clone the repo
git clone --depth 1 https://github.com/eaglesakura/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for flutter-layered-architecture-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/eaglesakura/agent-skills/flutter-layered-architecture-workspace/github.svg)](https://agentmods.dev/skills/eaglesakura/agent-skills/flutter-layered-architecture-workspace)
Your own site
<a href="https://agentmods.dev/skills/eaglesakura/agent-skills/flutter-layered-architecture-workspace"><img src="https://agentmods.dev/badge/skills/eaglesakura/agent-skills/flutter-layered-architecture-workspace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for flutter-layered-architecture-workspace

Your own site · 80×15
<a href="https://agentmods.dev/skills/eaglesakura/agent-skills/flutter-layered-architecture-workspace"><img src="https://agentmods.dev/badge/skills/eaglesakura/agent-skills/flutter-layered-architecture-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,295 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00181 $0.01295
Opus 5.5 $0.00072 $0.00518
Sonnet 5.5 $0.00036 $0.00259
Haiku 4.5 $0.00018 $0.00129

Measured 2mo ago against content hash e764b5a9b39c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flutter-layered-architecture-workspace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/flutter/.apm/skills/flutter-layered-architecture-workspace/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flutter / ワークスペース構造

dart / Flutter の workspace モノレポとして、どの package があり、依存がどう揃い、どこでアプリをビルドするかを把握する。 コマンド例は flutter 本体で示す(mise / fvm 等はリポジトリ規約に任せる)。

いつ使うか

  • ルート pubspec.yaml の workspace: から package 一覧・配置を読むとき
  • 子 package が any + resolution: workspace な理由/ルート overrides の役割を説明するとき
  • 配布アプリのビルド入口(多くは app/)を確認するとき

いつ使わないか

  • outdated で版を上げる・検証する具体手順 → flutter-layered-architecture-library-update
  • 「この機能のコードはどこ?」の探索レポート → flutter-layered-architecture-code-search
  • レイヤー責務・DI の設計判断 → flutter-layered-architecture-design
  • Flutter SDK の最新版調査 → flutter-maintenance-check-latest-version

作業手順

  1. リポジトリルートの pubspec.yaml を開く
  2. workspace: ブロックでローカル package 一覧を把握する
  3. 必要なら environment(sdk / flutter)と dependency_overrides の役割を確認する
  4. ビルド対象が app(または同等のアプリ package)かを確認する
  5. 依存の 更新作業に入るなら library-update へ引き継ぐ

原則(要約)

workspace でローカル package を列挙する

  • アプリ固有 package はルート pubspec.yaml の workspace: に載る
  • ここからレイアウトを読み、レイヤー慣例(screen_* / usecase_* 等)と突き合わせて候補を絞る
workspace:
  - app
  - app_packages/data/database
  # 以下、ローカル package が列挙される

アプリは app package でビルドする(慣習)

  • ユーザー向けアプリの入口は多くの場合 app/
cd app/
flutter build ...

実効依存はルート dependency_overrides で揃える

  • 子 package は publish_to: "none" + resolution: workspace、依存は多く any
  • 版の固定・揃えはルート overrides(更新の手順詳細は library-update)
# ルート pubspec.yaml(例)
environment:
  sdk: ">=3.12.0 <4.0.0"
  flutter: ">=3.44.0 <4.0.0"

dependency_overrides:
  some_package: "^1.0.0"
# 子 package の pubspec.yaml(例)
publish_to: "none"
resolution: workspace

environment:
  sdk: ">=3.12.0 <4.0.0"
  flutter: ">=3.44.0 <4.0.0"

dependencies:
  flutter:
    sdk: flutter
  some_package: any

ディレクトリ名やプレフィックスはリポジトリにより違うが、ルート workspace + overrides / 子は any の形を優先して読み替える。

隣接 SKILL

やりたいこと 寄せ先
overrides を実際に上げて検証 flutter-layered-architecture-library-update
機能・レイヤーのソース所在 flutter-layered-architecture-code-search
レイヤー責務・依存方向 flutter-layered-architecture-design

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 122 lines · 181 tokens per session scan A e764b5a9b39c

Subscribe to this mod's changes

flutter-layered-architecture-workspace is a skill published in the GitHub repository eaglesakura/agent-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 181 tokens to every session and 1,295 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

flutter-layered-architecture-workspace compared with skills from other repositories

flutter-layered-architecture-workspace next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flutter-layered-architecture-workspaceeaglesakura/agent-skillsSkill21mo agoMITA181Claude Code, Codex
orca-emulator-androidstablyai/orcaSkill118ktodayMITA102Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill10k2d agoApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill5.8ktodayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.3ktodayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4ktodayMITA68Claude Code
app_remixrome-os/romeSkill894todayMITA50Claude Code, Codex