nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:qikairo7/dsh-github-review
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A GitHub PR review bot that lives in DeepSeek Harness (DSH). When a pull request opens, a review Session starts in your Desktop sidebar within seconds: it reads the diff, posts severity-tagged inline comments, fixes blocking findings itself, replies in review threads, and approves or requests changes.
Unlike the hosted Codex/Claude reviewers, this bot never stops at comments:
| Capability | Hosted Codex/Claude review | dsh-github-review |
|---|---|---|
| Auto-trigger on PR | ✅ on GitHub runners | ✅ webhook into your DSH host |
| Inline comments + summary | ✅ | ✅ with [P0]–[P3] prefixes |
| Commit-status gate | ✅ | ✅ dsh-review status + ai-review:* labels |
| APPROVE / block merge | ❌ comment-only | ✅ approve or request-changes |
| Auto-fix and push | ❌ | ✅ temporary worktree → checks → push → re-review |
| Thread conversations | ❌ one-way | ✅ replies, resolves, round limit |
| Learns from repeats | ❌ | ✅ lessons ledger with promotion |
| Model & skills | locked | any DSH model + any skills you configure |
中文说明见 README.zh.md。内部结构见 docs/architecture.md。
GitHub ──(signed webhook)──> your DSH host (127.0.0.1:3081/github)
└─ rule: allowlist + dedupe ticket ──> review Session in the Desktop sidebar
├─ gh-bot / review-threads / post-review helpers (bot identity)
├─ findings P0–P3, inline comments, review body
├─ blocking? ── fix in tmp worktree ── run your check ── push ── approve
└─ threads replied & resolved; round cap hands off to a human
One webhook delivery becomes at most one Session. Same-head retries are deduplicated; a new push supersedes the old review; the bot's final review releases the slot instantly.
0.2.2-rc.3+ with the dsh-webhook / dsh-webhook-github
packages (declared as dependencies of this bundle)gh CLI on PATH, pwsh (PowerShell 7) on PATHrepo scope) — fine-grained tokens
cannot write to repositories the account collaborates ontailscale funnel 8443 --https=3081)Token file on the machine that runs DSH:
~/.dsh/github-review/bot-token.txt # contains only the classic PAT
Optionally point elsewhere with the DSH_GITHUB_REVIEW_TOKEN environment
variable (a file path) or the -TokenPath parameter on every helper.
Webhook secret in ~/.dsh/.credentials.yaml:
refs:
DSH_GITHUB_WEBHOOK_SECRET: <64+ random hex>
Install the bundle into your Desktop profile: clone this repository and
run dsh plugin --profile <name> add ., or download the tarball from
GitHub Releases
and run dsh plugin --profile <name> add ./dsh-github-review-<version>.tgz.
Wire the patch layer using cordis.patch.yml as the
starting point: set the rule's repository, workspacePath,
allowedAuthors, and botLogin. The webhook server binds 127.0.0.1:3081.
GitHub webhook on your repository:
https://<your-ingress>/githubapplication/jsonDSH_GITHUB_WEBHOOK_SECRETpull_request, pull_request_review, pull_request_review_commentRecommended: add the bot's dsh-review status context to your branch
protection as a required check, and require 1 approval so the bot's approve
can satisfy it.
Every rule field, its default, and its meaning lives in one place: docs/configuration.md. Credentials (webhook secret, bot token) are covered there too.
When the target repository keeps an AI-REVIEW-LESSONS.md, the reviewer reads
it before assigning severity and appends one row per P0/P1 finding (rule, why,
evidence, Seen counter). A rule seen three times is promoted into the
repository's own coding standards. The whole loop is optional — repositories
without the file simply skip it.
repos
list (per-repo workspace, commands, and options). One bot account per
install.MIT © 2026 qikairo7
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: ai-agent。