Mainteneur Open Source

VérifiéPrudence

Maintenance de bout en bout d'un dépôt GitHub pour des projets open-source. Permet de trier les tickets, examiner les pull requests, analyser l'activité des contributeurs et générer des rapports de maintenance. Idéal pour assurer la santé à long terme du dépôt avec une validation humaine et une mémoire persistante entre les sessions.

Spar Skills Guide Bot
DeveloppementAvancé
02/06/2026
Claude Code
#open-source#github#maintenance#issues#pr-review

Recommandé pour

Synthèse automatique

Ce skill permet de maintenir un dépôt GitHub open-source de bout en bout : trier les issues, examiner les PRs, analyser l'activité des contributeurs et générer des rapports de maintenance.

Points forts

  • Approche structurée avec références et portes de décision pour éviter les erreurs.
  • Intègre un cycle humain dans la boucle pour valider les actions publiques.
  • Optimise la santé à long terme du dépôt plutôt que le simple débit de tâches.
  • Réduit la charge cognitive du mainteneur en proposant des priorités claires.

Limites

  • Nécessite l'approbation humaine pour toute action publique, ce qui peut ralentir le processus.
  • Fonctionne exclusivement avec GitHub ; pas adapté à d'autres plateformes.
  • Peut être moins efficace sur des dépôts de très grande taille où le nombre d'issues/PRs est massif.
Quand l'utiliser

Utilisez ce skill lorsque vous gérez un projet open-source et avez besoin d'une maintenance systématique : tri, priorisation, analyse de PRs et décisions éclairées.

Quand l'éviter

Évitez ce skill si vous cherchez à fusionner rapidement des PRs externes sans revue humaine ou si votre dépôt n'est pas hébergé sur GitHub.

Analyse de sécurité

Prudence
Score qualité92/100

The skill uses bash to run an external TypeScript script for repository triage. While the purpose is legitimate maintenance, the script is referenced by path and not provided, introducing potential risk if the script is untrusted or tampered with. However, no destructive or exfiltrating commands are directly present.

Points d'attention
  • •The skill instructs running a script with npx tsx, which involves executing JavaScript/TypeScript code via bash. The script content is not included, so its safety cannot be verified. The user must trust the script source.
Comment cette analyse est faite

Exemples

Triage issues and prioritize
Triage the open issues in my repository and tell me which ones need immediate attention based on severity and user impact.
Review recent PRs
Review the recent PRs in my repo, extract their intent, and suggest what I should implement next to keep the project healthy.
Generate a maintenance report
Generate a maintenance report for my open-source project, including issue trends, contributor activity, and recommendations for the next sprint.

name: open-source-maintainer description: End-to-end GitHub repository maintenance for open-source projects. Use when asked to triage issues, review PRs, analyze contributor activity, generate maintenance reports, or maintain a repository. Triggers include "triage", "maintain", "review PRs", "analyze issues", "repo maintenance", "what needs attention", "open source maintenance", or any request to understand and act on GitHub issues/PRs. Supports human-in-the-loop workflows with persistent memory across sessions.

Open Source Maintainer

Run a GitHub repository like a steward: fix what blocks users, keep UX + docs sharp, reduce future support burden, and grow trust and adoption.

This skill is designed for “head of maintenance” operation: you do the analysis and propose the next moves with confidence. The human should be able to mostly ask: “What’s next?”


Operating Contract (Non‑Negotiables)

  • You are the maintainer. Optimize for long‑term repo health, not just throughput.
  • PRs are intelligence sources, not merge candidates. Extract intent, then implement the fix yourself.
  • Never merge external PRs. The agent writes all code.
  • Human approval required for any public action (commenting, closing, labeling, releases, etc.).
  • Default to low user burden: do the legwork; ask questions only when it changes the plan materially.
  • Project-first decisions (CEV-style): resolve conflicts, reduce future maintenance load, prefer clarity and stability.

Interaction Model (Flexible, But Grounded)

Always Include (briefly)

  1. Top recommendation(s) (1–3 items)
  2. Why it matters (impact + leverage)
  3. Confidence + risks/unknowns (what could be wrong, what needs verification)
  4. What you need from the human (only if needed: approval or a choice)

Everything else is optional and should be progressively disclosed.

Modes (choose implicitly, switch freely)

  • Maintain: triage, consolidate duplicates, hygiene, labels, backlog shaping
  • Ship: implement fixes/features, add tests, cut releases
  • Investigate: reproduce, narrow scope, request minimal info, design experiments
  • Grow: docs/onboarding, positioning, contributor experience, adoption, trust signals

If unsure which mode to use, default to Maintain → Ship.


Reference Router (Just‑In‑Time)

Do not read everything by default. Load the minimum reference needed for the task you are about to do.

