Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

changesetschangesets 搜索

Agent Skill

changesets 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,053

周安装

43

GitHub Stars

10

下载量

337
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:changesets(changesets 搜索)
来源仓库:https://github.com/oakoss/agent-skills
仓库路径:skills/changesets
安装命令:
npx skills add https://github.com/oakoss/agent-skills --skill changesets
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/oakoss/agent-skills --skill changesets

简介

changesets 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于多包仓库的版本管理、自动化 changelog 生成与协调发布流程。
  • 通过 changeset 文件声明语义化版本影响(major/minor/patch),自动聚合版本号与更新日志。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • changesets 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Changesets

Overview

Changesets is a versioning and changelog management tool focused on multi-package repositories. Contributors declare the semver impact of each change (major/minor/patch) via changeset files, then Changesets aggregates them to bump versions, update changelogs, and publish packages in a single coordinated release.

When to use: Monorepo versioning, automated changelog generation, coordinated multi-package releases, CI-driven publishing, prerelease/snapshot workflows.

When NOT to use: Single-file projects with no npm publishing, projects using commit-message-based versioning (semantic-release), manual version management without an npm registry, projects where a single maintainer controls all releases without PR collaboration.

How It Works

  1. A contributor adds a changeset file declaring affected packages, bump types, and a summary
  2. The changeset file is committed alongside the code change in the PR
  3. When ready to release, changeset version consumes all pending changesets and updates versions and changelogs
  4. changeset publish publishes the updated packages to npm and creates git tags
  5. In CI, the official GitHub Action automates steps 3-4 via an auto-maintained "Version Packages" PR

Key Concepts

  • Changeset file — A markdown file in .changeset/ declaring which packages are affected, their bump type (major/minor/patch), and a human-readable summary that appears in the changelog
  • Version command — Consumes all pending changeset files, calculates final version bumps, updates package.json versions, generates CHANGELOG.md entries, and bumps internal dependency ranges
  • Publish command — Publishes updated packages to npm and creates git tags; must run immediately after version with no commits in between
  • Linked packages — Packages that share the highest bump type within a release but maintain independent version numbers
  • Fixed packages — Packages that always share the exact same version number across the group
  • Prerelease mode — A mode where version produces prerelease versions (e.g., 1.0.0-beta.0) for testing before stable release
  • Snapshot releases — Temporary 0.0.0-timestamp versions for ad-hoc testing without affecting the main release line

Configuration Quick Reference

OptionDefaultDescription
changelog"@changesets/cli/changelog"Changelog generator package or false to disable
commitfalseAuto-commit on version and add commands
access"restricted"npm publish access; set "public" for public scoped packages
baseBranch"main"Branch used for change detection
linked[]Groups of packages that share highest bump type
fixed[]Groups of packages that share exact version
ignore[]Packages excluded from changeset versioning
updateInternalDependencies"patch"When to bump dependents: "patch" or "minor"
privatePackages{version: true, tag: false}Version/tag behavior for "private": true packages

Quick Reference

PatternCommand / ConfigKey Points
Initializenpx @changesets/cli initCreates .changeset/ folder with config
Add changesetnpx @changesets/cli addInteractive prompt for packages and bump type
Add empty changesetnpx @changesets/cli add --emptyDeclares no packages need versioning (satisfies CI)
Version packagesnpx @changesets/cli versionConsumes changesets, bumps versions, updates changelogs
Publish packagesnpx @changesets/cli publishPublishes to npm, creates git tags
Check statusnpx @changesets/cli statusLists pending changesets; exits 1 if changes lack changesets
Status since branchnpx @changesets/cli status --since=mainOnly checks changes since diverging from main
Enter prereleasenpx @changesets/cli pre enter <tag>Enables prerelease mode (beta, alpha, rc, next)
Exit prereleasenpx @changesets/cli pre exitReturns to normal versioning mode
Snapshot versionnpx @changesets/cli version --snapshotCreates 0.0.0-timestamp versions for testing
Snapshot publishnpx @changesets/cli publish --tag canary --no-git-tagPublishes snapshot without overwriting latest dist-tag
Link packages"linked": [["pkg-a", "pkg-b"]] in configPackages share the highest version bump type
Fix packages"fixed": [["pkg-*"]] in configPackages share the exact same version number
Ignore packages"ignore": ["pkg-internal"] in configExcludes packages from changeset versioning
Public access"access": "public" in configRequired for publishing public scoped packages
GitHub changelog"changelog": ["@changesets/changelog-github",...]Adds PR links and contributor attribution
Auto-commit"commit": true in configVersion and add commands auto-commit changes
Internal deps"updateInternalDependencies": "patch" in configControls when internal dependents get bumped

Common Mistakes

MistakeCorrect Pattern
Committing between version and publishRun publish immediately after version with no commits in between
Forgetting --empty for PRs with no package changesUse npx @changesets/cli add --empty to satisfy CI checks
Using linked when packages must share exact versionsUse fixed for identical versions; linked only shares bump magnitude
Setting access: "restricted" for public packagesSet access: "public" in config for public npm packages
Not including fetch-depth: 0 in CI checkoutFull git history is needed for changeset detection
Running publish without building firstAlways run build step before changeset publish
Entering prerelease mode on main branchUse a dedicated branch for prereleases to avoid blocking normal releases
Ignoring packages that others depend onIgnored packages skip bumps, breaking dependents — use sparingly
Publishing snapshots with default tagAlways use --tag flag to avoid overwriting latest dist-tag
Not setting NPM_TOKEN in CI environmentBoth GITHUB_TOKEN and NPM_TOKEN are required for automated publishing
Using changeset publish in CI without the actionThe official changesets/action handles the two-mode workflow correctly
Manually editing generated CHANGELOG.mdEdit changeset files instead; changelogs are regenerated on version

Delegation

  • CI pipeline debugging: Use Explore agent for repository-specific workflow discovery
  • npm publishing issues: Use Task agent for debugging publish and registry authentication failures
If the turborepo skill is available, delegate build orchestration, task caching, and CI optimization to it. If the pnpm-workspace skill is available, delegate workspace setup, dependency linking, catalogs, and Docker deployment to it. See its monorepo integration reference for the end-to-end release pipeline.

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.86%
按下载量换算117

Claude

32.49%
按下载量换算109

Cursor

17.48%
按下载量换算59

Gemini CLI

8.88%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills