diff --git a/.changeset/clean-parks-itch.md b/.changeset/clean-parks-itch.md deleted file mode 100644 index 7c1c847..0000000 --- a/.changeset/clean-parks-itch.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@tanstack/intent': minor ---- - -Add `intent validate --check` and `intent validate --fix` for mechanical `SKILL.md` frontmatter migrations. - -`--check` reports pending migrations without writing files. `--fix` rewrites fixable `name` and metadata scalar migrations, then re-runs validation. diff --git a/.changeset/frank-experts-build.md b/.changeset/frank-experts-build.md deleted file mode 100644 index e5cb848..0000000 --- a/.changeset/frank-experts-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tanstack/intent': patch ---- - -Make `SKILL.md` frontmatter spec-compliant. `name` must now be a spec-legal leaf segment matching its parent directory (lowercase letters, numbers, and hyphens; 64 characters max; no slashes), and the Intent-specific scalars `type`, `library`, `library_version`, and `framework` live under the `metadata` map. `intent validate` now errors on a slash/non-leaf `name`, a `name` with non-spec characters or over 64 characters, non-spec top-level scalar keys, and a non-string `metadata` map. Skill identity is derived from the directory path rather than the frontmatter `name`, and the `generate-skill` and `tree-generator` templates emit the new shape. diff --git a/packages/intent/CHANGELOG.md b/packages/intent/CHANGELOG.md index 38b4af1..22d3508 100644 --- a/packages/intent/CHANGELOG.md +++ b/packages/intent/CHANGELOG.md @@ -1,5 +1,17 @@ # @tanstack/intent +## 0.2.0 + +### Minor Changes + +- [#169](https://github.com/TanStack/intent/pull/169) [`0dbf9d0`](https://github.com/TanStack/intent/commit/0dbf9d05e3aa018461b6b1ffa00db350976f0835) - Add `intent validate --check` and `intent validate --fix` for mechanical `SKILL.md` frontmatter migrations. + + `--check` reports pending migrations without writing files. `--fix` rewrites fixable `name` and metadata scalar migrations, then re-runs validation. + +### Patch Changes + +- [#168](https://github.com/TanStack/intent/pull/168) [`9eee8a5`](https://github.com/TanStack/intent/commit/9eee8a5f9f98c9d05d14cab3b8e07e68fe494f5c) - Make `SKILL.md` frontmatter spec-compliant. `name` must now be a spec-legal leaf segment matching its parent directory (lowercase letters, numbers, and hyphens; 64 characters max; no slashes), and the Intent-specific scalars `type`, `library`, `library_version`, and `framework` live under the `metadata` map. `intent validate` now errors on a slash/non-leaf `name`, a `name` with non-spec characters or over 64 characters, non-spec top-level scalar keys, and a non-string `metadata` map. Skill identity is derived from the directory path rather than the frontmatter `name`, and the `generate-skill` and `tree-generator` templates emit the new shape. + ## 0.1.1 ### Patch Changes diff --git a/packages/intent/package.json b/packages/intent/package.json index 8523034..863d219 100644 --- a/packages/intent/package.json +++ b/packages/intent/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/intent", - "version": "0.1.1", + "version": "0.2.0", "description": "Ship compositional knowledge for AI coding agents alongside your npm packages", "license": "MIT", "type": "module",