7dgroup-ai/dsh-skill-7d-code-reviewer 预览 preview

7dgroup-ai/dsh-skill-7d-code-reviewer

这是一个专业级的 DSH(DeepSeek Harness)代码审查技能插件,由 7DGroup 团队开发,专为 AI 辅助代码审查场景设计。基于 TypeScript + Cordis 开发,以组合包(bundle)形式安装,通过 ctx.skills 注册 7d-code-reviewer 技能:五步审查流程、严重/中等/轻微三级问题分级、四维度评分标准,文本摘要与 HTML 报告双输出。零核心改动——安装即启用,移除 bundle 行即卸载。

Project Overview项目介绍

This is a template-driven code review skill plugin built natively for DeepSeek Harness (DSH), developed by the 7DGroup team to enable AI-assisted code review directly within DSH sessions. It is built with TypeScript and Cordis, and installs as a composable bundle that registers the 7d-code-reviewer skill. It ships with a five-step review workflow, three-level severity grading for issues, four-dimension quality scoring, and outputs both plain text summaries and full interactive HTML reports. No changes to DSH core are required; you just install the bundle to enable it and remove the bundle entry to uninstall.

The plugin is designed for development teams, security auditors, and individual developers working within DSH. Common use cases include pre-commit or pre-merge request code reviews, security audits of existing codebases, quality assessments before refactoring, and enforcing consistent team coding standards across all projects. It includes an on-demand knowledge base with coding standards, security checklists, and worked examples that don’t bloat your session prompt. After you invoke the skill in a DSH session, it follows its structured five-step flow to complete the review automatically, then outputs a quick text summary for fast scanning and a detailed HTML report with visual scoring for later review.

The plugin requires Node.js version 22.19.0 or newer, or 24.0.0 or newer, plus pnpm 10 or higher to install and run, and it is released under the open source MIT license. If you run into a build failure on first install with pnpm, you can fix it by adding the printed package key to the allowBuilds section of your pnpm-workspace.yaml, or you can use a prebuilt tarball or npm package to skip this step entirely. The plugin makes no modifications to the core DSH codebase, so uninstalling it removes all related files and leaves no leftover changes or modifications to your DSH installation.

这是由7DGroup团队开发的DeepSeek Harness(DSH)原生代码审查技能插件,专为DSH会话内AI辅助代码审查设计。它基于TypeScript和Cordis构建,以可组合包安装,注册7d-code-reviewer技能,含五步审查流程、三级严重程度分级、四维评分,支持文本和HTML双输出,无需修改DSH核心,安装即可启用,移除即可卸载。

该插件适用于开发团队、安全审计人员和个人开发者,可用于提交合并前的代码审查、现有代码的安全审计、重构前的质量评估、团队编码规范落地等场景。使用时只需在DSH会话中调用该技能,插件会按照五步流程自动完成审查,最终生成可快速阅读的文本摘要和带可视化评分的完整HTML报告。

该插件依赖Node 22.19+或24+版本、pnpm 10+,遵循MIT开源许可。首次安装若遇到pnpm构建失败,需将包密钥添加到pnpm-workspace.yaml的允许构建列表,也可使用预构建压缩包或npm包绕过该问题,插件不修改DSH核心,卸载后无残留。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 11 stars - an early-stage project星标 11,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:7dgroup-ai/dsh-skill-7d-code-reviewer

把 7dgroup-ai/dsh-skill-7d-code-reviewer 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

7DGroup code review skill plugin banner

npm version license MIT node by 7DGroup Awesome DSH Plugin

English | 中文

@7dgroup/dsh-skill-7d-code-reviewer

Author: 7DGroup

A professional, template-driven code review skill plugin for DeepSeek Harness (DSH), developed by the 7DGroup team for AI-assisted code review in any dsh session. Built on TypeScript + Cordis, it installs as a composable bundle and registers the 7d-code-reviewer skill with ctx.skills: a five-step review flow, critical/medium/minor severity grading, four-dimension scoring, and dual text + HTML report output. Zero core changes — install to enable, remove the bundle row to uninstall.


📌 Project Info

Field Value
Author 7DGroup
Version 0.1.0
Runtime Node `^22.19.0
Supported dsh versions 0.2.0-rc.2+ (0.2.x)
Peer dependencies @deepseek-ai/cordis · @deepseek-ai/dsh-skill · @deepseek-ai/dsh-invariants
Skill name 7d-code-reviewer
Repository github.com/7dgroup-ai/dsh-skill-7d-code-reviewer
License MIT

🖼️ Plugin Effect

Skill invocation in a dsh session:

Invoking the 7d-code-reviewer skill for a code review

Sample HTML report generated from the pure-placeholder template:

Sample code review HTML report

Core Capabilities:

  • Template-driven mode — separation of concerns: SKILL.md decides what to review and how severe it is, templates/ only presents. The HTML report template stays pure placeholders; all placeholders must be filled, and every dynamic value is HTML-escaped.
  • Five-step review flow — accept the task → quick scan → line-by-line review (loading references/ on demand) → severity grading → report generation.
  • Three-level severity grading — 🔴 critical (must fix) / 🟡 medium (should fix) / 🟢 minor (optional polish).
  • Four-dimension scoring — code quality / security / performance / maintainability, each on a 1–10 scale, plus an overall score and an auto-generated summary.
  • Dual output — a text summary for quick reading, plus a full HTML report saved as code-review-report-{timestamp}.html.
  • Built-in knowledge base — coding standards, security checklist (SQL injection, XSS, authentication/authorization, sensitive-data leaks) and worked review examples, loaded on demand instead of bloating the prompt.
  • Zero core changes — pure composable bundle; no patches to the DSH core, safe to install and remove.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-ptc-plus 下一个 Next dsh-solution-explorer →