.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/compose-performance-skills/avoiding-subcomposition-pitfalls
home/skills/skydoves/compose-performance-skills/avoiding-subcomposition-pitfalls
skydoves avatar

avoiding-subcomposition-pitfalls

byskydoves· 26 skills

Stars

456

Forks

15

Category

Other

View on GitHub

TL;DR

Use this skill when a Compose tree uses SubcomposeLayout, BoxWithConstraints, or Scaffold and the developer reports extra measure passes, slow first frame, or layout passes running content composition repeatedly. Covers why SubcomposeLayout composes its slots during the measure phase, why BoxWithConstraints forces a subcomposition for every new Constraints value, why nesting Scaffold or BoxWithConstraints multiplies the cost, when a custom Layout or Modifier.layout { } replaces SubcomposeLayout, and how to use SubcomposeLayoutState's slot reuse policy and precompose APIs when SubcomposeLayout is genuinely required. Use when the developer mentions BoxWithConstraints, SubcomposeLayout, Scaffold, "extra measure pass", "double measurement", "first frame slow", "subcompose", or notices that wrapping content in BoxWithConstraints regresses scroll perf inside a LazyColumn.

How to install avoiding-subcomposition-pitfalls?

skydoves/compose-performance-skills/avoiding-subcomposition-pitfalls
$npx -y skills add skydoves/compose-performance-skills --skill avoiding-subcomposition-pitfalls

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Use this skill

Run `npx skills use "https://github.com/skydoves/compose-performance-skills" --skill "skydoves/compose-performance-skills/avoiding-subcomposition-pitfalls"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.

Use the whole pack

Use the skills in "https://github.com/skydoves/compose-performance-skills" that are relevant to the current task. Run `npx skills add "https://github.com/skydoves/compose-performance-skills"` and select the relevant skills, then follow their instructions.

Preview

skydoves/compose-performance-skillsskydoves/compose-performance-skills

$ npx -y skills add skydoves/compose-performance-skills --skill avoiding-subcomposition-pitfalls

▸ installing to .claude/skills…

✓ avoiding-subcomposition-pitfalls ready

Reposkydoves/compose-performance-skills
TypeSkills
CategoryOther
UpdatedJun 2026
License—
First seenJul 27, 2026

Tags

Skill

Related

6 picks
Type
  1. pilioai avatargpt-image-2Create or edit images with Pilio GPT Image 2 through the unified Pilio developer API.SkillsJul 202620k42
  2. warpdotdev avatarspec-driven-implementationDrive a spec-first workflow for substantial features by writing PRODUCT.md before implementation, writing TECH.md when warranted, and keeping both specs…SkillsJul 202617k148
  3. warpdotdev avatarreview-prReview a pull request diff and write structured feedback to review.json for the workflow to publish.SkillsJul 202617k148
  4. warpdotdev avatarwrite-product-specWrite a PRODUCT.md spec for a significant user-facing feature in Warp, focused on detailed behavior and validation.SkillsJul 202616k148
  5. warpdotdev avatarwrite-tech-specWrite a TECH.md spec for a significant Warp feature after researching the current codebase and implementation constraints.SkillsJul 202616k148
  6. warpdotdev avatarfix-errorsFix compilation errors, linting issues, and test failures in the warp Rust codebase. Covers presubmit checks, WASM-specific errors, and running specific tests.SkillsJul 202616k148