9 Commits

Author SHA1 Message Date
Marcelo 607bb6502e Fix skill description, docs, and PromptInput usage across references (#395)
* Fix skill description, docs, and PromptInput usage across references

- Fix SKILL.md frontmatter description to describe user-facing use case
  instead of internal library development
- Remove empty "Quick Start" section (header with no content)
- Remove extra consecutive blank lines throughout SKILL.md
- Add package runner note (npx/pnpm dlx/bunx) after install description
- Fix troubleshooting sub-headings from ## to ### (were same level as parent)
- Fix trailing colon to period in theme switching troubleshooting section
- Fix wrong `Input` import to `PromptInput` in 6 skill references and
  6 docs pages (conversation, message, suggestion, sources, image,
  web-preview) — `Input` export does not exist, likely leftover from rename
- Fix wrong `onSubmit` handler signature in 7 skill references and 7 docs
  pages — `PromptInput.onSubmit` passes `(message: PromptInputMessage)`
  as the first argument, not a `FormEvent`. Calling `e.preventDefault()`
  on a PromptInputMessage object would crash at runtime

* fix: don't overwrite SKILL.md in generate-skills

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-07 13:01:06 -08:00
dependabot[bot] a0b13d344d Bump @types/node from 22.19.7 to 25.2.0 (#363)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.19.7 to 25.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-06 13:30:13 -08:00
Hayden Bleasel 1310612d30 Run linter/formatter 2026-03-06 13:19:49 -08:00
Hayden Bleasel 30cbcfec97 Migrate to Oxlint (#357)
* Migrate to oxlint / oxfmt

* Initial fixes

* Misc fixes

* Temporary fixes

* Update Ultracite

* Update .oxlintrc.json

* Update .oxlintrc.json

* Start running manual fixes

* Update .oxlintrc.json

* AI Fixes Part 2

* AI Fixes Part 3

* AI Fixes Part 4

* AI Fixes Part 5

* AI Fixes Part 6

* AI Fixes Part 7

* AI Fixes Part 8

* AI Fixes Part 9

* AI Fixes Part 10

* AI Fixes Part 11

* AI Fixes Part 12

* Fix tests

* Lint / test fixes

* Update chat.tsx

* Fix AI SDK React version

* Misc fixes

* Build fixes
2026-02-04 08:00:41 -08:00
Hayden Bleasel 7f8831ce37 Fix skills 2026-02-03 14:42:07 -08:00
Hayden Bleasel a80dc86c08 fix: resolve lint errors
- use template literals instead of string concatenation
- add block statements for early returns
- move regex patterns to top-level constants
- replace while loop with for...of using matchAll
- replace nested ternary with if-else
- remove unused variables
- fix import ordering and quote styles

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 15:35:56 -08:00
Hayden Bleasel 003dfe7cc8 Switch to single ai elements skill with many references 2026-01-26 08:47:03 -09:00
Hayden Bleasel cee319796a Fix skills paths 2026-01-25 17:30:16 -09:00
Hayden Bleasel 005e36a991 Skills (#330)
* Draft skills

* Generate skills

* Changeset
2026-01-25 18:16:34 -08:00