Bash Defensive Patterns
promovaweb/setupvibe
Master defensive Bash programming techniques for production-grade scripts.
Batch-triage and act on a set of node-redis PRs (or issues) by filter — fan out the maintainer-review methodology across them, present a one-word verdict plus a tldr to the user one at a time for…
$ npx skills add redis/node-redis --skill maintainer-triage -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install redis/node-redis maintainer-triage --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/redis/node-redis.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/maintainer-triage .claude/skills/maintainer-triage && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "maintainer-triage" agent skill from https://github.com/redis/node-redis/tree/master/.agents/skills/maintainer-triage into .claude/skills/maintainer-triage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "maintainer-triage", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/redis/node-redis/tree/master/.agents/skills/maintainer-triageType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add redis/node-redis --skill maintainer-triage -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install redis/node-redis maintainer-triage --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redis/node-redis.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/maintainer-triage .agents/skills/maintainer-triage && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "maintainer-triage" agent skill from https://github.com/redis/node-redis/tree/master/.agents/skills/maintainer-triage into .agents/skills/maintainer-triage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "maintainer-triage", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add redis/node-redis --skill maintainer-triage -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install redis/node-redis maintainer-triage --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redis/node-redis.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/maintainer-triage .cursor/skills/maintainer-triage && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "maintainer-triage" agent skill from https://github.com/redis/node-redis/tree/master/.agents/skills/maintainer-triage into .cursor/skills/maintainer-triage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "maintainer-triage", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/redis/node-redis.git --path .agents/skills/maintainer-triage--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add redis/node-redis --skill maintainer-triage -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install redis/node-redis maintainer-triage --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redis/node-redis.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/maintainer-triage .gemini/skills/maintainer-triage && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "maintainer-triage" agent skill from https://github.com/redis/node-redis/tree/master/.agents/skills/maintainer-triage into .gemini/skills/maintainer-triage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "maintainer-triage", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install redis/node-redis maintainer-triageInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add redis/node-redis --skill maintainer-triage -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/redis/node-redis.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/maintainer-triage .github/skills/maintainer-triage && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "maintainer-triage" agent skill from https://github.com/redis/node-redis/tree/master/.agents/skills/maintainer-triage into .github/skills/maintainer-triage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "maintainer-triage", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add redis/node-redis --skill maintainer-triage -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install redis/node-redis maintainer-triage --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redis/node-redis.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/maintainer-triage .opencode/skills/maintainer-triage && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "maintainer-triage" agent skill from https://github.com/redis/node-redis/tree/master/.agents/skills/maintainer-triage into .opencode/skills/maintainer-triage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "maintainer-triage", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
maintainer-triageBatch-triage and act on a set of node-redis PRs (or issues) by filter — fan out the maintainer-review methodology across them, present a one-word verdict plus a tldr to the user one at a time for…
Maintainer Triage is an agent skill from redis/node-redis, published by the product's own GitHub organization. Batch-triage and act on a set of node-redis PRs (or issues) by filter — fan out the maintainer-review methodology across them, present a one-word verdict plus a tldr to the user one at a time for approval, then execute the approved GitHub action (LGTM + merge, request-changes, close, or ask-for-evidence). Use when asked to triage/review recent PRs, PRs by an author/label/timeframe, or a set of issues, as a maintainer, and to carry the decision through to the actual GitHub action.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in DevOps & Cloud, covering CI/CD and Summarization. It works with Redis and Bash. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 5033f59. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
ghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Maintainer Triage loads about 1.9k tokens when it runs. Until then it costs about 126 tokens; SKILL.md has 854 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from redis/node-redis at commit 5033f59, republished under its MIT licence (© redis). 854 words, ~1,944 tokens.
.claude/skills/maintainer-triage/SKILL.md (or your agent's skills folder).Batch maintainer triage for redis/node-redis. Given a filter, review each item with the
maintainer-review methodology, present concise verdicts for approval one at a time, then
execute the approved GitHub action.
This skill owns the orchestration, interaction, and action execution. It does NOT re-derive
how to review — the review methodology lives in the maintainer-review skill
(.agents/skills/maintainer-review/SKILL.md + references/evaluation-framework.md). Read those
for any actual review judgement.
gh authenticated with repo scope (gh auth status).gh network calls fail with a TLS x509 error inside the sandbox. Run every gh
command with the sandbox disabled.gh pr comment/review/merge/close, gh issue ...,
gh run ..., gh api -X POST ...) are gated by the auto-mode classifier and by settings
allow-rules. You cannot self-grant these (editing settings to widen permissions is blocked).
If a write is denied, stop and ask the user to either add allow-rules
(Bash(gh pr comment *), Bash(gh pr review *), Bash(gh pr merge *), Bash(gh pr close *),
Bash(gh issue *), Bash(gh run *), Bash(gh api *)) or run the command themselves via !.Take a filter from the user: timeframe, author, label, or a search query.
gh pr list --repo redis/node-redis --state all --limit N \
--json number,title,author,createdAt,state
# issues: gh issue list --repo redis/node-redis --search "..." --json number,title,author,statestate. Drop anything already MERGED/CLOSED — they need no action.
(Lesson: items merge/close mid-session; don't waste a review on a done PR.)Cache each item's metadata + diff to a temp dir so subagents read from disk, not the network:
gh pr view <n> --repo redis/node-redis \
--json number,title,body,author,createdAt,state,files,additions,deletions,comments,reviews,labels,url \
> "$DIR/<n>.json"
gh pr diff <n> --repo redis/node-redis > "$DIR/<n>.diff"Gotchas learned the hard way:
closingIssuesReferences is not a valid --json field — it errors the whole call.PRS=(3427 3426 ...).$TMPDIR resolves differently inside vs outside the sandbox. Capture the real absolute path
from a sandbox-disabled command and pass that absolute path to subagents.One subagent per item. Each: reads the maintainer-review SKILL + evaluation-framework, reads the
cached <n>.json + <n>.diff, MAY read local repo source under packages/*/lib + specs + docs,
and MUST NOT run tests / Docker / network / any gh write.
Force structured output:
decision: ONE WORD — Merge | Revise | Supersede | Close | EvidenceMerge/Revise are valid only when needEvidence = Demonstrated.needEvidence, severity, short (the tldr), detailed (full "Pull Request" compact report).Mechanism:
Agent tool in parallel.Workflow (requires user opt-in). Workflow gotcha: the args param arrived
as undefined/unusable — inline the item list and paths as literals in the script, don't
rely on args.Exact shape, then WAIT for the user before the next:
**PR #NNNN** — <title> (<author>)
**Problem (tldr):** 1–3 sentences.
**My verdict:** <one word> — <needEvidence>, <severity>[, <bounded ask if Revise>].Go easiest-first unless told otherwise. The user approves, asks questions, or redirects. Only disposition the current item before moving on.
Thanks — this looks good to me. LGTM.gh pr review <n> --approve → approve gated fork CI runs →
wait for CI green → gh pr merge <n> --squash.gh pr review <n> --request-changes --body "...". A plain comment does NOT flip the PR into
"Changes requested" — the formal review does. Leave the PR open.gh pr close <n> (issues: gh issue close <n>).status=completed,
conclusion=action_required). Find and approve them:SHA=$(gh pr view <n> --repo redis/node-redis --json headRefOid -q .headRefOid)
gh api "repos/redis/node-redis/actions/runs?head_sha=$SHA" \
-q '.workflow_runs[]|select(.conclusion=="action_required" or .status=="waiting")|.id' \
| while read -r id; do gh api -X POST "repos/redis/node-redis/actions/runs/$id/approve"; donegh pr merge --auto merges immediately (it does not wait for CI), and a plain merge lands
regardless of CI. To honour "run CI, then merge" you must poll yourself and merge only on green.
Use a background watcher: poll gh api "repos/redis/node-redis/commits/$SHA/check-runs" every
~30s; merge when running==0 && failed==0 && total>=4; bail without merging on any failure;
stop the watcher if you end up merging directly. A green run is ~15 check-runs (Tests matrix +
JSDoc + CodeQL + lint + Cursor Bugbot).© redis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/maintainer-triage of redis/node-redis.
Open the folder on GitHubat commit 5033f59
Maintainer Triage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Maintainer Triage this skillredis/node-redis | 18k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Bash Defensive Patternspromovaweb/setupvibe | 101 | 15 repos | ~572 | Automated safety check: Pass | GPL-3.0 | |
| Redis Test Image Updateredis/go-redis | 22k | — | ~1.5k | Automated safety check: Pass | BSD-2-Clause | |
| Headless Codex CLI AutomationXiaomiMiMo/MiMo-Code | 14k | — | ~2.7k | Automated safety check: Pass | MIT | |
| Nuget Trusted Publishingdotnet/skills | 5.6k | 2 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Wizardsmontlouis/bible-strong | 171 | 2 repos | ~1k | Automated safety check: Notes | GPL-3.0 |
promovaweb/setupvibe
Master defensive Bash programming techniques for production-grade scripts.
redis/go-redis
Keeps every reference to the redislabs client-libs-test image tag in sync across the Makefile, compose file, GitHub workflows and docs when a Redis test version changes.
XiaomiMiMo/MiMo-Code
Runs OpenAI Codex CLI as a non-interactive worker for CI, Docker, Kubernetes or remote servers, with sandbox modes and JSONL-friendly output.
dotnet/skills
Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens.
smontlouis/bible-strong
Generate an interactive bash wizard that walks a human through a manual procedure — third-party setup, a one-off migration, an A→B state transition — opening URLs, capturing values, confirming each…
PackmindHub/packmind
Diagnose a failed, stuck, or never-triggered CI run on a GitHub PR, apply a local fix if possible, push it, and document the result in a single running PR comment.
redis/node-redis
Plan and execute runtime-behavior investigations with temporary TypeScript probe scripts, validation matrices, state controls, and findings-first reports.
redis/node-redis
Add a new Redis command (or command variant) to node-redis end-to-end — the <NAME.ts Command file, its registration with JSDoc in the package commands/index.ts, and a co-located <NAME.spec.ts with…
redis/node-redis
Analyze master branch implementation and configuration to find missing, incorrect, or outdated documentation in docs/, README.md, and per-package READMEs.
redis/node-redis
Bump the default Redis docker test image (redislabs/client-libs-test) in the shared DEFAULTDOCKERCONFIG and the CI matrix, then force-push the bump-test-image branch and open a PR against upstream.
redis/node-redis
Review a GitHub issue or pull request URL as a node-redis maintainer, with a staged assessment of whether the claim is real, practically important, already solvable with supported functionality…
redis/node-redis
Create the required PR-ready summary block, branch suggestion, title, and draft description for node-redis.
Categories
Batch-triage and act on a set of node-redis PRs (or issues) by filter — fan out the maintainer-review methodology across them, present a one-word verdict plus a tldr to the user one at a time for…. Maintainer Triage is an agent skill from redis/node-redis, published by the product's own GitHub organization. Batch-triage and act on a set of node-redis PRs (or issues) by filter — fan out the maintainer-review methodology across them, present a one-word verdict plus a tldr to the user one at a time for approval, then execute the approved GitHub action (LGTM + merge, request-changes, close, or ask-for-evidence).
Maintainer Triage fits situations like: asked to triage/review recent PRs; PRs by an author/label/timeframe; A set of issues; as a maintainer.
Run `npx skills add redis/node-redis --skill maintainer-triage -a claude-code`. Or copy the skill folder (.agents/skills/maintainer-triage in redis/node-redis) into .claude/skills/maintainer-triage in your project. Claude Code loads it when a task matches its description.
Run `npx skills add redis/node-redis --skill maintainer-triage -a codex`. Or copy the skill folder (.agents/skills/maintainer-triage in redis/node-redis) into .agents/skills/maintainer-triage in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add redis/node-redis --skill maintainer-triage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/maintainer-triage, .gemini/skills/maintainer-triage, .github/skills/maintainer-triage and .opencode/skills/maintainer-triage in your project.
Going by SKILL.md and its folder, Maintainer Triage needs the command-line tools its instructions call (gh). Our summary lists: Docker.
SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Maintainer Triage is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Maintainer Triage: Bash Defensive Patterns (promovaweb/setupvibe, 101 stars), Redis Test Image Update (redis/go-redis, 22k stars), Headless Codex CLI Automation (XiaomiMiMo/MiMo-Code, 14k stars) and Nuget Trusted Publishing (dotnet/skills, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
redis (a GitHub organization, an official publisher) maintains it in redis/node-redis, which has 17,585 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.
Source: redis/node-redis on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.