Skip to content
Back to skills

Publish

ASecurity

Publish the repository to GitHub or update its GitHub setup — topics, license, Pages, Dependabot, CI, .gitignore, README scaffold. Use only when the user explicitly asks. Triggers: "publish", "/publish", "publish repo", "опубликуй репо"

  • 11 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
developmentgitapi

Works with

  • api

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add DefaultPerson/agent-setup --skill publish --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Publish?

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

Security grade badge for Publish
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/defaultperson-publish/badge)](https://www.skillsdirectory.com/skills/defaultperson-publish)

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: publish
description: >
  Publish the repository to GitHub or update its GitHub setup — topics, license, Pages,
  Dependabot, CI, .gitignore, README scaffold. Use only when the user explicitly asks.
  Triggers: "publish", "/publish", "publish repo", "опубликуй репо"
---

Create the GitHub repository for this directory, or bring an existing one up to date, with `gh`. Start from `git remote get-url origin` and `gh repo view`.

Before changing anything, ask up front, showing current values for an existing repository: owner (personal account or one of `gh api user/orgs`), visibility, description (suggest one from the README), license, GitHub Pages (MkDocs Material), Dependabot, CI workflow, `.gitignore`, README scaffold.

Then apply only what was chosen:
- Take the repository name from the directory and topics from the detected stack and the README.
- Match CI, Dependabot ecosystems and `.gitignore` templates (`gh api gitignore/templates/<Name>`) to the stack actually in the repository. Scan untracked files for anything that should be ignored and confirm before adding it.
- Never overwrite a non-empty README; merge into an existing `.gitignore` only after asking.
- Commit and push what you generate.

Finish with the repository URL and a list of what changed.

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.

Comments

Loading comments…

Newsletter

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