dsh-upgrade-audit
Skill by NanmiCoder
Audits external compatibility between two DSH (DeepSeek Harness) versions and detects reverts. It writes an upgrade report directory for users who need to know whether upgrading is safe.
Install dsh-upgrade-audit
Built from the published package, never by AI.
git clone --depth 1 https://github.com/NanmiCoder/dsh-agent-teams /tmp/dsh-agent-teams && mkdir -p ~/.claude/skills && cp -r /tmp/dsh-agent-teams/skills/dsh-upgrade-audit ~/.claude/skills/dsh-upgrade-auditRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NanmiCoder/dsh-agent-teams /tmp/dsh-agent-teams && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/dsh-agent-teams/skills/dsh-upgrade-audit ~/.gemini/antigravity-cli/skills/dsh-upgrade-auditAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill compares two DSH versions and reports changes that outside consumers can see, such as removed exports, renamed wire error codes, and data formats refused on read. It also detects reverts within the version range. It supports two modes. Source mode compares git tags in a DSH source checkout. npm mode downloads the published packages of both versions when no checkout is available, installing them in isolation with --ignore-scripts.
The output goes into a tmp directory named after the version pair. It contains a commit list, a revert list, file and diff reports, a changelog with a Reverts section, and an UPGRADE-ADAPTATION.md audit report. The skill is intended for developers and maintainers who need to decide whether upgrading DSH between two versions is safe.
Written from the project's SKILL.md and checked against it.
What it can do
- Version comparisonCompares two DSH versions and answers whether the newer one adds breaking changes or reverts behavior.
- Revert detectionFinds reverts in the version range using git history or GitHub compare enrichment in npm mode.
- Source and npm modesAudits git tags in a source checkout, or published npm packages when no checkout is present.
- Format guard checksReads session format and SQLite schema version constants on both versions to flag data breakage.
- Upgrade reportWrites UPGRADE-ADAPTATION.md with a verdict, breaking changes by consumer impact, and a migration checklist.
- Boundary signature tableLists API surface items with their from and to values and whether each one changed.
- Categorized changelogGenerates a CHANGELOG.md grouped by change type, with a Reverts section.
What you need
- Git, for source mode against a DSH checkout
- Node.js, to run the bundled scripts
- Access to the npm registry, for npm mode
- Access to the public GitHub repository, for commit and revert enrichment in npm mode
Try asking
- Compare dsh-v0.1.2-alpha.1 and dsh-v0.1.2-alpha.2 for breaking changes
- Audit whether upgrading DSH from 0.1.2-alpha.1 to 0.1.2-alpha.2 is safe
- Check for reverts between two DSH versions and write an upgrade report
Good to know
- Writes only inside its tmp report directory and stops if that directory already exists.
- npm mode has no git history without GitHub enrichment, and reverts cannot be detected when enrichment is absent.
- The npm version set does not always match the git tag set, so some versions may be missing.
- Python SDK changes are out of scope in npm mode.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/dsh-upgrade-audit/SKILL.md, skills/dsh-upgrade-audit/scripts/gen-artifacts.check.mjs, skills/dsh-upgrade-audit/scripts/gen-artifacts.mjs, skills/dsh-upgrade-audit/scripts/materialize-npm.mjs. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
SKILL.zh-CN.md8 KB -
evals/evals.json3 KB -
examples/0.1.2alpha1-to-0.1.2alpha2/CHANGELOG.md13 KB -
examples/0.1.2alpha1-to-0.1.2alpha2/README.md991 B
Show all 10 files
-
examples/0.1.2alpha1-to-0.1.2alpha2/UPGRADE-ADAPTATION.md18 KB -
references/audit-playbook.md9 KB -
scripts/gen-artifacts.check.mjs2 KB -
scripts/gen-artifacts.mjs4 KB -
scripts/materialize-npm.mjs9 KB
Alternatives to dsh-upgrade-audit
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
dsh-upgrade-audit: common questions
Does this skill modify my project?
Source mode only touches its tmp report directory inside the checkout. npm mode writes only to its own tmp directory and never installs into the host project's node_modules.
Can it run without a DSH source checkout?
Yes. npm mode downloads the published packages of the two versions and enriches the data from the public GitHub repository when possible.
What if a version I ask about was never published to npm?
The materialization script exits with the list of published versions and reports the gap to the user instead of silently substituting another version.
How do I install dsh-upgrade-audit?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dsh-upgrade-audit free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is dsh-upgrade-audit safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to dsh-upgrade-audit?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
