AgentSkillsCN

nueva-presentacion

从 DEHN 幻灯片模板中快速搭建新演示文稿

SKILL.md
--- frontmatter
name: nueva-presentacion
description: Scaffold a new presentation from the DEHN slide deck template
argument-hint: <presentation-name> <topic-description>

Create a New Presentation

The user wants to create a new presentation using the DEHN slide deck template. Use $ARGUMENTS to understand the name and topic.

Steps

  1. Parse the arguments to extract:

    • Presentation name (kebab-case for the directory, e.g., admin-ui-training)
    • Topic description (what the presentation is about)
  2. Ask the user if not provided in arguments:

    • Presentation name
    • Target directory (default: /Users/jlaranjeira/Code/<name>)
    • Presentation title (shown in header and title slide)
    • Subtitle
    • Team name (shown in footer)
    • Number of agenda sections and their topics
    • Whether they need quiz and/or cheatsheet slides
  3. Clone the template:

    bash
    gh repo create <name> --template jmlaranjeira/dehn-slide-deck-template --private --clone
    cd <name>
    npm install
    
  4. Update src/config/presentation.js with the presentation title

  5. Update src/data/slides.js with:

    • Title slide content (title, subtitle, footer with team name)
    • Agenda columns based on the topics provided
    • Demo slide with relevant topics
    • Remove quiz/cheatsheet entries if not needed
  6. Update src/data/quiz.js if quiz is needed:

    • Ask the user for questions or generate placeholder questions based on the topic
  7. Update src/data/cheatsheet.js if cheatsheet is needed:

    • Ask the user for reference items or generate placeholders based on the topic
  8. Update index.html title tag with the presentation name

  9. Verify by running npm run build

  10. Commit the initial customization:

    code
    Initial setup: <Presentation Title>
    

Notes

  • The template repository is at: jmlaranjeira/dehn-slide-deck-template
  • Always keep DEHN branding (logos and red accent colors)
  • The user can add custom slide types later with /crear-slide