| When you are about to… | Load this reference (if not already in this run) | Output you must produce | |---|---|---| | Understand the workflow and run artifacts | references/workflow.md, references/report-structure.md | Correctly locate and interpret report files | | Analyze issues/PRs (intent, severity, actionability) | references/intent-extraction.md | Clear intent + actionability + relationships | | Assess PR approach quality/risk (as input to your implementation) | references/quality-checklist.md | Risk notes + test plan + edge cases | | Decide close/defer/ask-for-info/prioritize | references/decision-framework.md | A decision with rationale + next step | | Draft any public response | references/communication-guide.md | A concise public draft aligned to tone | | Change scoring/labels/stale policy | references/config.md | Proposed config edits + impact | | Initialize/reshape .github/maintainer/ state | references/repo-state-template.md | Correct state files created/updated |


Gates (Read‑Before‑Acting)

These are “STOP gates” where skipping the right reference tends to cause mistakes.

  1. Before recommending closure/deferral or enforcement: load references/decision-framework.md.
  2. Before drafting any public comment: load references/communication-guide.md.
  3. Before using a PR as guidance for implementation: load references/quality-checklist.md.
  4. Before deep intent/relationship mapping: load references/intent-extraction.md.
  5. Before changing scoring/automation: load references/config.md.

Default Workflow (End‑to‑End)

Stage 0 — Setup

  • Confirm repo and scope.
  • Ensure .github/maintainer/ exists (create via templates if missing).
  • Read .github/maintainer/context.md to align with project priorities and tone.

Stage 1 — Capture (Run Triage)

From repo root:

npx tsx /path/to/open-source-maintainer/scripts/triage.ts

Prefer --delta if a previous run exists.

Stage 2 — Analyze (Issues + PRs)

  • Use intent extraction and quality checklist to convert items into actionable notes.
  • Update persistent notes in .github/maintainer/notes/ (scores, confidence, rationale).

Stage 3 — Synthesize (What matters next)

  • Produce a top 5–7 priority list with clear reasoning.
  • Identify duplicates, consolidate discussion targets, and surface opportunity work.

Stage 4 — Align (Human-in-the-loop)

  • Present recommendations with confidence + tradeoffs.
  • Ask only for approvals/choices that unblock execution.

Stage 5 — Execute (Agent does the work)

  • Implement fixes directly (PRs inform, but do not merge).
  • Prepare public-facing drafts and wait for explicit approval before posting.

Stage 6 — Record (Project memory)

  • Update .github/maintainer/decisions.md, .github/maintainer/patterns.md, .github/maintainer/contributors.md.
  • Keep .github/maintainer/state.json current for delta runs.

Script Usage

# Standard run (creates reports/<datetime>/)
npx tsx /path/to/open-source-maintainer/scripts/triage.ts

# Compare with previous run
npx tsx /path/to/open-source-maintainer/scripts/triage.ts --delta

# Keep existing folder if same datetime
npx tsx /path/to/open-source-maintainer/scripts/triage.ts --keep

# Override report folder name
npx tsx /path/to/open-source-maintainer/scripts/triage.ts --datetime 2026-01-17T12-30-00

# Use a custom config path
npx tsx /path/to/open-source-maintainer/scripts/triage.ts --config .github/maintainer/config.json

Per‑Repo State (Persistent Memory)

The skill maintains project memory in .github/maintainer/:

| File | Purpose | |------|---------| | context.md | Project vision, priorities, tone, boundaries | | decisions.md | Decision log with reasoning | | contributors.md | Notes on specific contributors | | patterns.md | Observed patterns and learnings | | standing-rules.md | Automation policies | | notes/ | Persistent per-item analysis (issues/PRs) | | work/ | Briefs, prompts, opportunity backlog | | index/ | Machine index + relationship graph | | runs.md | Run ledger with report paths | | state.json | Technical state for delta computation |

Notes/work/index are persistent across runs; reports are snapshots.


Citation Format

Reference items consistently in reports and responses:

  • ISSUE:42 — Issue #42
  • ISSUE:42:C:3 — Comment #3 on issue #42
  • PR:38 — Pull request #38
  • PR:38:R:1 — Review #1 on PR #38
  • PR:38:RC:4 — Review comment #4 on PR #38

Human Approval Required

Never execute without explicit approval:

  • Posting comments
  • Opening or closing issues or PRs
  • Adding/removing labels
  • Any public-facing action

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/open-source-maintainer-mm5t8cij/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/open-source-maintainer-mm5t8cij' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/open-source-maintainer-mm5t8cij/download' --output '.skill-downloads/open-source-maintainer-mm5t8cij/SKILL.md.part' && mv '.skill-downloads/open-source-maintainer-mm5t8cij/SKILL.md.part' '.skill-downloads/open-source-maintainer-mm5t8cij/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/open-source-maintainer-mm5t8cij/SKILL.md' && test -s '.skill-downloads/open-source-maintainer-mm5t8cij/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/open-source-maintainer' && cp -R '.skill-downloads/open-source-maintainer-mm5t8cij' '.claude/skills/open-source-maintainer'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/open-source-maintainer-mm5t8cij'

openskills read 'open-source-maintainer-mm5t8cij'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/open-source-maintainer-mm5t8cij/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires