Skip to content

feat: add skill download buttons (.md / .zip)#86

Merged
raymondk merged 1 commit intomainfrom
feat/skill-downloads
Mar 16, 2026
Merged

feat: add skill download buttons (.md / .zip)#86
raymondk merged 1 commit intomainfrom
feat/skill-downloads

Conversation

@marc0olo
Copy link
Member

Summary

  • Add download buttons to browse cards and skill detail pages
  • Single-file skills → direct .md download
  • Multi-file skills (e.g. icp-cli with references/) → .zip bundle generated at build time via archiver
  • Skill detail page: install: bar (npx command) + download: bar (.md or .zip with file count)
  • Multi-file skills hide the raw URL since it's incomplete without references
  • Browse cards: download icon next to GitHub icon on each card
  • Adds fileCount to Skill interface for conditional rendering
  • Updates README (zip row in programmatic access table), CLAUDE.md (one skill = one directory), CONTRIBUTING.md (references pattern with icp-cli example)

Context

Requested for Perplexity Computer which requires drag-and-drop .md or .zip file upload — no URL-based skill discovery support.

…i-file skills

- Generate zip bundles at build time for multi-file skills (SKILL.md + references)
- Add download button to browse cards and skill detail pages
- Single-file skills download as .md, multi-file as .zip
- Skill detail page shows raw URL for single-file, zip with file count for multi-file
- Add fileCount to Skill interface for conditional rendering
- Update README, CLAUDE.md, CONTRIBUTING.md to document references pattern
@raymondk raymondk merged commit fa635d3 into main Mar 16, 2026
6 checks passed
@raymondk raymondk deleted the feat/skill-downloads branch March 16, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants