publish-cheatsheet

Copy NanoBanana cheat-sheet images to public directories and update readings.ts references.

282|23|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/team-attention/stanford-cs146s-kr --skill publish-cheatsheet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: publish-cheatsheet
Source: https://github.com/team-attention/stanford-cs146s-kr/tree/main/.claude/skills/publish-cheatsheet
Command: npx skills add https://github.com/team-attention/stanford-cs146s-kr --skill publish-cheatsheet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates copying cheat sheet images generated by NanoBanana to a public directory and updates the readings index to reference those images.

Core Features & Use Cases

  • Publish cheatsheet images: Copy cheat sheet PNG/WebP images into public/cheatsheets/weekN paths and update readings.ts with cheatsheetImage fields for both single and nested pages.
  • Index updates: Extend readings to expose new image references for quick access in UI.
  • Use Case: You create a cheatsheet image for week1/tokenization and publish it, then the site automatically references it for the week's Reading.

Quick Start

Use the skill to publish a cheatsheet image from NanoBanana to public and update readings. The command signature is shown in SKILL.md.

Frequently Asked Questions about publish-cheatsheet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish cheatsheet images to a public web directory?

To publish cheatsheet images, you can copy PNG or WebP files generated by NanoBanana into the public/cheatsheets/weekN directory paths. This process locates, validates, and copies image assets for web publication.

How do I update readings.ts to include cheatsheet image references?

You update readings.ts by adding cheatsheetImage fields for both single and nested pages. This extends the readings index to expose new image references for quick access within the user interface.

What is the best way to index weekly cheat sheets for an online course?

Indexing weekly cheat sheets involves copying image files to public paths and registering them in readings.ts. This workflow ensures accessible web assets and corresponding readings entries for online courses.

Can I use this workflow to publish both single and nested page readings?

Yes, this workflow supports updating readings.ts with cheatsheetImage fields for both single and nested pages. It ensures all page structures correctly reference the newly published image assets.

Do I need NanoBanana generated images to update the readings index?

Yes, NanoBanana generated images are required to publish cheatsheets. The skill locates and validates these image files before copying them to the public directory and registering them in readings.ts.