ajyadav013/claude-kit/ckit-command-abort
Claude Code and agent skill by ajyadav013/claude-kit
- community
Checking that the SKILL.md file is still in the repository.
Abort the in-progress /sdlc run — terminate its authoritative snapshot and clean its worktrees
Install
npx vskill@latest install ajyadav013/claude-kit/ckit-command-abortSKILL.md
The same SKILL.md was published earlier as ajyadav013/claude-kit/ckit-command-abort.
Cleanly abort the in-progress autonomous SDLC run in this project. The authoritative lifecycle transition is claude-kit pipeline abort; worktree cleanup remains guided and must never remove anything this run did not create.
- Confirm a run is in progress. Run
claude-kit pipeline statusand read
.claude/CONTINUITY.md. The schema-v2 snapshot is authoritative for lifecycle status; CONTINUITY supplies human context and the orchestrator's PIPELINE:/lane notes. If there is no active run, say so and stop.
- List worktrees:
git worktree list. Identify only the worktrees this run created for its
lanes (the developer lanes use the Agent tool's isolation: "worktree"). When .claude/state/pipeline-snapshot.json records a git.worktrees map, treat it as the authoritative list of what this run created (cross-check each path against git worktree list); fall back to the CONTINUITY prose only when the snapshot lacks it. Never remove a worktree this run did not create, and never the primary checkout.
- Remove them:
git worktree remove <path>for each identified worktree. Unchanged worktrees are
auto-cleaned by the Agent tool; this handles any that remain. Add --force only after telling the user exactly what uncommitted lane work would be lost and getting confirmation.
- Terminate the authoritative run: run
claude-kit pipeline abort. It atomically marks the
schema-v2 snapshot status: aborted, records aborted_at, and makes the run terminal. If this command fails, report the path/error as BLOCKED and do not hand-edit snapshot JSON. Then mirror ABORTED <date> — <reason from $ARGUMENTS> under Current Phase in .claude/CONTINUITY.md, and reset Active Tasks / Next Steps. A later pipeline start/adopt archives this terminal snapshot before creating the next run. (To merely pause, do not abort; leave the PIPELINE: line intact so /sdlc can offer RESUME instead.)
- Report what was removed and the final state. Do not touch the user's branches, commits, or other
worktrees.
This is the counterpart to the worktree-teardown step in orchestrator Stage 7: use it when a run must be cancelled mid-pipeline rather than completing to a PR.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ckit-command-abort/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ajyadav013/claude-kit/ckit-command-abort)