Back to skills
SKILL.md
Github
ASecurityOperate 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
Works with
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add fmind/dot --skill github --agent claude-codeAre you the author of Github?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/fmind-github)---
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.md
- references/bootstrap.md
- references/ci-cd/GUIDE.md
- references/ci-cd/references/cd.md
- references/ci-cd/templates/cd.yml
- references/ci-cd/templates/ci.yml
- references/ci-cd/templates/image-platforms.py
- references/ci-cd/templates/security.yml
- references/dependabot.md
- references/issues/GUIDE.md
- references/issues/references/backlog.md
- references/jactionlint.md
- references/project-license/GUIDE.md
- references/project-license/templates/MIT
- references/project-license/templates/PROPRIETARY
- references/pull-request.md
- references/repository/GUIDE.md
- references/repository/references/settings-baseline.md
- references/repository/scripts/settings_baseline.py
- templates/SECURITY.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.