@sayknow-cli/coding-agent 0.7.17 → 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 +9 -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 +4 -3
- 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 +22 -1
- 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.ts +10 -0
- package/src/hooks/ui-skill-keywords.ts +27 -6
- package/src/prompts/agents/executor.md +1 -1
- package/src/prompts/system/system-prompt.md +1 -1
|
@@ -9,8 +9,10 @@ import emilDesignEngSkill from "./skc/ui-skills/emil-design-eng/SKILL.md" with {
|
|
|
9
9
|
import findAnimationOpportunitiesSkill from "./skc/ui-skills/find-animation-opportunities/SKILL.md" with {
|
|
10
10
|
type: "text",
|
|
11
11
|
};
|
|
12
|
+
import impeccableSkill from "./skc/ui-skills/impeccable/SKILL.md" with { type: "text" };
|
|
12
13
|
import improveAnimationsSkill from "./skc/ui-skills/improve-animations/SKILL.md" with { type: "text" };
|
|
13
14
|
import mobileNativeSkill from "./skc/ui-skills/mobile-native/SKILL.md" with { type: "text" };
|
|
15
|
+
import motionsitesWebBuilderSkill from "./skc/ui-skills/motionsites-web-builder/SKILL.md" with { type: "text" };
|
|
14
16
|
import pickUiLibrarySkill from "./skc/ui-skills/pick-ui-library/SKILL.md" with { type: "text" };
|
|
15
17
|
import prototypeSkill from "./skc/ui-skills/prototype/SKILL.md" with { type: "text" };
|
|
16
18
|
import reactBitsSkill from "./skc/ui-skills/react-bits/SKILL.md" with { type: "text" };
|
|
@@ -39,6 +41,8 @@ export const BUNDLED_SKC_UI_SKILL_NAMES = [
|
|
|
39
41
|
"ask-sonner",
|
|
40
42
|
"appllama-app-design-skill",
|
|
41
43
|
"react-bits",
|
|
44
|
+
"impeccable",
|
|
45
|
+
"motionsites-web-builder",
|
|
42
46
|
] as const;
|
|
43
47
|
|
|
44
48
|
export type BundledSkcUiSkillName = (typeof BUNDLED_SKC_UI_SKILL_NAMES)[number];
|
|
@@ -80,6 +84,12 @@ const BUNDLED_UI_SKILL_SOURCES: readonly BundledUiSkillSource[] = [
|
|
|
80
84
|
content: appllamaAppDesignSkill,
|
|
81
85
|
},
|
|
82
86
|
{ name: "react-bits", relativePath: "ui-skills/react-bits/SKILL.md", content: reactBitsSkill },
|
|
87
|
+
{ name: "impeccable", relativePath: "ui-skills/impeccable/SKILL.md", content: impeccableSkill },
|
|
88
|
+
{
|
|
89
|
+
name: "motionsites-web-builder",
|
|
90
|
+
relativePath: "ui-skills/motionsites-web-builder/SKILL.md",
|
|
91
|
+
content: motionsitesWebBuilderSkill,
|
|
92
|
+
},
|
|
83
93
|
];
|
|
84
94
|
|
|
85
95
|
export function getEmbeddedSkcUiSkills(): Skill[] {
|
|
@@ -27,7 +27,7 @@ export interface UiSkillKeywordDefinition {
|
|
|
27
27
|
* SKC's design center. Every frontend match loads it first, ahead of the
|
|
28
28
|
* specialized lead and the craft baseline, whatever the surface.
|
|
29
29
|
*/
|
|
30
|
-
export const UI_SKILL_CORE
|
|
30
|
+
export const UI_SKILL_CORE = "stageshow" satisfies BundledSkcUiSkillName;
|
|
31
31
|
|
|
32
32
|
/** Base craft skill paired with any specialized web frontend match. */
|
|
33
33
|
export const UI_SKILL_BASE: BundledSkcUiSkillName = "emil-design-eng";
|
|
@@ -115,6 +115,24 @@ export const UI_SKILL_KEYWORD_DEFINITIONS: readonly UiSkillKeywordDefinition[] =
|
|
|
115
115
|
pattern:
|
|
116
116
|
/\bapple\b[^.?!]{0,40}\b(design|motion|style|feel|hig)\b|\b(spring|gesture|drag|swipe|sheet)\b[^.?!]{0,40}\b(animation|motion|physics)\b|애플\s*(디자인|스타일|느낌)/i,
|
|
117
117
|
},
|
|
118
|
+
{
|
|
119
|
+
// Impeccable's steering and evaluation vocabulary applied to a visual
|
|
120
|
+
// surface. The refine verbs need a UI noun nearby so "polish the API
|
|
121
|
+
// errors" or "harden the auth endpoint" stay out of frontend routing.
|
|
122
|
+
skill: "impeccable",
|
|
123
|
+
priority: 67,
|
|
124
|
+
pattern:
|
|
125
|
+
/\b(polish|bolder|quieter|distill|critique|harden|typeset|colorize|declutter)\b[^.?!]{0,40}\b(ui|ux|design|page|screen|layout|interface|site|website|dashboard|landing|hero|form|card|components?|typography|palette)\b|\b(ui|ux|visual) (design )?(critique|audit|review)\b|\bdesign (critique|audit)\b|\bmake it (bolder|quieter|pop)\b|\b(looks?|feels?) (too )?(bland|generic|boring)\b|\bai[- ]slop\b|\bimpeccable\b|(ui|ux)\s*(리뷰|검토|점검|감사|크리틱)|디자인\s*(리뷰|검토|점검|감사|크리틱|비평)|(화면|페이지|디자인|ui)[^.?!]{0,20}(다듬|폴리싱|밋밋|과감하게|차분하게|톤\s*다운)|ai\s*슬롭/i,
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
// Whole marketing surfaces: landing pages, marketing sites, cinematic
|
|
129
|
+
// heroes, and build prompts for Lovable/Bolt/v0. A faux product demo
|
|
130
|
+
// inside such a page is still built by `stageshow`, which loads first.
|
|
131
|
+
skill: "motionsites-web-builder",
|
|
132
|
+
priority: 66,
|
|
133
|
+
pattern:
|
|
134
|
+
/\blanding[- ]?pages?\b|\bmarketing (site|website|page)s?\b|\bhero sections?\b|\b(cinematic|award[- ](winning|level))\b[^.?!]{0,40}\b(site|website|page|hero|landing)\b|\b(lovable|bolt|v0)\b[^.?!]{0,40}\bprompts?\b|랜딩\s*페이지|히어로\s*섹션|마케팅\s*(사이트|페이지)|시네마틱/i,
|
|
135
|
+
},
|
|
118
136
|
{
|
|
119
137
|
skill: "animate",
|
|
120
138
|
priority: 65,
|
|
@@ -232,13 +250,12 @@ export function buildUiSkillDirectiveForSkill(skill: BundledSkcUiSkillName): str
|
|
|
232
250
|
*
|
|
233
251
|
* This is the whole contract with the routing model — the skill ids alone carry
|
|
234
252
|
* almost no signal, and `appllama-app-design-skill` carries actively misleading
|
|
235
|
-
* signal. Kept next to the patterns so the two cannot drift apart.
|
|
253
|
+
* signal. Kept next to the patterns so the two cannot drift apart. The design
|
|
254
|
+
* center has no entry: every pick loads it, so it is never a routing option.
|
|
236
255
|
*/
|
|
237
|
-
export const BUNDLED_UI_SKILL_MEANINGS: Record<BundledSkcUiSkillName, string> = {
|
|
238
|
-
stageshow:
|
|
239
|
-
"Faux product UI for marketing and docs pages: hero demos, feature cards, bento grids, cursor walkthroughs, mocked app screenshots, product shots. Every other frontend pick loads it too as the design center.",
|
|
256
|
+
export const BUNDLED_UI_SKILL_MEANINGS: Record<Exclude<BundledSkcUiSkillName, typeof UI_SKILL_CORE>, string> = {
|
|
240
257
|
"emil-design-eng":
|
|
241
|
-
"General web UI/UX craft: building or reviewing components, layout, spacing, typography, design systems, CSS. The default for frontend work with no more specific fit.",
|
|
258
|
+
"General web UI/UX craft: building or reviewing components, layout, spacing, typography, design systems, CSS, and faux product UI for marketing and docs pages (hero demos, bento grids, cursor walkthroughs, mocked app screens). The default for frontend work with no more specific fit.",
|
|
242
259
|
animate:
|
|
243
260
|
"Adding new motion to a web UI: animations, transitions, easing, keyframes, hover effects, micro-interactions.",
|
|
244
261
|
"review-animations": "Reviewing motion that already exists and judging whether it is good.",
|
|
@@ -254,6 +271,10 @@ export const BUNDLED_UI_SKILL_MEANINGS: Record<BundledSkcUiSkillName, string> =
|
|
|
254
271
|
"ask-sonner": "Toast notifications, specifically the Sonner library.",
|
|
255
272
|
"appllama-app-design-skill": "Native app screens built with Expo or React Native — not a website viewed on a phone.",
|
|
256
273
|
"react-bits": "Pre-built animated React components: animated text, animated backgrounds, cursor and scroll effects.",
|
|
274
|
+
impeccable:
|
|
275
|
+
"Steering or evaluating an existing visual design: polish, make bolder or quieter, distill, typography, color, layout, UX copy, hardening, design critique or audit, removing AI slop.",
|
|
276
|
+
"motionsites-web-builder":
|
|
277
|
+
"Building a whole landing page, marketing site or cinematic hero section, or writing a build prompt for Lovable, Bolt or v0.",
|
|
257
278
|
};
|
|
258
279
|
|
|
259
280
|
/**
|
|
@@ -21,7 +21,7 @@ Explore just enough context, implement the smallest correct change, and leave co
|
|
|
21
21
|
- Explore first, ask last. Ask only when progress is impossible or the next decision is destructive, credentialed, external-production, or materially scope-changing.
|
|
22
22
|
- Use normal repository inspection for file/symbol/pattern lookup. Do not recommend deprecated repository-explore workflows.
|
|
23
23
|
- Respect repository instructions, especially no new dependencies unless explicitly requested.
|
|
24
|
-
- For frontend UI/UX, animation, visual polish, component-craft, or faux product UI work, invoke `stageshow` first (the design center for every frontend surface, real product UI included), then the matching bundled UI skill (`emil-design-eng`, `animate`, `review-animations`, `improve-animations`, `find-animation-opportunities`, `pick-ui-library`, `prototype`, `mobile-native`, `appllama-app-design-skill` for native Expo/React Native screens, `ask-sonner`, `apple-design`, `animation-vocabulary`) before implementing. Do not ask the user to install these skills.
|
|
24
|
+
- For frontend UI/UX, animation, visual polish, component-craft, or faux product UI work, invoke `stageshow` first (the design center for every frontend surface, real product UI included), then the matching bundled UI skill (`emil-design-eng`, `impeccable` for polish/critique/audit passes, `motionsites-web-builder` for landing pages and marketing sites, `animate`, `review-animations`, `improve-animations`, `find-animation-opportunities`, `pick-ui-library`, `prototype`, `mobile-native`, `appllama-app-design-skill` for native Expo/React Native screens, `ask-sonner`, `apple-design`, `animation-vocabulary`) before implementing. Do not ask the user to install these skills.
|
|
25
25
|
</constraints>
|
|
26
26
|
|
|
27
27
|
<execution_loop>
|
|
@@ -26,7 +26,7 @@ Optimize for correctness first, maintainability second, and brevity third. Prefe
|
|
|
26
26
|
- Clear work with non-trivial architecture or sequencing risk uses `/skill:ralplan --deliberate` and stops pending approval.
|
|
27
27
|
- Use `/skill:ultragoal` for durable goal ledgers and `/skill:team` for approved coordinated persistent work.
|
|
28
28
|
- Delegate large implementation slices to `executor`; use `planner`, `architect`, or `critic` for bounded planning and review.
|
|
29
|
-
- Frontend UI/UX work (web, dashboard, mobile web, native app screens, animation, visual polish, component craft, faux product UI) MUST invoke `stageshow` first — the design center for every frontend surface, real product UI included — and then the matching bundled UI skill before writing or reviewing that surface: `emil-design-eng` for general UI/UX, `animate` for new motion, `review-animations` / `improve-animations` / `find-animation-opportunities` for motion review/audit/opportunity, `pick-ui-library` for library choice, `prototype` for variant exploration, `mobile-native` for phone-web native feel, `appllama-app-design-skill` for native Expo/React Native app screens, `ask-sonner` for Sonner toasts, `apple-design` for Apple-style motion/materials, `animation-vocabulary` for naming a motion effect. These are bundled; do not ask the user to install them. They are not workflow skills and do not use `skc state`.
|
|
29
|
+
- Frontend UI/UX work (web, dashboard, mobile web, native app screens, animation, visual polish, component craft, faux product UI) MUST invoke `stageshow` first — the design center for every frontend surface, real product UI included — and then the matching bundled UI skill before writing or reviewing that surface: `emil-design-eng` for general UI/UX, `impeccable` for steering or evaluating a design (polish, bolder/quieter, distill, typography, color, layout, critique, audit), `motionsites-web-builder` for landing pages, marketing sites, cinematic heroes and Lovable/Bolt/v0 build prompts, `animate` for new motion, `review-animations` / `improve-animations` / `find-animation-opportunities` for motion review/audit/opportunity, `pick-ui-library` for library choice, `prototype` for variant exploration, `mobile-native` for phone-web native feel, `appllama-app-design-skill` for native Expo/React Native app screens, `ask-sonner` for Sonner toasts, `apple-design` for Apple-style motion/materials, `animation-vocabulary` for naming a motion effect. These are bundled; do not ask the user to install them. They are not workflow skills and do not use `skc state`.
|
|
30
30
|
- Active skills are authoritative: never ignore an invoked skill; read the full skill text and follow it exactly.
|
|
31
31
|
- Before explicit execution approval, planning and interview workflows NEVER edit product source, run mutating shell commands, commit, push, open PRs, or delegate implementation.
|
|
32
32
|
</routing>
|