sisyo 1.10.0 → 1.12.0

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/README.md CHANGED
@@ -161,7 +161,7 @@ Optional best-practice guides that Claude loads on demand:
161
161
  | `react-page-oriented` | React/Next.js pages, component structure |
162
162
  | `gemini-integration` | Google Gemini API: model roles via config keys, 3.x request rules, streaming chat + tools, Live voice (ephemeral token, gemini-3.8-live async tools / 3.1 sync), structured tool results, embeddings/rerank, JSON mode, grounding, PDF, TTS, troubleshooting |
163
163
  | `hindsight` | Long-term memory from a shared Hindsight server on your LAN: banks, retain/recall/reflect, MCP for coding agents, operating the server. Addresses are written as `<hindsight-host>`; use your own server's |
164
- | `g6-style` | Premium homepage / landing page in champagne-gold "light LED" (light + dark, after a lit Ginza atrium), guidance only: Tailwind v4 tokens and keyframes, CSS-first motion, 3D phone hero with real screens, animated how-it-works tiles meeting at one card, click-to-play product tour, black-and-gold plan, products row, photo closing CTA; codex image prompts, fitting a real screen into a generated photo, a button-overflow audit method |
164
+ | `g6-style` | The Hokidon look for a whole product in champagne-gold "light LED" (light + dark, after a lit Ginza atrium), guidance only: Tailwind v4 tokens with one meaning per tone, keycap buttons, fields, sheet, InfoTip, app shell, duotone icons, QR with a logo; app screens (editor + live phone preview, settings, billing and locked paid features, chat, OCR card scan, team console with KPI tiles and charts, tables vs cards, shop and cart, public profile in the user's colour, always-light admin, A4 print); the homepage with CSS-first motion (3D phone hero, animated how-it-works tiles, scroll decks on phones, click-to-play tour, products row) and a B2B landing; codex image prompts, flat illustrations, checks (button-overflow audit, JS / LCP budgets, print) |
165
165
  | `neon-game-ui-ux-skill` | Neon, game-like UI/UX design system (React + Tailwind + motion), guidance only: tokens, component anatomy, HUD (level, XP, streak, daily goal), bottom bar with a centre progress dial + radial menu, gamification patterns (XP, quests, daily path, rewards), duotone icons on an open-source base, motion and accessibility rules |
166
166
  | `hoang-auth` | Sign-in for every Hoang app with Hoang Auth (Keycloak at auth.hoang.jp): the buttons an app's screen shows (Google, Apple, LINE, Hoang Account, Create account), the authorize request (PKCE, kc_idp_hint, login_hint, prompt=create, ui_locales), the account screen through kc_action (password, passkey, two-factor, recovery codes, linking), token checks, sign-out, what never to build (password fields, password grant, own sign-up), a test checklist |
167
167
  | `i18n-multilang` | Multi-language text for games, apps and sites: i18next-format JSON in `i18n/`, a translate → validate → pack loop for 40 default languages, versioned language packs (bundled in the app and/or on a CDN), language picker and default-language rules, Unity and web runtime contracts. Optional voice sets with their own version next to the text version, and numbers written out for TTS in 10 languages. Ships Python 3.8+ tools (`i18n.py`, `voice.py`, `numwords.py`). Private addresses are placeholders (`cdn.<your-domain>`, `<voice-host>`); real ones belong in your `SISYO.md` |
@@ -32,22 +32,34 @@
32
32
  "6d0424f4c7c8782cac6a1ffeed47d7187f92469e6c92fa76a499f275f571dfb9"
33
33
  ],
34
34
  ".claude/skills/g6-style/SKILL.md": [
35
- "988595f545decf9a6921d06389981be1ee2bf273dffcb48e56f6f96b620081ee"
35
+ "988595f545decf9a6921d06389981be1ee2bf273dffcb48e56f6f96b620081ee",
36
+ "d4864d1844a1938e2c605f6d14074d211c2d3bf5b6d3d7f75ea86bd17acdbda9"
37
+ ],
38
+ ".claude/skills/g6-style/references/app-screens.md": [
39
+ "a988e1edcd79034548fa35e260d39fe0230246d5d3a681d4e4a6d42cc456c771"
36
40
  ],
