publish
Safely publish @randsum packages to npm with pre-flight checks and version bump guidance
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Safely publish @randsum packages to npm with pre-flight checks and version bump guidance
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Add a new modifier to @randsum/roller (co-located schema + behavior, registered in RANDSUM_MODIFIERS)
Roll dice using RANDSUM notation for tabletop RPGs. Use when users ask to roll dice, need probability calculations, or want game-specific mechanics for D&D, Blades in the Dark, PbtA, Daggerheart, Root RPG, and Salvage Union.
Analyze probability distributions for RANDSUM dice notation. Use when users ask about odds, expected values, probability of specific outcomes, or want to compare different roll strategies. Handles standard dice, drop/keep, advantage/disadvantage, rerolls, exploding dice, and game-system outcomes.
Roll dice and interpret results for tabletop RPGs using RANDSUM notation. Use this skill whenever a user asks to roll dice, wants a random result, needs a game mechanic simulated, or mentions TTRPGs — even casually (e.g. "roll for me", "give me a strength score", "what do I get?"). Also use for questions about dice notation, probability, D&D 5E, Blades in the Dark, Daggerheart, PbtA, Root RPG, or Salvage Union mechanics.
Regenerate and verify game package TypeScript from .randsum.json specs
Help users create .randsum.json specs for custom TTRPG dice mechanics. Use when someone wants to define a new game system, translate tabletop game rules into declarative specs, or understand the RANDSUM spec format.
| name | publish |
| description | Safely publish @randsum packages to npm with pre-flight checks and version bump guidance |
| disable-model-invocation | true |
Safe release workflow for @randsum packages.
Run these sequentially, stopping on any failure:
git status must show no uncommitted changesgit branch --show-current must be maingit pull --rebase to ensure latestbun run check:all must pass (lint, format, typecheck, test, build, size, site)If any check fails, report the failure and stop. Do not proceed.
Ask the user which version bump to apply:
Then run: bun pm version <patch|minor|major>
When bumping a core package (@randsum/roller, @randsum/notation) to a new minor or major version, dependent packages must receive a corresponding bump:
@randsum/games@randsum/display-utilsPatch bumps in core do not require dependent bumps.
Generate changelog content from git history:
git log --oneline $(git describe --tags --abbrev=0)..HEAD
Review the output and include relevant entries in the release notes.
Run: npm publish --workspaces --access=public
bun pm versiongit push && git push --tagsgh release create v<version> --generate-notes
Review and edit the generated notes before confirming.npm deprecate @randsum/blades "Moved to @randsum/games — import from '@randsum/games/blades'"
npm deprecate @randsum/fifth "Moved to @randsum/games — import from '@randsum/games/fifth'"
npm deprecate @randsum/daggerheart "Moved to @randsum/games — import from '@randsum/games/daggerheart'"
Only deprecate packages that actually exist on npm. Skip any that were never published.