Commit fa635d3
authored
feat: add skill download buttons — .md for single-file, .zip for multi-file skills (#86)
- 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 pattern1 parent abee871 commit fa635d3
File tree
10 files changed
+1171
-23
lines changed- .claude
- src
- components
- data
- pages
- .well-known/skills/[name]
- skills/[slug]
10 files changed
+1171
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments