From claude-project-flow
Close or cancel a feature without merging — archive docs and update DB
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-project-flow:feature-closeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Close a feature that has been abandoned, superseded, or is no longer needed, without performing a merge.
Close a feature that has been abandoned, superseded, or is no longer needed, without performing a merge.
$ARGUMENTS — Feature name (optional, detected from branch)feature/<name>) or $ARGUMENTSproject_flow__feature_get to verify feature exists and get current stateproject_flow__settings_get to resolve docs pathFEATURE_DIR = <resolved_path>/features/<feature_name>/Present the current state:
Feature: {feature_name}
- Status:
{status}- Branch:
{branch}- Requisiti: {coverage}% copertura
- Piani: {active_count} attivi, {completed_count} completati
Motivo della chiusura?
- Abbandonata — non più necessaria
- Sostituita — rimpiazzata da un'altra feature
- Rinviata — da riprendere in futuro
- Annulla — non voglio chiudere
Ask the user:
Descrivi brevemente il motivo della chiusura (opzionale, ma utile per riferimento futuro):
Save the reason for the closure note.
If "Sostituita", ask:
Quale feature la sostituisce?
If FEATURE_DIR exists:
vN in Archive/)Archive/) into Archive/vN/Archive/vN/CLOSURE.md:# Closure: <feature_name>
> Date: <ISO date>
> Reason: abandoned | superseded | deferred
> Previous status: <status>
## Notes
<user's closure reason>
## Superseded by
<other feature name, if applicable>
Call project_flow__feature_update with:
project: project namename: feature nameforce_status: cancelled (for abandoned/superseded) or draft (for deferred — so it can be resumed)For deferred features, do NOT set closed_at — keep them open in the DB so they appear in feature-list.
Ask the user:
Vuoi eliminare il branch
feature/<name>?
- Sì, elimina
- No, mantieni (utile se rinviata)
If yes and not currently on that branch:
git branch -d feature/<name>
If currently on that branch:
git checkout <main_branch>
git branch -d feature/<name>
Feature chiusa: {feature_name}
Motivo {reason} Docs archiviate in Archive/vN/Status cancelled/draft(rinviata)Branch eliminato / mantenuto
npx claudepluginhub matteovisca/claude-project-flow --plugin claude-project-flowAborts the current FLOW feature by closing the PR, deleting the remote branch, removing the worktree, and deleting the state file. Available from any phase.
Ships ready features by writing shipped.md, committing/pushing to feature branch, merging PR to dev, and updating dashboard. Use after external reviews.
Finalizes git-flow feature branch: checks clean tree on feature/*, runs tests, updates/commits CHANGELOG.md, merges to develop, pushes origin/develop.