From f7bb4e2b43ccecbb3fc0f63169a8ac5b6af5dd7b Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Wed, 22 Jul 2026 19:51:34 +0200 Subject: [PATCH] test: align custom widget skill version --- .agents/skills/homarr-custom-widget/SKILL.md | 2 +- packages/custom-widgets/src/test/authoring-resources.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.agents/skills/homarr-custom-widget/SKILL.md b/.agents/skills/homarr-custom-widget/SKILL.md index dbd2a962e..3121374ab 100644 --- a/.agents/skills/homarr-custom-widget/SKILL.md +++ b/.agents/skills/homarr-custom-widget/SKILL.md @@ -15,7 +15,7 @@ Author one widget at a time. When connected to Homarr, retrieve `homarr://custom Use `{option:name}` or `$option` for saved options. Use `{param:name}` or `$param` for values supplied by `SubFetch`, `ActionButton`, or `ToggleSwitch`. Load queries cannot use invocation parameters. Templates read `data`, `status`, `options`, and temporary `inputs`. -`SubFetch` with `trigger="manual"` renders its own load button. Pass a card or image as `triggerContent` with `triggerAriaLabel` when that content should launch the request. Its callback is `(result, meta)`; never author `onClick` or a fetch callback. +`SubFetch` with `trigger="manual"` renders its own load button. Pass a card or image through `triggerContent` with `triggerAriaLabel` when that content should launch the request. Its callback is `(result, meta)`; never author `onClick` or a fetch callback. Use standard Mantine compound names and deliberate visual hierarchy, spacing, restrained semantic color, and responsive layouts. Avoid excessive nested cards. diff --git a/packages/custom-widgets/src/test/authoring-resources.spec.ts b/packages/custom-widgets/src/test/authoring-resources.spec.ts index dc9cf1245..b353f4b6d 100644 --- a/packages/custom-widgets/src/test/authoring-resources.spec.ts +++ b/packages/custom-widgets/src/test/authoring-resources.spec.ts @@ -12,7 +12,7 @@ import { describe("authoring resources", () => { it("returns the concise skills.sh discovery shape", () => { const skill = getCustomWidgetSkill(); - expect(skill).toMatchObject({ name: "homarr-custom-widget", version: "2.0.0" }); + expect(skill).toMatchObject({ name: "homarr-custom-widget", version: "2.1.0" }); expect(skill.skillsShUrl).toContain("skills.sh/homarr-labs/homarr"); expect(skill.sourceUrl).toContain("/tree/HEAD/.agents/skills/homarr-custom-widget"); expect(skill.installCommand).toContain("--skill homarr-custom-widget");