Skip to content
Development
Skill

/repo-maintain

Resolve authorized repository security findings and PR/MR issues, verifying the resulting commit and CI.

From plugin
my-ai-setup
117 skills

Claude Code

$ npx -y skills add defaultperson/my-ai-setup --skill repo-maintain --agent claude-code

SKILL.md

repo-maintain.SKILL.md
name: repo-maintain
description: Resolve authorized repository security findings and PR/MR issues, verifying the resulting commit and CI.

Use available native tools/APIs, `gh` or `glab`; no other skill or plugin is required. A read-only request authorizes inspection only.

1. Identify the repository, host, default branch, current branch/HEAD, dirty work and requested scope. Discover actual authenticated API access and provider features; do not assume GitHub and GitLab expose equivalent endpoints. 2. Inventory with pagination: dependency security alerts (Dependabot on GitHub) and dependency graph/data; code scanning and secret scanning separately; open PRs/MRs, unresolved review discussions and CI/checks. Record each source's coverage. Missing permissions, disabled features, unsupported APIs or unavailable data are `UNKNOWN`, never an empty queue or proof of no issues. Report secret names/locations or alert IDs, never secret values. 3. Prioritize relevant security exposure, failing required checks and actionable review feedback; act only on checks and comments newer than the latest push. Verify each finding against the current code and affected scenario before changing anything; retain unrelated findings as brief handback items. 4. Apply only authorized fixes. Work on the default branch unless the user requests another; for an existing PR/MR, respect its author branch and agreed workflow without silently switching or creating branches. Preserve unrelated dirty work and stop for a real branch/ownership conflict. Fix authorization does not by itself authorize publication, alert dismissal, merge or resolving other people's threads. 5. Stage explicit paths and inspect the staged diff. Before an authorized push, verify outgoing commits contain only the intended work; never overwrite another author's changes. Record the exact final commit and PR/MR head. 6. Run relevant existing checks and affected real user scenarios against the final tree/target. After an authorized push, fetch CI/check results for that exact pushed commit, not an earlier green run. Re-read the latest remote head before reporting or mutating review state; a changed head invalidates stale conclusions. 7. Resolve a review thread only with publication authorization and evidence that its specific remark is addressed at the latest head. Do not resolve unrelated or unproven remarks. Answer a declined bot finding with a written reason; list fixes that would only grow the PR as follow-ups. Dismiss alerts only under explicit applicable policy/authorization; an empty queue is not a goal by itself. Merge only with authorization and, on the latest head: required checks green, review-bot findings fixed or answered, no human change request, branch neither BEHIND nor DIRTY and mergeable. Run `git fetch` and recheck right before merging; never use `--admin` or other bypasses. 8. For pending CI in Claude Code, run a `gh pr checks` loop under `Monitor` that emits every terminal state; elsewhere follow the harness's watch rules. When GraphQL is exhausted (`gh api rate_limit`), read the PR and checks through REST: `gh api repos/<owner>/<repo>/pulls/<n>` and `…/commits/<sha>/check-runs`. Set an explicit deadline; at expiry, return pending checks, commit IDs and unresolved items instead of claiming completion or waiting forever.

Report inventory coverage/counts, scoped changes, exact commit/target evidence and unresolved or `UNKNOWN` items. Distinguish local tests from the requested live scenario; without its user-visible result, report `applied, not verified`.

Read more
@defaultperson
Ships withmy-ai-setup

Shared setup for Claude Code and OpenAI Codex CLI.

Stars on GitHub

Momentum

stars in total
11
Star history of DefaultPerson/agent-setup on GitHub, a chart by star-history.com

Other skills on my-ai-setup.

audit

audit

Audit an application for performance, security and reliability — profile what matters for this software, go deep on the riskiest…

babysit

babysit

Watch a log source for the rest of this session through a quiet dedup filter, and diagnose or fix incidents within agreed scope.…

grill-me

grill-me

Interview the user to stress-test a plan, design or decision, resolve dependencies and expose assumptions before implementation.…

svgl

svgl

Fetch brand and technology SVG logos from svgl.app by name or category, with theme and wordmark variants.

ui-polish

ui-polish

Autonomously polish a UI to a target score — run it, capture screens and user flows, get scored reviews from two model families,…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about repo-maintain.

Which coding agents can use repo-maintain?
repo-maintain installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.