Compare commits

...

1 commit

Author SHA1 Message Date
Jeffrey (Dongkyu) Kim
249991de3f Add workflow_dispatch to release workflow and document changeset test anti-pattern
- Add workflow_dispatch trigger to release-npm.yml so releases can be
  manually re-triggered when the automatic path-based trigger misses.
- Document in CLAUDE.md and AGENTS.md that tests must never assert
  .changeset file existence, since changeset version consumes them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 11:12:20 +09:00
3 changed files with 10 additions and 0 deletions

View file

@ -1,6 +1,7 @@
name: Release npm packages
on:
workflow_dispatch:
push:
branches:
- main

View file

@ -17,6 +17,10 @@ These rules are repo-specific and apply to everything under this directory.
- For release or packaging changes, run `npm run ci`.
- Keep release docs, workflow files, and package metadata aligned in the same change.
## Testing anti-patterns
- **Never write tests that assert `.changeset/*.md` files exist.** Changesets are consumed (deleted) by `changeset version` during the release flow. Any test guarding changeset file presence will break CI on the version-bump commit and block the release pipeline.
## Development skill install rules
- When testing or developing skills from this repository, install or sync the current skill directories into the user's home-directory global skill locations first.

5
CLAUDE.md Normal file
View file

@ -0,0 +1,5 @@
# k-skill
## Testing anti-patterns
- **Never write tests that assert `.changeset/*.md` files exist.** Changesets are consumed (deleted) by `changeset version` during the release flow. Any test guarding changeset file presence will break CI on the version-bump commit and block the release pipeline.