Skip to content
Back to skills

Shipwrights Spec Cancel

ASecurity

Tombstone a drafted or in-flight spec. Sets status to `cancelled`; the file stays in place for audit. Refuses on shipped or already-cancelled specs. Invoked as /shipwrights-spec-cancel <S-id>.

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 27, 2026
data-aigitfrontendbackend

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add shipwrights/core --skill shipwrights-spec-cancel --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shipwrights Spec Cancel?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shipwrights Spec Cancel
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shipwrights-shipwrights-spec-cancel/badge)](https://www.skillsdirectory.com/skills/shipwrights-shipwrights-spec-cancel)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: shipwrights-spec-cancel
description: Tombstone a drafted or in-flight spec. Sets status to `cancelled`; the file stays in place for audit. Refuses on shipped or already-cancelled specs. Invoked as /shipwrights-spec-cancel <S-id>.
---

# /shipwrights-spec-cancel — abandon a spec

Use this when:
- The drafted spec is wrong-direction and revising won't fix it
- Priorities changed and the work isn't needed anymore
- The spec was created by mistake

## What you do

1. Validate spec exists.
2. Refuse if `status` is `shipped` or already `cancelled` (terminal states).
3. Flip frontmatter to `status: cancelled`.
4. Commit: `chore(spec): cancel <id>`.
5. If the spec was past `approved`, note that scratch branches may exist (`<feature>--backend`, `--frontend`, `--qa`) and need manual cleanup.

## Hard rules

- The file is **not deleted**. It stays as an audit trail.
- After `cancel`, the orchestrator (`/shipwrights-spec`, `/shipwrights-spec-approve`, `-revise`) refuses to act on this id.
- Cancelling mid-build leaves scratch branches; the user cleans them up.

## Output

```
✓ Spec <id> cancelled.
The file stays in place as an audit trail.
```

If past `approved`:

```
Note: status was "<previous-status>" — scratch branches may still exist.
Clean them up manually with: git branch | grep -- '--' | xargs git branch -D
```

CLI implementation: `lib/commands/spec-cancel.mjs`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data-ai →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.