Skip to content
Back to skills

Github Safe Publisher

ASecurity

Prepare private work for safe public GitHub publishing. Review proposed files, screenshots and their exact final placements before sharing a repository, case study or release. Check for exposed or recoverable private content alongside the text scan and manual diff.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 15, 2026
ai-agentspythonbashgitapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 20, 2026

npx -y skills add jqaisystems/jqai-ai-skills --skill github-safe-publisher --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Safe Publisher?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Safe Publisher
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jqaisystems-github-safe-publisher/badge)](https://www.skillsdirectory.com/skills/jqaisystems-github-safe-publisher)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: github-safe-publisher
description: Prepare private work for safe public GitHub publishing. Review proposed files, screenshots and their exact final placements before sharing a repository, case study or release. Check for exposed or recoverable private content alongside the text scan and manual diff.
---

# GitHub Safe Publisher

## Overview

Use this skill to turn private project material into public-safe GitHub artifacts such as case studies, skill releases, README updates, demo notes, and example prompts. The skill produces a safety verdict and concrete next steps; it must not auto-commit, auto-push, publish, upload, send, or share anything without explicit human review.

## Workflow

1. Identify the intended public artifact: skill, case study, README section, demo screenshot note, example prompt, template, or changelog.
2. Read `references/public-safety-boundaries.md` before deciding what can be reused, generalized, or removed.
3. Work from a copy or rewritten summary, not the private original. Prefer a sanitized draft folder before touching a public repo.
4. Remove or replace sensitive details: credentials, account data, client material, raw prompts, logs, databases, exports, local paths, private source, and screenshots with private UI.
5. Run the scanner on the proposed public folder:

```bash
python scripts/scan_public_safety.py path/to/public-candidate --no-baseline
```

6. Follow the [screenshot review](references/screenshot-review.md) for every image placement. Inspect the exact final artifact and underlying assets. A skipped image, changed placement or incomplete inspection prevents readiness; a recoverable exposure blocks release.
7. Read `references/release-workflow.md` before staging changes.
8. Require manual review of `git status --short`, the unstaged diff, and the staged diff before any commit or push.

## Verdicts

Return one of these verdicts in every review:

- `BLOCK`: Real secrets, credentials, raw private data, client-identifying material, local machine paths, databases, exports, logs, or unintended source files are present.
- `REVIEW`: The artifact is probably publishable after specific human checks or rewrites.
- `READY`: The artifact uses public-safe examples, passes the scanner, has a clean manual diff review, and all screenshot placements are accounted for and cleared on the exact final artifact (or none are present). This is not publication approval.

If blocked, explain the minimum fix. Do not rewrite blocked material into a public repo until the sensitive source is removed or generalized.

## Sanitization Rules

- Replace real people, businesses, accounts, emails, phone numbers, domains, addresses, and project codenames with neutral examples.
- Replace credentials with placeholders such as `YOUR_API_KEY_HERE`.
- Convert raw private notes into public explanations; do not copy memory files, chat logs, prompts, or operational strategy verbatim.
- Publish patterns, workflows, and lessons. Keep implementation source, deployment details, private data, and system-of-record content private unless the user explicitly confirms they are public-safe.
- For screenshots, prefer recreating them with fictional data. A crop is not a redaction if the original ships or the hidden portion can be recovered. Inspect the final render and downloadable assets.

## Scanner

Use `scripts/scan_public_safety.py` for a deterministic first pass. Treat it as a guardrail, not proof of safety.

Recommended commands:

```bash
python scripts/scan_public_safety.py path/to/candidate
python scripts/scan_public_safety.py path/to/candidate --no-baseline --json
python scripts/scan_public_safety.py path/to/candidate --no-baseline
```

The scanner checks risky filenames, file extensions, binary-like artifacts, local path patterns, credential terms, token formats, private-key blocks, and private/client wording. Folder scans use `.public-safety-baseline.json` when present to suppress known review findings; use `--no-baseline` to see the raw scan. A clean scan still requires human diff review.

## Git Safety

Scanner reports withhold matched text and absolute input locations. Relative filenames may still identify private work, so keep reports private. Linked inputs are refused; unreadable content and incomplete enumeration prevent readiness. Excluded build/dependency folders and binary content are not a complete content audit.

The baseline file itself is scanned. Existing review fingerprints remain compatible for unchanged content, but blocking findings are never suppressed. Inspect matches privately at their locations rather than copying sensitive lines into chat or logs. Review the exact proposed release file list separately.

- Never run broad staging commands such as `git add .` unless the user has already reviewed the whole repo state.
- Prefer staging named files only after inspecting them.
- Always inspect:

```bash
git status --short
git diff -- path/to/file
git diff --cached
```

- Do not commit or push unless the user explicitly asks for that action after the safety review is clean.

## Output Format

When preparing or reviewing a public candidate, respond with:

1. Verdict: `BLOCK`, `REVIEW`, or `READY`.
2. Public artifact type and target repo/folder.
3. Files inspected or created.
4. Scanner result summary.
5. Remaining manual checks.
6. Exact next commands, if any, without auto-running publish actions.

Files in this skill

  • SKILL.md5 KB
  • agents/openai.yaml219 B
  • references/public-safety-boundaries.md2.6 KB
  • references/release-workflow.md3.3 KB
  • scripts/scan_public_safety.py12.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.