Automate cleanup of completed issue specs in docs/issues with a non-interactive script
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 54/100
調査の方向性
Read .github/skills/dev/planning/cleanup-completed-issues/SKILL.md and inspect the existing docs/issues/open/ and docs/issues/closed/ layout to understand the documented Stage 1 workflow. Start by locating the project’s conventions for scripts and tests; the issue does not name a specific implementation language or test location. Done means the Stage 1 archive flow is non-interactive, verifies GitHub issue state, defaults to dry-run, emits JSON results with diagnostics on stderr, and has basic validation for key paths.
索引モデルが issue の本文から書いたものです。
説明
Summary
Create an automation script for the skill at .github/skills/dev/planning/cleanup-completed-issues/SKILL.md to reduce manual work and mistakes when cleaning completed issues.
The script should support the two-stage lifecycle already documented:
- Stage 1: move closed issue specs from
docs/issues/open/todocs/issues/closed/ - Stage 2: delete old specs from
docs/issues/closed/only when no longer referenced
Motivation
The current process is repetitive and easy to get wrong in batch operations.
Automating it would make maintenance faster and safer while keeping behavior aligned with the skill.
Proposed scope (phase 1)
Implement a script for Stage 1 archive with a strict, agent-friendly interface:
- Non-interactive CLI only (no prompts)
- Verify issue state on GitHub before moving
- Support dry run by default
- Support apply mode for real changes
- Produce structured JSON on stdout
- Send diagnostics to stderr
- Return meaningful non-zero exit codes on failure
Suggested flags:
--issues 1042,1178,...--all-closed-in-open(optional)--dry-run(default)--apply--json
Proposed scope (phase 2)
Add Stage 2 delete with stronger safeguards:
- Check references before delete (filename and issue references in docs)
- Refuse deletion if references are found unless explicit override is provided
- Keep
--dry-rundefault and require explicit confirmation flag for destructive actions
Acceptance criteria
- Script is added under the cleanup skill folder (for example
scripts/) -
SKILL.mddocuments the script(s), usage, examples, and prerequisites - Stage 1 move flow is fully automated and idempotent
- Script never blocks on interactive input
- Output is parseable JSON for results; diagnostics are separate
- Dry-run behavior is default
- Errors are explicit and actionable (invalid issue, open issue, missing file, ambiguous file)
- Basic tests or fixture-based validation for key paths are included
Notes
Reference guidance used for script design:
Key recommendations to follow:
- avoid interactive prompts
- provide clear
--help - use structured output
- separate stdout data from stderr diagnostics
- use safe defaults (
--dry-run) - support idempotent retries
- 主要言語
- Rust
- スター
- 532
- フォーク
- 56
- 平均マージ
- 11時間 20分
- マージ済み PR(30日)
- 282
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
torrust/torrust-tracker のほかの issue
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
torrust/torrust-tracker#3080 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
torrust/torrust-tracker#3069 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
torrust/torrust-tracker#3058 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
torrust/torrust-tracker#2978 ·
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
torrust/torrust-tracker#2332 ·
メンテナーはふだん 1 日以内に返信
torrust/torrust-tracker の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
difficulty: easy docs help wanted tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
-
bug help wanted ui
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
userFRM/egui-charts#4386 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
eliasstravik/herdr-projects#1605 · コメント 1 件 ·