Simplify the babysit_risk.py source-control plugin code (part 1 of 2)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
plugins/source-control/skills/babysit-prs/scripts/babysit_risk.pyを読み、ファイルの前半で始まる関数を特定してください。変更はそれらの関数に限定してください。Issueに記載された4つの/simplifyチェックに照らして確認し、列挙されたすべてのインターフェースと動作を維持してください。ファイルが短く明確になり、必要なchangelogの断片が追加され、関連するCIのステータスがグリーンになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Shell
- スター
- 22
- フォーク
- 2
- 平均マージ
- 1時間 5分
- マージ済み PR(30日)
- 969
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
melodic-software/claude-code-plugins のほかの issue
-
status: ready
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
melodic-software/claude-code-plugins#15008 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
melodic-software/claude-code-plugins#14993 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melodic-software/claude-code-plugins#14946 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
melodic-software/claude-code-plugins#14922 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
melodic-software/claude-code-plugins#14830 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
melodic-software/claude-code-plugins の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 60/100
-
low-priority
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
nxtg-ai/forge-orchestrator#105 ·
メンテナーはふだん 1 日以内に返信
-
bug CLI
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openai/codex#60494 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
LucasSantana-Dev/Lucky#2983 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信