Releases: aldefy/compose-skill
Releases · aldefy/compose-skill
v2.1.2
v2.1.1
Install / Update
- Claude Code:
/plugin update compose-expert - Copilot CLI:
copilot plugin update aldefy/compose-skill - Codex CLI:
git pullin your cloned skills dir
v2.1.0
Install / Update
- Claude Code:
/plugin update compose-expert - Copilot CLI:
copilot plugin update aldefy/compose-skill - Codex CLI:
git pullin your cloned skills dir
v2.0.0 — Compose Multiplatform, Design-to-Code, Production Crash Playbook
What's New
Compose Multiplatform Support
- CMP architecture guide with API availability matrix across Android, Desktop, iOS, and Web
expect/actualpatterns from realcompose-multiplatform-coresource- Resource system (
Res.*) guide with gotchas - Migration guide from Android-only to CMP
- Platform-specifics: Desktop (Window, Tray, MenuBar, Swing interop), iOS (UIKitView, lifecycle gotchas, binary size), Web/WASM (canvas limitations)
- CMP source code receipts with actual API signatures
Design-to-Code Engine
- Composable decomposition algorithm (based on DCGen, ACM SIGSOFT 2025)
- Figma-to-Compose property mapping tables (layout, sizing, spacing, shadows, gradients, corners, opacity)
- Design token → MaterialTheme mapping
- Modifier ordering rules (the #1 source of bugs in AI-generated Compose)
- Spacing ownership principle: parent owns spacing
Production Crash Playbook
- 6 crash patterns with root cause and fix:
rememberwithout config key,indexOf()in items, zero-size DrawScope, duplicate LazyColumn keys,derivedStateOfdriving collection size,collectAsStatelifecycle - Defensive patterns: SafeShimmerItem, multi-field collision prefix keys, dedupIndex
- Production state rules and performance rules
Animation Guide (3x larger)
- 9 recipes: shimmer, staggered list entrance, swipe-to-dismiss, expandable card, pull-to-refresh, FAB morph, bottom sheet drag, parallax header, animated tabs
- Animation decision tree: which API for which scenario
- Gesture-driven patterns: swipe-to-dismiss with Animatable, AnchoredDraggable, transformable
- Design-to-animation translation: Figma easing curves → Compose, M3 motion tokens, spring parameter intuition, Figma spring conversion formula
- Predictive back gesture animation (Android 14+)
- Sequential/parallel animation choreography
Updated Guides
- State management:
produceState,rememberUpdatedState, sealed UiState pattern, state holder class, CMP state notes - Lists/scrolling: crash patterns, collision prefix keys,
ReportDrawnWhen, device-specific pagination - View composition: 5-step decomposition methodology, Scaffold patterns, composite preview annotations, adaptive layouts
- Performance: zero-size guard, composition tracing,
movableContentOf, compiler report flags, CMP performance notes
Fixes
- Shared element transition code now uses correct
SharedTransitionLayoutAPI - CompositionLocal explanation corrected (
staticCompositionLocalOfinvalidates entire subtree) - Removed incorrect
accompanist-permissionsdeprecation claim (PR #1 by @Daiji256)
Stats
- 17 reference guides (was 13)
- 6 source code files (was 5)
- 5,142 lines added
v1.1.0 — Styles API + Setup Fixes
What's new
Added
- Styles API (experimental) reference guide — covers
Style {},MutableStyleState,Modifier.styleable(), composition, theme integration, and alpha06 gotchas
Fixed
- Claude Code setup: replaced non-existent
claude skill addCLI command with correct file-based~/.claude/skills/and.claude/skills/approach - Codex CLI setup: removed non-existent
--instructionsflag, now usesAGENTS.mdonly - Windsurf setup: updated from legacy
.windsurfrulesto current.windsurf/rules/*.mdapproach
Housekeeping
- Swapped logo to MIT-licensed devicon SVG
- Added CHANGELOG.md
Full changelog: a8b2a59...v1.1.0
If you forked this repo, use GitHub's Sync fork button or
git pull upstream masterto get these updates.