skills/github-automation/SKILL.md
Use this skill when automating GitHub workflows for issues, pull requests, labels, releases, repository hygiene, or operational guardrails around GitHub actions and repository maintenance.
npx skillsauth add chatandbuild/chatchat-skills GitHub AutomationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Coordinate repeatable GitHub operations with consistent quality and low operational risk.
workflow_dispatch with inputs for manual runs (e.g., cleanup, bulk label, release). Use input types (string, boolean, choice) to scope targets and dry-run mode.schedule (cron) for periodic cleanup (stale issues, branch pruning, dependency checks). Prefer off-peak times and ensure idempotency..github/workflows/reusable-*.yml and call via workflow_call. Pass inputs and secrets explicitly; avoid implicit env.action.yml under .github/actions/ for reuse across workflows. Use runs.using: composite and document inputs/outputs.pull_request trigger; or a custom action that assigns based on file paths, author, or round-robin. Limit to 2-3 reviewers to avoid noise.paths in pull_request and apply labels (e.g., docs for docs/**, frontend for src/web/**). Combine with type labels from PR title/body.pinned, security. Log actions for audit.workflow_dispatch, generate changelog from commits/PRs, create GitHub Release draft, attach artifacts. Require manual publish.permissions: write-all or broad tokens. Prefer least-privilege: contents: read, issues: write only when needed, and id-token for OIDC where applicable.concurrency: group: ${{ github.workflow }}-${{ github.ref }} and cancel-in-progress (or false) as appropriate.--dry-run or a dry_run input that skips mutations. Test on a fork or branch before merging to main.## Objective
- <goal>
## Automation Design
- Trigger: <push|pull_request|schedule|workflow_dispatch>
- Permissions: <minimal set>
- Concurrency: <group and cancel-in-progress policy>
## Automation Steps
1. <step with precondition>
2. <step with expected outcome>
## Safety Checks
- [ ] Repository/branch context verified
- [ ] Target set reviewed
- [ ] Dry-run or scoped run defined
- [ ] Permissions scoped to minimum required
- [ ] Concurrency group defined
## Failure Handling
- Retry policy: <policy>
- Rollback/undo path: <steps>
- Notification: <where to alert on failure>
tools
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
development
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
development
Use this skill when turning messy workout information into clear logs, comparing user-provided sessions, surfacing trends or likely PRs, and suggesting realistic next-session steps.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.