Skip to content
Back to skills

Github

ASecurity

Operate GitHub via gh (issues, PRs, repos, Actions logs), bootstrap repos, pick LICENSE, and configure CI/CD & Dependabot.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentspythongitapici/cdsecuritydocumentation

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned December 2, 2026

npx -y skills add fmind/dot --skill github --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github?

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

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

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
description: "Operate GitHub via gh (issues, PRs, repos, Actions logs), bootstrap repos, pick LICENSE, and configure CI/CD & Dependabot."
license: MIT
metadata:
  kind: collection
  author: Médéric HURIER (Fmind)
  source: github.com/fmind/dot/tree/main/skills/github
  created: "2026-11-21"
  updated: "2026-12-01"
---

# GitHub & Actions

Use `gh` for authenticated GitHub reads and writes, bootstrap repositories, select licenses, and configure pinned GitHub Actions CI/CD, Dependabot, and `jactionlint`. [git-delivery](../git-delivery/SKILL.md) owns local commits, branches, pushes, Lefthook hooks, and releases.

## Workflow (`gh` CLI)

1. **Resolve host and repository**: confirm from `gh repo view --json nameWithOwner` (never print raw remote URLs); pass `-R <owner>/<repo>` (`--hostname <host>` on `gh api`) explicitly.
1. **Verify auth**: run `gh auth status --active --hostname <host>` (`gh auth status --json` can exit 0 on failed auth); never print tokens or pass `--show-token`. Account switches and extra scopes follow [dot-cli authentication](../dot-cli/references/authentication.md).
1. **Use bounded native reads**: pass `--limit` and `--json` fields; read remote files via `gh repo read-file <path> -R <owner>/<repo> --ref <sha>` or `gh repo read-dir -R <owner>/<repo>` (omit path for root) instead of cloning; inspect failed Actions logs via `gh run view <run-id> -R <owner>/<repo> --job <job-id> --log-failed`.
1. **Write humanized text from files, scan, then read back**: shape external copy with [humanize](../humanize/SKILL.md), scan payloads with `betterleaks stdin --redact`, pass `--body-file` or `gh api --input <file>`, and re-read modified fields before retrying.

## Task guides

<!-- guides:start -->

- [bootstrap](references/bootstrap.md): Create a new repository: location, visibility, stack composition, shared layer, checks, and first push.
- [ci-cd](references/ci-cd/GUIDE.md): Wire Python CI, scheduled security scans, and OIDC PyPI/OCI/Pages CD.
- [dependabot](references/dependabot.md): Configure security-only Dependabot alerts and grouped fix PRs.
- [issues](references/issues/GUIDE.md): Plan, draft, deduplicate, update, link, and close GitHub issues.
- [jactionlint](references/jactionlint.md): Lint and audit GitHub Actions workflows and Dependabot with jactionlint.
- [project-license](references/project-license/GUIDE.md): Choose, write, and declare a repository LICENSE (MIT, CC-BY-4.0, or proprietary) by namespace and content.
- [pull-request](references/pull-request.md): Open, update, verify, comment on, and merge GitHub pull requests.
- [repository](references/repository/GUIDE.md): Set GitHub repo description, homepage, topics, merge policy, and security settings.

<!-- guides:end -->

## Official Skills

Upstream `cli/cli` ships `gh` (avoid installing alongside this skill to prevent overlapping GitHub triggers per [vendor-skill policy](../agent-harnesses/references/vendor-skills.md#name-collisions)) and `gh-skill`.

## Documentation

- [GitHub CLI manual](https://cli.github.com/manual/) · [GitHub Actions](https://docs.github.com/en/actions) · [Dependabot](https://docs.github.com/en/code-security/dependabot)
- Companions: [git-delivery](../git-delivery/SKILL.md), [mise](../mise/SKILL.md), [code-security](../code-security/SKILL.md).

Files in this skill

  • SKILL.md3.2 KB
  • references/bootstrap.md5.6 KB
  • references/ci-cd/GUIDE.md4.4 KB
  • references/ci-cd/references/cd.md3.4 KB
  • references/ci-cd/templates/cd.yml10.6 KB
  • references/ci-cd/templates/ci.yml1.2 KB
  • references/ci-cd/templates/image-platforms.py3.2 KB
  • references/ci-cd/templates/security.yml1.6 KB
  • references/dependabot.md4.5 KB
  • references/issues/GUIDE.md2.7 KB
  • references/issues/references/backlog.md2.1 KB
  • references/jactionlint.md3.7 KB
  • references/project-license/GUIDE.md2 KB
  • references/project-license/templates/MIT1 KB
  • references/project-license/templates/PROPRIETARY229 B
  • references/pull-request.md4.1 KB
  • references/repository/GUIDE.md1.8 KB
  • references/repository/references/settings-baseline.md4.3 KB
  • references/repository/scripts/settings_baseline.py18.7 KB
  • templates/SECURITY.md979 B

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.