🎯

upload-chapter-slides

🎯Skill

from panaversity/agentfactory

VibeIndex|
What it does

Uploads PDF teaching slides to CDN and automatically updates chapter README with slides metadata and teaching aid section.

πŸ“¦

Part of

panaversity/agentfactory(23 items)

upload-chapter-slides

Installation

πŸ“‹ No install commands found in docs. Showing default command. Check GitHub for actual instructions.
Quick InstallInstall with npx
npx skills add panaversity/agentfactory --skill upload-chapter-slides
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

|

Overview

# Upload Chapter Slides

Upload PDF teaching slides to CDN and update chapter README with proper metadata.

Usage

```

/upload-chapter-slides [--title "Custom Title"] [--name custom-filename]

```

Examples

```bash

# Basic usage - chapter number only

/upload-chapter-slides /path/to/slides.pdf 4

# With custom title

/upload-chapter-slides /path/to/slides.pdf 3 --title "Agentic AI - The Digital FTE"

# With custom filename (for CDN URL)

/upload-chapter-slides /path/to/slides.pdf 4 --name context-engineering-blueprint

```

Workflow

Step 1: Parse Arguments

Extract from user input:

  • pdf_path: Absolute path to PDF file (required)
  • chapter_num: Chapter number (required)
  • title: Optional custom title for slides
  • name: Optional custom filename for CDN

Step 2: Resolve Chapter Path

```bash

# Find chapter folder by number

ls -d apps/learn-app/docs//[0-9][0-9]-/ | grep "/${CHAPTER_NUM}-\|/${CHAPTER_NUM}[0-9]-"

```

Extract from path:

  • Part number: First segment number (e.g., 01 from 01-General-Agents-Foundations)
  • Chapter folder: Full path to chapter directory

Pattern: apps/learn-app/docs/{NN}-{PartName}/{NN}-{ChapterName}/

Step 3: Upload PDF

Run from project root:

```bash

cd apps/panaversity-fs-py && uv run python scripts/upload_asset.py \

--file "{pdf_path}" \

--type slides \

--part {part_num} \

--chapter {chapter_num} \

--name {name_or_default}

```

Capture the CDN URL from output (format: https://pub-*.r2.dev/books/ai-native-dev/static/slides/part-{N}/chapter-{NN}/{filename}.pdf)

Step 4: Update README Frontmatter

Read {chapter_path}/README.md and update YAML frontmatter:

If slides: exists: Replace the entire slides block

If slides: missing: Add after title: line

```yaml

slides:

source: "{cdn_url}"

title: "{title_or_chapter_title}"

height: 700

```

Step 5: Ensure Teaching Aid Heading

Check if ## πŸ“š Teaching Aid exists in README.

If missing: Add before ## What You'll Learn (or first ## heading if no What You'll Learn):

```markdown

What You'll Learn

```

If exists: No change needed.

Step 6: Report Success

```

βœ… Chapter {N} slides uploaded

CDN URL: {cdn_url}

README: {chapter_path}/README.md

Title: {slides_title}

```

Error Handling

| Error | Resolution |

|-------|------------|

| PDF file not found | Verify path exists |

| Chapter not found | Run ls -d apps/learn-app/docs/*/ to list valid chapters |

| Upload failed | Check apps/panaversity-fs-py/.env configuration |

| README missing | Chapter may not be initialized |

Path Constants

```

PROJECT_ROOT: /Users/mjs/Documents/code/panaversity-official/tutorsgpt/agentfactory

DOCS_PATH: apps/learn-app/docs

UPLOAD_SCRIPT: apps/panaversity-fs-py/scripts/upload_asset.py

```

README Structure Reference

Correct structure after skill runs:

```yaml

---

sidebar_position: N

title: "Chapter N: Title"

slides:

source: "https://pub-*.r2.dev/books/ai-native-dev/static/slides/part-N/chapter-NN/filename.pdf"

title: "Slide Title"

height: 700

---

# Chapter N: Title

[intro paragraphs]

What You'll Learn

[content]

```

More from this repository10

🎯
content-evaluation-framework🎯Skill

Evaluates educational content systematically using a 6-category weighted rubric, scoring technical accuracy, pedagogical effectiveness, and constitutional compliance.

🎯
summary-generator🎯Skill

Generates concise, Socratic-style lesson summaries by extracting core concepts, mental models, patterns, and AI collaboration insights from educational markdown files.

🎯
skill-validator🎯Skill

Validates skills comprehensively across 9 quality categories, scoring structure, content, interaction, documentation, and technical robustness to provide actionable improvement recommendations.

🎯
docx🎯Skill

Generates, edits, and analyzes Microsoft Word documents (.docx) with advanced capabilities like tracked changes, comments, and text extraction.

🎯
concept-scaffolding🎯Skill

Designs progressive learning sequences by breaking complex concepts into manageable steps, managing cognitive load, and validating understanding across different learning tiers.

🎯
chapter-evaluator🎯Skill

Evaluates educational chapters by analyzing chapters chapters through aable student and teacher perspectives, generating structured ratings,, identifying content gaps, providing and prioritableized...

🎯
pptx🎯Skill

Generates, edits, and analyzes PowerPoint presentations with precise content control and narrative coherence.

🎯
canonical-format-checker🎯Skill

Checks and validates content formats against canonical sources to prevent inconsistent pattern implementations across platform documentation.

🎯
assessment-architect🎯Skill

Generates comprehensive skill assessments by dynamically creating evaluation frameworks, rubrics, and scoring mechanisms for educational and professional contexts.

🎯
content-refiner🎯Skill

Refines content that failed Gate 4 by precisely trimming verbosity, strengthening lesson connections, and ensuring targeted improvements based on specific diagnostic criteria.