AGENT SKILL

marp-slide-quality

Analyze and improve Marp markdown presentations using SlideGauge. Use when working with Marp slides, presentation files ending in .md with marp frontmatter, or when user asks to check, analyze, improve, or validate slide quality. Requires slidegauge package (installed via uvx).

License 许可
Apache-2.0
最近更新
2026-11-06
Stars
★ 0
Forks
0

01 前言 Front Matter

name
marp-slide-quality
description
Analyze and improve Marp markdown presentations using SlideGauge. Use when working with Marp slides, presentation files ending in .md with marp frontmatter, or when user asks to check, analyze, improve, or validate slide quality. Requires slidegauge package (installed via uvx).
allowed-tools
Read, Edit, Bash, Grep, Glob

02 资源文件 5

03 SKILL.md 正文

Marp Slide Quality Analyzer

This Skill uses SlideGauge to analyze Marp markdown presentations and help you create high-quality slides that follow best practices.

When to use this Skill

  • User is working on a Marp presentation (.md file with marp: true frontmatter)
  • User asks to check, analyze, validate, or improve slide quality
  • User mentions SlideGauge or slide quality issues
  • User wants to fix specific slide problems (too many bullets, long content, etc.)

Instructions

1. Initial Analysis

When user asks to analyze their slides:

# Run SlideGauge with text output for quick overview
uvx --from git+https://github.com/nibzard/slidegauge slidegauge <path-to-presentation.md> --text

Explain the results:

  • Overall score and passing rate
  • Number of issues found
  • Category breakdown (a11y, code, color, content, layout)

2. Detailed Analysis

For slides that need fixing (score < 80):

# Get JSON output with detailed diagnostics
uvx --from git+https://github.com/nibzard/slidegauge slidegauge <path-to-presentation.md> --json | jq '.slides[] | select(.score < 80)'

For each failing slide, identify:

  • Exact slide number and title
  • Specific issues with deduction amounts
  • Actionable recommendations

3. Fix Common Issues

Use the Edit tool to fix issues. See FIXES.md for specific fix patterns.

Common fixes:

  • Too many bullets: Split into multiple slides or consolidate
  • Content too long: Trim text or split slide
  • Code too long: Simplify examples or split
  • Too many lines: Reduce content density
  • Title too long: Shorten to ≤35 characters

4. Validate Fixes

After making changes, re-run SlideGauge:

uvx --from git+https://github.com/nibzard/slidegauge slidegauge <path-to-presentation.md> --text

Compare before/after scores and confirm improvements.

Workflow

  1. Analyze: Run SlideGauge to get baseline scores
  2. Prioritize: Focus on slides scoring < 70 first, then < 80
  3. Fix: Apply fixes from FIXES.md based on diagnostics
  4. Validate: Re-run to confirm improvements
  5. Iterate: Repeat until all slides pass (≥70) or user is satisfied

Key Thresholds

  • 70: Minimum passing score (slides below this MUST be fixed)
  • 80: Good quality (recommend fixing these)
  • 90+: Excellent quality
  • 100: Perfect score

Category Scores

  • a11y: Accessibility (alt text, contrast)
  • code: Code block length and complexity
  • color: Color usage and contrast ratios
  • content: Text length, bullets, line count
  • layout: Overall slide structure

Best Practices

  1. Always show user the results - don't just fix silently
  2. Explain WHY each fix improves the slide
  3. Get user approval before making major changes (splitting slides, removing content)
  4. Preserve user intent - don't change technical content
  5. Re-validate after fixes to show improvement

Examples

See EXAMPLES.md for detailed examples of:

  • Analyzing a full presentation
  • Fixing specific slide issues
  • Splitting overloaded slides
  • Optimizing code examples

Reference

See REFERENCE.md for complete SlideGauge rule documentation.

Dependencies

SlideGauge is installed via uvx on-demand:

uvx --from git+https://github.com/nibzard/slidegauge slidegauge --help

No manual installation required - uvx handles it automatically.

04 同仓库更多 Skills

mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

frontend-slides

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

★ 0
mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

design-dna

Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects, etc.). Use this skill when: (1) a user wants to see the full 3-dimension design structure/schema, (2) a user provides images, screenshots, or URLs of reference designs and wants them analyzed into a structured JSON profile covering all three dimensions, (3) a user has a Design DNA JSON and content and wants a design generated from it, or (4) any combination of these phases. Triggers on "design DNA", "extract design style", "analyze design", "design tokens from reference", "generate design from JSON", "design system from screenshot", "design profile", "style guide JSON", "visual effects analysis", "design with effects", "3d design analysis".

★ 0
mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

wireframe

Generate JSON wireframe with HTML preview

★ 0
mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

social-publishing

Schedule and publish social media posts across 13 platforms (X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, Pinterest) via the SocialClaw API. Use when the user wants to publish, schedule, or manage social media content programmatically. Requires SOCIALCLAW_API_KEY.

★ 0
mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

hermes-tweet

Install and operate Hermes Tweet, a Hermes Agent plugin for X/Twitter research, timeline reading, tweet analysis, and approval-gated private or state-changing operations. Use this skill when installing Hermes Tweet, researching X/Twitter accounts, monitoring launch signals, investigating mentions, auditing giveaways, or preparing gated X operations. Use proactively when a Hermes Agent workflow needs current X/Twitter context. Requires XQUIK_API_KEY for read and action tools.

★ 0
mhyahya854
mhyahya854/AI-Second-Brain_Universal-Rules

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent design tokens, creating dark mode themes, improving data-visualization clarity, or polishing UI details before launch. Covers grayscale-first workflow, constrained design scales, shadows, and component styling. For typeface selection, see web-typography. For usability audits, see ux-heuristics.

★ 0