Skip to content
Skills Library
Security · Review & audit

open-source-ready

/open-source-ready

Check a repository is safe and ready to make public, then add what an open-source project needs - scan for leaked secrets, private data and internal references (including git history), and add README, LICENSE, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, issue and PR templates, CI and a GitHub Sponsors FUNDING.yml. Use when the user says "open source this", "make this repo public", "is it safe to publish", "prepare for open source", "check for secrets before I push", "add a license", "set up contributions", or "add a sponsor button". Reports findings first and never flips a repo public without exp

Licence
MIT
Last repository change
04.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 04.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Check a repository is safe and ready to make public, then add what an open-source project needs - scan for leaked secrets, private data and internal references (including git history), and add README, LICENSE, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, issue and PR templates, CI and a GitHub Sponsors FUNDING.yml. Use when the user says "open source this", "make this repo public", "is it safe to publish", "prepare for open source", "check for secrets before I push", "add a license", "set up contributions", or "add a sponsor button". Reports findings first and never flips a repo public without exp

Triggers from the description

open source thismake this repo publicis it safe to publishprepare for open sourcecheck for secrets before I pushadd a licenseset up contributionsadd a sponsor button
Original author description

Check a repository is safe and ready to make public, then add what an open-source project needs - scan for leaked secrets, private data and internal references (including git history), and add README, LICENSE, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, issue and PR templates, CI and a GitHub Sponsors FUNDING.yml. Use when the user says "open source this", "make this repo public", "is it safe to publish", "prepare for open source", "check for secrets before I push", "add a license", "set up contributions", or "add a sponsor button". Reports findings first and never flips a repo public without exp

