home/roleplay/prune-source-prompt

Prune Source.prompt

GPTClaudeGemini··611 copies·updated 2026-07-14
prune-source-prompt.prompt
---
description: "Guided removal of a source store from sources/supported-stores.json — coherence check first, comment-out for one cycle, then delete"
lastReviewed: 2026-05-29
---

# /prune-source

Remove a source store from the Mall's registry. Runs [staleness-discipline](../skills/staleness-discipline/SKILL.md) classification first, then a downstream-impact check, then the two-step reversible removal (comment-out → observe → delete).

## Steps

1. Apply [staleness-discipline](../skills/staleness-discipline/SKILL.md) to classify the proposed removal. Confirm at least one staleness signal fires (link unreachable, upstream archived, no activity 18+ months, license drift, replaced by superior alternative, persistent breakage).
2. **Downstream-impact check**: the Mall is consumed by downstream projects via pinned upstream refs. Surface the proposed removal in the catalog-refresh PR description so reviewers can flag any downstream impact. If a known consumer depends on plugins from this store, give them notice before the second-step deletion.
3. **Reversible removal (step 1 of 2)**: Comment out the entry in `sources/supported-stores.json` rather than deleting. Add a line above it: `// pruned-pending: YYYY-MM-DD reason: <reason>`.
4. Commit `[behaviour] prune source (pending): <name> — <reason>`.
5. Push. Let one weekly cron cycle run with the source commented out. Verify the catalog refresh PR shows the expected removal (store missing from `catalog/stores/`, plugin count drops by the right amount, no other unintended diffs).
6. **Reversible removal (step 2 of 2)**: After one clean cycle, delete the commented-out entry. Update the comment to `// pruned: YYYY-MM-DD reason: <reason> (delete: YYYY-MM-DD)` as an archival note above the surrounding entry.
7. Commit `[behaviour] prune source (delete): <name>`.

## Re-add procedure (if needed later)

If a pruned store revives, do not silently re-add. Run `/add-source` from scratch — past acceptance does not transfer; the scorecard must re-evaluate against current state.

## Boundaries

- Do not delete a source store entry in one commit. The two-step (comment-out → observe → delete) is the safety net against silent catalog breakage.
- Do not prune without the downstream-impact check. Consumers depending on the store should get notice before deletion.
- Do not prune `plugin-mall` itself. The self-entry is constitutional to this Mall's design; removing it would break the catalog's ability to surface first-party plugins.
- Do not prune for "I don't like the maintainer" or other subjective reasons. The staleness signals are the bar; document the firing signal in the commit message.

## Would Revise If

Revise this prompt by **2026-08-29** (90 days) or sooner if:
- The two-step removal causes a registry-vs-catalog drift that ships ≥1 time (the reversible pattern is leaking)
- Downstream-impact check is skipped ≥2 times and a consumer reports breakage with no notice (gate not enforced)
- Pruned stores are re-added within 30 days of removal ≥2 times (premature pruning — staleness signals miscalibrated)

when to use it

Community prompt sourced from the open-source GitHub repo fabioc-aloha/Alex_Skill_Mall (MIT). A "Prune Source.prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

fabioc-aloha/Alex_Skill_Mall · MIT