Simplify the babysit_risk.py source-control plugin code (part 1 of 2)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 68/100
- Tipo di issue
- Refactoring
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- developer-experience
Direzione di ricerca
Leggi plugins/source-control/skills/babysit-prs/scripts/babysit_risk.py e individua le funzioni che iniziano nella prima metà del file; limita le modifiche a quelle funzioni. Verificale rispetto ai quattro controlli /simplify dell’issue, preservando tutte le interfacce e i comportamenti elencati. Il lavoro è completato quando il file è più breve e chiaro, è stato aggiunto il frammento di changelog richiesto e lo stato CI pertinente è verde.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Agent Brief
Type: Task
Summary: Simplify these 1 files without changing their behavior (part of the /simplify epic).
Current behavior:
The files below work as they do on main. Their code changes; what they do does not.
Desired behavior:
Review the files through /simplify's four checks (reuse of existing helpers, simplification, efficiency, right level of abstraction), using subagents if useful, and apply the fixes. The files end up shorter and clearer, and whatever runs them gets the same results.
Files:
plugins/source-control/skills/babysit-prs/scripts/babysit_risk.py
Key interfaces:
- Outputs, exit codes, written files and printed messages of these files: unchanged.
- Command-line flags, exported names and anything another file calls: unchanged.
Acceptance criteria:
- Behavior is unchanged: same outputs, exit codes, written files, printed text, command-line flags and exported names; no listed file renamed, moved or deleted.
- The diff edits only the listed files, the lines of a test that assert on them when the change breaks that assertion, and changelog fragments.
- The pull request stays within 400 changed lines and 15 hand-edited files (generated shared copies and changelog fragments not counted); anything beyond goes under
## Follow-upsin the pull request body. - ci-status is green.
- Each touched plugin (
source-control) has a fragment fromscripts/new-changelog-fragment.sh <plugin> patchwhose body is### Changedand the line "Internal simplification, no behavior change." - Only the jobs or functions that start in range 1 of 2 equal line ranges of the file, measured when this part starts, are changed.
Out of scope:
- Moving code between files or deduping across them: the sub-epic's restructuring pass does that after these chunks merge.
- Tests beyond the asserted lines a change breaks, eval cases, fixtures, and skill and agent text.
- Files listed in other chunks.
- Lingua principale
- Shell
- Stelle
- 22
- Fork
- 2
- Merge medio
- 1h 5m
- PR unite (30g)
- 969
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di melodic-software/claude-code-plugins
-
status: ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
melodic-software/claude-code-plugins#15008 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
melodic-software/claude-code-plugins#14993 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
melodic-software/claude-code-plugins#14946 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
melodic-software/claude-code-plugins#14922 · 7 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
melodic-software/claude-code-plugins#14830 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di melodic-software/claude-code-plugins
Issue simili
-
Blacklist | solotogel.orgAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 60/100
-
low-priority
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
nxtg-ai/forge-orchestrator#105 ·
I maintainer di solito rispondono entro 1 giorno
-
bug CLI
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
openai/codex#60494 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
LucasSantana-Dev/Lucky#2983 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno