/ratchet-code:package-json-checklistfrom ratchet-code
Use when writing or reviewing a package.json, adding, upgrading, overriding, patching, or moving a dependency, setting a package's entrypoints or exports, changing workspace metadata such as pnpm-workspace.yaml, or resolving a lockfile change. Checks package metadata, dependencies, entrypoints, and lockfiles.
Ships in ratchet-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read every applicable AGENTS.md first. Repository-local policy overrides these defaults.
Use before changing package.json, a lockfile, workspace metadata, or a package entrypoint.
Where two AGENTS.md files conflict, the one closest to the owning package wins. Those
instructions own package-manager version, dependency age and version policy, version ranges,
workspace topology, registry, release process, and package layout.
node_modules makes an import of an undeclared
dependency fail instead of working by accident, and it can refuse releases younger than a set
age. Require Node 24 or later ("engines": { "node": ">=24" }), and test on it in CI. Update
the lockfile when it records
the affected metadata; avoid lockfile churn for metadata-only edits it does not record. Keep
peer, optional, development, and runtime dependencies in their intended sections.ratchet-github:git-commit-checklist owns the steps, under "A conflict in
a generated file"; with pnpm, leave the markers and run pnpm install --no-frozen-lockfile.
A lockfile one side deleted stays deleted only when the resolved project no longer uses that
package manager; otherwise regenerate it.dependabot skill for cooldowns). Look the
version up; do not recall it. An old version starts the package behind on fixes the update bot
then has to deliver.packageExtensions; that only adds what the manifest lacks and cannot
change a declared range. When a package's peer range is too narrow for a version that works,
accept that version for that package only with pnpm's peerDependencyRules.allowedVersions
("old-pkg>react": "19"). A scoped override ("pkg>dep") is still an override.exports or bin, patch the package.
A dependency range is the exception: it cannot be changed in place. Under pnpm, a patch
edits the package's files after the versions are resolved, so a patched range installs the
old version, and packageExtensions cannot change a declared range. Upgrade the package to a
release that declares the range you need; when there is none, replace the package or
depend on a maintained fork. A package that pins a dependency you cannot use is one to
move off. When the request asks for an override by name, say this and give the
replacement path; do not hand over the override with a note beside it.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jongleberry/ratchet-stack --plugin ratchet-code12 skills in this plugin
/interface-feedbackUse when writing or reviewing interface code that shows an action button, a toast or error message, or a form's submit, including a review of such a diff. Show only the actions the server allows this viewer and why one is blocked, render errors by code with their details, and check a submit's preconditions so it never succeeds partly in silence./lint-rule-authoringUse when writing or reviewing the code of a lint rule, analyzer, or codemod that walks a syntax tree, such as an ESLint or oxlint rule, a Clippy lint, or a custom AST check, including a request to "write a rule that bans X". Covers finding the rule's subject by what a name is bound to, reporting a name it cannot trace, and the fixtures that prove both./native-app-architectureUse when writing or reviewing native app code, deciding where logic lives, adding a web view, setting up native project files, or planning native CI. Structure a native app (Swift, Kotlin, .NET MAUI) around a portable core library with thin platform views./npm-publishingUse when publishing a new package, moving a package to trusted publishing, writing or reviewing a release workflow that bumps a version and publishes it, or fixing a CI publish that fails with E404 or ENEEDAUTH. Prepare a first npm publish and trusted publishing (OIDC) for a human to run, and set up the GitHub Actions workflow that bumps, tags, and publishes./playwright-authoringUse when writing, reviewing, or de-flaking Playwright or other browser end-to-end tests, or when adding test ids to interface code. Decide what a browser test should cover and how to locate elements with roles, labels, and test ids./react-app-structureUse when writing or reviewing React components, Next.js pages, layouts, route handlers, forms, navigation, server/client boundaries, data fetching, auth redirects, entity links, or browser configuration. Structure a React or Next.js app so its API calls, links, redirects, and configuration each have one traceable owner.