feat: Complete fleet — 94 skills across 10+ domains
Pulled ALL skills from 15 source repositories: - anthropics/skills: 16 (docs, design, MCP, testing) - obra/superpowers: 14 (TDD, debugging, agents, planning) - coreyhaines31/marketingskills: 25 (marketing, CRO, SEO, growth) - better-auth/skills: 5 (auth patterns) - vercel-labs/agent-skills: 5 (React, design, Vercel) - antfu/skills: 16 (Vue, Vite, Vitest, pnpm, Turborepo) - Plus 13 individual skills from various repos Mosaic Stack is not limited to coding — the Orchestrator and subagents serve coding, business, design, marketing, writing, logistics, analysis, and more. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
50
skills/slidev/references/layout-global-layers.md
Normal file
50
skills/slidev/references/layout-global-layers.md
Normal file
@@ -0,0 +1,50 @@
|
||||
---
|
||||
name: global-layers
|
||||
description: Create components that persist across slides like footers and backgrounds
|
||||
---
|
||||
|
||||
# Global Layers
|
||||
|
||||
Create components that persist across slides.
|
||||
|
||||
## Layer Files
|
||||
|
||||
Create in project root:
|
||||
- `global-top.vue` - Above all slides (single instance)
|
||||
- `global-bottom.vue` - Below all slides (single instance)
|
||||
- `slide-top.vue` - Above each slide (per-slide instance)
|
||||
- `slide-bottom.vue` - Below each slide (per-slide instance)
|
||||
- `custom-nav-controls.vue` - Custom navigation controls
|
||||
|
||||
## Z-Order (top to bottom)
|
||||
|
||||
1. NavControls / custom-nav-controls.vue
|
||||
2. global-top.vue
|
||||
3. slide-top.vue
|
||||
4. Slide Content
|
||||
5. slide-bottom.vue
|
||||
6. global-bottom.vue
|
||||
|
||||
## Example: Footer
|
||||
|
||||
```html
|
||||
<!-- global-bottom.vue -->
|
||||
<template>
|
||||
<footer class="absolute bottom-0 left-0 right-0 p-2">Your Name</footer>
|
||||
</template>
|
||||
```
|
||||
|
||||
## Conditional Rendering
|
||||
|
||||
```html
|
||||
<!-- Hide on cover layout -->
|
||||
<template>
|
||||
<footer v-if="$nav.currentLayout !== 'cover'" class="absolute bottom-0 p-2">
|
||||
{{ $nav.currentPage }} / {{ $nav.total }}
|
||||
</footer>
|
||||
</template>
|
||||
```
|
||||
|
||||
## Export Note
|
||||
|
||||
Use `--per-slide` export option when global layers depend on navigation state.
|
||||
Reference in New Issue
Block a user