Skip to content

Latest commit

 

History

History
95 lines (75 loc) · 8.08 KB

README.md

File metadata and controls

95 lines (75 loc) · 8.08 KB

github-ninja

version skills skills.sh check tests license

GitHub know-how for coding agents, packaged once and installable in several agent harnesses. Today it is a bundle of Agent Skills; commands and other components may follow.

Skills

Skill What it helps with Source
gh Driving the GitHub CLI from an agent: JSON output, pagination, repo targeting, search vs list, gh api for REST and GraphQL cli/cli
github-actions-hardening Workflow security: ${{ }} script injection, pull_request_target / workflow_run, SHA pinning, least-privilege tokens, OIDC github/awesome-copilot
github-actions-efficiency Cutting CI minutes and cost: caching, concurrency, path filters, matrix trimming github/awesome-copilot
github-actions-runtime-upgrade-conventions Moving actions to supported runtimes (e.g. off Node 20) without changing behaviour github/awesome-copilot
dependabot dependabot.yml, grouped and security updates, monorepos, auto-triage github/awesome-copilot
secret-scanning Secret scanning, push protection, custom patterns, alert remediation github/awesome-copilot
github-codespaces-efficiency Faster, cheaper Codespaces: slim dev containers, machine size, prebuild scope, idle timeout, measured before and after github/awesome-copilot
codeql CodeQL code scanning through Actions and the CodeQL CLI github/awesome-copilot
github-issues Creating and managing issues: labels, milestones, issue types and fields, sub-issues and dependencies (GitHub MCP tools or gh api) github/awesome-copilot
diagnose-ci-gate "Is this red check mine?": read the real log and first error, classify bug / flaky / environment / pipeline, recommend one action github/awesome-copilot
git-commit Staging and committing (or splitting) changes with Conventional Commits messages, following the repo's own rules; no --no-verify, amend or push github/awesome-copilot
conventional-branch Branch names per the Conventional Branch spec (feature/, bugfix/, agent prefixes such as claude/) github/awesome-copilot
rebase-current-branch Safely rebasing the current branch onto the default branch (no auto-stash, no reset, no push) github/awesome-copilot
npm-trusted-publishing npm trusted publishing (OIDC) from Actions instead of NPM_TOKEN github/awesome-copilot
repo-security-posture Auditing a repo's security settings and hardening gaps (branch protection, CODEOWNERS, Actions, release integrity, collaborator access, security features), as ranked fixes tied to attack scenarios; its collector script only reads (GitHub API GETs) superagent-ai/skills
github-pages Publishing with GitHub Pages: branch vs Actions source, the pinned deploy workflow, enabling Pages with gh api, custom domains, DNS and HTTPS, 404 and base-path troubleshooting this repo
github-apps GitHub Apps: when to use one instead of a PAT or GITHUB_TOKEN, creating one, installation tokens in Actions and code (JWT), webhook signature checks, private key rotation this repo
pull-request-authoring Taking a branch to merged: opening and describing the PR, reviewers, keeping it current, merging once checks and reviews pass (GitHub MCP tools) github/github-mcp-server
pull-request-code-review Reviewing someone else's PR: reading the diff in context, a batched pending review with line comments, choosing the verdict (GitHub MCP tools) github/github-mcp-server
pull-request-review-feedback Working through review threads on your PR: decide, reply, resolve only what is settled (GitHub MCP tools) github/github-mcp-server
repo-badges README badges: GitHub status badges, shields.io static badges and logos (Simple Icons, svgl fallback), and badges rendered in CI with a pinned renderer onto an orphan badges branch, with no badge service this repo
github-markdown GitHub-only Markdown: when to use it vs plain Markdown, alerts, footnotes, heading anchors, where #123 and SHAs autolink, mentions, closing keywords, stripped HTML, <details>, <picture>, Mermaid and math this repo
github-mcp-config Adding GitHub's official MCP server when a skill needs its tools and none is configured: check for an existing one, remote (PAT, or OAuth on Copilot hosts) vs local (OAuth without a token), per-harness token syntax, toolsets and read-only this repo
security-advisories Handling vulnerabilities on GitHub: private vulnerability reporting, SECURITY.md, editing the reported draft advisory, temporary private fork, CVE request, credits, publishing, when Dependabot alerts, reporting upstream this repo
gh-attach Uploading screenshots and files to PRs, issues and comments, and downloading attachments, with the gh attach extension sudosubin/gh-attach
workflows-actions-reuse Sharing CI between repos: when a copied workflow should become a reusable workflow, when steps deserve an action (and when a script is enough), the rules a called workflow runs under, how it reaches its own scripts, refs, safety and testing of a shared CI repo this repo

Most skills are copied from their upstream repositories (all MIT; see NOTICE), each pinned to an upstream commit in its metadata.upstream. Each copied skill folder keeps its upstream licence as LICENSE.txt. A daily workflow opens (or updates) a single PR when upstream changes any of them, much like Dependabot; tools a skill installs are pinned to a release (skill-pins.json) and bumped in a separate PR.

gh-attach note: the skill installs the gh attach extension (pinned). For non-image files, GHES, and as a fallback, that tool reads your browser's GitHub user_session cookie (or GH_ATTACH_SESSION_TOKEN), which is a full account credential. Leave the skill unused, or uninstall the extension, if you don't want that.

Install

Claude Code

/plugin marketplace add rjstone/plugin-marketplace
/plugin install github-ninja@rjstone

Or straight from this repository: /plugin marketplace add rjstone/github-ninja-plugin, then /plugin install github-ninja@github-ninja.

Cursor

For a local install, clone this repository into ~/.cursor/plugins/local/github-ninja and reload the window. Cursor loads .cursor-plugin/plugin.json and finds the skills in skills/ by default. To submit the plugin for review, use the Cursor Marketplace publish form; it is not listed on the marketplace yet.

skills.sh (Claude Code, Codex, Cursor, opencode and other agents)

npx skills add rjstone/github-ninja-plugin

opencode (HTTP skill catalog): add this URL to skills in opencode.json(c):

{ "skills": ["https://raw.githubusercontent.com/rjstone/github-ninja-plugin/main/skills/"] }

opencode reads skills/index.json there and re-downloads a skill when its version changes.

Codex: use skills.sh for now. A native Codex manifest will be added if Codex's own plugin loader needs one.

Licence

MIT. See LICENSE, and NOTICE for the upstream copyrights.