flutter
- Repo stars 0
- Author repo skills-registry
When writing or reviewing any Flutter/Dart code in this repository:
Never hardcode style values. Colors, font sizes, spacing, border radii, and icon sizes must come from
app_theme.dart(AppColors,AppText,AppLayout,AppIcons). If a value is missing, add it there first.Keep files small and focused. One widget family per file. If a file exceeds ~200 lines, split it. Extract private widget classes (
_SomeWidget) instead of nesting logic inline insidebuild.Keep functions simple. Build methods and helpers should be short. Deep nesting is a signal to extract a named widget.
Cover with tests. Every new widget needs at least one BDD widget test in
src/ui/test/. Use fake API implementations (not mocks). Cover the golden path and key edge cases (empty, error, loading). Useconst Key('...')on widgets so tests can target them reliably.
<!-- tomevault:4.0:skill_md:2026-05-22 -->Source: bsterligov/river — distributed by TomeVault.
- Fluxly category
- AI
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @tomevault-io · no license declared
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Plug-and-play
- External API key
- No requirement detected
- Detected OS requirements
- Unspecified
- Runtime requirements
- Unspecified
- Detected file/system behavior
-
- Read-only
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. When writing or reviewing any Flutter/Dart code in this repository: 1. **Never hardcode style values.** Colors, font sizes, spacing, border radii, and icon sizes must come from `app_theme.dart` (`AppColors`, `AppText`, `AppLayout`, `AppIcons`). If a value is missing, add it there first. …
When writing or reviewing any Flutter/Dart code in this repository:
1. **Never hardcode style values.** Colors, font sizes, spacing, border radii, and icon sizes must come from `app_theme.dart` (`AppColors`, `AppText`, `AppLayout`, `AppIcons`). If a value is missing, add it there first.
2. **Keep files small and focused.** One widget family per file. If a file exceeds ~200 lines, split it. Extract private widget classes (`_SomeWidget`) instead of nesting logic inline inside `build`.
3. **Keep functions simple.** Build methods and helpers should be short. Deep nesting is a signal to extract a named widget.
4. **Cover with tests.** Every new widget needs at least one BDD widget test in `src/ui/test/`. Use fake API implementations (not mocks). Cover the golden path and key edge cases (empty, error, loading). Use `const Key('...')` on widgets so tests can target them reliably.
---
> Source: [bsterligov/river](https://github.com/bsterligov/river) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 --> Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> no H2/H3 headings
terms -> Never hardcode style values. · Keep files small and focused. · Keep functions simple. · Cover with tests.
files/cmd -> apptheme.dart · AppColors · AppText · AppLayout · AppIcons · SomeWidget · build · src/ui/test/
body sha256 -> 8981a131a0cd
Decide Fit First
Design Intent
How To Use It
Boundaries And Review