refactor(improvement): share find's filing rules with the architecture-scan lane

オープン
#19,369 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
58/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, shell
領域
testing, tooling

調査の方向性

Start with plugins/improvement/README.md, plugins/improvement/reference/config.md, and .github/scripts/maintenance-scan-architecture/file-findings.mjs to locate the duplicated filing rules and each path's filing step. Then identify the existing test setup and add coverage feeding the same sample items through both paths. Done means both paths make the same decisions for the per-label cap, duplicate check, and label creation.

索引モデルが issue の本文から書いたものです。

説明

session-owned
Context

The daily architecture-scan lane (#18862, PR #19361) runs /improvement:find in its model job but files the returned items with .github/scripts/maintenance-scan-architecture/file-findings.mjs, so the model never holds an issue-writing token. That script carries its own copy of three filing rules /improvement:find also states: the per-label cap (find_open_item_cap), the duplicate check, and never creating a label. The owner accepted the split and asked for the shared rules as a follow-up (2026-11-27T03:47Z, "go w/ recommendations" on Q5). Two copies can drift: a change to find's duplicate rule would not reach the lane.

Proposed work
  • Put the three rules in one module that both /improvement:find's filing step and file-findings.mjs call, or have file-findings.mjs call find's existing helper if one exists.
  • Add a test that fails when the two paths disagree on a sample input.
Acceptance criteria
  • The per-label cap, duplicate check and never-create-a-label rule have one implementation, called by both /improvement:find and file-findings.mjs.
  • A test feeds the same items to both paths and asserts the same filing decisions.
References
  • #18862, PR #19361.
  • plugins/improvement/README.md (find's filing rules), plugins/improvement/reference/config.md (find_open_item_cap).
主要言語
Shell
スター
22
フォーク
2
平均マージ
2時間 1分
マージ済み PR(30日)
972

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。