code-gen
Runs code generation tools for translations, assets, or build runner in the agents-at-mobile-flutter monorepo. Triggered when strings in en.i18n.json change…
by 7span★ 43 GitHub stars
Install code-gen in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Code Gen Skill
Automates running repository code generators based on modified assets or files.
Trigger Mappings
| File / Folder Modified | Action / Command | Description |
|---|---|---|
packages/app_translations/assets/i18n/*.json |
melos run locale-gen |
Regenerates slang translation classes |
packages/app_ui/assets/** |
melos run asset-gen |
Generates type-safe Assets class |
@RoutePage(), AppRouter, @JsonSerializable |
melos run build-runner |
Regenerates AutoRoute pages, router, and JSON serializers |
| Any Dart file | flutter analyze |
Verifies zero errors or warnings after code generation |
Verification Protocol
- After running any generation command, run
flutter analyzeon affected module. - Confirm zero errors and zero warnings.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the code-gen skill do?
Runs code generation tools for translations, assets, or build runner in the agents-at-mobile-flutter monorepo. Triggered when strings in en.i18n.json change, new assets are added to app_ui, or routes/models/blocs are added/updated.
How do I install the code-gen skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the code-gen skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…