@olegkoval/agent-skills 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/.claude-plugin/plugin.json +4 -2
  2. package/.cursor-plugin/index.json +10 -0
  3. package/README.md +3 -2
  4. package/catalog/skills.json +44 -0
  5. package/collections/marketing.json +2 -2
  6. package/collections/software-development.json +1 -0
  7. package/package.json +1 -1
  8. package/packages/marketing/search-console-indexing-audit/SKILL.md +64 -0
  9. package/packages/marketing/search-console-indexing-audit/adapters/claude/plugin.json +5 -0
  10. package/packages/marketing/search-console-indexing-audit/adapters/claude/skills/search-console-indexing-audit/SKILL.md +66 -0
  11. package/packages/marketing/search-console-indexing-audit/adapters/claude/skills/search-console-indexing-audit/scripts/summarize_gsc_coverage.py +151 -0
  12. package/packages/marketing/search-console-indexing-audit/adapters/codex/README.md +3 -0
  13. package/packages/marketing/search-console-indexing-audit/adapters/cursor/plugin.json +6 -0
  14. package/packages/marketing/search-console-indexing-audit/adapters/cursor/skills/search-console-indexing-audit/SKILL.md +66 -0
  15. package/packages/marketing/search-console-indexing-audit/adapters/cursor/skills/search-console-indexing-audit/scripts/summarize_gsc_coverage.py +151 -0
  16. package/packages/marketing/search-console-indexing-audit/scripts/summarize_gsc_coverage.py +151 -0
  17. package/packages/software-development/open-source-publisher/SKILL.md +289 -0
  18. package/packages/software-development/open-source-publisher/adapters/claude/plugin.json +5 -0
  19. package/packages/software-development/open-source-publisher/adapters/claude/skills/open-source-publisher/SKILL.md +291 -0
  20. package/packages/software-development/open-source-publisher/adapters/codex/README.md +3 -0
  21. package/packages/software-development/open-source-publisher/adapters/cursor/plugin.json +6 -0
  22. package/packages/software-development/open-source-publisher/adapters/cursor/skills/open-source-publisher/SKILL.md +291 -0
  23. package/packages/software-development/open-source-publisher/agents/openai.yaml +4 -0
  24. package/scripts/build-adapters.sh +13 -0
