AGENT SKILL

bstack-router

Route engineering work through bstack's pinned PStack workflows with portable capabilities, scoped execution, and visible evidence. Use for bstack engineering tasks or when the repository's standing instructions load this router.

License 许可
MIT
最近更新
2026-11-11
Stars
★ 0
Forks
0

01 前言 Front Matter

name
bstack-router
metadata
{ "author": "Brenden Bishop", "attribution": "../../../ATTRIBUTION.md" }
description
Route engineering work through bstack's pinned PStack workflows with portable capabilities, scoped execution, and visible evidence. Use for bstack engineering tasks or when the repository's standing instructions load this router.

02 资源文件 1

03 SKILL.md 正文

bstack router

This is bstack's policy layer over PStack's router. Keep the imported files unchanged. Apply this policy to every imported playbook, skill, agent, reference, and helper they select. User scope and host instructions take precedence; this layer resolves differences with the imported defaults.

Apply the seven-rule bstack baseline, reusing it when already present in project instructions. It governs imported guidance on implementation trade-offs, meaningful tests, and code comments. An imported comment exception or mandatory test-per-fix instruction does not override it.

Select and continue

When the user explicitly invokes a named skill such as how or architect, apply this policy and follow that skill within the requested scope. Load only its needed dependencies. Do not also load the upstream router or select a playbook unless that skill calls for it or the user requests Poteto Mode.

For Poteto Mode or automatic engineering routing, read the upstream router in full, then the selected playbook and relevant skill leaves. Preserve its principles and workflow steps except for the adjustments below. Reuse full instructions while they remain available. After compaction, reread any missing instructions; retain the active workflow, completed work, and next step instead of restarting.

Only playbooks listed under playbooks in the installed package's index.json are active. The quarantined_playbooks names are not runnable BStack workflows yet; their pinned source remains for review. If a request matches one, explain the missing host or service capability and continue with a supported narrower task where possible. Do not run its bundled helper or promise an unattended loop. On first use of a conditional workflow, read the plain setup map and check only the prerequisites that workflow actually needs.

  • Use a matching playbook for ordinary engineering tasks. A reported defect routes to Bug fix, measured slowness to Perf issue, and a cited read-only explanation to Investigation. New behavior routes to Feature. Open the selected playbook before acting on the task. Size is not an exemption: a one-line fix still opens its playbook, which decides what a small change can skip.
  • Use figure-it-out for engineering work needing a bespoke execution plan, including large or cross-cutting work whose coordination exceeds a narrower playbook. A one-time migration can need it. Repetition and creation of a reusable skill are not prerequisites. The imported Orchestrate playbook is quarantined until its host lifecycle and helper dependencies are ported.
  • Worktree cleanup routes to the owned worktree-cleanup skill. Audit first; do not infer that an idle branch or missing transcript means a checkout is safe to remove.
  • Requests to recover or learn from prior sessions route to owned recall, reflect, or automate-me by intent. Read only project-scoped sessions needed for the answer.
  • Ordinary writing, casual conversation, and other requests with no engineering workflow need a normal response. Select no engineering playbook. Apply bstack's unslop to prose without loading the upstream engineering corpus.
  • When the user asks how to use bstack or which entry fits their task, use bstack-guide without starting an engineering playbook.
  • Respect explicit skill requests and the requested deliverable. Planning, discussing, classifying, or verifying a route does not authorize executing the described work. A plan-only figure-it-out request stops at the plan.
  • Within that scope, honor the selected playbook's explicit exceptions and skip conditions before generic defaults. Investigation stays read-only; it does not inherit a mandatory PR or prototype step.

Planning and phase changes

Use bstack's owned entries for selected SDLC workflows, including references from imported instructions. Read only the selected entry and the dependencies it needs:

Task Entry
Explore a plan through questions grilling, grill-me, or grill-with-docs
Establish terminology or an ADR domain-modeling
Organize unresolved decisions across sessions wayfinder
Synthesize accepted scope or slice implementation work to-spec, then to-tickets when needed
Assess incoming work and overlap triage
Draft questions for another person to-questionnaire
Research, prototype, or implement research, prototype, implement
Prepare or publish an authorized PR to-pr
Review a PR or recheck its revisions review-pr
Respond to feedback on your PR resolve-pr
Configure project PR review priorities configure-pr
Create or fully audit a project verifier create-verification-skill or maintain-verification-skill
Transfer work to a fresh context handoff

Named invocation selects that entry. Within opted-in automatic routing, propose or select the matching phase from the user's task. A sufficient spec or small known task can skip Wayfinder. Planning completion does not authorize implementation. Triage is intake coordination, not a mandatory step between planning and tickets.

PR review selects the owned review entry before general investigation or PR-status routing. It evaluates necessity and implementation, then challenges anonymous findings. It does not run the complete Arena/Interrogate workflows, fix code, or merge. For a status-only or CI-repair request, use the host's supported checks directly; the imported Babysit playbook is quarantined. Publishing a review needs its own applicable authorization.

Author-side review follow-up selects resolve-pr. Judge each concern against evidence and the PR's purpose; an evidence-backed reply may resolve it without changing code. Keep independent cleanup out of the PR, and do not treat an existing request-changes review as cleared by the author's reply.

Read decision authority when deciding who can settle product choices, ADRs, or autonomous grilling. Human decisions remain the default; automatic routing and autonomous decision authority are separate. Use workspace access for saved work and independent work adapters for planning and ticket destinations. Local operation requires no external tracker or model-role setup.

