Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Open Source?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/veqzo-open-source)
---
name: open-source
description: Prepare a repo for public launch: write or update the README, check history for secrets, offer missing community files, and set the About box.
disable-model-invocation: true
---
Prepare the current repository for public launch while leaving its visibility unchanged. Write simple, scannable English backed strictly by code facts.
Read [`README-TEMPLATE.md`](README-TEMPLATE.md) before drafting the README.
## 1. Collect facts with `explorer`
Delegate fact gathering to a read-only Paseo `explorer` agent (`list_profiles` -> copy `explorer` fields into `create_agent` with `cwd` in the repo root, then wait for its finish notification). If Paseo MCP tools are unavailable, gather the same facts directly with read-only tools.
Ask the `explorer` to return `file:line` references for:
1. **README change metrics:** whether `README.md` exists, its last commit SHA (`git log -n 1 --format=%H -- README.md`), any release tags reachable from `HEAD` after that commit, and the ratio of tracked files changed since that commit (`git diff --name-only <sha>..HEAD` vs `git ls-files`).
2. **Logos and brand color:** image candidates in `logo*`, `assets/`, `docs/`, `.github/`, and `branding/` (note SVG vs raster); any brand hex color in stylesheets, Tailwind config, theme tokens, or SVGs.
3. **Project facts:** name, purpose, version/latest release, license, real platforms/OS targets, Dockerfiles/Compose files and published image names, 3–7 implemented features, shortest real install steps, and usage commands.
4. **Configuration:** every environment variable read in code (name, required/optional, default, description) and whether `.env.example` exists and matches.
5. **Architecture:** components and data flow (plus whether the project is tiny enough to skip "How it works").
6. **Launch readiness:** existing `LICENSE`, `CONTRIBUTING.md`, `SECURITY.md`, and current GitHub metadata (`gh repo view --json description,repositoryTopics,homepageUrl,visibility`).
## 2. Decide rewrite vs update and ask interactive choices
1. **Choose the README path:**
- **Full rewrite** (or new write) when `README.md` is missing, a release tag landed after the last README commit, or about 30 % or more of tracked files changed since that commit.
- **In-place update** to match `README-TEMPLATE.md` otherwise, keeping accurate existing prose.
- State the chosen path and the concrete reason (tag name or changed-file percentage) so the user can override it.
2. **Resolve open choices with the user in one message:**
- If more than one logo candidate exists, ask which one to use (preferring SVG). If none exists, omit the logo and add no banner.
- Ask whether the README should include demo media (screenshot, GIF, or video).
Wait for the user's answers. If they say yes to demo media, wait until the media file is in place before any commit or push (never insert a placeholder).
## 3. Write `README.md`
Follow [`README-TEMPLATE.md`](README-TEMPLATE.md) using only facts verified by the `explorer`:
- Keep branding to the existing logo, user-supplied media, and the repo's brand color on flat shields.io badges (`?style=flat`). Skip star, stack, and vanity badges, and omit platform or Docker badges unless backed by real builds.
- Drop skipped sections (`Configuration` when there are no env vars; `How it works` for tiny projects) from both the body and the nav line.
- List every environment variable read in code in the Configuration table and link `.env.example`.
- If the project ships Docker, give a minimal `docker-compose` snippet without reverse proxy labels.
- Use one leading emoji on each Features bullet and zero emojis anywhere else. Keep roadmap, contributing, star history, and table of contents out of the README.
## 4. Scan full git history for secrets
Run a report-only secret scan across the entire git history (never rewrite history, and never print secret values):
- When `gitleaks` is on `PATH`:
```sh
gitleaks git --log-opts="--all" --redact --no-banner
```
- When `gitleaks` is missing, print the install command for the user's OS (`winget install gitleaks.gitleaks` on Windows, `brew install gitleaks` on macOS, or the release binary on Linux) and run the fallback CLI wrapper:
```sh
node "$HOME/.claude/scripts/lib/secret-scan-log.js" --repo .
```
Report every finding by commit, file, line, and rule name. If findings exist, stop before any commit or push so the user can rotate or clean them up.
## 5. Offer missing community files
Check which of `LICENSE` (MIT by default), `CONTRIBUTING.md`, `SECURITY.md`, and `.env.example` (when env vars exist) are missing. Ask the user which ones to create before writing any file.
## 6. Set the About box
Propose the GitHub **description**, **topics**, and **homepage** URL in one summary. After the user approves once, apply them with `gh repo edit`:
```sh
gh repo edit --description "<description>" --add-topic "<t1>" --homepage "<url>"
```
Use `--remove-topic` only for stale topics the user agreed to drop. Never pass `--visibility` or alter repo visibility.
Done when `README.md` matches the template, the history secret check has reported its result, any approved community files are written, and the About box is updated or explicitly skipped by the user.