37
41
  ".claude/skills/g6-style/references/checks.md": [
42
+ "92c31d7ae4b5491e2b0490f1677aa63de156e5f58f15f271db9d78b5d3c5c956",
38
43
  "9cb0824e4d04ae678f60b381731e2a3f6cd8653efe44b380d385c73f0a9a64a0"
39
44
  ],
45
+ ".claude/skills/g6-style/references/components.md": [
46
+ "b0e68b814de3b6796a4f8604affc51b49157be60e4c87601d397632f7953ded5"
47
+ ],
40
48
  ".claude/skills/g6-style/references/imagery.md": [
41
- "9b4df59e13f258297e6aa1dbe94b647f4653ecd212ab4063c0af7f03b43884d2"
49
+ "9b4df59e13f258297e6aa1dbe94b647f4653ecd212ab4063c0af7f03b43884d2",
50
+ "add937aba1c09bf42fc4bf06cb761cb5d17a0f6dc5bb0ae3ce611260dc780964"
42
51
  ],
43
52
  ".claude/skills/g6-style/references/motion.md": [
53
+ "5fc0b4512890d49874406dea6d3922bdf9c3e8924b2fb0be79ebffc4ca05958f",
44
54
  "f961d0bb264d3e26acfdf1f67ca046b3d5d2e74c3b1360f029736f6c9fb0890d"
45
55
  ],
46
56
  ".claude/skills/g6-style/references/sections.md": [
57
+ "e26385449062d1e116cb9a5f2ad06701a0d4602658e6ec1d33f1a130e754db99",
47
58
  "ed4a477aa0f0e43ff24a17a05355fd7dfe9a59502278d91d21772c4b3045c3f6"
48
59
  ],
49
60
  ".claude/skills/g6-style/references/tokens.md": [
50
- "2e236057c4bed3acff31640176fa6ad1467ad5ce4f12054101bec643eaa4cee9"
61
+ "2e236057c4bed3acff31640176fa6ad1467ad5ce4f12054101bec643eaa4cee9",
62
+ "62ac282f4bf7ca5f91e997819bbc8197eab8080fdf1e5dfc7d06b395437dfc23"
51
63
  ],
52
64
  ".claude/skills/gemini-integration/GENERATE.md": [
53
65
  "422c523decaec584f7059f8b31e288b358dfde268da427afeeeb265b8a2e8050"
@@ -158,17 +170,21 @@
158
170
  "07e67686b0a75d7cf74b67aae0f816590d15a199c2c3a3eea99bb13025ccb841"
159
171
  ],
160
172
  ".claude/skills/kicho-devflow/SKILL.md": [
173
+ "649f2e3b075f030ca2069765a282c65510c247ac4d7e9ee9c92efa9eadc0c901",
161
174
  "dd9ef40d8a3023bbbca853025ff425b3c47ab19bdf810a3cd3cddfc363c87491",
162
175
  "eef4546dc70d1a5fe2bd5d1649f745f5c49bb982532bc0fcbedf7eb7f4185466"
163
176
  ],
164
177
  ".claude/skills/kicho-devflow/kdev.mjs": [
165
178
  "691d25f21a167a8bbb7119e9209f3d22c15177c998514810750ffc85b3fca4a0",
166
- "9d0a909741f28d66c0e96c10ce1a2aa3d590b4a105aec16032bdb012a76aa194"
179
+ "9d0a909741f28d66c0e96c10ce1a2aa3d590b4a105aec16032bdb012a76aa194",
180
+ "d582e0f443d0eced47fe73487a8931450189cfdb62bd0962c01ad3e7bab75f12"
167
181
  ],
