AGENT SKILL

configure-pr

Set or revise this repository's PR review priorities, human-review paths, critical behavior, and linked standards. Use when a developer says what their team's PR process should care about.

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

01 前言 Front Matter

name
configure-pr
metadata
{ "author": "Brenden Bishop", "attribution": "../../../ATTRIBUTION.md" }
description
Set or revise this repository's PR review priorities, human-review paths, critical behavior, and linked standards. Use when a developer says what their team's PR process should care about.

03 SKILL.md 正文

Configure project PR policy

Maintain one committed bstack-pr-policy.md at the Git repository root. In a monorepo, scope rules with repository-relative paths such as apps/web/src/auth/**. Do not create a separate file per package. The policy adds project concerns to BStack's shared PR standards; it cannot relax them.

Read the existing policy and relevant project standards before editing. If no policy exists, start from the empty template. Translate the developer's request into the smallest useful addition. Keep existing project rules unless the developer asks to revise them. Link established Markdown standards instead of copying their contents. Do not move this policy into .bstack/, AGENTS.md, or a forge-specific folder.

Use the four headings in the template. Under Human review required, write one-line bullets as - \path-or-glob`: reason`. These rules are matched by code against changed paths, so name actual paths. A semantic concern such as "anything that affects authentication" may extend beyond a path rule; state that limit and add a focused review concern as needed. Human review withholds BStack's AI approval. Forge branch protection or owners rules are a separate way to enforce the merge.

Under Critical behavior and Review focus, use short one-line bullets. Critical behavior is a blocker when evidence shows a regression; an unverified concern is a coverage gap, not an invented defect. Under Relevant standards, write - \path/to/file.md`: why it matters`. The file must be committed to the target branch for reviewers to rely on it.

Validate the result with python3 <absolute-package-path>/shared/pr_policy.py validate --project <repo-root>. For an open PR, check the applicable base revision with check --project <repo-root> --base <target-ref>. Show the developer the resulting policy and which changed paths require a human. Changes to bstack-pr-policy.md itself always require human review. Do not silently edit forge ownership or branch protection.

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