How it works

  1. Phase 1: Safety scan (report, don't fix yet)
  2. Phase 2: Fix
  3. Phase 3: Make it contributable
  4. Phase 4: Publish (only with explicit approval)
  5. GitHub Sponsors
Original SKILL.md headings · 97 lines, 760 words
SKILL.md preview
---
name: open-source-ready
description: Check a repository is safe and ready to make public, then add what an open-source project needs - scan for leaked secrets, private data and internal references (including git history), and add README, LICENSE, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, issue and PR templates, CI and a GitHub Sponsors FUNDING.yml. Use when the user says "open source this", "make this repo public", "is it safe to publish", "prepare for open source", "check for secrets before I push", "add a license", "set up contributions", or "add a sponsor button". Reports findings first and never flips a repo public without explicit approval.
license: MIT
---

# Open Source Ready

Gets a repo from "works on my machine" to "safe to make public and easy to
contribute to". The failure that matters most is irreversible: once a secret,
customer record or employer's internal detail is public, it's been cloned and
indexed. Deleting it later doesn't undo that. So the check comes first, and
nothing goes public without the user's explicit yes.

## Phase 1: Safety scan (report, don't fix yet)

Scan the **working tree and the full git history**. A secret deleted in a later
commit is still public in history.

### Secrets
- If installed, run a scanner: `gitleaks detect --source . -v` (includes
  history) or `trufflehog git file://. --only-verified`. Otherwise grep:
  ```bash
  git grep -nIE '(api[_-]?key|secret|token|passw(or)?d|bearer|private[_-]?key|client[_-]?secret)\s*[:=]' $(git rev-list --all) -- . ':!*.lock' | head -50
  git grep -nIE '(sk-[A-Za-z0-9]{20,}|sk_live_|rk_live_|AKIA[0-9A-Z]{16}|ghp_[A-Za-z0-9]{36}|xox[baprs]-|AIza[0-9A-Za-z_-]{35}|-----BEGIN [A-Z ]*PRIVATE KEY)' $(git rev-list --all) | head -50
  ```
- Committed env and credential files, ever:
  `git log --all --diff-filter=A --name-only --format= | grep -iE '(^|/)\.env|credentials|service-account|\.pem$|\.p12$|id_rsa|google-services\.json' | sort -u`

### Private and internal information
- Personal data: emails, phone numbers, addresses, customer names in code,
  fixtures, seeds, test data, screenshots, logs.
- Internal references: company/client names, internal hostnames and IPs,
  internal URLs, dashboard or workflow IDs, Slack channels, ticket links.
- Employer or client ownership: if the code was written for an employer or
  client, **the user may not own it**. Flag this and ask; don't proceed past
  phase 1 until they confirm they have the right to publish.
- Large binaries, database dumps, `.DS_Store`, build output, `node_modules`.

### Report
Show a table: **finding, file:line or commit, severity (must fix / should fix
/ check), suggested fix**. Then stop for the user's go-ahead.

## Phase 2: Fix

- **Leaked secret:** tell the user to **rotate it first** (revoke and reissue
  at the provider). Removing it from git doesn't make it safe; assume it's
  compromised. Then remove it from the tree and move it to env vars, and add
  the file pattern to `.gitignore`.
- **Secrets or private data in history:** the simplest safe path for a repo
  going public for the first time is a **fresh history**: create a new repo
  from the cleaned current tree (`git checkout --orphan public && git add -A
  && git commit`). Otherwise use `git filter-repo` - and explain it rewrites
  history and needs a force push. Get explicit approval before either.
- **Internal references:** generalise (fictional names like Acme, example.com,
  `0400 000 000`) rather than delete, so examples still teach.
- Add a `.env.example` with variable names and no values.

## Phase 3: Make it contributable

Add only what's missing; keep what exists. Match the project's tone.

| File | Contents |
|---|---|
| `README.md` | What it is (one line), why, screenshot/GIF, install, quick start, usage, configuration, contributing link, license, sponsor link |
| `LICENSE` | MIT by default (permissive, most common). Apache-2.0 if patent protection matters, GPL-3.0 if the user wants derivatives to stay open. Ask if unsure. Copyright line = year + the user's name |
| `CONTRIBUTING.md` | Dev setup, how to run tests, branch/commit conventions, PR process |
| `CODE_OF_CONDUCT.md` | Contributor Covenant 2.1 (link + summary), and a private contact method |
| `SECURITY.md` | How to report vulnerabilities privately (GitHub private reporting), expected response time |
| `.github/ISSUE_TEMPLATE/` | Bug report + feature request forms (`.yml`), `config.yml` linking Discussions |
| `.github/PULL_REQUEST_TEMPLATE.md` | Summary, testing, checklist |
| `.github/workflows/ci.yml` | Lint + test on pull requests, using the project's real commands |
| `.github/FUNDING.yml` | `github: <username>` (plus `ko_fi:`, `buy_me_a_coffee:`, `custom:` if they use those) |
| `.gitignore` | For the stack, plus `.env*` (except `.env.example`) |

Don't put the user's personal email in public files unless they ask; use
GitHub's private reporting and profile links instead.

## Phase 4: Publish (only with explicit approval)

Making a repo public is hard to undo. Confirm the repo name, owner and
visibility, then:

```bash
gh repo create <owner>/<name> --public --source . --push --description "<one line>"
gh repo edit <owner>/<name> --enable-discussions --add-topic <topic1> --add-topic <topic2>
gh api -X PUT repos/<owner>/<name>/private-vulnerability-reporting
```

Then suggest: a `v0.1.0`/`v1.0.0` release, 3-5 `good first issue` issues so
contributors have somewhere to start, branch protection on `main`, and
enabling Dependabot alerts.

## GitHub Sponsors

The user has to sign up themselves (identity, tax and bank details):
1. github.com/sponsors → **Get started** → join as an individual.
2. Profile, tiers (e.g. $5 supporter, $25 logo in README, $100 priority
   requests), connect Stripe/bank, submit for review.
3. `FUNDING.yml` makes the ♥ Sponsor button show on the repo once the
   profile is approved.

Versions

RepositoryScoreLicence
This page · CharlieJamesGwapo/claude-work-skills100MIT
thetaplex/thetaskills100Apache-2.0

Database snapshot: 13.11.2026 · package version 3f6593cda455 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100oss-ready
    Prepare a private or internal repository to be published as open source — scans code and full git history for secrets, internal hostnames, emails and company references; adds LICENSE, README, CONTRIBUTING, SECURITY and CODE_OF_CONDUCT; checks dependency licenses; and produces a…
  • 100oss-prep
    Check a repository before it goes open source and fill in what is missing - license, README, SECURITY.md, CONTRIBUTING, issue and PR templates, package and Agent Skill metadata, CI and workflow safety, secrets and personal details in files and in the whole git history, and…
  • 100open-source-prep
    Prepare a private codebase to be safely open-sourced: scan the working tree AND full git history for leaked secrets/PII, untrack sensitive files and fix .gitignore, choose and write a LICENSE, and generate the standard repo artifacts (README, CONTRIBUTING, CODE_OF_CONDUCT,…
  • 100repo-bootstrap
    Scaffold a new open-source repository or bring an existing one up to community standard. Use when starting a project from scratch, open-sourcing internal code, or when a repo is missing baseline files (LICENSE, README, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, issue templates,…
  • 100pre-publish-check
    The last check before flipping a repo from private to public or open-sourcing a project — secrets, history, personal data, licenses, files that should not ship. Use right before publishing, or when the user says "I'm about to make this public".
  • 100pb-open-source
    Prepare a project for open sourcing: a sanitized fork with secrets and internal references stripped, a sanitizer verdict, README and LICENSE, then a new PRIVATE GitHub repo created and pushed only after GO. The playbook never makes the repo public. Use for "open source this…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.