stac-screen-builder
Original:🇺🇸 English
Translated
2 scriptsChecked / no sensitive code detected
Build Stac DSL screens and themes from product requirements with safe defaults and reusable templates. Use when users ask to create or refactor StacScreen files, map UI requirements to Stac widgets/actions/styles, or scaffold new screen/theme files.
14installs
Sourcestacdev/stac
Added on
NPX Install
npx skill4agent add stacdev/stac stac-screen-builderTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Stac Screen Builder
Overview
Use this skill to convert feature requirements into maintainable Stac DSL screens and theme definitions.
Workflow
- Translate user requirements into route names, states, and actions.
- Select widgets using .
references/widget-selector.md - Select actions using .
references/action-recipes.md - Apply style patterns from .
references/style-recipes.md - Apply route semantics from .
references/navigation-patterns.md - Scaffold files using scripts when requested.
Required Inputs
- Target screen name (recommended).
snake_case - Desired interactions (navigation, network, forms, state changes).
- Whether a theme reference is needed.
Output Contract
- Return valid Stac DSL snippets with or
@StacScreen.@StacThemeRef - Keep generated screen names stable and explicit.
- Use built-in Stac widgets/actions first, then custom extensions if needed.
References
- Read to choose layout and interactive widgets.
references/widget-selector.md - Read for navigation/form/network/state actions.
references/action-recipes.md - Read for color, spacing, and text style patterns.
references/style-recipes.md - Read for stack-safe navigation actions.
references/navigation-patterns.md
Scripts
scripts/new_screen.py --screen-name <name> --out-dir <path> [--with-navigation]scripts/new_theme_ref.py --theme-name <name> --out-file <path>
Templates
assets/templates/screen.dart.tmplassets/templates/theme_ref.dart.tmpl