Install
$ agentstack add skill-sjarmak-agent-workflows-prd-build-cancel ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
PRD Build Cancel
Check for an active run:
```! if [ -f .claude/prd-build.state.json ]; then cat .claude/prd-build.state.json else echo "NOSTATEFILE" fi
If NO_STATE_FILE: tell the user there's no active run to cancel.
Otherwise, present the current status and ask the user which action they want:
1. **Pause** — Update `.claude/prd-build.state.json` status to `"paused"`. State is preserved. Resume later with `/prd-build-resume`.
Also append a timestamped line to `.claude/prd-build.log.md`: "Run paused by user".
2. **Cancel (clean)** — Remove all worktrees, branches, and state files:
```bash
# Remove worktrees
git worktree list --porcelain | grep -oP 'worktree \K.*prd-build.*' | while read wt; do git worktree remove --force "$wt"; done
# Remove branches
git branch --list 'prd-build/*' | xargs -r git branch -D
# Remove state files
rm -rf .claude/prd-build.state.json .claude/prd-build.log.md .claude/prd-build-artifacts/
```
3. **Cancel (keep branches)** — Remove worktrees and state but keep git branches for manual inspection:
```bash
# Remove worktrees only
git worktree list --porcelain | grep -oP 'worktree \K.*prd-build.*' | while read wt; do git worktree remove --force "$wt"; done
# Remove state files
rm -rf .claude/prd-build.state.json .claude/prd-build.log.md .claude/prd-build-artifacts/
```
WAIT for the user to choose before taking any action.
## Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- **Author:** [sjarmak](https://github.com/sjarmak)
- **Source:** [sjarmak/agent-workflows](https://github.com/sjarmak/agent-workflows)
- **License:** MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.