[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F0JWN50E3SDBADR8JNZ711":3,"skill-same:01M7F0JWN50E3SDBADR8JNZ711":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7F0JWN50E3SDBADR8JNZ711","page-composition-engine",null,"Full-page recipes giving exact block order, spacing rhythm, visual pacing, and content hierarchy for landing pages, dashboards, e-commerce, auth, settings, and profiles. Use when composing a whole page. For a single section in isolation, use layout-block-intelligence.","shotcowboystyle\u002Fag-skills","shotcowboystyle","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F62471?v=4","01M7EZTCFCZJ6K3MYW8BPM4X6R","Curtis Blanton","01M7EZTCG1S5M04J90A931X9BX",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-ops\u002Fskills\u002Fpage-composition-engine\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: page-composition-engine\ndescription: Full-page recipes giving exact block order, spacing rhythm, visual pacing, and content hierarchy for landing pages, dashboards, e-commerce, auth, settings, and profiles. Use when composing a whole page. For a single section in isolation, use layout-block-intelligence.\nallowed-tools: Read, Grep, Glob\n---\n\n# Page Composition Engine\n\n## The Art of Page Composition\n\nA page is not a collection of random sections — it's a narrative. Every page tells a story through the deliberate sequencing of layout blocks. The composition engine provides complete recipes: which blocks to use, in what order, with what spacing rhythm, to achieve a specific goal.\n\n\"Every page is a conversation. The hero opens with a promise. The features deliver evidence. The testimonials provide social validation. The CTA asks for commitment.\" — This is not decoration; it's persuasion architecture.\n\n## Page Archetypes\n\n### Marketing Pages (External-Facing)\nPages designed to attract, inform, and convert visitors.\n- Landing pages, product pages, pricing pages, about pages, case study pages\n\n### Product Pages (Internal App)\nPages within the authenticated product experience.\n- Dashboards, settings, profiles, lists, detail pages, create\u002Fedit pages\n\n### Transactional Pages (Flow Steps)\nPages that are part of a multi-step process.\n- Auth pages, checkout, onboarding, wizards\n\n### Content Pages (Information)\nPages primarily delivering content.\n- Blog posts, documentation, help center, changelog\n\n## Procedure\n\n1. **Name the archetype** (marketing, product, transactional, content) and the\n   one action the page exists to get.\n2. **Start from the nearest recipe** in the references (see Routing). For a\n   login, signup or onboarding page, use the auth recipes below.\n3. **Order blocks along the narrative arc** below; drop any stage the page does\n   not need rather than padding it.\n4. **Specify each block** from `layout-block-intelligence`, which holds the\n   variants, anatomy and code for every block type a recipe names.\n5. **Set rhythm**: alternate dense and light blocks and backgrounds, and apply\n   the spacing scale.\n6. **Check the first viewport** for what, why, how and trust, then apply the\n   responsive rules.\n\n## Composition Theory\n\n### The Block Stacking Model\n\nEvery page follows a **narrative arc** through its blocks:\n\n```\n┌─────────────────────────┐\n│   HOOK                  │  ← Hero: Capture attention\n├─────────────────────────┤\n│   CREDIBILITY           │  ← Logos\u002FSocial proof: Establish trust\n├─────────────────────────┤\n│   VALUE                 │  ← Features: Explain the offering\n├─────────────────────────┤\n│   EVIDENCE              │  ← Testimonials\u002FCase studies: Prove it\n├─────────────────────────┤\n│   CONVERSION            │  ← Pricing\u002FCTA: Ask for action\n├─────────────────────────┤\n│   OBJECTION HANDLING    │  ← FAQ: Remove doubts\n├─────────────────────────┤\n│   CLOSE                 │  ← Footer: Navigation + trust\n└─────────────────────────┘\n```\n\n### Visual Rhythm\n\n**Alternating density** prevents scroll fatigue:\n- Dense block (feature grid) → Light block (CTA banner) → Dense block (testimonials) → Light block (stats)\n\n**Background alternation** creates section separation:\n- White → Gray-50 → White → Primary-950 (dark CTA) → White → Gray-50\n\n### Spacing Between Blocks\n\n| Context | Desktop | Mobile |\n|---------|---------|--------|\n| Default between blocks | 96-120px | 48-64px |\n| Tight (related blocks) | 48-64px | 32-40px |\n| Breathing room (after dense block) | 120-160px | 64-80px |\n| Zero (blocks that visually connect) | 0px | 0px |\n\n### Above-the-Fold Strategy\n\nThe first viewport (above the fold) must accomplish:\n1. **What** — Clear heading explaining the product\n2. **Why** — Subheading with the key benefit\n3. **How** — Primary CTA button\n4. **Trust** — Social proof element (logos, rating, user count)\n\nMost visitors do scroll, but only if the first viewport gives them a reason to.\n\n### Content-to-Chrome Ratio\n\n- Marketing pages: 90% content, 10% chrome (nav + footer)\n- App pages: 75-85% content, 15-25% chrome (nav + sidebar + toolbars)\n- Dashboards: 70-80% content, 20-30% chrome\n\n## Auth Page Recipes\n\n### AUTH-01: Login Page\n```\n1. Two-column layout:\n   Left: Brand panel (logo + tagline + illustration)\n   Right: Login form (email + password + social login + forgot password link)\n```\n\n### AUTH-02: Signup Page\n```\n1. Two-column layout:\n   Left: Brand panel (logo + value props + social proof)\n   Right: Signup form (name + email + password + terms checkbox)\n```\n\n### AUTH-03: Onboarding Flow (3-step)\n```\nStep 1: Profile setup (avatar + name + role)\nStep 2: Preferences (team size + use case + integrations)\nStep 3: Workspace setup (invite team + import data)\nEach step: progress indicator + back\u002Fnext buttons\n```\n\n## Responsive Composition Rules\n\n### Desktop → Tablet\n- 3-column grids → 2-column grids\n- Sidebar nav → collapsible sidebar or top nav\n- Side-by-side sections → stacked\n- Section padding: reduce by 25%\n\n### Tablet → Mobile\n- 2-column grids → single column\n- Horizontal nav → hamburger menu\n- Side images → stacked above text\n- Pricing tables → horizontal scroll or accordion\n- Section padding: reduce by 50% from desktop\n- Font sizes: reduce by 1-2 scale steps\n\n### Block Reordering on Mobile\nSome blocks reorder on mobile for thumb-reach and visual hierarchy:\n- CTA button moves from inline to sticky bottom bar\n- Social proof moves closer to hero (trust first)\n- Navigation images\u002Fillustrations hide (content first)\n\n## Routing\n\nFor **marketing pages** — seven complete recipes (SaaS landing, mobile app\nlanding, startup launch, enterprise B2B, e-commerce product, agency portfolio,\nevent) each with block order and rationale: read\n`references\u002Fmarketing-page-recipes.md`.\n\nFor **product pages** — nine recipes (dashboard home, settings, profile,\nlist\u002Ffeed, detail, editor\u002Fcanvas, chat, calendar, analytics): read\n`references\u002Fapp-page-recipes.md`.\n\nFor **the spacing that holds a page together** — the section spacing scale,\nstacking rhythm rules, visual rhythm patterns, the responsive reduction formula,\ncontainer width strategy, grid systems, Z- and F-pattern layouts, and the rhythm\ndiagnostics for when a page feels wrong but you cannot say why: read\n`references\u002Fspacing-rhythm-system.md`.\n\n## Cross-References\n\n- **layout-block-intelligence** — Individual block specs and variants\n- **responsive-block-patterns** — Detailed breakpoint transformations\n- **conversion-optimization-patterns** — Which compositions convert best\n- **screen-flow-patterns** — Screen types that use these compositions\n- **sector-style-intelligence** — Industry-specific page templates\n","# Page Composition Engine\n\n## The Art of Page Composition\n\nA page is not a collection of random sections — it's a narrative. Every page tells a story through the deliberate sequencing of layout blocks. The composition engine provides complete recipes: which blocks to use, in what order, with what spacing rhythm, to achieve a specific goal.\n\n\"Every page is a conversation. The hero opens with a promise. The features deliver evidence. The testimonials provide social validation. The CTA asks for commitment.\" — This is not decoration; it's persuasion architecture.\n\n## Page Archetypes\n\n### Marketing Pages (External-Facing)\nPages designed to attract, inform, and convert visitors.\n- Landing pages, product pages, pricing pages, about pages, case study pages\n\n### Product Pages (Internal App)\nPages within the authenticated product experience.\n- Dashboards, settings, profiles, lists, detail pages, create\u002Fedit pages\n\n### Transactional Pages (Flow Steps)\nPages that are part of a multi-step process.\n- Auth pages, checkout, onboarding, wizards\n\n### Content Pages (Information)\nPages primarily delivering content.\n- Blog posts, documentation, help center, changelog\n\n## Procedure\n\n1. **Name the archetype** (marketing, product, transactional, content) and the\n   one action the page exists to get.\n2. **Start from the nearest recipe** in the references (see Routing). For a\n   login, signup or onboarding page, use the auth recipes below.\n3. **Order blocks along the narrative arc** below; drop any stage the page does\n   not need rather than padding it.\n4. **Specify each block** from `layout-block-intelligence`, which holds the\n   variants, anatomy and code for every block type a recipe names.\n5. **Set rhythm**: alternate dense and light blocks and backgrounds, and apply\n   the spacing scale.\n6. **Check the first viewport** for what, why, how and trust, then apply the\n   responsive rules.\n\n## Composition Theory\n\n### The Block Stacking Model\n\nEvery page follows a **narrative arc** through its blocks:\n\n```\n┌─────────────────────────┐\n│   HOOK                  │  ← Hero: Capture attention\n├─────────────────────────┤\n│   CREDIBILITY           │  ← Logos\u002FSocial proof: Establish trust\n├─────────────────────────┤\n│   VALUE                 │  ← Features: Explain the offering\n├─────────────────────────┤\n│   EVIDENCE              │  ← Testimonials\u002FCase studies: Prove it\n├─────────────────────────┤\n│   CONVERSION            │  ← Pricing\u002FCTA: Ask for action\n├─────────────────────────┤\n│   OBJECTION HANDLING    │  ← FAQ: Remove doubts\n├─────────────────────────┤\n│   CLOSE                 │  ← Footer: Navigation + trust\n└─────────────────────────┘\n```\n\n### Visual Rhythm\n\n**Alternating density** prevents scroll fatigue:\n- Dense block (feature grid) → Light block (CTA banner) → Dense block (testimonials) → Light block (stats)\n\n**Background alternation** creates section separation:\n- White → Gray-50 → White → Primary-950 (dark CTA) → White → Gray-50\n\n### Spacing Between Blocks\n\n| Context | Desktop | Mobile |\n|---------|---------|--------|\n| Default between blocks | 96-120px | 48-64px |\n| Tight (related blocks) | 48-64px | 32-40px |\n| Breathing room (after dense block) | 120-160px | 64-80px |\n| Zero (blocks that visually connect) | 0px | 0px |\n\n### Above-the-Fold Strategy\n\nThe first viewport (above the fold) must accomplish:\n1. **What** — Clear heading explaining the product\n2. **Why** — Subheading with the key benefit\n3. **How** — Primary CTA button\n4. **Trust** — Social proof element (logos, rating, user count)\n\nMost visitors do scroll, but only if the first viewport gives them a reason to.\n\n### Content-to-Chrome Ratio\n\n- Marketing pages: 90% content, 10% chrome (nav + footer)\n- App pages: 75-85% content, 15-25% chrome (nav + sidebar + toolbars)\n- Dashboards: 70-80% content, 20-30% chrome\n\n## Auth Page Recipes\n\n### AUTH-01: Login Page\n```\n1. Two-column layout:\n   Left: Brand panel (logo + tagline + illustration)\n   Right: Login form (email + password + social login + forgot password link)\n```\n\n### AUTH-02: Signup Page\n```\n1. Two-column layout:\n   Left: Brand panel (logo + value props + social proof)\n   Right: Signup form (name + email + password + terms checkbox)\n```\n\n### AUTH-03: Onboarding Flow (3-step)\n```\nStep 1: Profile setup (avatar + name + role)\nStep 2: Preferences (team size + use case + integrations)\nStep 3: Workspace setup (invite team + import data)\nEach step: progress indicator + back\u002Fnext buttons\n```\n\n## Responsive Composition Rules\n\n### Desktop → Tablet\n- 3-column grids → 2-column grids\n- Sidebar nav → collapsible sidebar or top nav\n- Side-by-side sections → stacked\n- Section padding: reduce by 25%\n\n### Tablet → Mobile\n- 2-column grids → single column\n- Horizontal nav → hamburger menu\n- Side images → stacked above text\n- Pricing tables → horizontal scroll or accordion\n- Section padding: reduce by 50% from desktop\n- Font sizes: reduce by 1-2 scale steps\n\n### Block Reordering on Mobile\nSome blocks reorder on mobile for thumb-reach and visual hierarchy:\n- CTA button moves from inline to sticky bottom bar\n- Social proof moves closer to hero (trust first)\n- Navigation images\u002Fillustrations hide (content first)\n\n## Routing\n\nFor **marketing pages** — seven complete recipes (SaaS landing, mobile app\nlanding, startup launch, enterprise B2B, e-commerce product, agency portfolio,\nevent) each with block order and rationale: read\n`references\u002Fmarketing-page-recipes.md`.\n\nFor **product pages** — nine recipes (dashboard home, settings, profile,\nlist\u002Ffeed, detail, editor\u002Fcanvas, chat, calendar, analytics): read\n`references\u002Fapp-page-recipes.md`.\n\nFor **the spacing that holds a page together** — the section spacing scale,\nstacking rhythm rules, visual rhythm patterns, the responsive reduction formula,\ncontainer width strategy, grid systems, Z- and F-pattern layouts, and the rhythm\ndiagnostics for when a page feels wrong but you cannot say why: read\n`references\u002Fspacing-rhythm-system.md`.\n\n## Cross-References\n\n- **layout-block-intelligence** — Individual block specs and variants\n- **responsive-block-patterns** — Detailed breakpoint transformations\n- **conversion-optimization-patterns** — Which compositions convert best\n- **screen-flow-patterns** — Screen types that use these compositions\n- **sector-style-intelligence** — Industry-specific page templates\n",{"name":5,"description":7,"allowed-tools":24},"Read, Grep, Glob","main","f846d9a97082ff30d613b55a085cef425d822473","plugins\u002Fdesign-ops\u002Fskills\u002Fpage-composition-engine","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle","https:\u002F\u002Fshotcowboystyle.github.io","Building smarter with AI, automation & modern tools. Exploring how far one person can go without a big team using today’s AI.","2026-11-10 04:58:27",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add shotcowboystyle\u002Fag-skills --skill page-composition-engine",{"tool":39,"command":40},"bunx","bunx skills add shotcowboystyle\u002Fag-skills --skill page-composition-engine",{"tool":42,"command":43},"pnpm","pnpm dlx skills add shotcowboystyle\u002Fag-skills --skill page-composition-engine","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-ops\u002Fskills\u002Fpage-composition-engine\u002FSKILL.md",true,[47,53,57],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fapp-page-recipes.md","REFERENCE","参考文档",53439,"https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-ops\u002Fskills\u002Fpage-composition-engine\u002Freferences\u002Fapp-page-recipes.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fmarketing-page-recipes.md",42027,"https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-ops\u002Fskills\u002Fpage-composition-engine\u002Freferences\u002Fmarketing-page-recipes.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fspacing-rhythm-system.md",22319,"https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-ops\u002Fskills\u002Fpage-composition-engine\u002Freferences\u002Fspacing-rhythm-system.md",[62,68,75,82,89,96],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7F1YRY5S5QRJ1V0BJS130QX","no-description","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fno-description\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7F1Y9BV2FJNQJ3NB32JS5CM","good-skill","Fixture skill that satisfies every rule.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgood-skill\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7F1XXBQ3NQRXZSS0KAGAR9V","broken-link","Links to a reference file that does not exist.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fbroken-link\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7F1XBX4R46NR9W0HXQ7XCDX","Bad_Name","Name violates the kebab-case rule and does not match the directory.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fbad-name\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7F1WNAF8WNEQ7S5HKT5VK0D","skill-authoring","Write, review, and validate portable agent skills in SKILL.md format. Use when creating a new skill, editing an existing one, or asked whether a skill follows the Agent Skills spec.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-authoring\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7F1W30TC0XFNSF7YBRGETK2","weigh-bags","Record scale readings for each bag — empty (tare), outbound, current, final — and reconcile them against the itemised inventory to find unaccounted weight. Use when the user gives a bag weight, says how heavy something is, weighs their luggage, or asks how close to the limit they are. Appends to bags.yaml and runs scripts\u002Freconcile.py.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-packing-assistant\u002Fskills\u002Fweigh-bags\u002FSKILL.md",[],[]]