learnings:- id:" learning-001 "
type:" rule "
category:" Code style "
confidence: high # high | medium | low
content:" Use dot shorthand when type inference is possible "
details:|Actively use dot shorthand supported inDart3.10+.
e.g.: `mainAxisSize:.min` (O), `mainAxisSize:MainAxisSize.min` (X)
evidence:- type:" user_feedback "
quote:" Don ' t use full type name unnecessarily "- type:" repeated_fix "
count:4
description:" Changed MainAxisSize â .min "
applicable_to:[" dart "," flutter "]- id:" learning-002 "
type:" pattern "
category:" BLoC "
confidence: high
content:" isClosed check required before emit after await "
details:|BLoC may be disposed after async operation,
so check isClosed before calling emit.
evidence:- type:" lint_error "
count:3
rule:" avoid-bloc-emit-after-close "
applicable_to:[" bloc "," cubit "]- id:" learning-003 "
type:" preference "
category:" Workflow "
confidence: medium
content:" Create ZenHub issue first, then branch work "
details:|Prefers creating ZenHub issue first before starting work,
then creating branch based on issue number.
evidence:- type:" user_instruction "
quote:" I used the workflow skill, why wasn ' t an issue created? "
applicable_to:[" workflow "]