archive/skills/opensrc-inspect/SKILL.md
opensrc CLI—dep + upstream source. Triggers—impl beyond docs/types, version compare, upgrade diff audit, prewarm w/ `opensrc fetch` then `opensrc path`. Not general web or release-note-only.
npx skillsauth add bjornmelin/dev-skills opensrc-inspectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when source-level dependency inspection materially changes the answer. Prefer docs and types first; pull source when behavior, migration risk, or internal implementation details matter.
AGENTS.md and inspect the repo's manifests and lockfiles.opensrc binary when available. Fall back to bunx opensrc
only if the binary is unavailable.opensrc fetch when the goal is cache-only prep for CI, scripts, or
multi-package warmup:
opensrc fetch --cwd <repo-root> zod react nextopensrc fetch <pkg>@<current_version> <pkg>@<target_version>opensrc path for actual inspection, composition, and diffs:
rg "pattern" $(opensrc path zod)cat $(opensrc path zod)/src/types.tsfind $(opensrc path pypi:requests) -name "*.py"git diff --no-index "$(opensrc path <pkg>@<current_version>)" "$(opensrc path <pkg>@<target_version>)"/home/bjorn/.codex/skill-support/bin/deps-workbench exists and the task
is an npm/Bun dependency upgrade, use it as the fast prep layer before the
deeper source reasoning:
deps-workbench upgrade-prep --cwd <repo-root> --package <pkg> --out <tmp.json>deps-workbench report --input <tmp.json> --format mdopensrc 0.7.x caches globally at ~/.opensrc/ and keys cache entries by
resolved version or ref. The global cache is not the main risk.opensrc 0.7.2 improved pnpm workspace and Yarn workspace/protocol handling,
but you still need to verify the resolved version before trusting it.node_modules/<pkg>/package.jsonpackage-lock.jsonpnpm-lock.yamlyarn.lockpackage.json--cwd by default. If node_modules
is stale, opensrc can resolve a stale installed version first.opensrc path pkg@current_versionopensrc path pkg@target_version~/.opensrc/. OPENSRC_HOME overrides the
cache root.~/.opensrc/sources.json, not in the project.zod with accepted alias npm:zodpypi:requests with accepted aliases pip:requests,
python:requestscrates:serde with accepted aliases cargo:serde,
rust:serdeowner/repo, github:owner/repo, gitlab:owner/repo,
bitbucket:owner/repo, or full URLsowner/repo@tag, owner/repo#branch, pkg@versionGITHUB_TOKEN, GITLAB_TOKEN, and
BITBUCKET_TOKEN.fetch vs pathopensrc fetch when you want deterministic cache warmup without printing
paths, especially in CI, prep scripts, or before a multi-version comparison.opensrc path when the next command needs the resolved filesystem path.fetch is optional; the
important rule is that the actual inspection uses explicitly pinned versions.references/opensrc-cli-reference.md when you need the exact modern CLI
surface, cache model, supported spec forms and aliases, auth env vars, or
release deltas.references/dependency-upgrade-audit.md when the task is a package
upgrade, current-versus-target comparison, migration audit, or hard-cut
removal of obsolete package integrations.development
Repo/monorepo modernization: dependency upgrades, security fixes, deprecation cleanup, framework migrations, dependency-native refactors, and verified hard-cut simplification.
development
Use this skill for Browser Web Animations API: Element.animate(), Animation, KeyframeEffect, playback control, generated keyframes, cancel/finish, commitStyles, and cleanup. Trigger on Element.animate, WAAPI, Web Animations API, KeyframeEffect, Animation object, commitStyles. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.
tools
Use this skill for Three.js, React Three Fiber, Drei, Canvas/createRoot lifecycle, loaders, GLTF, useFrame, disposal, SSR/client boundaries, DPR, and browser proof. Trigger on Three.js, THREE, @react-three/fiber, @react-three/drei, R3F Canvas, useFrame, GLTF, WebGLRenderer. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.
development
Use this skill for Tailwind CSS v4 transition, animation, duration, easing, motion-safe/motion-reduce, @theme motion tokens, and static class safety. Trigger on Tailwind animation, transition-all, motion-safe, motion-reduce, @theme, animate-, duration-. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.