Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问clear审计提醒

stacked-prs堆叠 prs

Agent Skill

用于辅助 Java 项目开发、面向对象设计、Spring 生态、Maven 或 Gradle 依赖和后端工程实践。它适合让 Agent 分析类结构、设计接口、整理服务分层、生成测试或检查常见代码坏味道。使用时需要结合项目已有架构、包结构和依赖版本,不应只按通用教程改代码;涉及数据库、事务、并发或框架配置时,应先确认运行环境和回归测试范围。

总安装

245

周安装

10

GitHub Stars

38

下载量

78
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:stacked-prs(堆叠 prs)
来源仓库:https://github.com/bitsoex/bitso-java
仓库路径:skills/stacked-prs
安装命令:
npx skills add https://github.com/bitsoex/bitso-java --skill stacked-prs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/bitsoex/bitso-java --skill stacked-prs

简介

stacked-prs 用于管理堆叠式拉取请求,支持依赖关系可视化和迭代审查流程。

  • 它遵循无强制推送、草稿优先和自底向上处理原则,确保合并提交和全面审查。
  • 通过 npx skills add 命令安装,需结合项目 Git 工作流使用。
  • 涉及数据库、事务或框架配置时,应先确认运行环境和回归测试范围。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Stacked PRs Workflow

Workflows for managing stacked (dependent) pull requests with proper visualization, merge-based updates, and iterative CodeRabbit review cycles.

Core Principles

  1. No Force Pushes - Always use merge commits, never rebase/force-push
  2. Draft First - PRs start as drafts until CI passes and CodeRabbit approves
  3. Bottom-Up Processing - Address feedback from lowest PR in stack first
  4. Comprehensive Reviews - Address all CodeRabbit comments including nitpicks
  5. Visual Stack - Use PR titles and descriptions to show stack relationships

Skill Contents

Sections

Available Resources

📚 references/ - Detailed documentation

🔧 scripts/ - Automation scripts


Workflow Overview

PhaseDescriptionReference
CreationCreate stacked PRs with proper titles and descriptionsreferences/pr-formatting.md
UpdatesMerge changes through the stack (no rebasing)references/merge-workflow.md
ReviewsProcess CodeRabbit feedback in cyclesreferences/review-cycles.md
ReadinessMark ready only after CI + CodeRabbit approvalreferences/readiness-checklist.md

Quick Reference

PR Title Format

[JIRA-KEY] type(scope): description (PR N/M)

Stack Visualization (in PR Description)

## PR Stack

| # | PR | Title | Status |
|---|-----|-------|--------|
| 1 | #78 | PNPM migration | Merged |
| 2 | **#79** | Shell to JS | This PR |
| 3 | #80 | Skills content | Depends on #79 |
| 4 | #81 | Validation & CI | Depends on #80 |

Merge Flow (Not Rebase)

# After fixing issues in PR #79
git checkout feat/pr-80-branch
git merge feat/pr-79-branch --no-edit
git push origin feat/pr-80-branch
# Repeat for subsequent PRs in stack

Scripts

ScriptPurpose
scripts/check-stack-status.tsCheck CI and CodeRabbit status for all PRs in stack

References

ReferenceContent
references/pr-formatting.mdPR title and description templates
references/merge-workflow.mdHow to propagate changes through the stack
references/review-cycles.mdProcessing CodeRabbit feedback iteratively
references/readiness-checklist.mdWhen to mark PRs ready for review
references/automation-patterns.mdPolling loops, callbacks, and autonomous operation

Key Requirement: CodeRabbit Approval

PRs should only be marked "Ready for Review" when:

  1. All CI checks pass
  2. All CodeRabbit comments addressed (including nitpicks)
  3. CodeRabbit has approved (happens automatically after addressing feedback)
  4. All previous PRs in the stack are merged

Important: Do NOT explicitly request CodeRabbit approval. It approves automatically after you've addressed all its comments and pushed fixes.

Programmatic Automation

For autonomous AI agents, use polling loops to monitor status:

async function waitForPRReady(prNumber: number, repo: string, maxAttempts = 30, intervalMs = 60000) {
  for (let attempt = 1; attempt <= maxAttempts; attempt++) {
    const status = await checkPRStatus(prNumber, repo);

    if (status.ciPassed && status.coderabbitApproved && status.openComments === 0) {
      return { ready: true, status };
    }

    console.log(`Attempt ${attempt}/${maxAttempts}: CI=${status.ciPassed}, CR=${status.coderabbitApproved}, Comments=${status.openComments}`);

    if (attempt < maxAttempts) {
      await sleep(intervalMs);
    }
  }
  return { ready: false, reason: 'timeout' };
}

See references/automation-patterns.md for complete polling implementations.

Skill Dependencies

SkillPurpose
coderabbit-workflowThread replies, comment export, local CLI reviews
pr-workflowBase PR management patterns

Related

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.4%
按下载量换算24

OpenCode

22.44%
按下载量换算18

Antigravity

15.6%
按下载量换算12

windsurf

12.84%
按下载量换算10

Codex

7.68%
按下载量换算6

Gemini CLI

3.67%
按下载量换算3

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/bitsoex/bitso-java --skill stacked-prs;npx skills add bitsoex/bitso-java --skill "stacked-prs" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills