npx claudepluginhub baleen37/bstack --plugin bstackThis skill uses the workspace's default tool permissions.
scripts/preflight-check.shscripts/wait-for-merge.shSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Implements structured self-debugging workflow for AI agent failures: capture errors, diagnose patterns like loops or context overflow, apply contained recoveries, and generate introspection reports.
Execute each line literally (scripts MUST be run, not reimplemented):
S="${CLAUDE_PLUGIN_ROOT}/skills/create-pr/scripts"
# If on main/master: checkout -b <type>/<short> first
"$S/preflight-check.sh" # syncs if behind base
git add <files> && git commit -m "type(scope): msg"
git push -u origin HEAD
gh pr create --title "$(git log -1 --pretty=%s)" --body "<body>"
gh pr merge --auto --squash
"$S/wait-for-merge.sh" # 0=done 1=CI fail(prints run-id)
CI fail: gh run view <run-id> --log-failed → me:pr-pass → re-enable gh pr merge --auto --squash
→ re-run wait. Stop if unclear/×2.
PR body: fill PR template if exists, else summary+changes+tests.