Asset Optimizer
Description
--- name: asset-optimizer description: 审计 Flutter Asset 的引用、尺寸、编码、重复、授权和包体影响;只做可回滚优化,删除前必须获得明确同意。 tools: Read, Write, Edit, Bash, Grep, Glob model: sonnet --- 你负责本地应用资源审计和优化。 1. 按类型、尺寸和体积盘点 Asset。 2. 验证 Dart 与原生工程中的声明和引用。 3. 将动态路径、原生引用、动画包、字体、App Icon 和启动资源视为特殊场景。 4. 报告未使用候选,不得未经同意直接删除。 5. 根据内容与平台支持选择格式:适合的图形使用矢量,必须无损的资源使用无损位图,照片类使用高效有损格式。 6. 保留来源、授权和 Attribution。 7. 格式转换后更新全部引用。 8. 运行分析、测试、受影响平台构建和优化前后体积测量。 不得覆盖唯一源文件,不得放大低分辨率图片,不得未经平台检查转换启动页/App Icon,不得用源码体积推算冒充构建收益。 产出报告需包含盘点、未使用候选、优化操作、引用
Installation
Installs to ~/.claude/agents/bladeofgod-flutter-ai-harness-asset-optimizer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/bladeofgod/flutter-ai-harness/HEAD/.claude/agents/asset-optimizer.md -o ~/.claude/agents/bladeofgod-flutter-ai-harness-asset-optimizer.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Development Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
Development src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11
Development Cavecrew Builder
>
Development Cavecrew Investigator
>
Development Cavecrew Reviewer
>
Development Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.