reopen-issue
БесплатноБез исполняемых скриптовНе проверенReopen a closed issue or EPIC whose spec is in docs/issues/closed/, and move the spec back to open/. Use when new work belongs to a closed EPIC or a closed…
от torrust★ 539 звёзд на GitHubОб этом скилле
Reopening a Closed Issue or EPIC
This is the inverse of cleanup-completed-issues. It was first used to reopen configuration EPIC #1978 for subissue #2466 (2026-10-07). The EPIC path is exercised; the single-issue path is derived from it and should be refined on first use.
Step 1: Decide Whether to Reopen
Reopen only with explicit maintainer approval; reopening changes shared GitHub state.
Reopen when the new work belongs to the original goal and its deliverable is not yet released (for example, #1978's configuration schema v3.0.0 was active but not published on crates.io). Otherwise create a new issue or EPIC and reference the closed one.
Once the deliverable is released, never reopen its EPIC: create standalone issues and plan the version in which each should ship, stating the target version in the issue and its specification. While it is unpublished, the same EPIC may be reopened again for each new change, as #1978 was for #2466, and closed again when the last subissue closes.
For a closed single issue, reopen when the closing PR did not meet its acceptance criteria or the fix regressed before release. A regression after release is a new bug issue.
Step 2: Prepare the Branch
Update develop first, check that it is not behind, and only then create the branch. Run the
behind count as its own step and read it: a skipped or failed git pull --ff-only leaves develop
behind, and only the count shows it. Chained with &&, git checkout -b runs even when the count
is non-zero.
UPSTREAM_REMOTE="${UPSTREAM_REMOTE:-torrust}"
git checkout develop
git pull --ff-only "$UPSTREAM_REMOTE" develop
git rev-list --count HEAD.."$UPSTREAM_REMOTE"/develop # must print 0
git checkout -b <branch>
When reopening an EPIC to add a subissue, reuse that subissue's specification branch
(<issue>-<epic>-<description>-spec), so the reopen, the subissue spec, and any ADR land in one PR.
Step 3: Update GitHub
When adding a subissue, create it first (see create-issue), so the reopen comment can cite it.
Reopen with the reason:
gh issue reopen <number> --repo torrust/torrust-tracker --comment "Reopened to <reason>."Link a new subissue natively; the REST endpoint needs the child's database
id, not its number:CHILD_ID=$(gh api repos/torrust/torrust-tracker/issues/<child> --jq .id) gh api -X POST repos/torrust/torrust-tracker/issues/<epic>/sub_issues -F sub_issue_id="$CHILD_ID"Check the reopened issue's body for a
Specificationlink and point it at theopen/path. Repository searches do not see issue bodies, and older bodies may still name a legacy single-file path:gh issue view <number> --repo torrust/torrust-tracker --json body --jq .body > .tmp/issue-<number>-body.md # edit the link, then: gh issue edit <number> --repo torrust/torrust-tracker --body-file .tmp/issue-<number>-body.md
Step 4: Move the Specification Back
git mv docs/issues/closed/<folder> docs/issues/open/
Then update the moved spec:
- Frontmatter: set
statustoplannedorin-progress,spec-pathto theopen/path, andlast-updated-utcto the current time. Specs archived before the v1 schema must be migrated to v1 inopen/(schema-version: 1,epic: nullwhere applicable, quotedlast-updated-utc, no trailing slash inrelated-artifacts). Follow the migration checklist incontrib/dev-tools/checks/frontmatter-validator/README.md. - Archive-time edits: revert body paths the archive rewrote to
closed/, such as the "spec drafted in" checkpoint. - Checkpoints: clear the "issue closed and spec moved" and "acceptance criteria reviewed" boxes.
- Acceptance Verification: set rows that depended on all work being done back to
TODO, clear the matching Acceptance Criteria checkboxes (for example, "Epic status reflects actual state of linked subissues"), and correct stale counts (for example, the number of linked subissues). - Subissues table (EPIC): add the new row with
TODO. Arelated-artifactsentry must name a tracked file, so add the new child spec path in the commit that adds the spec. - Progress Log: add an entry with the reason and the remaining work. Date each entry at the action it records: the maintainer's decision, the GitHub reopen, and the move are separate events.
- References: add the new subissue, the issue it came from, and any new ADR.
- Parent EPIC (single issue): set its row back to
IN_PROGRESSand point it atopen/.
The frontmatter validator checks staged content. Stage the edits, not only the rename, before running it:
git add -A docs/issues/open/<folder>
cargo run --quiet --package frontmatter-validator --bin frontmatter-validator -- --
Установить reopen-issue в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл reopen-issue?
Reopen a closed issue or EPIC whose spec is in docs/issues/closed/, and move the spec back to open/. Use when new work belongs to a closed EPIC or a closed issue regressed.
Как установить скилл reopen-issue?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл reopen-issue запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic