Skip to content
Back to skills

Maintain

ASecurity

Survey and maintain the GitHub project — triage issues with category/state/priority, merge safe dependabot PRs, and assess security alerts. Proposes one batch plan and executes only what the maintainer approves.

  • 93 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 9, 2026
ai-agentsgorefactoringgitsecuritydocumentation

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned November 15, 2026

npx -y skills add inoio/agents-sandbox --skill maintain --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Maintain?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Maintain
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/inoio-maintain/badge)](https://www.skillsdirectory.com/skills/inoio-maintain)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: maintain
description: Survey and maintain the GitHub project — triage issues with category/state/priority, merge safe dependabot PRs, and assess security alerts. Proposes one batch plan and executes only what the maintainer approves.
disable-model-invocation: true
---

# Maintain

Keep the GitHub project healthy. `maintain` surveys the repo, proposes a single
batch plan of actions across its areas, and executes only the approved rows.

`maintain` supersedes the `triage` skill: it carries the same issue state machine
and adds issue priority labeling, dependabot PR handling, and security-alert
assessment. The scope is deliberately narrow — no unattended execution, no new
labels beyond the `needs-backport` marker this skill applies during triage, and
no work outside the three areas below.

## Reference docs

- [ISSUE-TRIAGE.md](ISSUE-TRIAGE.md): the issue state machine, verify/grill/apply flow
- [PRIORITIES.md](PRIORITIES.md): priority rubric and application rules
- [DEPENDABOT.md](DEPENDABOT.md): dependabot classification and merge flow
- [SECURITY.md](SECURITY.md): dependabot vulnerability-alert assessment
- [AGENT-BRIEF.md](AGENT-BRIEF.md): how to write durable agent briefs
- [OUT-OF-SCOPE.md](OUT-OF-SCOPE.md): how the `.out-of-scope/` knowledge base works

## The one hard rule

Discovery is read-only. Every write happens only after the maintainer approves a
plan row. See [Batch-plan protocol](#batch-plan-protocol).

Every comment posted to the issue tracker during maintenance **must** start with
this disclaimer:

```
> *This was generated by AI during maintenance.*
```

## Shared state machine

Four **category** roles (exactly one per issue):

- `bug`: something is broken
- `enhancement`: new feature or improvement
- `chore`: maintenance, refactoring, or tech debt
- `documentation`: improvements or additions to documentation

Optional **markers**, orthogonal to category and state, each applied at most once
and independently of the other:

- `upstream`: depends on an external project (microsandbox, opencode, ...)
- `needs-backport`: the fix must also land on the current `release/<major>.<minor>`
  line. A permanent record — it is not cleared when the port lands; the nightly
  backport audit decides done-ness by patch-id presence. It is the only trigger
  for a port: a bug without it is intentionally `main`-only. `scripts/enqueue-pr.sh`
  copies the marker onto the PR when the fix is enqueued.

Five **state** roles:

- `needs-triage`: maintainer needs to evaluate
- `needs-info`: waiting on reporter for more information
- `ready-for-agent`: fully specified, ready for an AFK agent
- `ready-for-human`: needs human implementation
- `wontfix`: will not be actioned

Every triaged issue carries exactly one category role and one state role; it may
additionally carry each marker at most once, independently of the other —
`upstream` when the work depends on an external project, `needs-backport` when a
fix must also land on the current release line. Both may be set on one issue: an
upstream-blocked fix that also needs a port carries both. If state roles
conflict, flag it and ask the maintainer before doing anything else.

`priority:*` labels are orthogonal and set per [PRIORITIES.md](PRIORITIES.md);
they are not part of the state machine. The dependabot ecosystem labels
(`dependencies`, `github_actions`, `go`) are out of scope: dependabot applies
them to PRs, which `maintain` does not triage.

These are canonical role names. The actual label strings, plus the `gh` commands
for every operation, are in
[`.operator-shared/guides/github-issue-workflow.md`](../../../.operator-shared/guides/github-issue-workflow.md).

State transitions and the full per-issue flow live in
[ISSUE-TRIAGE.md](ISSUE-TRIAGE.md).

## Invocation

The maintainer invokes `/maintain` and describes what they want in natural
language. Dispatch to the matching area and act through a batch plan:

- "Show me anything that needs my attention" → full survey
- "Handle dependabot" → [DEPENDABOT.md](DEPENDABOT.md)
- "Anything security?" → [SECURITY.md](SECURITY.md)
- "What needs triage?" / "Label #97 priority:high" → [ISSUE-TRIAGE.md](ISSUE-TRIAGE.md)
- "Merge #120" / "Close #42 wontfix" → direct action, still confirmed in a plan

The repo does **not** treat external PRs as a request surface (see the
issue-tracker workflow), so non-dependabot PRs are not a maintenance target. To
triage a named PR anyway, ask the maintainer first.

## Survey

Query the issue tracker and present one table spanning the areas, oldest first,
each row tagged by area. This is read-only.

- **Dependabot** — open dependabot PRs with semver level and check status.
- **Security** — open vulnerability alerts, plus any disabled-feature gaps.
- **Issues** — untriaged, `needs-triage`, and `needs-info` with reporter
  activity since the last notes, each with a proposed category/state/priority.

Show counts and a one-line summary per item. Include the maintainer in the
decision, but do not write yet.

## Batch-plan protocol

1. **Survey** read-only. Never write during discovery.
2. **Present one numbered plan.** Each row names the target, the action, and the
   rationale. Nothing is silent: items that cannot be actioned appear as
   explicit rows:
   - `skip:` — read-only; the item is reported for awareness, no write.
   - `flag:` — needs a human decision or human-only action. Executing an
     approved `flag:` row posts an explanatory comment naming the blocker (or,
     where the blocker is a skill limitation, reports it to the maintainer) and
     makes no state change.
3. **Wait.** The maintainer approves all, strikes rows, or edits. Do not start
   before an explicit yes.
4. **Execute approved rows only.** Immediately before each write, re-validate
   mutable state (checks, mergeability, current labels). If state changed since
   the plan was drawn, skip that row and report it.
5. Each posted comment carries the AI-disclaimer.

## Areas

- [Issue maintenance](ISSUE-TRIAGE.md) — category, state, and priority.
- [Dependabot](DEPENDABOT.md) — merge patch/minor bumps that pass checks.
- [Security](SECURITY.md) — assess vulnerability alerts and route them.

Files in this skill

  • AGENT-BRIEF.md7.8 KB
  • DEPENDABOT.md3.2 KB
  • ISSUE-TRIAGE.md4.4 KB
  • OUT-OF-SCOPE.md4.6 KB
  • PRIORITIES.md1.9 KB
  • SECURITY.md2.1 KB
  • SKILL.md5.4 KB
  • agents/openai.yaml182 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.