@sayknow-cli/coding-agent 0.7.16 → 0.7.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/types/decisions/prompt-triage.d.ts +7 -1
- package/dist/types/defaults/skc-ui-skills.d.ts +1 -1
- package/dist/types/hooks/ui-skill-keywords.d.ts +13 -7
- package/dist/types/session/auto-resume.d.ts +5 -4
- package/package.json +7 -7
- package/src/decisions/prompt-triage.ts +11 -3
- package/src/defaults/skc/ui-skills/LICENSE.motionsites +30 -0
- package/src/defaults/skc/ui-skills/LICENSE.pbakaus +191 -0
- package/src/defaults/skc/ui-skills/NOTICE.md +33 -8
- package/src/defaults/skc/ui-skills/emil-design-eng/SKILL.md +2 -70
- package/src/defaults/skc/ui-skills/impeccable/SKILL.md +2719 -0
- package/src/defaults/skc/ui-skills/motionsites-web-builder/SKILL.md +697 -0
- package/src/defaults/skc/ui-skills/stageshow/SKILL.md +1581 -0
- package/src/defaults/skc-ui-skills.ts +13 -0
- package/src/hooks/ui-skill-keywords.ts +74 -36
- package/src/internal-urls/docs-index.generated.ts +1 -1
- package/src/prompts/agents/executor.md +1 -1
- package/src/prompts/system/system-prompt.md +1 -1
- package/src/session/agent-session.ts +14 -11
- package/src/session/auto-resume.ts +11 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.7.19] - 2026-11-09
|
|
6
|
+
|
|
7
|
+
## [0.7.18] - 2026-11-09
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Paul Bakaus's [Impeccable](https://github.com/pbakaus/impeccable) (Apache-2.0, 4.8.1) is now bundled as `impeccable`, the design steering vocabulary: `polish`, `bolder`, `quieter`, `distill`, `clarify`, `colorize`, `typeset`, `layout`, `harden`, `adapt`, `critique` and `audit`. Only the 17 engine-free references are inlined. The detector engine, live mode and hooks need a downloaded native binary, so they are not bundled and the skill takes upstream's "launcher unavailable" path. Prompts like "polish the dashboard", "make it bolder", "UI critique" or "디자인 리뷰" route to it after `stageshow`.
|
|
12
|
+
- A `motionsites-web-builder` skill for landing pages, marketing sites, cinematic hero sections and Lovable/Bolt/v0 build prompts, adapted from the MIT part of [Motionsites-AI/claude-skill](https://github.com/Motionsites-AI/claude-skill). It bundles the spec template, craft rules, review rubric, builder and media guides and the technique index; the agent reads the 58 technique recipes on demand from the pinned upstream commit. The (c) MotionSites examples and media and the upstream paid-upgrade ad block are not shipped.
|
|
13
|
+
|
|
14
|
+
## [0.7.17] - 2026-11-05
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- Benji Taylor's [Stageshow](https://benji.org/stageshow) skill (MIT, 1.1.1) is now bundled as `stageshow` and is the design center for all frontend work: every frontend prompt routes to `stageshow` first, then the matching specialized skill, then `emil-design-eng`, and the system and executor prompts require it for real product UI as well as faux UI. Its `SKILL.md` ships with every `references/*.md` file inlined; the React kit, gold examples and filming scripts are not bundled, so for faux UI builds the agent installs the full skill into the project itself. The earlier adapted Stageshow section in `emil-design-eng` is replaced by a pointer to `stageshow`. The routing directive now quotes the prompt text that matched instead of the skill name.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- A turn that streamed only blank text before failing is now dropped and retried on the same model instead of stopping the session. Long Grok sessions hit this when grok-4.7 degenerated into a few thousand whitespace tokens and xAI aborted the stream with "Internal error during token generation"; the whitespace counted as visible output, so neither retry nor auto-resume ran. A code-less "internal error" also now counts as a server failure for the default retry policy.
|
|
23
|
+
|
|
5
24
|
## [0.7.16] - 2026-11-03
|
|
6
25
|
|
|
7
26
|
### Fixed
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { type BundledSkcUiSkillName } from "../defaults/skc-ui-skills";
|
|
2
2
|
import { type CanonicalSkcWorkflowSkill } from "../skill-state/active-state";
|
|
3
3
|
import type { DecisionService } from "./index";
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Exported so tests can assert the contract the model is actually given.
|
|
6
|
+
*
|
|
7
|
+
* The design center is not an option: every pick loads it first anyway, so
|
|
8
|
+
* choosing it yields the same directive as choosing the craft baseline, and
|
|
9
|
+
* leaving it out keeps the question under the backend's option ceiling.
|
|
10
|
+
*/
|
|
5
11
|
export declare function buildUiSkillCriteria(): Record<string, string>;
|
|
6
12
|
export interface PromptTriage {
|
|
7
13
|
/** Null means the router deliberately chose no workflow, not that it failed. */
|
|
@@ -6,7 +6,7 @@ import type { Skill } from "../extensibility/skills";
|
|
|
6
6
|
* Sources and deliberate exclusions are documented in
|
|
7
7
|
* `skc/ui-skills/NOTICE.md`; regenerate with `scripts/build-ui-skill-bundle.ts`.
|
|
8
8
|
*/
|
|
9
|
-
export declare const BUNDLED_SKC_UI_SKILL_NAMES: readonly ["emil-design-eng", "animate", "review-animations", "improve-animations", "find-animation-opportunities", "pick-ui-library", "prototype", "mobile-native", "animation-vocabulary", "apple-design", "ask-sonner", "appllama-app-design-skill", "react-bits"];
|
|
9
|
+
export declare const BUNDLED_SKC_UI_SKILL_NAMES: readonly ["stageshow", "emil-design-eng", "animate", "review-animations", "improve-animations", "find-animation-opportunities", "pick-ui-library", "prototype", "mobile-native", "animation-vocabulary", "apple-design", "ask-sonner", "appllama-app-design-skill", "react-bits", "impeccable", "motionsites-web-builder"];
|
|
10
10
|
export type BundledSkcUiSkillName = (typeof BUNDLED_SKC_UI_SKILL_NAMES)[number];
|
|
11
11
|
export declare function getEmbeddedSkcUiSkills(): Skill[];
|
|
12
12
|
export declare function withEmbeddedSkcUiSkills(skills: Skill[]): Skill[];
|
|
@@ -19,12 +19,17 @@ export interface UiSkillKeywordDefinition {
|
|
|
19
19
|
priority: number;
|
|
20
20
|
pattern: RegExp;
|
|
21
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* SKC's design center. Every frontend match loads it first, ahead of the
|
|
24
|
+
* specialized lead and the craft baseline, whatever the surface.
|
|
25
|
+
*/
|
|
26
|
+
export declare const UI_SKILL_CORE = "stageshow";
|
|
22
27
|
/** Base craft skill paired with any specialized web frontend match. */
|
|
23
28
|
export declare const UI_SKILL_BASE: BundledSkcUiSkillName;
|
|
24
29
|
/**
|
|
25
30
|
* Ordered specialized detectors. The first (highest priority) match selects the
|
|
26
|
-
* lead skill; `
|
|
27
|
-
* review work.
|
|
31
|
+
* lead skill; `stageshow` is loaded ahead of it and `emil-design-eng` after it
|
|
32
|
+
* as the craft baseline for build and review work.
|
|
28
33
|
*/
|
|
29
34
|
export declare const UI_SKILL_KEYWORD_DEFINITIONS: readonly UiSkillKeywordDefinition[];
|
|
30
35
|
export interface UiSkillKeywordMatch {
|
|
@@ -33,13 +38,13 @@ export interface UiSkillKeywordMatch {
|
|
|
33
38
|
priority: number;
|
|
34
39
|
}
|
|
35
40
|
/**
|
|
36
|
-
* Detect frontend UI/UX intent. Returns
|
|
37
|
-
* specific
|
|
41
|
+
* Detect frontend UI/UX intent. Returns `stageshow` first, then the most
|
|
42
|
+
* specific match, then `emil-design-eng` as the craft baseline.
|
|
38
43
|
*/
|
|
39
44
|
export declare function detectUiSkillKeywords(text: string): UiSkillKeywordMatch[];
|
|
40
45
|
/**
|
|
41
46
|
* Build the `UserPromptSubmit` directive that makes the agent load the matching
|
|
42
|
-
* bundled UI
|
|
47
|
+
* bundled UI skills for this turn. Returns null when the prompt is not frontend
|
|
43
48
|
* UI/UX work.
|
|
44
49
|
*/
|
|
45
50
|
export declare function buildUiSkillActivationContext(text: string): string | null;
|
|
@@ -55,9 +60,10 @@ export declare function buildUiSkillDirectiveForSkill(skill: BundledSkcUiSkillNa
|
|
|
55
60
|
*
|
|
56
61
|
* This is the whole contract with the routing model — the skill ids alone carry
|
|
57
62
|
* almost no signal, and `appllama-app-design-skill` carries actively misleading
|
|
58
|
-
* signal. Kept next to the patterns so the two cannot drift apart.
|
|
63
|
+
* signal. Kept next to the patterns so the two cannot drift apart. The design
|
|
64
|
+
* center has no entry: every pick loads it, so it is never a routing option.
|
|
59
65
|
*/
|
|
60
|
-
export declare const BUNDLED_UI_SKILL_MEANINGS: Record<BundledSkcUiSkillName, string>;
|
|
66
|
+
export declare const BUNDLED_UI_SKILL_MEANINGS: Record<Exclude<BundledSkcUiSkillName, typeof UI_SKILL_CORE>, string>;
|
|
61
67
|
/**
|
|
62
68
|
* Frontend skills SKC routes to but deliberately does NOT vendor.
|
|
63
69
|
*
|
|
@@ -35,11 +35,12 @@ export interface AutoResumeMarker {
|
|
|
35
35
|
interruptedCallIds: string[];
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* A failed attempt that streamed only private reasoning
|
|
39
|
-
*
|
|
40
|
-
*
|
|
38
|
+
* A failed attempt that streamed no answer: only private reasoning and/or blank text
|
|
39
|
+
* (e.g. a whitespace decode loop the provider then aborted), no tool call. Nothing in
|
|
40
|
+
* it is part of the answer and its signed blocks can never be replayed, so recovery
|
|
41
|
+
* drops it and asks the same model again instead of stopping.
|
|
41
42
|
*/
|
|
42
|
-
export declare function
|
|
43
|
+
export declare function isAnswerlessFailure(message: AgentMessage | undefined): boolean;
|
|
43
44
|
/**
|
|
44
45
|
* The transcript before its trailing unexecuted tool-call failure, without the error
|
|
45
46
|
* placeholder results paired with its calls; undefined when the tail is anything else.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@sayknow-cli/coding-agent",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.19",
|
|
5
5
|
"description": "Sayknow-CLI CLI with read, bash, edit, write tools and session management",
|
|
6
6
|
"homepage": "https://sayknow-cli.com",
|
|
7
7
|
"author": "jaybeyond",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"@agentclientprotocol/sdk": "1.3.0",
|
|
55
55
|
"@babel/parser": "^7.29.3",
|
|
56
56
|
"@mozilla/readability": "^0.6.0",
|
|
57
|
-
"@sayknow-cli/stats": "0.7.
|
|
58
|
-
"@sayknow-cli/agent-core": "0.7.
|
|
59
|
-
"@sayknow-cli/ai": "0.7.
|
|
60
|
-
"@sayknow-cli/natives": "0.7.
|
|
61
|
-
"@sayknow-cli/tui": "0.7.
|
|
62
|
-
"@sayknow-cli/utils": "0.7.
|
|
57
|
+
"@sayknow-cli/stats": "0.7.19",
|
|
58
|
+
"@sayknow-cli/agent-core": "0.7.19",
|
|
59
|
+
"@sayknow-cli/ai": "0.7.19",
|
|
60
|
+
"@sayknow-cli/natives": "0.7.19",
|
|
61
|
+
"@sayknow-cli/tui": "0.7.19",
|
|
62
|
+
"@sayknow-cli/utils": "0.7.19",
|
|
63
63
|
"@puppeteer/browsers": "^2.13.0",
|
|
64
64
|
"@types/turndown": "5.0.6",
|
|
65
65
|
"@xterm/headless": "^6.0.0",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import { logger } from "@sayknow-cli/utils";
|
|
19
19
|
import { BUNDLED_SKC_UI_SKILL_NAMES, type BundledSkcUiSkillName } from "../defaults/skc-ui-skills";
|
|
20
|
-
import { BUNDLED_UI_SKILL_MEANINGS } from "../hooks/ui-skill-keywords";
|
|
20
|
+
import { BUNDLED_UI_SKILL_MEANINGS, UI_SKILL_CORE } from "../hooks/ui-skill-keywords";
|
|
21
21
|
import { CANONICAL_SKC_WORKFLOW_SKILLS, type CanonicalSkcWorkflowSkill } from "../skill-state/active-state";
|
|
22
22
|
import type { DecisionService } from "./index";
|
|
23
23
|
import {
|
|
@@ -33,10 +33,18 @@ import type { Question } from "./types";
|
|
|
33
33
|
const UI_INSTRUCTIONS =
|
|
34
34
|
"Which bundled UI craft skill should be loaded for this request? Choose none unless the request is about building, reviewing, or polishing a user-visible interface.";
|
|
35
35
|
|
|
36
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Exported so tests can assert the contract the model is actually given.
|
|
38
|
+
*
|
|
39
|
+
* The design center is not an option: every pick loads it first anyway, so
|
|
40
|
+
* choosing it yields the same directive as choosing the craft baseline, and
|
|
41
|
+
* leaving it out keeps the question under the backend's option ceiling.
|
|
42
|
+
*/
|
|
37
43
|
export function buildUiSkillCriteria(): Record<string, string> {
|
|
38
44
|
const criteria: Record<string, string> = {};
|
|
39
|
-
for (const skill of BUNDLED_SKC_UI_SKILL_NAMES)
|
|
45
|
+
for (const skill of BUNDLED_SKC_UI_SKILL_NAMES) {
|
|
46
|
+
if (skill !== UI_SKILL_CORE) criteria[skill] = BUNDLED_UI_SKILL_MEANINGS[skill];
|
|
47
|
+
}
|
|
40
48
|
criteria[NONE_CHOICE] =
|
|
41
49
|
"Not interface work: backend, data, infrastructure, tooling, SKC's own terminal UI, or a question with no surface to build.";
|
|
42
50
|
return criteria;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
MotionSites Web Builder — Claude skill
|
|
2
|
+
|
|
3
|
+
1. Skill instructions, references and scripts (everything except the folders
|
|
4
|
+
"examples" and "media") are released under the MIT License:
|
|
5
|
+
|
|
6
|
+
Copyright (c) 2026 MotionSites
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
10
|
+
in the Software without restriction, including without limitation the rights
|
|
11
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
13
|
+
furnished to do so, subject to the following conditions:
|
|
14
|
+
|
|
15
|
+
The above copyright notice and this permission notice shall be included in all
|
|
16
|
+
copies or substantial portions of the Software.
|
|
17
|
+
|
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
24
|
+
SOFTWARE.
|
|
25
|
+
|
|
26
|
+
2. The example prompts (folder "examples") and the media they reference
|
|
27
|
+
(folder "media" and the linked videos and images) are © MotionSites,
|
|
28
|
+
https://motionsites.ai. You may use them to build websites, including for
|
|
29
|
+
clients, with this skill. You may not resell or redistribute them as a
|
|
30
|
+
prompt or media collection.
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to the Licensor for inclusion in the Work by the copyright
|
|
52
|
+
owner or by an individual or Legal Entity authorized to submit on
|
|
53
|
+
behalf of the copyright owner. For the purposes of this definition,
|
|
54
|
+
"submitted" means any form of electronic, verbal, or written
|
|
55
|
+
communication sent to the Licensor or its representatives, including
|
|
56
|
+
but not limited to communication on electronic mailing lists, source
|
|
57
|
+
code control systems, and issue tracking systems that are managed by,
|
|
58
|
+
or on behalf of, the Licensor for the purpose of discussing and
|
|
59
|
+
improving the Work, but excluding communication that is conspicuously
|
|
60
|
+
marked or otherwise designated in writing by the copyright owner as
|
|
61
|
+
"Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
Copyright 2025 Paul Bakaus
|
|
180
|
+
|
|
181
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
+
you may not use this file except in compliance with the License.
|
|
183
|
+
You may obtain a copy of the License at
|
|
184
|
+
|
|
185
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
+
|
|
187
|
+
Unless required by applicable law or agreed to in writing, software
|
|
188
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
+
See the License for the specific language governing permissions and
|
|
191
|
+
limitations under the License.
|
|
@@ -10,7 +10,10 @@ Regenerate with:
|
|
|
10
10
|
```bash
|
|
11
11
|
bun scripts/build-ui-skill-bundle.ts \
|
|
12
12
|
--source emilkowalski=<checkout> \
|
|
13
|
-
--source appllama=<checkout>
|
|
13
|
+
--source appllama=<checkout> \
|
|
14
|
+
--source benjitaylor=<checkout> \
|
|
15
|
+
--source pbakaus=<checkout> \
|
|
16
|
+
--source motionsites=<checkout>
|
|
14
17
|
```
|
|
15
18
|
|
|
16
19
|
Only `SKILL.md` is compiled into the binary, and a bundled skill's `baseDir`
|
|
@@ -24,6 +27,9 @@ loose companion files here expecting them to be readable at runtime.
|
|
|
24
27
|
| --- | --- | --- |
|
|
25
28
|
| [emilkowalski/skills](https://github.com/emilkowalski/skills) | MIT (`LICENSE.emilkowalski`), Copyright (c) 2026 Emil Kowalski | `emil-design-eng`, `animate`, `review-animations`, `improve-animations`, `find-animation-opportunities`, `pick-ui-library`, `prototype`, `mobile-native`, `animation-vocabulary`, `apple-design`, `ask-sonner` |
|
|
26
29
|
| [Appllama/appllama-skills](https://github.com/Appllama/appllama-skills) | MIT (`LICENSE.appllama`) | `appllama-app-design-skill` |
|
|
30
|
+
| [benjitaylor/skills](https://github.com/benjitaylor/skills) at `299140f` (Stageshow 1.1.1, [write-up](https://benji.org/stageshow)) | MIT (`LICENSE.benjitaylor`, from `stageshow/LICENSE`), Copyright (c) 2026 Benji Taylor | `stageshow` (`SKILL.md`, `references/*.md` and `NOTICE.md` inlined) |
|
|
31
|
+
| [pbakaus/impeccable](https://github.com/pbakaus/impeccable) at `613fbf8` (Impeccable 4.8.1, `.pi` build) | Apache-2.0 (`LICENSE.pbakaus`), Copyright 2025 Paul Bakaus | `impeccable` (`SKILL.md` and 17 engine-free `reference/*.md` files inlined, see exclusions). Modified by SKC: subset of references plus the overlay below |
|
|
32
|
+
| [Motionsites-AI/claude-skill](https://github.com/Motionsites-AI/claude-skill) at `faa30d5` | MIT for the instructions, references and scripts (`LICENSE.motionsites`), Copyright (c) 2026 MotionSites | `motionsites-web-builder`: SKC-authored entry (`scripts/ui-skill-overlays/motionsites-web-builder.entry.md`, adapted from the upstream workflow) with `references/*.md` and `references/techniques/INDEX.md` inlined |
|
|
27
33
|
|
|
28
34
|
## SKC overlays
|
|
29
35
|
|
|
@@ -31,14 +37,32 @@ loose companion files here expecting them to be readable at runtime.
|
|
|
31
37
|
generator splices into a vendored skill right after its `## SKC invocation`
|
|
32
38
|
block, so a regeneration keeps them.
|
|
33
39
|
|
|
34
|
-
| Overlay |
|
|
35
|
-
| --- | --- |
|
|
36
|
-
| `
|
|
40
|
+
| Overlay | Purpose |
|
|
41
|
+
| --- | --- |
|
|
42
|
+
| `stageshow`: "SKC: the design center — mandatory for all frontend work" | Makes Stageshow the bar for every frontend surface, says which rules apply to real UI versus faux UI, and how it fits with the other bundled skills |
|
|
43
|
+
| `emil-design-eng`: "Stageshow is the design center — mandatory" | Points the craft baseline at `stageshow` and defers conflicts to it |
|
|
44
|
+
| `impeccable`: "SKC: how this bundled copy runs" | Keeps `stageshow` as the design center, routes around the unbundled engine (`scripts/impeccable` launcher, detector, live mode, hooks), and maps every unbundled reference to the SKC skill that covers it |
|
|
45
|
+
|
|
46
|
+
A layout `entry` replaces the upstream `SKILL.md` with an SKC-authored one while
|
|
47
|
+
the companion references are still vendored. `motionsites-web-builder` uses it
|
|
48
|
+
because the upstream `SKILL.md` makes a paid-upgrade ad with tracking links part
|
|
49
|
+
of every delivery and drives the non-redistributable examples and media.
|
|
50
|
+
|
|
51
|
+
The Stageshow kit, examples, `teaching/`, filming scripts and playground are not
|
|
52
|
+
vendored: they are React/TS sources (unreadable from an embedded skill) and
|
|
53
|
+
include app-icon artwork the Stageshow MIT license does not cover. The overlay
|
|
54
|
+
tells the agent to install the full skill into the user's project for faux UI
|
|
55
|
+
builds with `npx -y skills@latest add benjitaylor/skills --skill stageshow -a universal -y`.
|
|
37
56
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
57
|
+
Impeccable's engine-dependent and overlapping references are not vendored:
|
|
58
|
+
`new-work`, `craft`, `shape`, `init` (owned by `stageshow`), `animate`, `delight`
|
|
59
|
+
(owned by `animate`), `ios`, `android`, `*.native` (owned by
|
|
60
|
+
`appllama-app-design-skill` and `mobile-native`), `live`, `live-setup`,
|
|
61
|
+
`generate` (owned by `prototype`), and `routing`, `document`, `extract`,
|
|
62
|
+
`onboard`, `optimize`, `overdrive`, `visualize`, `component-review`,
|
|
63
|
+
`region-map`, `hooks`, `doctor`, `degraded/*`. The engine launcher downloads a
|
|
64
|
+
native binary on first run, which an embedded skill cannot carry; the overlay
|
|
65
|
+
skips its steps and takes upstream's own "Launcher unavailable" path.
|
|
42
66
|
|
|
43
67
|
## Deliberate exclusions
|
|
44
68
|
|
|
@@ -50,6 +74,7 @@ with `npx -y skills@latest add benjitaylor/skills --skill stageshow -a universal
|
|
|
50
74
|
|
|
51
75
|
- [`Jakubantalik/transitions.dev`](https://github.com/Jakubantalik/transitions.dev) — **not vendored.** Its terms license only the `transitions-dev` CLI and Refine tooling under MIT; the transition collection is governed by a separate "Using the transitions" clause that permits unlimited use in your own projects but forbids repackaging or publishing the collection (or a substantial part of it). SKC therefore never carries the content: the agent installs it into the user's own project on demand via `npx -y skills@latest add Jakubantalik/transitions.dev --skill transitions-dev -a universal -y`. See `hooks/ui-skill-keywords.ts`.
|
|
52
76
|
- [`DavidHDev/react-bits`](https://github.com/DavidHDev/react-bits) — **components not vendored.** React Bits is a shadcn component registry, not an agent skill repo (it ships no `SKILL.md`), and its MIT + Commons Clause license forbids selling, sublicensing, or redistributing the components "alone, in a bundle, or as a ported version". The bundled `react-bits` skill is therefore **SKC-authored guidance**: when to reach for the registry, how to install one component (`npx shadcn@latest add @react-bits/<Component>-<Variant>`), the `components.json` precondition, and a factual catalog of component names. No upstream component source is included; components are installed from the registry into the user's own project.
|
|
77
|
+
- [`Motionsites-AI/claude-skill`](https://github.com/Motionsites-AI/claude-skill) — **examples, media and the upgrade ad not vendored.** Its `examples/` (40 prompts) and `media/` (contact sheets and linked videos/images) are (c) MotionSites and may not be redistributed as a collection, so they are not carried. The upstream `SKILL.md` requires a MotionSites upgrade block with UTM links in every delivery; SKC ships its own entry without it. The seven `references/techniques/*.md` recipe files (MIT, ~285 KB) are not inlined either: the entry has the agent `read` them on demand from the pinned commit `faa30d5`, and run the MIT `scripts/shoot.py` from that commit when Python Playwright is available.
|
|
53
78
|
|
|
54
79
|
## Trademarks
|
|
55
80
|
|
|
@@ -11,77 +11,9 @@ SKC loads this skill automatically for matching frontend UI/UX work.
|
|
|
11
11
|
Do not wait for a follow-up question. Apply the craft rules immediately
|
|
12
12
|
and keep going on the user's actual task.
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## Stageshow is the design center — mandatory
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Adapted from [Stageshow](https://benji.org/stageshow) by Benji Taylor (MIT).
|
|
19
|
-
|
|
20
|
-
### Use the Stageshow kit
|
|
21
|
-
|
|
22
|
-
The full Stageshow skill ships a React kit (stage, windows, phones, cursor, motion parts), gold examples and filming scripts that cannot be embedded here. For any faux UI build, install it into the user's project yourself with `npx -y skills@latest add benjitaylor/skills --skill stageshow -a universal -y`, load `stageshow` with the `skill` tool, and start from its closest gold example. Do not ask the user to run the install. If it fails (offline, blocked registry), say so once and apply the rules below by hand.
|
|
23
|
-
|
|
24
|
-
### How this fits with the rest of this skill
|
|
25
|
-
|
|
26
|
-
- **Depicted UI feedback stays real.** A press, menu, tooltip or toggle inside the demo follows this skill: under 300ms, ease-out custom curves, `scale(0.97)` on press, never from `scale(0)`. Only storytelling motion (travel, arrivals, camera, holds) runs slower; that is the "Marketing/explanatory" row of the duration table.
|
|
27
|
-
- **Stagger** stays 40-80ms between items in a scene, inside this skill's 30-80ms band. Tiles of a grid are the one exception: 80-120ms apart.
|
|
28
|
-
- **Reduced motion** shows the demo's poster frame: a complete still that tells the story with the result on screen. Movement is dropped, not the payoff.
|
|
29
|
-
- **Frequency rule.** A demo loop is decorative and rarely seen; it never blocks interaction and never reacts to the page's keyboard input.
|
|
30
|
-
- **Review output** still uses the Before/After/Why table from Review Format.
|
|
31
|
-
|
|
32
|
-
### The one idea
|
|
33
|
-
|
|
34
|
-
**It reads as a real product, simplified to what the viewer needs, framed with intent, and every motion has a cause.**
|
|
35
|
-
|
|
36
|
-
Five ways it fails:
|
|
37
|
-
|
|
38
|
-
- **Too much.** Real text in every row, numbers everywhere, everything packed. The more detail, the more it looks generated.
|
|
39
|
-
- **Wireframe.** Two gray blobs and a button: built too small, or stripped of what made it recognizable.
|
|
40
|
-
- **Boxed.** A whole window shrunk into a card with even margins, like a pasted screenshot.
|
|
41
|
-
- **Flat.** Every object the same weight in the same bordered card; the eye has nowhere to land.
|
|
42
|
-
- **Bland.** A gray window with a cursor whatever the brief said. The brief's look and energy are the point.
|
|
43
|
-
|
|
44
|
-
The fix: a full, structured screen in quiet grays, real words only where the story is (usually 3 to 7 strings), placeholder lines for the rest, room to breathe, and a crop that puts the eye on the story. Simplify the words, not the context.
|
|
45
|
-
|
|
46
|
-
### Workflow (decide before writing code)
|
|
47
|
-
|
|
48
|
-
1. **Medium and place.** Still or animation (loop, once in view, hover); where it sits and at what size. Design at the shown size (about 720 × 340 beside copy, 900-1100 wide full-width, 400 × 300 for a card) and ship a redesigned compact version for a 358px phone column.
|
|
49
|
-
2. **Look.** Map the product's real tokens, icons and chrome. Otherwise pick a theme (light, dark, blueprint, glass), a palette (accent or mono) and a fidelity (minimal, standard, realistic). A brief with a style gets that style in full.
|
|
50
|
-
3. **Story.** Three to five beats and a payoff, 10 to 16 seconds. No cursor move you cannot explain. Data never rewinds in view without a cause. Between a richer story and a calmer frame, choose the frame.
|
|
51
|
-
4. **Start from the closest example** and decide the crop before building, so nothing past the crop gets built.
|
|
52
|
-
5. **Screen.** Spend the word budget on the story; mark what the cursor touches and measure positions, never hard-code them.
|
|
53
|
-
6. **Choreograph.** Keep elements mounted so exits animate. Animate the relationship, not just the object: a new row carries the rows below it. Beats overlap, groups stagger, the payoff holds, and the loop ends where it began or resets with a visible cause.
|
|
54
|
-
7. **Rehearse.** Set the poster frame first. Film the whole loop at the shown width and at 390, step through every press, menu, morph and the loop seam, fix the largest fault first (framing, then hierarchy, then motion, then polish), and compare against the closest gold example.
|
|
55
|
-
|
|
56
|
-
### Framing
|
|
57
|
-
|
|
58
|
-
- One hero object, at most one or two satellites of different kinds. A satellite straddles the hero's edge about half outside and covers chrome, not content.
|
|
59
|
-
- Crop only filler. The payoff, the action, cursor targets and every real word stay whole. Crop 10-40% of the hero off stage; it fills at least two thirds of the stage width and runs off an edge.
|
|
60
|
-
- The stage masks everything. One gutter, measured in the final crop, on every edge: a full gutter or well past it, never just short.
|
|
61
|
-
- No plate behind a hero on a white or dark page, no window floating with air on four sides, no dead corners at any point in the loop.
|
|
62
|
-
- Real chrome only: no address bar on a native Mac app, no hand-drawn status bar or home indicator. Windows keep their device's shape.
|
|
63
|
-
- Start flat and frontal. Depth comes from shadow, z-order and scale; a tilt must be earned against the straight version.
|
|
64
|
-
|
|
65
|
-
### Motion and the cursor
|
|
66
|
-
|
|
67
|
-
- Story motion uses two curves: travel `cubic-bezier(0.45, 0, 0.1, 1)`, arrival from nowhere `cubic-bezier(0.25, 0.8, 0.25, 1)` over 0.8-1s. Travel has a departure, clear travel and a soft arrival.
|
|
68
|
-
- Content moves instead of swapping; numbers roll only the digits that changed. Holding a result means stopping, with no new pulse.
|
|
69
|
-
- The cursor moves like a hand: shallow arcs timed by distance, presses you can see. It never covers the words it clicks, changes kind (I-beam, hand) by morphing as it crosses into an element, and every move travels to the next action. Use one cursor style per site; with no cursor, never walk a focus ring as a stand-in.
|
|
70
|
-
- On phones, use touch, not the macOS arrow, and act where people do: tap the notification, then act in the app.
|
|
71
|
-
- The camera needs a reason: push in only when the payoff is too small to read, once per story, in and back out.
|
|
72
|
-
|
|
73
|
-
### Check before handing over
|
|
74
|
-
|
|
75
|
-
- Content that swaps instead of moving.
|
|
76
|
-
- Gray placeholder bars where the eye lands; filler belongs at the edges.
|
|
77
|
-
- A plate behind the window, or a window floating with air on four sides.
|
|
78
|
-
- Empty bands, cut controls or cut shadows.
|
|
79
|
-
- Stock AI marks and made-up logos: sparkles, purple, a letter in a colored square.
|
|
80
|
-
- Busy rows and uneven insets.
|
|
81
|
-
- Long holds, or a reset with no cause.
|
|
82
|
-
- A text selection that is not under the I-beam.
|
|
83
|
-
- A hand-drawn status bar or home indicator.
|
|
84
|
-
- A centered amount centered together with its sign.
|
|
16
|
+
SKC loads `stageshow` before this skill for every frontend task. Its one idea (a real product, simplified to what the viewer needs, framed with intent, every motion with a cause), its five failures (too much, wireframe, boxed, flat, bland) and its craft, framing, motion and verify references are the bar for every surface; this skill adds component and interaction craft on top. Faux product UI (hero or feature-card demos, bento tiles, cursor walkthroughs, product shots, mocked app screens) is built by `stageshow` in full. Where the two disagree, `stageshow`'s "How Stageshow fits with the other bundled UI skills" section decides. If `stageshow` is not loaded in this turn yet, load it with the `skill` tool now.
|
|
85
17
|
|
|
86
18
|
|
|
87
19
|
## Core Philosophy
|