release
Skill6k starsChanged 6 days agoMITView on GitHub
Release a new version of docx to npm. Bumps the version and syncs package-lock.json in a PR, then, once that PR has merged, tags master with the version and creates a GitHub Release on the tag, which runs the workflow that publishes to npm. Use when the user asks to release, publish or bump the version.
- Installs packages
- Commits and pushes
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 184 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 87
Keep the report short:
“Common” is measured: kept by at least 6 in 10 of the 184 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Release
Release a new version of docx. The version is $ARGUMENTS if given, otherwise work it out in step 1. It's written $VERSION below. Shell variables don't last from one command to the next, so put the version itself into each command, or set VERSION at the start of each.
Creating the GitHub Release runs .github/workflows/npm-publish.yml, which publishes to npm. That can't be taken back, so the release is only created once the version bump has merged and everything below checks out. If a check fails, stop and tell the user what you found.
1. Work out the version
git checkout master && git pull --ff-only
PREVIOUS=$(git describe --tags --abbrev=0)
git log --oneline "$PREVIOUS"..master- Minor (
9.14.0to9.15.0) when any commit is afeat:. - Patch (
9.14.0to9.14.1) otherwise, such as when there are only fixes, docs, chores and dependency bumps. - Never major. docx stays on v9, with no breaking changes.
Tags are the bare version, such as 9.15.0, with no v.
2. Bump the version in a PR
Pushing to master is blocked, so the bump goes through a PR like any other change.
git checkout -b "chore/version-bump-$VERSION"
npm version "$VERSION" --no-git-tag-version
npm install
git diff # only the version line in package.json, and the two in package-lock.json
git commit -am "chore: Version bump to $VERSION"
git push -u origin "chore/version-bump-$VERSION"
gh pr create --base master --title "chore: Version bump to $VERSION" --body-file <file>The description says which versions it goes from and to, and why it's a minor or patch bump, naming the PRs. For example: "Minor bump because of the new features since 9.14.0: readTheme (#3839), ImagePatch (#3828)…". Leave out the Claude Code attribution, as the repo is public.
3. Wait for the merge
The user merges the PR. Don't merge it yourself unless they ask you to. Stop here and tell them the PR is ready, unless they have said to carry on once it merges.
4. Tag the tip of master
git fetch origin &&
git log --oneline -1 origin/master &&
git show origin/master:package.json | grep -qF "\"version\": \"$VERSION\"" &&
git tag -a "$VERSION" origin/master -m "" &&
git push origin "$VERSION"Tag the latest commit on master, even when other PRs, such as dependabot's, have merged since the version bump. Tag origin/master rather than your local master, which may have commits that were never pushed. The commands are chained, so nothing is tagged if the fetch fails or package.json there doesn't have $VERSION. A tag that's been pushed can only be moved with a force-push, so get it right the first time. Past tags are annotated with an empty message.
5. Create the release
The notes are a paragraph that sums up the release, followed by GitHub's generated notes ("What's Changed", "New Contributors" and "Full Changelog"). See gh release view 9.14.0 for an example.
- The paragraph says what the release adds first, then what it fixes, in plain English.
- It names each issue a change closes, such as
(#878). Dependency bumps and chores are left out.
gh api repos/dolanmiu/docx/releases/generate-notes -f tag_name="$VERSION" --jq .body > generated.md
# Write notes.md: the paragraph, a blank line, then generated.md
gh release create "$VERSION" --verify-tag --title "$VERSION" --notes-file notes.mdGitHub works out the previous release itself, so the "Full Changelog" link runs from it to $VERSION. Write the notes files in the scratchpad. Don't create the release as a draft: the workflow runs on the release's created event, which GitHub doesn't send for drafts.
6. Watch the publish
gh run list --workflow npm-publish.yml --branch "$VERSION" --json databaseId,status
gh run watch <run id> --exit-status
npm view docx version # must be $VERSIONA release's run is listed under its tag, so --branch "$VERSION" finds this release's run and not the last one. If it lists nothing, the run hasn't started yet, so look again in a few seconds. The workflow tests and builds, then publishes with npm's trusted publishing, so it needs no token. It takes about 5 minutes. If a job fails on something flaky, rerun it with gh run rerun <run id> --failed. Never delete and recreate the tag or the release to retry.
7. Report
Keep the report short:
- the version bump PR
- the tag and the release's URL
- whether the publish run passed, and the version npm now shows
The bump's branch can then be cleaned up with the post-merge-cleanup skill.
Trending
More talk lately.about the whole repository
Who's talking about dolanmiu/docx
- Stack Overflow“How to add images with npm 'docx' package to word document?”Stack Overflow · Mar 24, 2020 · 5 votes
- @brysonm.bsky.social“my workflow has reduced my need to open MS down to formatting export consistency after drafting in markdown …”Bluesky · Mar 20, 2026 · 2 likes
- @tom-doerr.bsky.social“https://github.com/dolanmiu/docx”Bluesky · Feb 23, 2026 · 2 likes
- Stuk/jszip“Unable to open docx file in Node”GitHub · Sep 1, 2023 · 2 reactions
- s-panferov/awesome-typescript-loader“Path/BaseUrl does not generate type definitions correctly”GitHub · Jan 31, 2018 · 2 reactions
The biggest 5 of 62 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 62
Talked about on GitHub, Stack Overflow and Bluesky (62 times).
On GitHub · 50
- Sep 1, 2023Unable to open docx file in Node — Stuk/jszip2 reactions
- Jan 31, 2018Path/BaseUrl does not generate type definitions correctly — s-panferov/awesome-typescript-loader2 reactions
- Oct 24, 2026build(deps): bump docx from 9.11.0 to 9.12.0 in the js-patch-minor group — siddharthanagula3/agiworkforce1 reaction · 5 comments
- Oct 22, 2026chore(deps): Bump the minor-and-patch group across 1 directory with 12 updates — SkyyPlayz/Mythos-Writer1 reaction · 1 comment
- Oct 19, 2026chore(deps): Bump the minor-and-patch group across 1 directory with 11 updates — SkyyPlayz/Mythos-Writer1 reaction · 1 comment
45 more on GitHub
- Oct 19, 2026chore(deps): Bump the minor-and-patch group across 1 directory with 12 updates — SkyyPlayz/Mythos-Writer1 reaction · 1 comment
- Oct 12, 2026chore(deps): Bump the minor-and-patch group across 1 directory with 11 updates — SkyyPlayz/Mythos-Writer1 reaction · 1 comment
- Oct 5, 2026chore(deps): Bump the minor-and-patch group across 1 directory with 10 updates — SkyyPlayz/Mythos-Writer1 reaction · 1 comment
- Sep 28, 2026chore(deps): bump the minor-and-patch group across 1 directory with 6 updates — SkyyPlayz/Mythos-Writer1 reaction · 1 comment
- Sep 24, 2026chore: update docx to 9.7.2 — keeperxy/christianerben-eu1 reaction · 2 comments
- Mar 18, 2025Extend LaTeX Math Support in `mathPlugin` — md2docx/math1 reaction
- Dec 28, 2018How to ignore coverage data (instrumented code) from dependencies? — istanbuljs/nyc1 reaction · 29 comments
- Jan 31, 2018Path/baseUrl creates broken Type Definitions — microsoft/TypeScript1 reaction · 4 comments
- Oct 28, 2026chore(deps): bump docx from 9.10.0 to 9.11.0 — arjunprabhulal/superpdf0 reactions
- Oct 27, 2026Bump docx from 8.5.0 to 9.14.0 — prozizou/asrar0 reactions · 1 comment
- Oct 27, 2026chore(deps-dev): Bump docx from 8.5.0 to 9.14.0 — mahmudovbahrom555-lab/pdfree330 reactions
- Oct 27, 2026build(deps-dev): bump docx from 9.13.0 to 9.14.0 — dreamquality/NAIS0 reactions
- Oct 26, 2026chore(deps-dev): bump the desarrollo group with 3 updates — RayranDev/academia_elite0 reactions · 1 comment
- Oct 26, 2026chore(deps): bump docx from 9.13.0 to 9.14.0 — mladimatija/cldt-map0 reactions
- Oct 26, 2026chore(deps): bump docx from 9.13.0 to 9.14.0 in /frontend in the npm-minor-and-patch group — Oblutack/Inkling0 reactions · 1 comment
- Oct 26, 2026chore(deps): bump docx from 9.13.0 to 9.14.0 in /ichtys in the minor-and-patch group — Santiagoisper/Asistente_bot0 reactions · 2 comments
- Oct 26, 2026deps: bump the production-minor-patch group with 2 updates — campfhir/renkei0 reactions
- Oct 26, 2026Bump docx from 9.11.0 to 9.14.0 in the minor-and-patch group across 1 directory — MinFin-NL/invulhulp0 reactions · 1 comment
- Oct 26, 2026chore(deps): Bump docx from 9.13.0 to 9.14.0 in the minor-and-patch group across 1 directory — hofi9014/pdftools0 reactions · 1 comment
- Oct 26, 2026build(deps): bump docx from 9.9.0 to 9.13.0 in /reporte — NoeCalle/cgr-analisis-datos0 reactions · 1 comment
- Oct 25, 2026chore(deps): bump docx from 9.12.0 to 9.13.0 in /toolknit-desktop/cli — ZihangDong/toolknit-desktop0 reactions
- Oct 25, 2026chore(deps): bump docx from 9.12.0 to 9.13.0 — BaiGanio/aperio0 reactions · 1 comment
- Oct 25, 2026Bump docx from 9.11.0 to 9.13.0 — srmoosavi/persian-word-documents0 reactions
- Oct 25, 2026Bump docx from 9.8.1 to 9.13.0 — ICJIA/voicecap0 reactions · 1 comment
- Oct 25, 2026build(deps): bump docx from 9.9.0 to 9.13.0 — masahiroid/seculens0 reactions · 3 comments
- Oct 24, 2026Bump docx from 9.7.1 to 9.13.0 — aiworkskills/deepseek-harness-server0 reactions
- Oct 24, 2026Atualizar dependências: Bump docx from 9.12.0 to 9.13.0 — td9251156-creator/pcm-direto0 reactions
- Oct 24, 2026build(deps): bump docx from 9.7.1 to 9.13.0 — hussein2004810-wq/kiur-by-eratrans0 reactions · 6 comments
- Oct 23, 2026Bump docx from 9.5.1 to 9.14.0 — AdamaDiourte/Marge0 reactions
- Oct 22, 2026Bump docx from 9.10.0 to 9.12.0 — nrutman/church-music-generator0 reactions
- Oct 22, 2026Bump docx from 9.10.0 to 9.12.0 in the npm-dependencies group — rchalasani93/handyman0 reactions
- Oct 22, 2026build(deps): bump docx from 9.5.1 to 9.12.0 in /skills/show-your-receipts/scripts — FishXIN/ShowYourReceipts0 reactions
- Oct 21, 2026Universal Box 综合免费小工具平台:Word/PPT/设计/音视频/OCR/系统/协作多领域需求路线图 — lord-navy-crypto/sentinel-macos0 reactions · 4 comments
- Oct 20, 2026build(deps): bump docx from 9.7.2 to 9.12.0 — irsyadazaki77-beep/RuangTenang0 reactions
- Oct 20, 2026chore(deps-dev): Bump docx from 9.8.1 to 9.12.0 — Ivan-Laube/swiss-ai-resource0 reactions · 1 comment
- Oct 20, 2026Bump docx from 9.9.0 to 9.12.0 in /web — yashwanthvarma74-ai/synapse0 reactions
- Oct 20, 2026[idea] dolanmiu/docx —— Markdown「导出 Word」不再依赖 pandoc:纯 TS 生成 .docx,宿主 convert_file 补一条 md → docx — TestEngineerFish/umbra-studio0 reactions
- Oct 19, 2026Bump docx from 9.7.1 to 9.11.0 — DRAZY/Audio-V0 reactions
- Oct 19, 2026chore(deps): bump docx from 9.9.0 to 9.11.0 — RobertMX23/CareSignalAPP0 reactions · 1 comment
- Oct 19, 2026STR-REUSE-OFFICE — ADOTTA docx@9.12.0 per generazione semantica DOCX — domenicomassafra/Strumentini.it0 reactions · 2 comments
- Oct 19, 2026Bump docx from 9.8.1 to 9.11.0 — jayant99acharya/PINGx9690 reactions
- Oct 18, 2026Bump docx from 9.10.0 to 9.11.0 — antsauvage/TonyDocs0 reactions
- Oct 17, 2026chore(deps): bump docx from 9.7.1 to 9.11.0 — adrnbttr/tldw0 reactions · 1 comment
- Oct 17, 2026Bump docx from 9.7.1 to 9.11.0 in /Wave_attractors/wave_attractors/scripts/monograph — wild8highlander/ab-cloud-research0 reactions
- Oct 16, 2026Bump docx from 9.8.0 to 9.11.0 — BalikTela/BalikTela-Web-Dashboard0 reactions
On Stack Overflow · 10
- Mar 24, 2020How to add images with npm 'docx' package to word document?5 votes · 2 answers
- Dec 5, 2025SvelteKit + docx – Can't read the data of 'the loaded zip file'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc)1 vote
- Oct 13, 2022How to implement external hyperlink within image using docx js1 vote · 1 answer
- Jan 6, 2021Docx.js not recognizing basic functions in html javascript1 vote
- Mar 11, 2025Why is docx library generating invalid doc file when creating a different copy of the node?0 votes
5 more on Stack Overflow
- Mar 18, 2024Extract enum from Array with type restriction0 votes · 1 answer
- Mar 6, 2023How to implement external hyperlink within image using docx js0 votes
- Mar 16, 2022Setting variable in table with docx doesn't work0 votes · 1 answer
- Jan 25, 2021Is there a sane way to produce Word or OpenOffice documents from light markup formats like Asciidoc or Markdown?0 votes
- Aug 3, 2019How do I use node.js docx library to get NativeDocuments to render numbered lists when converting from docx to pdf?0 votes
On Bluesky · 2
- Mar 20, 2026my workflow has reduced my need to open MS down to formatting export consistency after drafting in markdown and converting via a docx app… — @brysonm.bsky.social2 likes and reposts
- Feb 23, 2026https://github.com/dolanmiu/docx — @tom-doerr.bsky.social2 likes and reposts
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 194
- paperclipai/paperclip★ 110ksame name
- modelcontextprotocol/servers★ 92ksame name
- remotion-dev/remotion★ 70ksame name
- traefik/traefik★ 65ksame name
- usememos/memos★ 64ksame name
- tw93/Pake★ 63ksame name
- Yeachan-Heo/oh-my-claude-sisyphus★ 40ksame name
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- tobi/qmd★ 30ksame name
- jlowin/fastmcp★ 28ksame name
184 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use create-agent-adapter, changelog-style and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillcreate-agent-adapter
Technical guide for creating a new Paperclip agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. Covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.
Also in 5 projects that use this
GrinvSkillchangelog-style
Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR (adding to the [Unreleased] section) or cutting a release (moving [Unreleased] under a new version heading).
Also in 4 projects that use this
GrinvSkilldocs-consistency-check
Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/*.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.
Also in 4 projects that use this
MicrosoftSkillpr-report
Review a pull request or contribution deeply, explain it tutorial-style for a maintainer, and produce a polished report artifact such as HTML or Markdown. Use when asked to analyze a PR, explain a contributor's design decisions, compare it with similar systems, or prepare a merge recommendation.
Also in 5 projects that use this
Microsoft AzureSkilldocumentation-consistency
Keeps GPT-RAG MCP service and umbrella documentation aligned with shipped behavior. Use for capabilities, configuration keys, deployment steps, endpoints, defaults, operations, or breaking changes.
Also in 6 projects that use this
parcadeiSkillagent-context-isolation
Agent Context Isolation
Also in 3 projects that use this
- +3 more from Grinv
In this repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- documentation-writerSkill
- annotateSkill
- evaluate-pr-commentsSkill
- post-merge-cleanupSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