@@ -0,0 +1,291 @@
1
+ <!-- Generated by scripts/build-adapters.sh. Do not edit directly. -->
2
+
3
+ ---
4
+ name: open-source-publisher
5
+ description: Prepare an open-source repository for polished public publishing. Use when a user asks to publish, open-source, launch, polish, package, brand, or make a GitHub project presentable with a minimal project icon, social preview image, GitHub Pages landing page, standardized README, essential shields, CI/CD quality gates, release automation checks, and optional donation setup.
6
+ license: MIT
7
+ compatibility: Codex, Claude Code, Cursor, and other Agent Skills compatible tools. Requires a writable git repository; browser or image rendering tools are useful for visual validation.
8
+ metadata:
9
+ author: Oleg Koval
10
+ tags:
11
+ - open-source
12
+ - github
13
+ - readme
14
+ - branding
15
+ - github-pages
16
+ - ci
17
+ - release
18
+ - social-image
19
+ ---
20
+
21
+ # open-source-publisher
22
+
23
+ Use this skill to turn a useful OSS repository into a clean public package: recognizable icon, shareable social image, GitHub Pages site, standardized README, CI/CD hygiene, release readiness, and optional donation links.
24
+
25
+ ## Workflow
26
+
27
+ 1. Inspect the repository before editing:
28
+ - package/tooling files: `go.mod`, `package.json`, `pyproject.toml`, `Cargo.toml`, `Makefile`, etc.
29
+ - current README, docs, website files, images, workflows, releases, license, funding files
30
+ - existing product purpose, author, install paths, examples, and public URLs
31
+ 2. Ask only the choices that cannot be inferred:
32
+ - GitHub Pages style: `oldschool linux`, `terminal`, `modern`, `brutalist`, `glassmorphism`, `y2k`, `hacker`, or a custom style.
33
+ - Donations: `none`, `GitHub Sponsors`, `Ko-fi`, `Buy Me a Coffee`, `Open Collective`, `Thanks.dev`, or custom URL.
34
+ - If the repo has no clear product essence, ask for a one-sentence positioning statement.
35
+ 3. Implement in this order:
36
+ - minimal icon
37
+ - social preview image
38
+ - README standard
39
+ - GitHub Pages landing page
40
+ - CI/CD and release audit/fixes
41
+ - donation wiring, if requested
42
+ 4. Validate locally and with browser/screenshots when possible.
43
+ 5. Commit/push only when the user asks or the current task explicitly requires it.
44
+
45
+ ## Minimal Icon
46
+
47
+ Create a simple, recognizable SVG logo from the repository's essence. Prefer `logo.svg`; add `logo.png` only when a platform requires raster output.
48
+
49
+ Icon rules:
50
+
51
+ - Use one clear metaphor from the project domain, not a collage.
52
+ - Keep the mark readable at 32px.
53
+ - Prefer 1-2 shapes and 1-2 accent colors.
54
+ - Use a simple rounded tile only when it improves favicon readability.
55
+ - Avoid terminal window chrome, decorative dots, random badges, and center glyph clutter unless the project itself is a terminal/window tool.
56
+ - Avoid generic AI tells: glass effects, bokeh/orbs, over-layered gradients, busy shadows, and unrelated emojis.
57
+
58
+ Good icon pattern for sync/migration tools:
59
+
60
+ ```svg
61
+ <svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512" role="img" aria-labelledby="title desc">
62
+ <title id="title">Project logo</title>
63
+ <desc id="desc">Clean sync icon made from two circular arrows.</desc>
64
+ <defs>
65
+ <linearGradient id="topArrow" x1="142" y1="118" x2="392" y2="250" gradientUnits="userSpaceOnUse">
66
+ <stop offset="0%" stop-color="#22c55e"/>
67
+ <stop offset="100%" stop-color="#38bdf8"/>
68
+ </linearGradient>
69
+ <linearGradient id="bottomArrow" x1="370" y1="394" x2="120" y2="262" gradientUnits="userSpaceOnUse">
70
+ <stop offset="0%" stop-color="#fb7185"/>
71
+ <stop offset="100%" stop-color="#f59e0b"/>
72
+ </linearGradient>
73
+ </defs>
74
+ <rect width="512" height="512" rx="112" fill="#0d1117"/>
75
+ <rect x="42" y="42" width="428" height="428" rx="96" fill="#111827" stroke="#1f2937" stroke-width="8"/>
76
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
77
+ <path d="M142 234c13-70 74-122 147-122 52 0 99 27 126 69" stroke="url(#topArrow)" stroke-width="42"/>
78
+ <path d="M389 118l35 67-75 4" stroke="url(#topArrow)" stroke-width="42"/>
79
+ <path d="M370 278c-13 70-74 122-147 122-52 0-99-27-126-69" stroke="url(#bottomArrow)" stroke-width="42"/>
80
+ <path d="M123 394l-35-67 75-4" stroke="url(#bottomArrow)" stroke-width="42"/>
81
+ </g>
82
+ </svg>
83
+ ```
84
+
85
+ Adapt the geometry and metaphor. Do not reuse the sync arrows for unrelated projects.
86
+
87
+ ## Social Image
88
+
89
+ Create a 1200x630 social preview image for GitHub, Twitter/X, Slack, and link unfurls.
90
+
91
+ Recommended files:
92
+
93
+ - `social-card.svg` as the editable source
94
+ - `social-card.png` rendered from the SVG when render tooling is available
95
+
96
+ Social image rules:
97
+
98
+ - Include project name, one clear value proposition, and 2-3 concrete capabilities.
99
+ - Keep the composition simple and calm. Large readable type beats dense feature lists.
100
+ - Use actual project language: commands, package name, supported platform, or primary workflow.
101
+ - Match the icon color system.
102
+ - Keep all text inside a safe margin of at least 64px.
103
+ - Use `og:image`, `twitter:image`, width/height meta tags, and meaningful alt text.
104
+
105
+ Render checks:
106
+
107
+ ```bash
108
+ rsvg-convert -w 1200 -h 630 social-card.svg -o social-card.png
109
+ file social-card.png
110
+ ```
111
+
112
+ Use `magick` or another renderer when `rsvg-convert` is unavailable.
113
+
114
+ ## README Standard
115
+
116
+ Shape the README like the house standard used for Go packages such as `slow-query-detector` and `dcli`.
117
+
118
+ Top block:
119
+
120
+ ```html
121
+ <p align="center">
122
+ <a href="..."><img src="..." alt="tests"></a>
123
+ <a href="..."><img src="..." alt="Go Report Card"></a>
124
+ <a href="..."><img src="..." alt="OpenSSF Scorecard"></a>
125
+ </p>
126
+
127
+ <p align="center">
128
+ <img src="./logo.svg" width="120" height="120" alt="project icon">
129
+ </p>
130
+
131
+ <h1 align="center">project-name</h1>
132
+
133
+ <p align="center">
134
+ Short product description<br>
135
+ <strong>One-line promise</strong>
136
+ </p>
137
+
138
+ ---
139
+ ```
140
+
141
+ Choose shields from the repo's tech:
142
+
143
+ - always: test workflow badge if a test workflow exists
144
+ - Go: Go Report Card, OpenSSF Scorecard
145
+ - Node/npm: npm version, npm downloads, test workflow, OpenSSF Scorecard
146
+ - Python: PyPI version, Python versions, test workflow, OpenSSF Scorecard
147
+ - coverage: only include if coverage service is configured
148
+ - release: only include if releases are automated and meaningful
149
+
150
+ Recommended README sections:
151
+
152
+ 1. Features
153
+ 2. Installation
154
+ 3. Quick Start
155
+ 4. Configuration
156
+ 5. Commands Reference or API Reference
157
+ 6. System Requirements
158
+ 7. Documentation
159
+ 8. Use Cases
160
+ 9. Architecture
161
+ 10. Project Status
162
+ 11. Security Notes
163
+ 12. Contributing
164
+ 13. License
165
+ 14. Author
166
+ 15. centered footer links
167
+
168
+ Rules:
169
+
170
+ - Keep badges centered and compact.
171
+ - Keep the icon centered below shields.
172
+ - Put a horizontal rule after the centered intro.
173
+ - Use current release/download URLs; prefer `/releases/latest/download/...` when stable asset names exist.
174
+ - Do not claim coverage, license, support, CI, or releases that are not actually present.
175
+ - Add or fix `LICENSE` before saying MIT/Apache/etc.
176
+
177
+ ## GitHub Pages
178
+
179
+ Create a simple essential GitHub Pages site when the project lacks one or the existing one is weak.
180
+
181
+ Ask the user to choose one style first:
182
+
183
+ - `oldschool linux`
184
+ - `terminal`
185
+ - `modern`
186
+ - `brutalist`
187
+ - `glassmorphism`
188
+ - `y2k`
189
+ - `hacker`
190
+ - custom style
191
+
192
+ Required page content:
193
+
194
+ - project name and icon
195
+ - one-sentence value proposition
196
+ - author link
197
+ - install/download instructions
198
+ - 2-4 short examples
199
+ - feature summary
200
+ - links to GitHub, README, releases, issues
201
+ - SEO meta description and keywords
202
+ - Open Graph and Twitter meta tags
203
+ - social image reference
204
+ - footer with license and optional donation/badge links
205
+
206
+ Implementation defaults:
207
+
208
+ - Use a static `index.html` unless the repo already has a site framework.
209
+ - Add `CNAME` only when the user gives a domain.
210
+ - Add `.github/workflows/pages.yml` when Pages uses GitHub Actions or no deploy path exists.
211
+ - Avoid marketing fluff and oversized hero sections for developer tools. Make the first viewport useful.
212
+ - Use system UI fonts for body text and monospace only for commands, labels, or terminal-specific elements.
213
+
214
+ ## CI/CD And Release Audit
215
+
216
+ Check whether the repository has:
217
+
218
+ - formatter check
219
+ - linter/static analysis
220
+ - tests
221
+ - build/package check
222
+ - security scan or OpenSSF Scorecard where appropriate
223
+ - release automation
224
+ - docs/site-only path filters when release runs on `main`
225
+
226
+ For Go projects, prefer:
227
+
228
+ ```yaml
229
+ - go test ./... -race
230
+ - go vet ./...
231
+ - gofmt check
232
+ - staticcheck ./...
233
+ - go build ./...
234
+ ```
235
+
236
+ For Node projects, prefer existing package manager scripts:
237
+
238
+ ```bash
239
+ npm ci
240
+ npm run lint
241
+ npm test
242
+ npm run build
243
+ ```
244
+
245
+ Release automation rules:
246
+
247
+ - Inspect existing release flow before changing it.
248
+ - Do not create releases for docs/site-only changes.
249
+ - Make Homebrew/package formulas update from real release artifacts and checksums.
250
+ - Use least-privilege secrets and document required secret names.
251
+ - If automation pushes tags, guard against rerun/version reuse.
252
+
253
+ ## Donations
254
+
255
+ Ask whether the user wants donations enabled.
256
+
257
+ If yes:
258
+
259
+ 1. Ask for provider and URL/handle if not inferable.
260
+ 2. Add `.github/FUNDING.yml` for GitHub-supported providers.
261
+ 3. Add a short README Support section or footer link.
262
+ 4. Add site footer/link only if the project has a site.
263
+ 5. Do not invent payment handles.
264
+
265
+ Provider hints:
266
+
267
+ ```yaml
268
+ github: username
269
+ ko_fi: handle
270
+ custom:
271
+ - https://example.com/support
272
+ ```
273
+
274
+ ## Validation
275
+
276
+ Run the checks that match the edits:
277
+
278
+ - SVG syntax: `xmllint --noout logo.svg social-card.svg`
279
+ - Render social image: `rsvg-convert -w 1200 -h 630 social-card.svg -o social-card.png`
280
+ - README links and badge URLs where practical: `curl -I`
281
+ - Site render: local static server plus browser/screenshot when available
282
+ - Repo tests/build/lint
283
+ - Workflow YAML parse, for example with Ruby: `ruby -e 'require "yaml"; YAML.load_file(".github/workflows/ci.yml")'`
284
+ - `git diff --check`
285
+
286
+ Before final response, state:
287
+
288
+ - files changed
289
+ - validation commands run
290
+ - release/donation caveats
291
+ - any secrets the user must configure
@@ -0,0 +1,3 @@
1
+ # Codex adapter
2
+
3
+ Use the canonical skill directly from `packages/software-development/open-source-publisher/SKILL.md`.
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "olko:open-source-publisher",
3
+ "version": "0.1.0",
4
+ "description": "Prepare an open-source repository for public publishing with a minimal icon, social preview image, GitHub Pages site, README standardization, CI/CD checks, release hygiene, and optional donation setup.",
5
+ "skills": "skills/"
6
+ }
@@ -0,0 +1,291 @@
1
+ <!-- Generated by scripts/build-adapters.sh. Do not edit directly. -->
2
+
3
+ ---
4
+ name: open-source-publisher
5
+ description: Prepare an open-source repository for polished public publishing. Use when a user asks to publish, open-source, launch, polish, package, brand, or make a GitHub project presentable with a minimal project icon, social preview image, GitHub Pages landing page, standardized README, essential shields, CI/CD quality gates, release automation checks, and optional donation setup.
6
+ license: MIT
7
+ compatibility: Codex, Claude Code, Cursor, and other Agent Skills compatible tools. Requires a writable git repository; browser or image rendering tools are useful for visual validation.
8
+ metadata:
9
+ author: Oleg Koval
10
+ tags:
11
+ - open-source
12
+ - github
13
+ - readme
14
+ - branding
15
+ - github-pages
16
+ - ci
17
+ - release
18
+ - social-image
19
+ ---
20
+
21
+ # open-source-publisher
22
+
23
+ Use this skill to turn a useful OSS repository into a clean public package: recognizable icon, shareable social image, GitHub Pages site, standardized README, CI/CD hygiene, release readiness, and optional donation links.
24
+
25
+ ## Workflow
26
+
27
+ 1. Inspect the repository before editing:
28
+ - package/tooling files: `go.mod`, `package.json`, `pyproject.toml`, `Cargo.toml`, `Makefile`, etc.
29
+ - current README, docs, website files, images, workflows, releases, license, funding files
30
+ - existing product purpose, author, install paths, examples, and public URLs
31
+ 2. Ask only the choices that cannot be inferred:
32
+ - GitHub Pages style: `oldschool linux`, `terminal`, `modern`, `brutalist`, `glassmorphism`, `y2k`, `hacker`, or a custom style.
33
+ - Donations: `none`, `GitHub Sponsors`, `Ko-fi`, `Buy Me a Coffee`, `Open Collective`, `Thanks.dev`, or custom URL.
34
+ - If the repo has no clear product essence, ask for a one-sentence positioning statement.
35
+ 3. Implement in this order:
36
+ - minimal icon
37
+ - social preview image
38
+ - README standard
39
+ - GitHub Pages landing page
40
+ - CI/CD and release audit/fixes
41
+ - donation wiring, if requested
42
+ 4. Validate locally and with browser/screenshots when possible.
43
+ 5. Commit/push only when the user asks or the current task explicitly requires it.
44
+
45
+ ## Minimal Icon
46
+
47
+ Create a simple, recognizable SVG logo from the repository's essence. Prefer `logo.svg`; add `logo.png` only when a platform requires raster output.
48
+
49
+ Icon rules:
50
+
51
+ - Use one clear metaphor from the project domain, not a collage.
52
+ - Keep the mark readable at 32px.
53
+ - Prefer 1-2 shapes and 1-2 accent colors.
54
+ - Use a simple rounded tile only when it improves favicon readability.
55
+ - Avoid terminal window chrome, decorative dots, random badges, and center glyph clutter unless the project itself is a terminal/window tool.
56
+ - Avoid generic AI tells: glass effects, bokeh/orbs, over-layered gradients, busy shadows, and unrelated emojis.
57
+
58
+ Good icon pattern for sync/migration tools:
59
+
60
+ ```svg
61
+ <svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512" role="img" aria-labelledby="title desc">
62
+ <title id="title">Project logo</title>
63
+ <desc id="desc">Clean sync icon made from two circular arrows.</desc>
64
+ <defs>
65
+ <linearGradient id="topArrow" x1="142" y1="118" x2="392" y2="250" gradientUnits="userSpaceOnUse">
66
+ <stop offset="0%" stop-color="#22c55e"/>
67
+ <stop offset="100%" stop-color="#38bdf8"/>
68
+ </linearGradient>
69
+ <linearGradient id="bottomArrow" x1="370" y1="394" x2="120" y2="262" gradientUnits="userSpaceOnUse">
70
+ <stop offset="0%" stop-color="#fb7185"/>
71
+ <stop offset="100%" stop-color="#f59e0b"/>
72
+ </linearGradient>
73
+ </defs>
74
+ <rect width="512" height="512" rx="112" fill="#0d1117"/>
75
+ <rect x="42" y="42" width="428" height="428" rx="96" fill="#111827" stroke="#1f2937" stroke-width="8"/>
76
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
77
+ <path d="M142 234c13-70 74-122 147-122 52 0 99 27 126 69" stroke="url(#topArrow)" stroke-width="42"/>
78
+ <path d="M389 118l35 67-75 4" stroke="url(#topArrow)" stroke-width="42"/>
79
+ <path d="M370 278c-13 70-74 122-147 122-52 0-99-27-126-69" stroke="url(#bottomArrow)" stroke-width="42"/>
80
+ <path d="M123 394l-35-67 75-4" stroke="url(#bottomArrow)" stroke-width="42"/>
81
+ </g>
82
+ </svg>
83
+ ```
84
+
85
+ Adapt the geometry and metaphor. Do not reuse the sync arrows for unrelated projects.
86
+
87
+ ## Social Image
88
+
89
+ Create a 1200x630 social preview image for GitHub, Twitter/X, Slack, and link unfurls.
90
+
91
+ Recommended files:
92
+
93
+ - `social-card.svg` as the editable source
94
+ - `social-card.png` rendered from the SVG when render tooling is available
95
+
96
+ Social image rules:
97
+
98
+ - Include project name, one clear value proposition, and 2-3 concrete capabilities.
99
+ - Keep the composition simple and calm. Large readable type beats dense feature lists.
100
+ - Use actual project language: commands, package name, supported platform, or primary workflow.
101
+ - Match the icon color system.
102
+ - Keep all text inside a safe margin of at least 64px.
103
+ - Use `og:image`, `twitter:image`, width/height meta tags, and meaningful alt text.
104
+
105
+ Render checks:
106
+
107
+ ```bash
108
+ rsvg-convert -w 1200 -h 630 social-card.svg -o social-card.png
109
+ file social-card.png
110
+ ```
111
+
112
+ Use `magick` or another renderer when `rsvg-convert` is unavailable.
113
+
114
+ ## README Standard
115
+
116
+ Shape the README like the house standard used for Go packages such as `slow-query-detector` and `dcli`.
117
+
118
+ Top block:
119
+
120
+ ```html
121
+ <p align="center">
122
+ <a href="..."><img src="..." alt="tests"></a>
123
+ <a href="..."><img src="..." alt="Go Report Card"></a>
124
+ <a href="..."><img src="..." alt="OpenSSF Scorecard"></a>
125
+ </p>
126
+
127
+ <p align="center">
128
+ <img src="./logo.svg" width="120" height="120" alt="project icon">
129
+ </p>
130
+
131
+ <h1 align="center">project-name</h1>
132
+
133
+ <p align="center">
134
+ Short product description<br>
135
+ <strong>One-line promise</strong>
136
+ </p>
137
+
138
+ ---
139
+ ```
140
+
141
+ Choose shields from the repo's tech:
142
+
143
+ - always: test workflow badge if a test workflow exists
144
+ - Go: Go Report Card, OpenSSF Scorecard
145
+ - Node/npm: npm version, npm downloads, test workflow, OpenSSF Scorecard
146
+ - Python: PyPI version, Python versions, test workflow, OpenSSF Scorecard
147
+ - coverage: only include if coverage service is configured
148
+ - release: only include if releases are automated and meaningful
149
+
150
+ Recommended README sections:
151
+
152
+ 1. Features
153
+ 2. Installation
154
+ 3. Quick Start
155
+ 4. Configuration
156
+ 5. Commands Reference or API Reference
157
+ 6. System Requirements
158
+ 7. Documentation
159
+ 8. Use Cases
160
+ 9. Architecture
161
+ 10. Project Status
162
+ 11. Security Notes
163
+ 12. Contributing
164
+ 13. License
165
+ 14. Author
166
+ 15. centered footer links
167
+
168
+ Rules:
169
+
170
+ - Keep badges centered and compact.
171
+ - Keep the icon centered below shields.
172
+ - Put a horizontal rule after the centered intro.
173
+ - Use current release/download URLs; prefer `/releases/latest/download/...` when stable asset names exist.
174
+ - Do not claim coverage, license, support, CI, or releases that are not actually present.
175
+ - Add or fix `LICENSE` before saying MIT/Apache/etc.
176
+
177
+ ## GitHub Pages
178
+
179
+ Create a simple essential GitHub Pages site when the project lacks one or the existing one is weak.
180
+
181
+ Ask the user to choose one style first:
182
+
183
+ - `oldschool linux`
184
+ - `terminal`
185
+ - `modern`
186
+ - `brutalist`
187
+ - `glassmorphism`
188
+ - `y2k`
189
+ - `hacker`
190
+ - custom style
191
+
192
+ Required page content:
193
+
194
+ - project name and icon
195
+ - one-sentence value proposition
196
+ - author link
197
+ - install/download instructions
198
+ - 2-4 short examples
199
+ - feature summary
200
+ - links to GitHub, README, releases, issues
201
+ - SEO meta description and keywords
202
+ - Open Graph and Twitter meta tags
203
+ - social image reference
204
+ - footer with license and optional donation/badge links
205
+
206
+ Implementation defaults:
207
+
208
+ - Use a static `index.html` unless the repo already has a site framework.
209
+ - Add `CNAME` only when the user gives a domain.
210
+ - Add `.github/workflows/pages.yml` when Pages uses GitHub Actions or no deploy path exists.
211
+ - Avoid marketing fluff and oversized hero sections for developer tools. Make the first viewport useful.
212
+ - Use system UI fonts for body text and monospace only for commands, labels, or terminal-specific elements.
213
+
214
+ ## CI/CD And Release Audit
215
+
216
+ Check whether the repository has:
217
+
218
+ - formatter check
219
+ - linter/static analysis
220
+ - tests
221
+ - build/package check
222
+ - security scan or OpenSSF Scorecard where appropriate
223
+ - release automation
224
+ - docs/site-only path filters when release runs on `main`
225
+
226
+ For Go projects, prefer:
227
+
228
+ ```yaml
229
+ - go test ./... -race
230
+ - go vet ./...
231
+ - gofmt check
232
+ - staticcheck ./...
233
+ - go build ./...
234
+ ```
235
+
236
+ For Node projects, prefer existing package manager scripts:
237
+
238
+ ```bash
239
+ npm ci
240
+ npm run lint
241
+ npm test
242
+ npm run build
243
+ ```
244
+
245
+ Release automation rules:
246
+
247
+ - Inspect existing release flow before changing it.
248
+ - Do not create releases for docs/site-only changes.
249
+ - Make Homebrew/package formulas update from real release artifacts and checksums.
250
+ - Use least-privilege secrets and document required secret names.
251
+ - If automation pushes tags, guard against rerun/version reuse.
252
+
253
+ ## Donations
254
+
255
+ Ask whether the user wants donations enabled.
256
+
257
+ If yes:
258
+
259
+ 1. Ask for provider and URL/handle if not inferable.
260
+ 2. Add `.github/FUNDING.yml` for GitHub-supported providers.
261
+ 3. Add a short README Support section or footer link.
262
+ 4. Add site footer/link only if the project has a site.
263
+ 5. Do not invent payment handles.
264
+
265
+ Provider hints:
266
+
267
+ ```yaml
268
+ github: username
269
+ ko_fi: handle
270
+ custom:
271
+ - https://example.com/support
272
+ ```
273
+
274
+ ## Validation
275
+
276
+ Run the checks that match the edits:
277
+
278
+ - SVG syntax: `xmllint --noout logo.svg social-card.svg`
279
+ - Render social image: `rsvg-convert -w 1200 -h 630 social-card.svg -o social-card.png`
280
+ - README links and badge URLs where practical: `curl -I`
281
+ - Site render: local static server plus browser/screenshot when available
282
+ - Repo tests/build/lint
283
+ - Workflow YAML parse, for example with Ruby: `ruby -e 'require "yaml"; YAML.load_file(".github/workflows/ci.yml")'`
284
+ - `git diff --check`
285
+
286
+ Before final response, state:
287
+
288
+ - files changed
289
+ - validation commands run
290
+ - release/donation caveats
291
+ - any secrets the user must configure
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Open Source Publisher"
3
+ short_description: "Prepare an OSS repository for polished public publishing."
4
+ default_prompt: "Use open-source-publisher to prepare this repository for public release with a minimal icon, social image, GitHub Pages site, README standardization, CI/CD checks, and optional donation setup."
@@ -17,6 +17,17 @@ const promptNameFor = (pkg) => `${pkg.name}.prompt.md`
17
17
  const generatedHeader = '<!-- Generated by scripts/build-adapters.sh. Do not edit directly. -->'
