AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Prd Build Cancel

skill-sjarmak-agent-workflows-prd-build-cancel · by sjarmak

Cancel or pause a PRD build run

No reviews yet
0 installs
8 views
0.0% view→install

Install

$ agentstack add skill-sjarmak-agent-workflows-prd-build-cancel

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-sjarmak-agent-workflows-prd-build-cancel)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
14d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Prd Build Cancel? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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.

Versions

  • v0.1.0 Imported from the upstream source.