Agent Skills › pingdotgg/t3code › changesets

changesets

GitHub

用于在PR实现完成后,审查变更影响、执行破坏性审计并生成或更新面向消费者的发布说明(changeset)。

.repos/effect-smol/.agents/skills/changesets/SKILL.md pingdotgg/t3code

Trigger Scenarios

PR合并前最终验证 需要评估版本发布影响 撰写消费者级发布说明

Install

npx skills add pingdotgg/t3code --skill changesets -g -y
More Options

Non-standard path

npx skills add https://github.com/pingdotgg/t3code/tree/main/.repos/effect-smol/.agents/skills/changesets -g -y

Use without installing

npx skills use pingdotgg/t3code@changesets

指定 Agent (Claude Code)

npx skills add pingdotgg/t3code --skill changesets -a claude-code -g -y

安装 repo 全部 skill

npx skills add pingdotgg/t3code --all -g -y

预览 repo 内 skill

npx skills add pingdotgg/t3code --list

SKILL.md

Frontmatter
{
    "name": "changesets",
    "description": "Concise PR finalization changesets. Use when implementation scope is complete and focused validation has finished to classify release impact, consolidate the PR's existing changeset, or write its consumer release note."
}

Treat a changeset as the release note for the complete PR, not as a log of work performed along the way. Finalize it after the current implementation scope and focused validation are complete.

Workflow

  1. Inspect the complete diff from the merge base, including changeset files already introduced by the PR, and identify directly affected published packages.
  2. Classify impact across source types, runtime behavior, entrypoints, required services, lifecycle, and persisted or wire data.
  3. Perform the breaking audit below.
  4. Record a reason no changeset is required, or update the PR's existing changeset. Create one only when the PR does not have one. When required, read authoring.md.
  5. Validate package names, frontmatter, bump policy, and a concise consumer-facing description.

Do not include unrelated worktree changes.

PR-level consolidation

The default is one changeset file per PR. One file can name several packages and summarize several related fixes or additions. Successive prompts, commits, and subtasks within the same PR update that file. If implementation resumes after a changeset was drafted, revise it during the next finalization pass.

Use separate files only when a maintainer requests the split or the PR contains independent changes that need separate release notes.

Requirement

Create a changeset for observable runtime behavior changes, including bug fixes; exported value or public type changes; entrypoint or export-map changes; changes to required services, errors, ownership, defaults, or lifecycle; and persisted, serialization, protocol, or wire-format changes.

Tests-only changes, behavior-preserving internal refactors, documentation or JSDoc maintenance, and unpublished tooling normally do not need one. When unclear, inspect exports and consumer-visible declarations rather than inferring from source location.

Breaking Audit

A change is breaking when valid existing consumer code, configuration, or data must change to keep compiling or behaving according to the previous contract. Audit every surface:

  • Names and locations: exports, entrypoints, compatibility exports, and module paths.
  • Call compatibility: parameters, accepted inputs, overload resolution, generic parameters, and defaults.
  • Result compatibility: return and error types, output narrowing, members, inference, and required services.
  • Runtime contracts: defaults, failures, interruption, concurrency, ordering, resource lifetime, acquisition, cleanup, and mutation.
  • Data compatibility: persisted schemas, encodings, database layouts, protocols, and wire formats.

Additive exports, optional parameters, and behavior-preserving implementations are normally non-breaking. A fix restoring the documented contract is normally non-breaking but still needs a changeset when its operational impact is consumer-visible. Verify representative existing calls when overload ordering, structural assignability, or inference makes compatibility uncertain. API diff output is mechanical evidence, not a semantic-version decision.

The task is complete when every affected contract and published package is accounted for and either the no-changeset decision is explicit or the PR has one consolidated, valid changeset by default. Its release note describes the consumer impact and migration for every break without repeating the PR description.

Version History

  • d8e9fd2 Current 2026-10-19 05:43

    新增PR级别变更集整合规则;细化Breaking Audit中关于重载排序和结构赋值的验证要求。

  • 5423ba0 2026-09-22 10:56

Same Skill Collection

.agents/skills/contribution-triage/SKILL.md
.agents/skills/ios-debugger-agent/SKILL.md
.agents/skills/ios-simulator-browser/SKILL.md
.agents/skills/test-t3-app/SKILL.md
.agents/skills/test-t3-mobile/SKILL.md
.repos/effect-smol/.agents/skills/ai-docs/SKILL.md
.repos/effect-smol/.agents/skills/bundle-analysis/SKILL.md
.repos/effect-smol/.agents/skills/ci-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/dependency-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/effect-development/SKILL.md
.repos/effect-smol/.agents/skills/grill-me/SKILL.md
.repos/effect-smol/.agents/skills/jsdocs/SKILL.md
.repos/effect-smol/.agents/skills/migration-guidance/SKILL.md
.repos/effect-smol/.agents/skills/package-development/SKILL.md
.repos/effect-smol/.agents/skills/performance-analysis/SKILL.md
.repos/effect-smol/.agents/skills/scratchpad/SKILL.md
.repos/effect-smol/.agents/skills/test-development/SKILL.md
.repos/effect-smol/.agents/skills/vendored-assets/SKILL.md

Metadata

Files
0
Version
d8e9fd2
Hash
c28b2a72
Indexed
2026-09-22 10:56

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-30 07:51
浙ICP备14020137号-1