18
18
  const stripFrontmatter = (content) => content.replace(/^---\n[\s\S]*?\n---\n?/, '')
19
19
  const stripTrailingLineWhitespace = (content) => content.replace(/[ \t]+$/gm, '')
20
+ const copySkillResources = (pkg, destDir) => {
21
+ for (const resourceDir of ['scripts']) {
22
+ const source = path.join(root, pkg.path, resourceDir)
23
+ const dest = path.join(destDir, resourceDir)
24
+ if (!fs.existsSync(source)) {
25
+ continue
26
+ }
27
+ fs.rmSync(dest, { recursive: true, force: true })
28
+ fs.cpSync(source, dest, { recursive: true })
29
+ }
30
+ }
20
31
 
21
32
  const claudeSkillPaths = catalog.packages
22
33
  .filter((pkg) => pkg.adapters.includes('claude'))
@@ -147,6 +158,7 @@ for (const pkg of catalog.packages) {
147
158
  ) + '\n',
148
159
  )
149
160
  fs.writeFileSync(path.join(claudeDestDir, 'SKILL.md'), [generatedHeader, '', canonical, ''].join('\n'))
161
+ copySkillResources(pkg, claudeDestDir)
150
162
  }
151
163
 
152
164
  if (!pkg.adapters.includes('cursor')) {
@@ -157,6 +169,7 @@ for (const pkg of catalog.packages) {
157
169
  const destPath = path.join(destDir, 'SKILL.md')
158
170
  fs.mkdirSync(destDir, { recursive: true })
159
171
  fs.writeFileSync(destPath, [generatedHeader, '', canonical, ''].join('\n'))
172
+ copySkillResources(pkg, destDir)
160
173
  }
161
174
 
162
175
  console.log('generated marketplace manifests, Copilot prompts, and Cursor adapter SKILL.md files')