smithery.ai

writing-changesets

Create changeset files for user-facing changes. Use when making API changes, modifying types, adding features, or any change that affects package consumers.

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,180 B
  • docs SUMMARY.md 182 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Writing Changesets

Create a changeset file to document user-facing changes for release.

When to Use

Add a changeset when making changes that affect consumers:

  • Adding new SDK methods or operations (createProject, addEvidence, etc.)
  • Modifying existing API signatures (breaking or non-breaking)
  • Changing TypeScript type exports or interfaces
  • Adding new React hooks or components
  • Renaming any exported constants, types, functions, or hooks
  • Changing behavior of existing operations
  • Bug fixes that affect external behavior
  • Any change that requires a version bump or affects package consumers

Skip changesets for internal changes (build scripts, tests, refactoring, documentation only).

Packages

The SDK has two publishable packages:

  • @hypercerts-org/sdk-core - Core SDK
  • @hypercerts-org/sdk-react - React hooks etc.

Format

Create in .changeset/ a Markdown file with a descriptive kebab-case name (e.g., fix-collection-type-alignment.md) in this format:

---
"@hypercerts-org/sdk-core": minor
---

Align collection/project CRUD types with lexicon definitions

For changes affecting both packages:

---
"@hypercerts-org/sdk-core": minor
"@hypercerts-org/sdk-react": minor
---

Add comprehensive project support to SDK

**Core SDK (`@hypercerts-org/sdk-core`):**

- Add project CRUD operations (createProject, getProject, listProjects)
- Add project events (projectCreated, projectUpdated, projectDeleted)
- Support for avatar and banner blob uploads

**React SDK (`@hypercerts-org/sdk-react`):**

- Add useProjects and useProject hooks
- Project query keys for cache management
- TypeScript types for projects

Frontmatter Fields

There should be a frontmatter field for each package being changed. The field name should be the package name, and the field value should be one of the following change types:

  • patch - Bug fixes, non-breaking changes
  • minor - New features, non-breaking additions (also breaking changes if the version in package.json is still 0.x.y)
  • major - Breaking changes (ONLY use if the version in package.json is already greater than 0.x.y)

Current versions are 0.x.y, so use minor for breaking changes.

Description

In the body after the frontmatter field(s), write a clear, concise description following conventional commit style. Focus on what changed and why. For multi-package changes, use sections to separate changes.

Example Changesets

New SDK feature:

---
"@hypercerts-org/sdk-core": minor
---

Add project CRUD operations to repository interface

API signature change:

---
"@hypercerts-org/sdk-core": minor
---

Evidence records are now created separately instead of being embedded inline in hypercerts

**Breaking Changes:**

- Evidence is no longer embedded in the hypercert record - use `result.evidenceUris` to access evidence record URIs
- `addEvidence()` now accepts a single `CreateHypercertEvidenceParams` object instead of
  `(uri: string, evidence: HypercertEvidence[])`

Type/interface change:

---
"@hypercerts-org/sdk-core": minor
---

Align collection/project CRUD types with lexicon definitions

- Update CreateCollectionParams to match lexicon schema
- Add CreateCollectionResult type with optional location URI
- Simplify project operations to delegate to collection operations

React hook addition:

---
"@hypercerts-org/sdk-react": minor
---

Add useProjects and useProject hooks for project management

Bug fix:

---
"@hypercerts-org/sdk-core": patch
---

Fix SDS routing for organization endpoints

Key Files

  • .changeset/config.json - Changeset configuration
  • Existing changeset files in .changeset/ - Reference for naming and format
  • package.json - Contains version and release scripts
  • packages/sdk-core/package.json - Core SDK version
  • packages/sdk-react/package.json - React SDK version