sisyo 1.6.8 → 1.8.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/LICENSE +16 -16
- package/README.md +167 -162
- package/bin/known-hashes.json +100 -7
- package/package.json +1 -1
- package/templates/.claude/rules/agents-and-tests.md +32 -0
- package/templates/.claude/rules/docs.md +19 -19
- package/templates/.claude/skills/fastapi-best-practices/ASYNC-PATTERNS.md +121 -121
- package/templates/.claude/skills/fastapi-best-practices/DATABASE.md +153 -153
- package/templates/.claude/skills/fastapi-best-practices/DEPENDENCIES.md +140 -140
- package/templates/.claude/skills/fastapi-best-practices/PROJECT-STRUCTURE.md +90 -90
- package/templates/.claude/skills/fastapi-best-practices/PYDANTIC-GUIDE.md +155 -155
- package/templates/.claude/skills/fastapi-best-practices/SKILL.md +123 -123
- package/templates/.claude/skills/g6-style/SKILL.md +125 -0
- package/templates/.claude/skills/g6-style/references/checks.md +58 -0
- package/templates/.claude/skills/g6-style/references/imagery.md +103 -0
- package/templates/.claude/skills/g6-style/references/motion.md +121 -0
- package/templates/.claude/skills/g6-style/references/sections.md +263 -0
- package/templates/.claude/skills/g6-style/references/tokens.md +197 -0
- package/templates/.claude/skills/hindsight/SKILL.md +175 -172
- package/templates/.claude/skills/hoang-auth/SKILL.md +188 -0
- package/templates/.claude/skills/html-docs/SKILL.md +207 -207
- package/templates/.claude/skills/i18n-multilang/SKILL.md +153 -0
- package/templates/.claude/skills/i18n-multilang/assets/languages.json +47 -0
- package/templates/.claude/skills/i18n-multilang/assets/plural-vectors.json +46 -0
- package/templates/.claude/skills/i18n-multilang/assets/project/README.md +17 -0
- package/templates/.claude/skills/i18n-multilang/assets/project/gitattributes.txt +6 -0
- package/templates/.claude/skills/i18n-multilang/assets/project/gitignore.txt +4 -0
- package/templates/.claude/skills/i18n-multilang/assets/project/glossary.json +6 -0
- package/templates/.claude/skills/i18n-multilang/assets/project/i18n.config.json +22 -0
- package/templates/.claude/skills/i18n-multilang/assets/project/locales/__source__/common.json +10 -0
- package/templates/.claude/skills/i18n-multilang/assets/project/notes/common.json +5 -0
- package/templates/.claude/skills/i18n-multilang/assets/project/style.md +20 -0
- package/templates/.claude/skills/i18n-multilang/references/format.md +100 -0
- package/templates/.claude/skills/i18n-multilang/references/languages.md +97 -0
- package/templates/.claude/skills/i18n-multilang/references/layout-and-versioning.md +256 -0
- package/templates/.claude/skills/i18n-multilang/references/numbers.md +161 -0
- package/templates/.claude/skills/i18n-multilang/references/platform-unity.md +142 -0
- package/templates/.claude/skills/i18n-multilang/references/platform-web.md +107 -0
- package/templates/.claude/skills/i18n-multilang/references/translation.md +143 -0
- package/templates/.claude/skills/i18n-multilang/references/voice.md +271 -0
- package/templates/.claude/skills/i18n-multilang/scripts/i18n.py +1041 -0
- package/templates/.claude/skills/i18n-multilang/scripts/numwords.py +1013 -0
- package/templates/.claude/skills/i18n-multilang/scripts/voice.py +478 -0
- package/templates/.claude/skills/react-page-oriented/SKILL.md +407 -407
- package/templates/.claude/skills/react-page-oriented/triggers.md +12 -12
- package/templates/.claude/skills/terraform-best-practices/SKILL.md +341 -341
- package/templates/.claude/skills/typesafe-jev/SKILL.md +148 -148
- package/templates/.claude/skills/vibe-docs/SKILL.md +242 -242
- package/templates/SISYO.md +37 -37
- package/templates/docs/99_progress/features.md +7 -7
- package/templates/docs/99_progress/handoff.md +19 -19
- package/templates/docs/99_progress/todo.md +15 -15
- package/templates/docs/MAP.md +26 -26
package/LICENSE
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 HoangThang (blog.thangchiba.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files, to deal in the Software
|
|
7
|
-
without restriction, including without limitation the rights to use, copy,
|
|
8
|
-
modify, merge, publish, distribute, sublicense, and/or sell copies of the
|
|
9
|
-
Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
-
subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 HoangThang (blog.thangchiba.com)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files, to deal in the Software
|
|
7
|
+
without restriction, including without limitation the rights to use, copy,
|
|
8
|
+
modify, merge, publish, distribute, sublicense, and/or sell copies of the
|
|
9
|
+
Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
+
subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED.
|
package/README.md
CHANGED
|
@@ -1,162 +1,167 @@
|
|
|
1
|
-
# sisyo
|
|
2
|
-
|
|
3
|
-
Smart documentation system for vibe coding with Claude Code.
|
|
4
|
-
Docs auto-update as you build. Token-efficient 3-level routing pattern.
|
|
5
|
-
|
|
6
|
-
## Install
|
|
7
|
-
|
|
8
|
-
```bash
|
|
9
|
-
npx sisyo
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
Run it in your project root.
|
|
13
|
-
|
|
14
|
-
## What it creates
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
your-project/
|
|
18
|
-
SISYO.md # Project rules (imported by CLAUDE.md)
|
|
19
|
-
CLAUDE.md # Auto-created or updated with @SISYO.md
|
|
20
|
-
.claude/
|
|
21
|
-
rules/docs.md # Doc rules (auto-loaded)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
99_progress/
|
|
27
|
-
99_progress/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
|
58
|
-
|
|
|
59
|
-
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
npx sisyo --update
|
|
93
|
-
npx sisyo --update --
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
| **
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
| `
|
|
123
|
-
| `
|
|
124
|
-
| `
|
|
125
|
-
| `
|
|
126
|
-
| `
|
|
127
|
-
| `
|
|
128
|
-
| `
|
|
129
|
-
| `
|
|
130
|
-
| `
|
|
131
|
-
| `
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
| `
|
|
144
|
-
| `
|
|
145
|
-
| `
|
|
146
|
-
| `
|
|
147
|
-
| `
|
|
148
|
-
| `
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
1
|
+
# sisyo
|
|
2
|
+
|
|
3
|
+
Smart documentation system for vibe coding with Claude Code.
|
|
4
|
+
Docs auto-update as you build. Token-efficient 3-level routing pattern.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npx sisyo
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Run it in your project root.
|
|
13
|
+
|
|
14
|
+
## What it creates
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
your-project/
|
|
18
|
+
SISYO.md # Project rules (imported by CLAUDE.md)
|
|
19
|
+
CLAUDE.md # Auto-created or updated with @SISYO.md
|
|
20
|
+
.claude/
|
|
21
|
+
rules/docs.md # Doc rules (auto-loaded)
|
|
22
|
+
rules/agents-and-tests.md # Models, tests, sessions and deploys (auto-loaded)
|
|
23
|
+
skills/vibe-docs/SKILL.md # Brain (loaded on trigger)
|
|
24
|
+
docs/
|
|
25
|
+
MAP.md # Level 1: routing table
|
|
26
|
+
99_progress/todo.md # Task backlog
|
|
27
|
+
99_progress/handoff.md # Session recovery
|
|
28
|
+
99_progress/features.md # Feature log
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
`SISYO.md` holds the project config. `CLAUDE.md` is untouched if it already exists — sisyo just appends `@SISYO.md` to it.
|
|
32
|
+
|
|
33
|
+
## How it works
|
|
34
|
+
|
|
35
|
+
**Problem:** Loading all docs into context = 20K+ tokens = runs out fast.
|
|
36
|
+
|
|
37
|
+
**Solution:** 3-level routing -- load only what you need, when you need it.
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
Level 1: MAP.md (~500 tokens) Read ALWAYS
|
|
41
|
+
|
|
|
42
|
+
Level 2: folder/_summary.md (~200 tokens) Compact table of all items
|
|
43
|
+
|
|
|
44
|
+
Level 3: folder/[detail].md Full detail, ONLY when needed
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Most tasks only need Level 1 + Level 2. Detail files load only when actively modifying.
|
|
48
|
+
|
|
49
|
+
### Example flow
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
MAP.md
|
|
53
|
+
"03_database -- 4 tables: users, posts, comments, categories"
|
|
54
|
+
|
|
|
55
|
+
v
|
|
56
|
+
03_database/_summary.md
|
|
57
|
+
| Table | Description | Key relations |
|
|
58
|
+
| users | Accounts, auth, profile | -- |
|
|
59
|
+
| posts | Blog posts, draft/publish| -> users |
|
|
60
|
+
|
|
|
61
|
+
v (only if modifying users table)
|
|
62
|
+
03_database/users.md
|
|
63
|
+
Full column definitions, indexes, constraints
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Auto-triggers
|
|
67
|
+
|
|
68
|
+
The vibe-docs skill triggers automatically when you:
|
|
69
|
+
- Complete a feature -> logs to `99_progress/features.md`
|
|
70
|
+
- Design database tables -> updates `03_database/_summary.md` + detail file
|
|
71
|
+
- Add API endpoints -> updates `04_api/_summary.md` + detail file
|
|
72
|
+
- Plan features -> updates `01_requirements/_summary.md` + detail file
|
|
73
|
+
- Make architecture decisions -> updates `02_architecture/decisions.md`
|
|
74
|
+
- Set up auth/security -> creates `08_security/[topic].md`
|
|
75
|
+
- Integrate third-party service -> creates `09_integrations/[service].md`
|
|
76
|
+
- Complete any task -> updates `99_progress/todo.md`
|
|
77
|
+
- End a session -> writes `99_progress/handoff.md`
|
|
78
|
+
|
|
79
|
+
Every change updates bottom-up: detail → `_summary.md` → MAP.md
|
|
80
|
+
|
|
81
|
+
### Session recovery
|
|
82
|
+
|
|
83
|
+
After `/clear` or starting fresh:
|
|
84
|
+
```
|
|
85
|
+
Read handoff and continue
|
|
86
|
+
```
|
|
87
|
+
Claude reads MAP.md + handoff.md + todo.md (~3K tokens) and picks up where you left off.
|
|
88
|
+
|
|
89
|
+
## Update
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
npx sisyo --update # update managed files, keep everything you edited
|
|
93
|
+
npx sisyo --update --dry-run # show what would change, write nothing
|
|
94
|
+
npx sisyo --update --force # also overwrite managed files you edited locally
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
sisyo splits files into two groups so frequent updates never clobber your work:
|
|
98
|
+
|
|
99
|
+
| Group | Files | On `--update` |
|
|
100
|
+
|---|---|---|
|
|
101
|
+
| **Managed** (sisyo-owned) | `.claude/rules/docs.md`, `.claude/rules/agents-and-tests.md`, `.claude/skills/*` | Replaced **only if** your copy is byte-identical to what sisyo last installed. New skills are added. Skills sisyo dropped are removed only if untouched. |
|
|
102
|
+
| **Yours** | `SISYO.md`, `CLAUDE.md`, `docs/**` | Never touched. Missing files are created once. |
|
|
103
|
+
|
|
104
|
+
Hashes of every managed file are recorded in `.claude/sisyo.json` (commit it). If you edited a
|
|
105
|
+
managed file, `--update` keeps your version and writes the new one next to it as
|
|
106
|
+
`<file>.sisyo-new` (gitignored) so you can diff and decide:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
git diff --no-index .claude/skills/vibe-docs/SKILL.md .claude/skills/vibe-docs/SKILL.md.sisyo-new
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Move the `.sisyo-new` file over the original to accept, delete it to keep yours, or rerun with
|
|
113
|
+
`--force` to accept all.
|
|
114
|
+
|
|
115
|
+
**Tip:** put project-specific rules in `SISYO.md` or your own `.claude/rules/<topic>.md`
|
|
116
|
+
rather than editing a shipped skill — those files are yours and update-proof.
|
|
117
|
+
|
|
118
|
+
## Doc folders
|
|
119
|
+
|
|
120
|
+
| Folder | Purpose |
|
|
121
|
+
|---|---|
|
|
122
|
+
| `00_schedule/` | Roadmap, milestones, sprint plans |
|
|
123
|
+
| `01_requirements/` | Feature specs, user stories |
|
|
124
|
+
| `02_architecture/` | System design, tech decisions (ADR) |
|
|
125
|
+
| `03_database/` | Schema, ERD, migration log |
|
|
126
|
+
| `04_api/` | API endpoint specs by module |
|
|
127
|
+
| `05_frontend/` | Pages, components, routing |
|
|
128
|
+
| `06_infra/` | Deploy, Docker, CI/CD, env vars |
|
|
129
|
+
| `07_testing/` | Test plans, test cases, edge cases |
|
|
130
|
+
| `08_security/` | Auth flows, permissions, API keys |
|
|
131
|
+
| `09_integrations/` | Third-party services config & usage |
|
|
132
|
+
| `99_progress/` | Feature log, TODO, session handoff |
|
|
133
|
+
|
|
134
|
+
Each folder with multiple items has a `_summary.md` (compact table) + detail files.
|
|
135
|
+
Folders are created on-demand. No empty placeholders.
|
|
136
|
+
|
|
137
|
+
## Skills
|
|
138
|
+
|
|
139
|
+
Optional best-practice guides that Claude loads on demand:
|
|
140
|
+
|
|
141
|
+
| Skill | Triggers on |
|
|
142
|
+
|---|---|
|
|
143
|
+
| `vibe-docs` | Doc updates, feature changes, session end |
|
|
144
|
+
| `html-docs` | Generate polished HTML docs (Tailwind, colorful, rounded modern) for devs/users |
|
|
145
|
+
| `terraform-best-practices` | Terraform/AWS: never auto-apply, cost confirm, plan summary, module layout, IAM/SGR/secrets rules |
|
|
146
|
+
| `fastapi-best-practices` | FastAPI backends, REST APIs, Python web services |
|
|
147
|
+
| `react-page-oriented` | React/Next.js pages, component structure |
|
|
148
|
+
| `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 |
|
|
149
|
+
| `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 |
|
|
150
|
+
| `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 |
|
|
151
|
+
| `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 |
|
|
152
|
+
| `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 |
|
|
153
|
+
| `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` |
|
|
154
|
+
|
|
155
|
+
## After install
|
|
156
|
+
|
|
157
|
+
1. Edit `SISYO.md` — replace `[Project Name]` with yours
|
|
158
|
+
2. Open Claude Code and start building
|
|
159
|
+
3. Docs update automatically as you work
|
|
160
|
+
|
|
161
|
+
## Author
|
|
162
|
+
|
|
163
|
+
HoangThang - [blog.thangchiba.com](https://blog.thangchiba.com)
|
|
164
|
+
|
|
165
|
+
## License
|
|
166
|
+
|
|
167
|
+
MIT
|
package/bin/known-hashes.json
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
+
".claude/rules/agents-and-tests.md": [
|
|
3
|
+
"766b26e495fd9a849e88c1eff9c1e65e544a10adfc3b21081d590976cdd8bccd",
|
|
4
|
+
"ac4d317ae7e7323c18b1f3896e363b76845ad2455cfa1865bc1d7f27ed93de3a"
|
|
5
|
+
],
|
|
2
6
|
".claude/rules/docs.md": [
|
|
3
7
|
"1fc7e7ee81314cc57313919e3dcbd61c1c9abf271cb2728987a4650626c55cf2",
|
|
4
8
|
"2b89b91bdcee96353280b6f505be6c0909975d0aab8f5f4726a504b3c1fcbc05",
|
|
@@ -22,6 +26,24 @@
|
|
|
22
26
|
".claude/skills/fastapi-best-practices/SKILL.md": [
|
|
23
27
|
"6d0424f4c7c8782cac6a1ffeed47d7187f92469e6c92fa76a499f275f571dfb9"
|
|
24
28
|
],
|
|
29
|
+
".claude/skills/g6-style/SKILL.md": [
|
|
30
|
+
"988595f545decf9a6921d06389981be1ee2bf273dffcb48e56f6f96b620081ee"
|
|
31
|
+
],
|
|
32
|
+
".claude/skills/g6-style/references/checks.md": [
|
|
33
|
+
"9cb0824e4d04ae678f60b381731e2a3f6cd8653efe44b380d385c73f0a9a64a0"
|
|
34
|
+
],
|
|
35
|
+
".claude/skills/g6-style/references/imagery.md": [
|
|
36
|
+
"9b4df59e13f258297e6aa1dbe94b647f4653ecd212ab4063c0af7f03b43884d2"
|
|
37
|
+
],
|
|
38
|
+
".claude/skills/g6-style/references/motion.md": [
|
|
39
|
+
"f961d0bb264d3e26acfdf1f67ca046b3d5d2e74c3b1360f029736f6c9fb0890d"
|
|
40
|
+
],
|
|
41
|
+
".claude/skills/g6-style/references/sections.md": [
|
|
42
|
+
"ed4a477aa0f0e43ff24a17a05355fd7dfe9a59502278d91d21772c4b3045c3f6"
|
|
43
|
+
],
|
|
44
|
+
".claude/skills/g6-style/references/tokens.md": [
|
|
45
|
+
"2e236057c4bed3acff31640176fa6ad1467ad5ce4f12054101bec643eaa4cee9"
|
|
46
|
+
],
|
|
25
47
|
".claude/skills/gemini-integration/GENERATE.md": [
|
|
26
48
|
"422c523decaec584f7059f8b31e288b358dfde268da427afeeeb265b8a2e8050"
|
|
27
49
|
],
|
|
@@ -53,32 +75,103 @@
|
|
|
53
75
|
"f8f77b65bbe86dc89408b8372685acf59774df93e4fd23f3563df0f55be07b8c"
|
|
54
76
|
],
|
|
55
77
|
".claude/skills/hindsight/SKILL.md": [
|
|
78
|
+
"39c9cbdd75071e5a29a89b60f3aa5ce79c4450c91d4672b729593e37e86a21d2",
|
|
56
79
|
"cd564d9f4227571ba0f366f9b816d49a70bb9ac2cff449a475f695324e83f4fa"
|
|
57
80
|
],
|
|
81
|
+
".claude/skills/hoang-auth/SKILL.md": [
|
|
82
|
+
"1d5f2eff34a4c651fc5d6d78b4046ecf62181f59686affc9c97d72d3d79c5b24",
|
|
83
|
+
"e6c7365022fb9e78583d9954ec554bf76a3d6d59e850ef152eb7110aa8edbf90"
|
|
84
|
+
],
|
|
58
85
|
".claude/skills/html-docs/SKILL.md": [
|
|
59
86
|
"8414e0166d4403fff509302f2973a8765441529584d710249eb1bf887e89caf2",
|
|
60
87
|
"a307853ca9bad1e0335cea6c477400048e2d17fcecaedd79b5b58b481666cbdf"
|
|
61
88
|
],
|
|
89
|
+
".claude/skills/i18n-multilang/SKILL.md": [
|
|
90
|
+
"607e516e4453303715fe261815fb89d3ad13dffcd1bb46280a18fb8160a9b958"
|
|
91
|
+
],
|
|
92
|
+
".claude/skills/i18n-multilang/assets/languages.json": [
|
|
93
|
+
"192d354a852813a395d5028d2dcc2f01d72e22a6d23a352276248d79f06eb091"
|
|
94
|
+
],
|
|
95
|
+
".claude/skills/i18n-multilang/assets/plural-vectors.json": [
|
|
96
|
+
"5af73ba5c889057bf3e5746db6db3ebd03140ad3912ea4f6ec4b1b09f178222e"
|
|
97
|
+
],
|
|
98
|
+
".claude/skills/i18n-multilang/assets/project/README.md": [
|
|
99
|
+
"2df1658720d5e4dfec2c3e050640fb2406e000a6e8025bed0f141ad422ebd3f8"
|
|
100
|
+
],
|
|
101
|
+
".claude/skills/i18n-multilang/assets/project/gitattributes.txt": [
|
|
102
|
+
"a16f175cb78ec3bd1042d41d1b2f9e09b1e893e0e9934f00c4034f551e5a573a"
|
|
103
|
+
],
|
|
104
|
+
".claude/skills/i18n-multilang/assets/project/gitignore.txt": [
|
|
105
|
+
"b86579706e898a8a699b05803d1a5f1fda74924d2d6d9060eb0ebc3fa3744c0c"
|
|
106
|
+
],
|
|
107
|
+
".claude/skills/i18n-multilang/assets/project/glossary.json": [
|
|
108
|
+
"4a2d04e2743ecf7746b743e3ead2644dcd63e18a99a2914e158445ff950854b3"
|
|
109
|
+
],
|
|
110
|
+
".claude/skills/i18n-multilang/assets/project/i18n.config.json": [
|
|
111
|
+
"a2ae65c51942bcc4c8713353934ac8487b513b08e29fc0ab263f61dfcba2d26d"
|
|
112
|
+
],
|
|
113
|
+
".claude/skills/i18n-multilang/assets/project/locales/__source__/common.json": [
|
|
114
|
+
"d2d323fe53b9b0257a351fa0653a7eb71fccd504265a844226729ac4215ae7dd"
|
|
115
|
+
],
|
|
116
|
+
".claude/skills/i18n-multilang/assets/project/notes/common.json": [
|
|
117
|
+
"2c385e233f4c5de6cebd2b60263c2517192aa9da317c677246a8dc398ac6afb7"
|
|
118
|
+
],
|
|
119
|
+
".claude/skills/i18n-multilang/assets/project/style.md": [
|
|
120
|
+
"968180804cdc0b956cbcefda3d9d3042bb574d4751e28ad77b55ad46250fed04"
|
|
121
|
+
],
|
|
122
|
+
".claude/skills/i18n-multilang/references/format.md": [
|
|
123
|
+
"eea9f19e4065dc63c2b7768202f17f0a863e42aae12f768591763033fc942b3d"
|
|
124
|
+
],
|
|
125
|
+
".claude/skills/i18n-multilang/references/languages.md": [
|
|
126
|
+
"367097928f9063f6a00d4c461f990e521a01036803e6036f34ef93ed2a0fcce0"
|
|
127
|
+
],
|
|
128
|
+
".claude/skills/i18n-multilang/references/layout-and-versioning.md": [
|
|
129
|
+
"92d5138ee56d5f01d79772f696b4f7e8f460fee48e227a21a58fa3ab15702e5b"
|
|
130
|
+
],
|
|
131
|
+
".claude/skills/i18n-multilang/references/numbers.md": [
|
|
132
|
+
"d22b043f8abdb3dfda4040c458ce7c287db057ffd0e6d77f738f71893c9edbc6"
|
|
133
|
+
],
|
|
134
|
+
".claude/skills/i18n-multilang/references/platform-unity.md": [
|
|
135
|
+
"b5371a3f807d74c64bef155bd01eb48514772a663468f657f244c5180b96de55"
|
|
136
|
+
],
|
|
137
|
+
".claude/skills/i18n-multilang/references/platform-web.md": [
|
|
138
|
+
"54798c4ba3cef176faf32ed9800d4e051684a45eb9d272903de83bcfe1877ded"
|
|
139
|
+
],
|
|
140
|
+
".claude/skills/i18n-multilang/references/translation.md": [
|
|
141
|
+
"7ec40049da31a9dd41a409ac67b564e0292142a975881e3d253ba25ea7baabae"
|
|
142
|
+
],
|
|
143
|
+
".claude/skills/i18n-multilang/references/voice.md": [
|
|
144
|
+
"da4e8155ca7459a4618d063632a4393ddca221695f3c0e4e56804afaae377fdf"
|
|
145
|
+
],
|
|
146
|
+
".claude/skills/i18n-multilang/scripts/i18n.py": [
|
|
147
|
+
"08f4c548006241e39415899a732b550050c21c6ff4765904c06b5fc1c1862b4d"
|
|
148
|
+
],
|
|
149
|
+
".claude/skills/i18n-multilang/scripts/numwords.py": [
|
|
150
|
+
"5075665575dd94abe5678fce40994ef3f3ea4c2ac29846b6319936d735b66406"
|
|
151
|
+
],
|
|
152
|
+
".claude/skills/i18n-multilang/scripts/voice.py": [
|
|
153
|
+
"07e67686b0a75d7cf74b67aae0f816590d15a199c2c3a3eea99bb13025ccb841"
|
|
154
|
+
],
|
|
62
155
|
".claude/skills/neon-game-ui-ux-skill/COMPONENTS.md": [
|
|
63
|
-
"
|
|
156
|
+
"d9dd9fb57e0044988628bab166b48f797c7445bef90f72f5d9fd99c21720090c"
|
|
64
157
|
],
|
|
65
158
|
".claude/skills/neon-game-ui-ux-skill/GAMIFICATION.md": [
|
|
66
|
-
"
|
|
159
|
+
"e3f9728439850cba21c6fd1e971597978583d939a47a2979224a1aa37ba70a23"
|
|
67
160
|
],
|
|
68
161
|
".claude/skills/neon-game-ui-ux-skill/ICONS.md": [
|
|
69
|
-
"
|
|
162
|
+
"788cbe84e5f2d16553cf96e3c76c2210d1e92a67a21d460dab50fb984c65558c"
|
|
70
163
|
],
|
|
71
164
|
".claude/skills/neon-game-ui-ux-skill/LAYOUT-NAV.md": [
|
|
72
|
-
"
|
|
165
|
+
"44b2a92ada28d4cc957da6d7eceba66c7377c1671fc5bdfa8c9c7c6f97c3490a"
|
|
73
166
|
],
|
|
74
167
|
".claude/skills/neon-game-ui-ux-skill/MOTION-A11Y.md": [
|
|
75
|
-
"
|
|
168
|
+
"183ae3b847047a2caffac0a2e01007c471e58a5f58e1f885e690cce77ed5ab45"
|
|
76
169
|
],
|
|
77
170
|
".claude/skills/neon-game-ui-ux-skill/SKILL.md": [
|
|
78
|
-
"
|
|
171
|
+
"540b9db2c3fa60155f465fe906e582bef5180f6903dfcee2ee1261e12ffb2431"
|
|
79
172
|
],
|
|
80
173
|
".claude/skills/neon-game-ui-ux-skill/TOKENS.md": [
|
|
81
|
-
"
|
|
174
|
+
"b520a789a1466b86a6a14c666951f3b3eb6bc992414f76223ac9b19d284d85cf"
|
|
82
175
|
],
|
|
83
176
|
".claude/skills/react-page-oriented/SKILL.md": [
|
|
84
177
|
"dd57426f6be595b65b263b754e2c8c9cabce9e3ce332e80cbb1ddcebfab89e81"
|
package/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Agents, Tests and Deploys Rule
|
|
2
|
+
|
|
3
|
+
The owner's rules (2026-11-16) for every project. A project's `SISYO.md` may be stricter, never looser.
|
|
4
|
+
|
|
5
|
+
## Models
|
|
6
|
+
- Default: Opus (Opus 5.5 as of 2026-11) at effort `xhigh`, for the main session and for every agent it starts (`model: "opus"`, `effort: "xhigh"`).
|
|
7
|
+
- A model above Opus (Fable) only when the owner names it for a task, typically one about money or something important. Never switch on your own judgement.
|
|
8
|
+
- Small or single-area work is done in the main session. Agents are for work that splits into independent parts running in parallel.
|
|
9
|
+
|
|
10
|
+
## Writing code
|
|
11
|
+
1. Before writing code, read the related parts: the code that calls it and that it calls, the existing tests, the project's skills and docs for the area.
|
|
12
|
+
2. Write the test cases first, then the code.
|
|
13
|
+
3. Working alone: run the tests related to the change once, at the end (the tests of the packages changed, the browser or e2e checks of the pages changed). Not the whole suite.
|
|
14
|
+
4. Agents in parallel: each writes its tests and runs none. When all are done, one pass runs the tests of the combined work once, on the zone the batch touched (lint, typecheck, the touched packages' tests, the changed pages' checks), and fixes what fails.
|
|
15
|
+
5. Nobody runs the project's whole test gate locally "to be sure".
|
|
16
|
+
|
|
17
|
+
## Sessions and agents
|
|
18
|
+
- Do the work in the main session and manage it yourself. Start an agent only for a large part that is independent and truly runs in parallel, never for a short step (a lookup, a build or deploy with the project's existing scripts) that the main session would then sit waiting on.
|
|
19
|
+
- At most 4 agents run at the same time in one session. More parallel work waits for a free place or goes to another session.
|
|
20
|
+
- Keep each batch small: if its changes would make the test pass select most of the project's test groups, split the batch, so each pass runs only the groups that batch touched.
|
|
21
|
+
- A session is not the project's memory; the docs and git are. When a session has run long (about a day of work, a transcript over about 5 MB, tool calls that take minutes to answer, or a frozen tab), write the handoff, end the session, and continue in a new one that starts from the handoff.
|
|
22
|
+
|
|
23
|
+
## Deploys
|
|
24
|
+
- A deploy to dev or staging does not run the whole test gate: build, deploy, smoke check. A broken build still stops it.
|
|
25
|
+
- A deploy that reaches production runs the whole gate on the exact commit released, and deploys nothing if it fails. Where a push to `main` deploys production, that push is a production deploy.
|
|
26
|
+
- The PR's CI run, where a project has one, is the one whole run for a change before production.
|
|
27
|
+
- If a project's CI does not work this way yet, propose the change (a workflow change usually goes through the project's review rule); do not change it on your own.
|
|
28
|
+
|
|
29
|
+
## Why
|
|
30
|
+
Batches took hours: the whole gate ran in each agent, again in each integration pass, on the PR, on the push to `main` and in the dev deploy, the last ones at once on one shared runner host.
|
|
31
|
+
|
|
32
|
+
A long session slowed to a crawl (2026-11-16): one session carried its lead and up to ten agents for a day. Simple file reads and edits took one to three minutes each, while other sessions on the same PC took seconds. The lead waited 2 h 40 min on an agent writing a deploy runbook, and one batch of 811 changed files made the test pass select every group (3 h 30 min).
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# Doc Management Rule
|
|
2
|
-
|
|
3
|
-
3-level routing: MAP.md → _summary.md → detail files.
|
|
4
|
-
|
|
5
|
-
When changing code that affects project structure or behavior:
|
|
6
|
-
1. Read docs/MAP.md to find relevant folder
|
|
7
|
-
2. Read _summary.md of that folder (if exists)
|
|
8
|
-
3. Update detail file (or create if new)
|
|
9
|
-
4. Update _summary.md table
|
|
10
|
-
5. Update MAP.md summary line
|
|
11
|
-
|
|
12
|
-
When a feature is completed or added:
|
|
13
|
-
- Log it in docs/99_progress/features.md (date, name, status, link to spec)
|
|
14
|
-
|
|
15
|
-
Before ending session or when context gets large:
|
|
16
|
-
- Write docs/99_progress/handoff.md
|
|
17
|
-
|
|
18
|
-
At session start:
|
|
19
|
-
- Read docs/MAP.md then docs/99_progress/handoff.md
|
|
1
|
+
# Doc Management Rule
|
|
2
|
+
|
|
3
|
+
3-level routing: MAP.md → _summary.md → detail files.
|
|
4
|
+
|
|
5
|
+
When changing code that affects project structure or behavior:
|
|
6
|
+
1. Read docs/MAP.md to find relevant folder
|
|
7
|
+
2. Read _summary.md of that folder (if exists)
|
|
8
|
+
3. Update detail file (or create if new)
|
|
9
|
+
4. Update _summary.md table
|
|
10
|
+
5. Update MAP.md summary line
|
|
11
|
+
|
|
12
|
+
When a feature is completed or added:
|
|
13
|
+
- Log it in docs/99_progress/features.md (date, name, status, link to spec)
|
|
14
|
+
|
|
15
|
+
Before ending session or when context gets large:
|
|
16
|
+
- Write docs/99_progress/handoff.md
|
|
17
|
+
|
|
18
|
+
At session start:
|
|
19
|
+
- Read docs/MAP.md then docs/99_progress/handoff.md
|