Resolve imported Opening a PR instructions to the owned to-pr entry, including transitive calls from other playbooks. Use its final overlap check and draft policy instead of upstream's unconditional ready-PR instruction. Resolve imported prototype instructions to the owned prototype entry, Matt's selected SDLC/research/handoff names to the entries above, and Matt's setup dependency to bstack setup. Preserve the approved prototype review loop. At the prototype-to-implementation boundary, write the shared handoff and start a fresh context through a supported host capability. Carry accepted decisions and evidence forward instead of repeating the interview or grounding automatically.

Grounding and design

Before nontrivial research, design, implementation, or review, follow the shared architecture decision process. Read applicable current decisions and carry their links through delegates and phase changes. Existing rejections stand unless concrete evidence warrants a revisit. Capture only fundamental choices that meet its threshold; most features produce no ADR. Reuse this process across imported workflows without adding a second decision exercise.

Retain how for nontrivial changes, architecture decisions, and uncertainty about how the system works. Reuse adequate grounding already established for the same code and question. Refresh when evidence, scope, or assumptions change. Architect should consume that grounding rather than automatically running the same exploration twice.

Use architect when consequential design uncertainty or risk warrants competing approaches: unclear ownership or interfaces, shared state and concurrency, competing data models, or changes with broad or costly consequences. Merely crossing a function boundary is not a trigger. A routine change following a known pattern with unchanged contracts can skip architecture with a brief reason.

Keep PStack's implementation and review separation, delegated steps, adversarial review, and relevant principle leaves. Adapt their tools through the capability contract below; this layer does not quietly turn mandatory independent review into self-review.

For feature and bug work, follow the project's verification setting. Reuse an existing verify-<app> skill, update only recipes affected by changed behavior, and drive the relevant path when the app is available. In auto mode, create a verifier for a substantive new product feature when none exists. In ask mode, propose the specific change before editing the verifier. A throwaway prototype does not need one. The full maintain-verification-skill sweep remains an explicit audit, not a step on every implementation.

Capabilities and authorization

The default delegation model policy is inherit-parent, including the coding delegate. Omit an explicit model unless a supported role override is configured or the user requests one. Imported provider names, model identifiers, agent types, transcript paths, and external destinations are examples of upstream bindings, not requirements or authorization.

Do not load ~/.cursor/rules/pstack-models.mdc or select an imported default model slug. For a workflow that actually requires independent model families, verify two usable model bindings on this host before claiming that benefit; a same-model check is a narrower result. If a named agent type or background lifecycle is missing, delegate through the host's supported API or report that step unavailable. The retired upstream poteto-agent definition is not bundled.

Before an imported instruction needs delegation, a service, a host-specific tool, or a helper script, read the capability contract. Resolve the operation against capabilities actually available in this environment. Pass this router's path and relevant policy to delegates. They must apply bstack's layer before following imported instructions.

Proceed with authorized work without repeated permission requests. Earlier authorization persists for the same action and destination. Availability of an integration alone grants no permission to send messages, publish, deploy, or change external state. Follow host requirements and clarify only a material unresolved boundary.

Deliver at the user's requested or configured destination. Local changes, a patch, a work item, or a draft PR can each be valid outcomes. Run Opening a PR only when PR delivery is in scope and supported; no default requirement to publish a ready GitHub PR. A broken imported skill is a maintainer issue to record and address within scope, not an automatic extra PR in a consumer's task.

Visible execution and evidence

For substantive engineering work, give a compact initial note naming the chosen workflow and relevant skills. Maintain the workflow's steps and meaningful skips in the available plan facility or a short local checklist. Do not copy every upstream step verbatim into each reply. Report a route change or consequential skip when it happens. End with what actually ran, the resulting artifact, checks performed, and material limits. Ordinary prose does not need a workflow preamble.

Use these distinctions when reporting execution:

  • Reported: an agent says it selected or ran something.
  • Observed: a trace or artifact shows a read, tool call, change, or reviewer response.
  • Checked: evidence was compared against the task's acceptance criteria.

A skill name in chat, a file read, or a checked box is not proof of correct execution. Keep the deeper show-me-your-work audit for its upstream triggers and preserve Eval's examination of actual behavior. Match claims to real traces, artifacts, independent review outputs, and verification results. If the required transcript or independent model family is unavailable, state the missing evidence and narrower check performed. Do not label a self-review as an independent audit.

Always resolve imported unslop references to bstack's customized skill, including explicit paths in upstream instructions. The layer registry records this replacement and the policy's upstream review dependencies. Other imported skills remain on demand. The reminder hook carries this entry's path, not its body; it cannot itself prove that these instructions were followed.

04 同仓库更多 Skills

bbishdotdev
bbishdotdev/ai-tools

why

Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.

数据分析师
★ 0
bbishdotdev
bbishdotdev/ai-tools

unslop

Cut AI tells from any writing. Must always apply.

★ 0
bbishdotdev
bbishdotdev/ai-tools

typescript-best-practices

TypeScript best practices. Use when reading or editing any .ts or .tsx file.

★ 0
bbishdotdev
bbishdotdev/ai-tools

technical-writing

Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for /technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.

开发工程师内容创作者写作与文案
★ 0
bbishdotdev
bbishdotdev/ai-tools

teach

Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.

教师与教育
★ 0
bbishdotdev
bbishdotdev/ai-tools

tdd

Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.

★ 0