sidebar-generator
When the user wants to design, optimize, or audit a sidebar for blogs, docs, or content pages. Also use when the user mentions "sidebar", "blog sidebar", "content sidebar" or "side panel". For blog layout, use blog-page-generator.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 12
- Forks
- 0
01 前言 Front Matter
- name
- sidebar-generator
- metadata
- { "version": "1.0.1" }
- description
- When the user wants to design, optimize, or audit a sidebar for blogs, docs, or content pages. Also use when the user mentions "sidebar", "blog sidebar", "content sidebar" or "side panel". For blog layout, use blog-page-generator.
03 SKILL.md 正文
Components: Sidebar
Guides sidebar design for content sites (blogs, docs). ~80% of users focus on the left; sidebars influence flow but can hurt conversion if overused. Posts without sidebars show 3.1x higher conversion; bottom-right sticky CTAs outperform sidebars (5.62% vs 0.58% CTR).
When invoking: On first use, if helpful, open with 1-2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
Initial Assessment
Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for content structure and conversion goals.
Identify:
- Content type: Blog, docs, e-commerce
- Primary goal: Navigation, CTA, related content
- Mobile: Collapse to hamburger or hide on small screens
Best Practices
Placement
- Left sidebar: Prime for nav; 80% of users focus left
- Right sidebar: Secondary content, ads, related posts
- Static vs sticky: Static for content-focused; sticky for persistent CTA (subscription, cart)
Conversion Reality
| Approach | Typical result |
|---|---|
| Sidebar CTA | <1% opt-in for blog sidebars |
| In-content CTA | 3x+ higher conversion |
| Bottom-right sticky | 5.62% CTR vs 0.58% sidebar |
| No sidebar | 3.1x higher conversion vs with sidebar |
Recommendation: Prefer in-content CTAs or bottom-right sticky over sidebar CTAs. Use sidebar for nav and discovery, not primary conversion.
Widget Guidelines
- One high-value CTA max; avoid clutter
- Social proof: Testimonials, logos
- Popular/related posts: Discovery, internal linking
- Avoid: Too many ads, affiliate links; reduces trust and speed
Mobile
- Collapse: Hamburger or off-canvas drawer
- 57%+ mobile traffic: Responsive design non-negotiable
- Reduce clutter: Hide or simplify sidebar on small screens
Output Format
- Placement (left/right, static/sticky)
- Widget list (nav, CTA, related, social proof)
- Mobile behavior
- Conversion note (in-content vs sidebar CTA)
Related Skills
- toc-generator: TOC often in sidebar for long content
- cta-generator: Sidebar CTA (use sparingly)
- newsletter-signup-generator: Sidebar signup; consider in-content instead
- internal-links: Related posts in sidebar
04 同仓库更多 Skills
plan-eng-review
Eng manager-mode plan review. (gstack)
youtube
Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.
write-plan
Use when you have a spec or requirements for a multi-step task, before touching code. Produces an engineering plan complete with TDD tasks, DRY/SOLID/YAGNI principles, a required Test Plan & Verification section, and a coverage target — then auto-runs /plan-eng-review as an independent double-check before execution.
worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
web-perf
Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (LCP, INP, CLS) and supplementary metrics (FCP, TBT, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.
verify
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always