flutter-bundle-google-fonts
Replaces the google_fonts package in a Flutter app with fonts bundled in the app, using the gentlemans-stack scripts/flutter/bundle-fonts.mjs to scan usages…
Skill by ersanyamarya
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ersanyamarya-flutter-bundle-google-fonts
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/flutter-bundle-google-fonts
What's inside
- Skill name
flutter-bundle-google-fonts- Description
- Replaces the google_fonts package in a Flutter app with fonts bundled in the app, using the gentlemans-stack scripts/flutter/bundle-fonts.mjs to scan usages, download static TTFs and verify. Use when the user asks to "remove google_fonts", "bundle fonts", "stop downloading fonts at runtime", "make fonts work offline", or wants Google Fonts to ship inside the app.
- License
- MIT
- Instructions
- 27 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: scripts/flutter/bundle-fonts.mjs
Files (3)
- SKILL.md
- evals.json · evals/
- rewrite-rules.md · references/
SKILL.md (first lines)
# Bundle Google Fonts into a Flutter app `scripts/flutter/bundle-fonts.mjs` (stack) does the scan, download and verify; this skill covers the judgment and the Dart/pubspec edits. Fonts declared in the design tokens are not handled here: `pnpm nx run design-tokens:generate` copies them into every app. Run from the repo root; `[app]` is the folder under `apps/` (default `todo-mobile`). When the script is missing, the repo has not synced the stack's `scripts/flutter/`; say so and stop. 1. **Scan** - `node scripts/flutter/bundle-fonts.mjs scan <app>`. Read `families` (dir, weights, italic, `unresolvedWeights`), `textThemeCalls`, `dynamicUsages`, `otherFilesMentioning`. - Ask the user before continuing when `dynamicUsages` has `getFont` or `getTextTheme`: the family names come from runtime values. - Read the app's `CLAUDE.md` for comment, logging and localization rules that affect the edits. 2. **Settle the weights** - Read `references/rewrite-rules.md` section "Weights the scan cannot see". Resolve every unresolved weight and every `.copyWith(fontWeight: ...)` by reading call sites. Tell the user families, weights and rough size (130 KB to 650 KB per file) before downloading. 3. **Download** - Per family: `node scripts/flutter/bundle-fonts.mjs fetch <app> --family <dir> --weights <w,w> [--italic]`. It writes `apps/<app>/assets/fonts/` and `LICENSES.txt` and prints the `pubspecFontsBlock`. - Exit code 2 means a variable-only family needs `fonttools`; ask the user, then re-run with `--allow-install`. Never fetch fonts from anywhere but Google Fonts; stop and ask when a family is not there. `--dry-run` prints the plan without downloading. 4. **Rewrite** - Apply `references/rewrite-rules.md` (Dart call sites and imports, pubspec `fonts:` block, license asset, license registration in `main()`, docs). Change only what the scan reported. 5. **Verify** - `flutter pub get`, then `pnpm nx run <app>:format`, `:analyze`, `:test`. Then `node scripts/flutter/bundle-fonts.mjs verify <app>` must exit 0 (`remainingReferences: 0`, no `missingAssets`). - Never launch the app unless asked; say text appearance is unchecked. 6. **Report** - Families and weights bundled, files added with total size, files edited, verify result, what stays unverified (on-device rendering, weights to confirm). Do not commit unless asked.
From ersanyamarya/agentry-labs, MIT.
More from ersanyamarya/agentry-labs
- 0.570score
skill-architect
ersanyamarya
Create, improve, or review Claude Code skills so they are portable, token-efficient, and spec-compliant, with scripts doing the exact work and the model doing…
SkillAFreshness: AClaude Code +9 - 0.570score
image-artifact-setup
ersanyamarya
Set up a reproducible image generator in a project (Open Graph and social cards, link previews, project or product tiles, README banners, store screenshots)…
SkillAFreshness: AClaude Code +9 - 0.570score
flutter-logging-strategy
ersanyamarya
Establish, audit, and enforce a consistent logging strategy in any Flutter/Dart project using package:logging — installs the dependency if missing, builds a…
SkillAFreshness: AClaude Code +9 - 0.570score
flutter-store-assets
ersanyamarya
Operates the gentlemans-stack image tool (tools/image-gen-tools) for a Flutter app.
SkillAFreshness: AClaude Code +9 - 0.570score
humanize-and-unslop
ersanyamarya
Edit drafts into plain, specific, human-sounding writing by removing AI tells (banned vocabulary, em dashes, curly quotes, puffery, chatbot phrases, formulaic…
SkillAFreshness: AClaude Code +9 - 0.570score
lighthouse-audit
ersanyamarya
Run Google Lighthouse against a URL (mobile and desktop), trace the performance, accessibility, SEO, and best-practices findings to the project's actual…
SkillAFreshness: AClaude Code +9 - 0.570score
run-fallow
ersanyamarya
Run the `fallow` CLI on any JavaScript/TypeScript project to find dead code, unused dependencies, duplication, complexity hotspots, and security candidates…
SkillAFreshness: AClaude Code +9 - 0.566score
flutter-brand-icons
ersanyamarya
Generate every app icon and native splash asset for a Flutter project from one single-color logo SVG, with colors taken from the project's brand doc, design…
SkillAFreshness: AClaude Code +9 - 0.565score
mongoose-schema-docs
ersanyamarya
Generate documentation and an entity-relationship diagram from a codebase's Mongoose schemas.
SkillAFreshness: AClaude Code +9 - 0.565score
sync-docs-from-diff
ersanyamarya
Update repo documentation from a git diff.
SkillAFreshness: AClaude Code +9 - 0.565score
script-writer
ersanyamarya
Generate a new shell script in scripts/ following the repo's script conventions (help header, utils.sh sourcing, signal trap, argument parsing).
SkillAFreshness: AClaude Code +9 - 0.565score
generate-commit-message
ersanyamarya
Write a Conventional Commit message in this repo's style (type(scope): Capitalized summary) from staged or unstaged changes.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 19, 2026 (10 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ersanyamarya/agentry-labs
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ersanyamarya
- 0.570score
run-fallow
ersanyamarya
Run the `fallow` CLI on any JavaScript/TypeScript project to find dead code, unused dependencies, duplication, complexity hotspots, and security candidates…
SkillAFreshness: AClaude Code +9 - 0.570score
flutter-logging-strategy
ersanyamarya
Establish, audit, and enforce a consistent logging strategy in any Flutter/Dart project using package:logging — installs the dependency if missing, builds a…
SkillAFreshness: AClaude Code +9 - 0.570score
flutter-store-assets
ersanyamarya
Operates the gentlemans-stack image tool (tools/image-gen-tools) for a Flutter app.
SkillAFreshness: AClaude Code +9 - 0.570score
humanize-and-unslop
ersanyamarya
Edit drafts into plain, specific, human-sounding writing by removing AI tells (banned vocabulary, em dashes, curly quotes, puffery, chatbot phrases, formulaic…
SkillAFreshness: AClaude Code +9 - 0.570score
lighthouse-audit
ersanyamarya
Run Google Lighthouse against a URL (mobile and desktop), trace the performance, accessibility, SEO, and best-practices findings to the project's actual…
SkillAFreshness: AClaude Code +9 - 0.570score
skill-architect
ersanyamarya
Create, improve, or review Claude Code skills so they are portable, token-efficient, and spec-compliant, with scripts doing the exact work and the model doing…
SkillAFreshness: AClaude Code +9
Cite this page
flutter-bundle-google-fonts skill. Agent Mart. https://agentmart.dev/skills/ersanyamarya-flutter-bundle-google-fonts (last updated 2026-10-24)