168
182
  ".claude/skills/kicho-devflow/templates/handbook.md": [
169
- "1ac0b49cbf7646a16848b96ea6df02feaeb8d2fb1af55ebc4c70667093c40667"
183
+ "1ac0b49cbf7646a16848b96ea6df02feaeb8d2fb1af55ebc4c70667093c40667",
184
+ "23549e79063b74e5b517ec6a9c704ea11a0d53084ffee8f3a294dbadc89901a0"
170
185
  ],
171
186
  ".claude/skills/kicho-devflow/templates/request.json": [
187
+ "7cd77db9a14862491c0cc9c8fba62612feb955f542c1db32b381f3b5a87b1974",
172
188
  "df4edc645b483717e5ded44c0b9d5b59c16b62a2a518bddc5f94ceea5012cc17"
173
189
  ],
174
190
  ".claude/skills/kicho-devflow/templates/request.md": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sisyo",
3
- "version": "1.10.0",
3
+ "version": "1.12.0",
4
4
  "description": "Smart documentation system for vibe coding with Claude Code. Token-efficient MAP.md routing.",
5
5
  "bin": {
6
6
  "sisyo": "./bin/sisyo.js"
@@ -1,28 +1,29 @@
1
1
  ---
2
2
  name: g6-style
3
3
  description: >-
4
- The "G6" homepage style: champagne / metallic gold "light LED" on warm ivory (light mode) and warm black (dark
5
- mode), after the lit atrium of a Ginza department store, with its motion system: CSS-first entrances, a triangle
6
- lattice of light behind the page, LED strips, a 3D phone stack hero with real screens, animated "how it works"
7
- tiles (QR scan, NFC tap, wallet pass, URL typing) whose lines of light meet at one card, a click-to-play product
8
- tour, a black-and-gold plan, a products row, a photo closing CTA. Guidance only, no source files: exact token
9
- values (light + dark), keyframes, section anatomy for React + Tailwind v4 + framer-motion, codex exec image
10
- prompts, how to fit a real screen into a generated photo, a button-overflow audit method. Use this skill whenever
11
- the user wants a homepage, landing page, product page or marketing site that looks premium, luxurious, gold,
12
- "sang trọng", "pro, animation hơn", like Ginza Six / G6 / the Hokidon homepage, or asks to restyle an existing
13
- site into gold light-and-dark with motion, even if they only say "make the homepage more professional and
14
- animated".
4
+ The "G6" style of the Hokidon web app: champagne / metallic gold "light LED" on warm ivory (light) and warm black
5
+ (dark), after a lit Ginza atrium, for a whole product. Guidance only, no source files: exact tokens (tones with one
6
+ meaning each), keycap buttons, fields, sheet, InfoTip, app shell, duotone icons, QR with a logo; app screens
7
+ (editor beside a live phone preview, settings, billing, locked paid features, chat, OCR card scan, team console
8
+ with KPI tiles and charts, tables, shop and cart, public profile in the user's colour, always-light admin, A4
9
+ print); the homepage with motion (3D phone hero, animated how-it-works tiles, scroll decks, click-to-play tour) and
10
+ a B2B landing; image prompts, checks. Use whenever the user wants a homepage, landing page, web app, dashboard or
11
+ admin that looks premium, gold, "sang trọng", "pro, animation hơn", "giao diện giống
12
+ Hokidon", like Ginza Six / G6, or asks to restyle a site or app into gold light-and-dark, even if they only say
13
+ "make it look more professional".
15
14
  license: MIT
16
15
  metadata:
17
16
  author: HoangThang
18
- version: '1.0.0'
17
+ version: '2.0.0'
19
18
  ---
20
19
 
21
20
  # g6-style
22
21
 
23
- A premium product homepage: quiet ivory (or warm black) surfaces, gold used like light rather than like paint, and
24
- motion that explains the product instead of decorating it. It was built for the Hokidon digital-business-card site
25
- (Next.js 15 static export, Tailwind CSS v4, framer-motion) and reads well for any app with a phone UI to show.
22
+ A premium product: quiet ivory (or warm black) surfaces, gold used like light rather than like paint, and motion that
23
+ explains the product instead of decorating it. It was built for Hokidon, a digital business card service (Next.js
24
+ static export, Tailwind CSS v4, framer-motion): the homepage, the signed-in app (profile editor, settings, billing,
25
+ card scan, chat), the team console, the shop, the public profile pages, the admin and the printed letters all share
26
+ one token set and one component kit. It reads well for any product with a phone UI to show.
26
27
 
27
28
  This skill is **guidance only**. It contains no source files: the project writes its own tokens, components and
28
29
  scripts from the values, anatomy and methods in the reference files. The numbers there are the system (contrast was
@@ -30,7 +31,11 @@ checked on exactly these values); use them as written, do not approximate them.
30
31
 
31
32
  What makes it look expensive, so keep these when adapting:
32
33
  - **Few colours, one meaning each.** Gold = action / selected / done, champagne = links and focus, bronze = identity,
33
- rose = rare highlight. Everything else is warm neutrals. Glow marks only the one thing that matters on screen.
34
+ rose = new / themes; in the app, small status colours: amber = in progress / orders, coin = paid, coral = danger.
35
+ Everything else is warm neutrals. Glow marks only the one thing that matters on screen.
36
+ - **Calm app screens.** One gold key per view; settings as cards of rows; explanations behind a circled i (InfoTip)
37
+ instead of paragraphs, while warnings, prices and limits stay visible; the user's live page always in view beside
38
+ the editor; every state (empty, loading, locked, error, saved) designed, not left to chance.
34
39
  - **Light, not paint.** Gold appears as LED strips (`.led-line`), a lattice of light behind the page, a skylight at
35
40
  the top of the hero, a ring of light turning around the one card a section points at (`.g6-sweep`), metallic
36
41
  gradients with a light band travelling through them (the hero CTA, the headline's second line).
@@ -43,11 +48,13 @@ What makes it look expensive, so keep these when adapting:
43
48
 
44
49
  | File | Read it when |
45
50
  |---|---|
46
- | `references/tokens.md` | Always: colour tokens (light + dark), the theme mechanism, the Tailwind v4 mapping, gradients, the backdrop, LED line, card, sweep and tone scopes. |
47
- | `references/motion.md` | Any animation: easings, the animation tokens, every keyframe (entrance, ambient loops, the story loops of the tiles, form fill), reduced motion, JavaScript loops. |
48
- | `references/sections.md` | Planning or building any section: page order, section shell, hero, strip, animated tiles, "more than X", product tour, plans, products row, closing CTA, phone frame, buttons, switch, a form filled by an API. |
49
- | `references/imagery.md` | Making pictures: codex exec photo prompts, fitting a real screen into a generated photo, video encoding and click-to-play, QR codes in images, image sizes. |
50
- | `references/checks.md` | Before shipping: screenshots, reduced motion, horizontal scroll, the button-overflow audit, languages, network. |
51
+ | `references/tokens.md` | Always: colour tokens (light + dark), tones and their meanings, the theme mechanism, the Tailwind v4 mapping, glows, fonts, gradients, base layer, backdrop, LED line, card, sweep, tone scopes, tables, article text, a user's brand colour. |
52
+ | `references/components.md` | Building any UI: keycap buttons, card / badge / chip, fields and password field, switch, stepper, InfoTip, sheet, app shell (header, nav pills, header slot, footer), app headings, logo, duotone icons, QR with a logo, phone frames, Reveal. |
53
+ | `references/app-screens.md` | Any screen of the product behind the homepage: page shells, editor + live preview, save bar, settings rows, empty / loading / error / locked states, plan and billing card, publish dialog, wallet buttons, chat, photo upload + OCR fill, team console (KPI tiles, charts, members, tables vs cards), shop and cart, public profile, admin, print. |
54
+ | `references/motion.md` | Any animation: easings, the animation tokens, every keyframe (entrance, ambient loops, the story loops of the tiles, page scroll, form fill), reduced motion, JavaScript loops. |
55
+ | `references/sections.md` | Planning or building a marketing page: page order, scroll decks on phones, section shell, hero, strip, animated tiles, "more than X", old way + one thing, product tour, plans, products row, for teams, latest posts, closing CTA, phone frame, video dialog, the business (B2B) landing. |
56
+ | `references/imagery.md` | Making pictures: codex exec photo prompts, flat illustrations from one style anchor, medallion badges, cutting out a logo, fitting a real screen into a generated photo, video encoding and click-to-play, QR codes in images, image sizes. |
57
+ | `references/checks.md` | Before shipping: screenshots, app states, sheets and focus, JS and LCP budgets, print, reduced motion, horizontal scroll, the button-overflow audit, languages, network. |
51
58
 
52
59
  ## Workflow
53
60
 
@@ -55,21 +62,26 @@ What makes it look expensive, so keep these when adapting:
55
62
  builds and deploys, its checks. Keep its conventions (file layout, copy rules, analytics hooks, test ids); this
56
63
  skill brings the look and the motion, not a new architecture. If the project already has a palette with tone
57
64
  names, map the G6 values onto those names (the Hokidon site did: lime → gold, aqua → champagne, iris → bronze,
58
- flare → rose) instead of renaming every class.
65
+ flare → rose, its paid "gold" → coin; `neon-card` → `.g6-card`, `on-neon` → `on-gold`) instead of renaming every
66
+ class.
59
67
  2. **Write the tokens.** Put the values of `references/tokens.md` and the keyframes of `references/motion.md` into the
60
68
  global CSS (after `@import "tailwindcss";` on Tailwind v4, or into the project's own variables), render one
61
69
  fixed `.g6-backdrop` (`aria-hidden`) in the page shell, and give the header a translucent ivory / black glass
62
70
  (`bg-surface-base/75 backdrop-blur-xl`).
63
- 3. **Plan the page with the user's content.** Use the order in `references/sections.md` as the default and keep only
64
- the sections the product needs. Facts in the copy must be true today (no feature that is not live, prices from
65
- the product catalogue, never typed twice). Ask the user for anything that is a business decision (prices on the
66
- page or not, which video goes where).
67
- 4. **Build top-down**, one section at a time, from its anatomy. After each section, screenshot it at 390 px and
68
- 1440 px in light AND dark (headless Chrome with `prefers-color-scheme` emulated) and look at the pictures; fix
69
- before moving on.
70
- 5. **Media.** Real screens first (capture the actual app), generated photos where a human moment helps
71
+ 3. **Build the kit before the screens** (`references/components.md`): buttons, fields, switch, sheet, InfoTip, shell,
72
+ icons. A design gallery page (dev only) that shows every token, component and icon in light and dark side by side
73
+ pays for itself: every later screen is checked against it.
74
+ 4. **Plan with the user's content.** Marketing pages: the order in `references/sections.md`, keeping only the
75
+ sections the product needs. App screens: the patterns in `references/app-screens.md`. Facts in the copy must be
76
+ true today (no feature that is not live, prices and limits from the product catalogue, never typed twice). Ask
77
+ the user for anything that is a business decision (prices on the page or not, which video goes where, what a free
78
+ account may do).
79
+ 5. **Build top-down**, one section or screen at a time, from its anatomy. After each, screenshot it at 390 px and
80
+ 1440 px in light AND dark (headless Chrome with `prefers-color-scheme` emulated), app screens also in their empty
81
+ and locked states, and look at the pictures; fix before moving on.
82
+ 6. **Media.** Real screens first (capture the actual app), generated photos where a human moment helps
71
83
  (`references/imagery.md`). Encode videos small; every video waits for a click.
72
- 6. **Verify** (`references/checks.md`), then ship through the project's normal gate (PR, CI).
84
+ 7. **Verify** (`references/checks.md`), then ship through the project's normal gate (PR, CI).
73
85
 
74
86
  ## Motion rules (why the page feels smooth and stays fast)
75
87
 
@@ -89,6 +101,9 @@ What makes it look expensive, so keep these when adapting:
89
101
  reduced motion.
90
102
  - **Videos never autoplay.** A dialog with `preload="none"` for intros; a tour that starts on ▶ or a step and runs one
91
103
  pass. Autoplay costs every visitor data and battery for something most do not watch.
104
+ - **App screens barely move.** No framer-motion there: `animate-pop-in` for a panel or a success mark, `animate-rise`
105
+ for a chat bubble, spinners and skeletons while waiting, nothing that loops for decoration. Even the celebratory
106
+ publish dialog is a still picture (the owner found the animated one too heavy).
92
107
 
93
108
  ## Colour rules that are easy to get wrong
94
109
 
@@ -100,7 +115,12 @@ What makes it look expensive, so keep these when adapting:
100
115
  - **Per-theme values live in `--c-*` variables**, read with `bg-(image:--c-…)` or `var()`. The `theme-dark` custom
101
116
  variant is for `:root` only; on an element it misses a theme picked with a toggle.
102
117
  - **A dark card inside the light page** (the premium plan): `data-theme="dark"` on it so the dark tokens apply inside.
103
- Likewise `data-theme="light"` on a drawn phone screen, which stays light in both themes like a real one.
118
+ Likewise `data-theme="light"` on a drawn phone screen and on the cream panel behind flat illustrations, which stay
119
+ light in both themes. An admin is always light.
120
+ - **Data is not gold.** Charts use their own blue / orange palette per theme (`app-screens.md` §13): gold already
121
+ means "action, selected".
122
+ - **Print has no theme.** Print CSS uses fixed hex colours and `print-color-adjust: exact` where the gold must stay;
123
+ documents meant to be read (a manual) print black on white.
104
124
 
105
125
  ## Layout rules
106
126
 
@@ -111,7 +131,11 @@ What makes it look expensive, so keep these when adapting:
111
131
  (`@container` + `@md:grid-cols-5`), not screen breakpoints: the screen can be wide while the column is narrow.
112
132
  - Japanese text: headings in phrase blocks (each part up to 、/。 an inline-block); body text in narrow columns with
113
133
  `[word-break:auto-phrase]` + `text-pretty`.
114
- - Phones 320–414 px: no horizontal scroll, chips that would cover the phone move under it.
134
+ - Phones 320–414 px: no horizontal scroll, chips that would cover the phone move under it, nothing between the header
135
+ and the page (a second row under the header eats the screen).
136
+ - Everything fixed to the bottom pads for the safe area: `pb-[max(0.75rem,env(safe-area-inset-bottom))]`.
137
+ - One z-index scale for the whole app (`app-screens.md` §20), and sticky offsets tied to the 56 px header (`top-14`,
138
+ asides `top-20`).
115
139
 
116
140
  ## Pitfalls met while building it
117
141
 
@@ -123,3 +147,10 @@ What makes it look expensive, so keep these when adapting:
123
147
  status, not only the body.
124
148
  - Generated images: ask for blank screens and blank cards, then put the real product on them; never ship generated
125
149
  text or logos.
150
+ - A chat box that sends on Enter breaks Japanese input (the Enter that confirms a conversion sends the message):
151
+ Enter = new line, Ctrl / ⌘ + Enter = send.
152
+ - A shared component used by the root layout or the not-found page drags its libraries into every page: a public page
153
+ with a JS budget grew by the landing's framer-motion this way. Keep heavy imports out of shared shells and measure
154
+ the budget from the build output.
155
+ - A new input added by a tap must be focused inside the same tap (render it synchronously, then focus), or a phone
156
+ will not open its keyboard.