sisyo 1.7.0 → 1.9.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 +177 -166
- package/bin/known-hashes.json +8 -1
- package/bin/sisyo.js +285 -285
- package/package.json +30 -30
- package/templates/.claude/rules/agents-and-tests.md +32 -24
- package/templates/.claude/rules/docs.md +39 -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 -125
- package/templates/.claude/skills/g6-style/references/checks.md +58 -58
- package/templates/.claude/skills/g6-style/references/imagery.md +103 -103
- package/templates/.claude/skills/g6-style/references/motion.md +121 -121
- package/templates/.claude/skills/g6-style/references/sections.md +263 -263
- package/templates/.claude/skills/g6-style/references/tokens.md +197 -197
- package/templates/.claude/skills/hindsight/SKILL.md +175 -175
- 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 -153
- package/templates/.claude/skills/i18n-multilang/assets/languages.json +47 -47
- package/templates/.claude/skills/i18n-multilang/assets/plural-vectors.json +46 -46
- package/templates/.claude/skills/i18n-multilang/assets/project/README.md +17 -17
- package/templates/.claude/skills/i18n-multilang/assets/project/gitattributes.txt +6 -6
- package/templates/.claude/skills/i18n-multilang/assets/project/gitignore.txt +4 -4
- package/templates/.claude/skills/i18n-multilang/assets/project/glossary.json +6 -6
- package/templates/.claude/skills/i18n-multilang/assets/project/i18n.config.json +22 -22
- package/templates/.claude/skills/i18n-multilang/assets/project/locales/__source__/common.json +10 -10
- package/templates/.claude/skills/i18n-multilang/assets/project/notes/common.json +5 -5
- package/templates/.claude/skills/i18n-multilang/assets/project/style.md +20 -20
- package/templates/.claude/skills/i18n-multilang/references/format.md +100 -100
- package/templates/.claude/skills/i18n-multilang/references/languages.md +97 -97
- package/templates/.claude/skills/i18n-multilang/references/layout-and-versioning.md +256 -256
- package/templates/.claude/skills/i18n-multilang/references/numbers.md +161 -161
- package/templates/.claude/skills/i18n-multilang/references/platform-unity.md +142 -142
- package/templates/.claude/skills/i18n-multilang/references/platform-web.md +107 -107
- package/templates/.claude/skills/i18n-multilang/references/translation.md +143 -143
- package/templates/.claude/skills/i18n-multilang/references/voice.md +271 -271
- package/templates/.claude/skills/i18n-multilang/scripts/i18n.py +1041 -1041
- package/templates/.claude/skills/i18n-multilang/scripts/numwords.py +1013 -1013
- package/templates/.claude/skills/i18n-multilang/scripts/voice.py +478 -478
- package/templates/.claude/skills/neon-game-ui-ux-skill/COMPONENTS.md +490 -490
- package/templates/.claude/skills/neon-game-ui-ux-skill/GAMIFICATION.md +246 -246
- package/templates/.claude/skills/neon-game-ui-ux-skill/ICONS.md +249 -249
- package/templates/.claude/skills/neon-game-ui-ux-skill/LAYOUT-NAV.md +362 -362
- package/templates/.claude/skills/neon-game-ui-ux-skill/MOTION-A11Y.md +168 -168
- package/templates/.claude/skills/neon-game-ui-ux-skill/SKILL.md +137 -137
- package/templates/.claude/skills/neon-game-ui-ux-skill/TOKENS.md +323 -323
- 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 +139 -242
- package/templates/SISYO.md +39 -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
|
@@ -1,242 +1,139 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: vibe-docs
|
|
3
|
-
description: "
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Vibe Docs
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
04_api/
|
|
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
|
-
|
|
93
|
-
|
|
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
|
-
| Action completed | Update | Doc contains | + MAP.md |
|
|
141
|
-
|--------------------------------|---------------------------------|-------------------------------------------------------|:--------:|
|
|
142
|
-
| Set timeline/milestone | 00_schedule/roadmap.md | Phases, milestones, deadlines, sprint goals | yes |
|
|
143
|
-
| Discussed/planned a feature | 01_requirements/_summary.md + [name].md | _summary: feature list table. Detail: user stories, acceptance criteria, scope | yes |
|
|
144
|
-
| Made tech/architecture choice | 02_architecture/decisions.md | ADR format: context, options considered, decision, why | yes |
|
|
145
|
-
| Designed DB tables/columns | 03_database/_summary.md + [table].md | _summary: all tables + description. Detail: columns, types, indexes, relations | yes |
|
|
146
|
-
| Added/changed API endpoints | 04_api/_summary.md + [module].md | _summary: all endpoints compact table. Detail: request/response, examples | yes |
|
|
147
|
-
| Built frontend pages/routes | 05_frontend/_summary.md + [group].md | _summary: all routes + components. Detail: state, behavior, wireframe | yes |
|
|
148
|
-
| Changed deploy/infra/env | 06_infra/[topic].md | Docker, CI/CD, env vars, cloud services config | yes |
|
|
149
|
-
| Wrote/planned tests | 07_testing/[module].md | Test cases, edge cases, coverage notes, test commands | yes |
|
|
150
|
-
| Set up auth/permissions/keys | 08_security/[topic].md | Auth flow, roles, permissions, API keys, secrets mgmt | yes |
|
|
151
|
-
| Integrated third-party service | 09_integrations/[service].md | Service config, API keys, SDK usage, webhooks, limits | yes |
|
|
152
|
-
| Completed a feature | 99_progress/features.md | Date, feature name, status, link to spec doc | yes |
|
|
153
|
-
| Completed any task | 99_progress/todo.md | Task status: doing, next, done with dates | yes |
|
|
154
|
-
| Ending session or /clear | 99_progress/handoff.md | Session summary, current state, next steps, decisions | yes |
|
|
155
|
-
|
|
156
|
-
IMPORTANT: Every doc create or update must also update _summary.md (if exists) AND MAP.md.
|
|
157
|
-
|
|
158
|
-
## Agent Reading Strategy
|
|
159
|
-
|
|
160
|
-
When working on a task:
|
|
161
|
-
1. Read MAP.md -- find relevant folder
|
|
162
|
-
2. Read _summary.md of that folder -- understand scope at a glance
|
|
163
|
-
3. ONLY if you need to modify or deeply understand a specific item → load its detail file
|
|
164
|
-
4. After changes → update detail file → update _summary.md → update MAP.md (bottom-up)
|
|
165
|
-
|
|
166
|
-
Do NOT load detail files just to "check" -- the summary table has enough info for most decisions.
|
|
167
|
-
|
|
168
|
-
## Doc Format Standard
|
|
169
|
-
|
|
170
|
-
Every doc starts with:
|
|
171
|
-
```
|
|
172
|
-
# [Title]
|
|
173
|
-
> Updated: YYYY-MM-DD | Status: draft/active/done
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
Formatting rules:
|
|
177
|
-
- Tables over prose for structured data
|
|
178
|
-
- Group related items in the same table (e.g. all auth endpoints in one table, not separate sections)
|
|
179
|
-
- Mermaid for diagrams
|
|
180
|
-
- Code blocks for configs, schemas, commands
|
|
181
|
-
- Keep each file under 200 lines -- split if longer
|
|
182
|
-
- Use relative links between docs
|
|
183
|
-
|
|
184
|
-
## Context Recovery Protocol
|
|
185
|
-
|
|
186
|
-
After /clear or starting new session -- 4 steps, ~2-3K tokens total:
|
|
187
|
-
1. Read docs/MAP.md -- understand full project scope
|
|
188
|
-
2. Read docs/99_progress/handoff.md -- what happened last session
|
|
189
|
-
3. Read docs/99_progress/todo.md -- what to do next
|
|
190
|
-
4. Read _summary.md of the relevant folder -- understand scope
|
|
191
|
-
5. Load ONLY the detail docs needed for current task
|
|
192
|
-
|
|
193
|
-
## Task Tracking
|
|
194
|
-
|
|
195
|
-
99_progress/todo.md format:
|
|
196
|
-
```
|
|
197
|
-
# TODO
|
|
198
|
-
> Updated: YYYY-MM-DD
|
|
199
|
-
|
|
200
|
-
## Doing
|
|
201
|
-
- [ ] Task description -- see 01_requirements/feature.md
|
|
202
|
-
|
|
203
|
-
## Next
|
|
204
|
-
- [ ] Task description
|
|
205
|
-
|
|
206
|
-
## Done
|
|
207
|
-
- [x] [2025-03-03] Task description
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
When user asks "what is next" -- read this file.
|
|
211
|
-
When task is done -- move to Done section with date.
|
|
212
|
-
|
|
213
|
-
## Session Handoff
|
|
214
|
-
|
|
215
|
-
Write 99_progress/handoff.md before /clear or end of session:
|
|
216
|
-
```
|
|
217
|
-
# Handoff
|
|
218
|
-
> Updated: YYYY-MM-DD HH:MM
|
|
219
|
-
|
|
220
|
-
## Done this session
|
|
221
|
-
- Completed X (files: path/a.ts, path/b.py)
|
|
222
|
-
|
|
223
|
-
## State
|
|
224
|
-
- Working: [what functions correctly]
|
|
225
|
-
- Broken: [known issues]
|
|
226
|
-
- In progress: [incomplete work]
|
|
227
|
-
|
|
228
|
-
## Next
|
|
229
|
-
1. Highest priority task
|
|
230
|
-
2. Second priority
|
|
231
|
-
|
|
232
|
-
## Decisions
|
|
233
|
-
- Chose X over Y: reason
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
## Project Init Protocol
|
|
237
|
-
|
|
238
|
-
When docs/ directory does not exist yet:
|
|
239
|
-
1. Create docs/MAP.md with section headers (no entries)
|
|
240
|
-
2. Create docs/99_progress/todo.md with initial tasks from conversation
|
|
241
|
-
3. Create docs/99_progress/handoff.md with initial state
|
|
242
|
-
4. Everything else is created on-demand when content exists
|
|
1
|
+
---
|
|
2
|
+
name: vibe-docs
|
|
3
|
+
description: "Keep the agent docs in docs/ in sync with the code: English, as short as possible, split into folders and files with paths so an agent finds and fixes one fact quickly. Triggers on feature changes, DB schema, API endpoints, frontend pages, infra, testing, security, integrations, decisions, or any task completion. Also triggers on: project status, what is next, update docs, create a plan, log this, handoff. Core principle: read docs/MAP.md first and never load all docs at once. Human-facing docs (architecture overview, key numbers, sprint summaries) do not go here: they go to the project's hub (skill kicho-devflow)."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Vibe Docs
|
|
7
|
+
|
|
8
|
+
`docs/` is written **for agents**: English, as short as possible, and easy to find, load and fix
|
|
9
|
+
(`.claude/rules/docs.md`). Docs for people are a separate set in the project's hub (skill `kicho-devflow`); never
|
|
10
|
+
copy one set into the other.
|
|
11
|
+
|
|
12
|
+
## Writing rules
|
|
13
|
+
- Facts, tables, lists, paths. No prose, no greetings, no story of how something was built.
|
|
14
|
+
- Refer to code by path (`src/billing/invoice.ts`) and do not copy it. Write only what the code cannot say: why,
|
|
15
|
+
contracts, constraints, gotchas, commands, env vars.
|
|
16
|
+
- Describe what is true now. Replace outdated lines; do not append "update:" notes. Git keeps the history.
|
|
17
|
+
- One topic per file, under about 100 lines. When a file grows longer, split it and route the parts through
|
|
18
|
+
`_summary.md`.
|
|
19
|
+
- Never write secrets, tokens, personal data or private hosts.
|
|
20
|
+
|
|
21
|
+
## 3-level routing
|
|
22
|
+
```
|
|
23
|
+
Level 1 docs/MAP.md one line per folder or file, read ALWAYS (~500 tokens)
|
|
24
|
+
Level 2 <folder>/_summary.md one table row per item (~200 tokens)
|
|
25
|
+
Level 3 <folder>/<item>.md detail, load ONLY to change or deeply understand that item
|
|
26
|
+
```
|
|
27
|
+
Most tasks need Level 1 + 2. After a change, update bottom-up: detail → `_summary.md` → MAP.md.
|
|
28
|
+
|
|
29
|
+
## Folders (created when there is content, never empty)
|
|
30
|
+
```
|
|
31
|
+
docs/
|
|
32
|
+
MAP.md
|
|
33
|
+
00_schedule/ roadmap, milestones
|
|
34
|
+
01_requirements/ feature specs: scope, acceptance criteria
|
|
35
|
+
02_architecture/ components, flows, decisions.md (one row per decision)
|
|
36
|
+
03_database/ tables: columns, indexes, relations
|
|
37
|
+
04_api/ endpoints grouped by module
|
|
38
|
+
05_frontend/ routes, pages, state
|
|
39
|
+
06_infra/ deploy, Docker, CI/CD, env vars
|
|
40
|
+
07_testing/ test groups, commands, edge cases
|
|
41
|
+
08_security/ auth flows, roles, secrets handling
|
|
42
|
+
09_integrations/ third-party services: config, limits, webhooks
|
|
43
|
+
99_progress/ todo.md, handoff.md, features.md
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## _summary.md
|
|
47
|
+
One table, one row per item, under 50 lines, with a link to the detail files:
|
|
48
|
+
```
|
|
49
|
+
# Database Tables
|
|
50
|
+
> Updated: 2026-03-03 | Tables: 3
|
|
51
|
+
|
|
52
|
+
| Table | Purpose | Relations |
|
|
53
|
+
|---|---|---|
|
|
54
|
+
| users | accounts, profile | -- |
|
|
55
|
+
| posts | posts, draft/publish | -> users |
|
|
56
|
+
| comments | nested comments | -> users, posts |
|
|
57
|
+
|
|
58
|
+
Detail: `03_database/<table>.md`
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## MAP.md
|
|
62
|
+
One line per folder (its `_summary.md`) or single file, at most ~15 words with key nouns and counts, ending with
|
|
63
|
+
the date:
|
|
64
|
+
```
|
|
65
|
+
# Project Map
|
|
66
|
+
> Updated: 2026-03-03 | Docs: 9
|
|
67
|
+
|
|
68
|
+
## 03_database
|
|
69
|
+
- `03_database/_summary.md` -- 3 tables: users, posts, comments (2026-03-03)
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## When to update
|
|
73
|
+
| Done | Update |
|
|
74
|
+
|---|---|
|
|
75
|
+
| Timeline or milestone set | `00_schedule/roadmap.md` |
|
|
76
|
+
| Feature planned | `01_requirements/_summary.md` + `<feature>.md` |
|
|
77
|
+
| Tech or architecture choice | `02_architecture/decisions.md`: id, date, decision, why, rejected |
|
|
78
|
+
| Tables or columns changed | `03_database/_summary.md` + `<table>.md` |
|
|
79
|
+
| Endpoints changed | `04_api/_summary.md` + `<module>.md` |
|
|
80
|
+
| Pages or routes changed | `05_frontend/_summary.md` + `<group>.md` |
|
|
81
|
+
| Deploy, infra or env changed | `06_infra/<topic>.md` |
|
|
82
|
+
| Tests added or changed | `07_testing/<group>.md` |
|
|
83
|
+
| Auth, roles or keys changed | `08_security/<topic>.md` |
|
|
84
|
+
| Third-party service added | `09_integrations/<service>.md` |
|
|
85
|
+
| Feature done | one line in `99_progress/features.md` |
|
|
86
|
+
| Task done | `99_progress/todo.md` |
|
|
87
|
+
| Session ends or `/clear` | `99_progress/handoff.md` |
|
|
88
|
+
|
|
89
|
+
Each change also updates the folder's `_summary.md` (when it has one) and the MAP.md line.
|
|
90
|
+
|
|
91
|
+
## Doc header
|
|
92
|
+
```
|
|
93
|
+
# <Title>
|
|
94
|
+
> Updated: YYYY-MM-DD | Status: draft/active/done
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Session start (~2-3K tokens)
|
|
98
|
+
1. `docs/MAP.md`
|
|
99
|
+
2. `docs/99_progress/handoff.md`
|
|
100
|
+
3. `docs/99_progress/todo.md`
|
|
101
|
+
4. `_summary.md` of the relevant folder
|
|
102
|
+
5. Only the detail files the task needs
|
|
103
|
+
|
|
104
|
+
## todo.md
|
|
105
|
+
```
|
|
106
|
+
# TODO
|
|
107
|
+
> Updated: YYYY-MM-DD
|
|
108
|
+
|
|
109
|
+
## Doing
|
|
110
|
+
- [ ] Task -- `01_requirements/<feature>.md`
|
|
111
|
+
|
|
112
|
+
## Next
|
|
113
|
+
- [ ] Task
|
|
114
|
+
|
|
115
|
+
## Done
|
|
116
|
+
- [x] [YYYY-MM-DD] Task
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## handoff.md (≤ 30 lines, rewritten each session)
|
|
120
|
+
```
|
|
121
|
+
# Handoff
|
|
122
|
+
> Updated: YYYY-MM-DD HH:MM
|
|
123
|
+
|
|
124
|
+
## Done
|
|
125
|
+
- What changed (paths)
|
|
126
|
+
|
|
127
|
+
## State
|
|
128
|
+
- Works / broken / in progress
|
|
129
|
+
|
|
130
|
+
## Next
|
|
131
|
+
1. Highest priority
|
|
132
|
+
|
|
133
|
+
## Decisions
|
|
134
|
+
- Chose X over Y: reason
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## New project
|
|
138
|
+
No `docs/` yet: create `MAP.md` (headers only), `99_progress/todo.md` and `99_progress/handoff.md`. Create
|
|
139
|
+
everything else when there is content for it.
|
package/templates/SISYO.md
CHANGED
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
# [Project Name]
|
|
2
|
-
|
|
3
|
-
## Stack
|
|
4
|
-
<!-- Replace with your actual tech stack -->
|
|
5
|
-
- Frontend: [e.g. React, Vue, Next.js]
|
|
6
|
-
- Backend: [e.g. Node.js, Python, Go]
|
|
7
|
-
- Database: [e.g. PostgreSQL, MongoDB]
|
|
8
|
-
|
|
9
|
-
## Structure
|
|
10
|
-
<!-- Replace with your actual project folders -->
|
|
11
|
-
- `src/` -- Source code
|
|
12
|
-
- `docs/` -- Project docs (auto-managed by vibe-docs skill)
|
|
13
|
-
|
|
14
|
-
## Commands
|
|
15
|
-
<!-- Replace with your actual commands -->
|
|
16
|
-
- `npm run dev` -- Start dev server
|
|
17
|
-
- `npm test` -- Run tests
|
|
18
|
-
|
|
19
|
-
## Code Rules
|
|
20
|
-
<!-- Add your team's coding conventions -->
|
|
21
|
-
- [e.g. Use TypeScript strict mode]
|
|
22
|
-
- Agents, tests and deploys: `.claude/rules/agents-and-tests.md` (sisyo-managed, auto-loaded): read the related code and write the tests first; parallel agents get one combined test pass; the whole test gate before production, not before a dev deploy
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
# [Project Name]
|
|
2
|
+
|
|
3
|
+
## Stack
|
|
4
|
+
<!-- Replace with your actual tech stack -->
|
|
5
|
+
- Frontend: [e.g. React, Vue, Next.js]
|
|
6
|
+
- Backend: [e.g. Node.js, Python, Go]
|
|
7
|
+
- Database: [e.g. PostgreSQL, MongoDB]
|
|
8
|
+
|
|
9
|
+
## Structure
|
|
10
|
+
<!-- Replace with your actual project folders -->
|
|
11
|
+
- `src/` -- Source code
|
|
12
|
+
- `docs/` -- Project docs (auto-managed by vibe-docs skill)
|
|
13
|
+
|
|
14
|
+
## Commands
|
|
15
|
+
<!-- Replace with your actual commands -->
|
|
16
|
+
- `npm run dev` -- Start dev server
|
|
17
|
+
- `npm test` -- Run tests
|
|
18
|
+
|
|
19
|
+
## Code Rules
|
|
20
|
+
<!-- Add your team's coding conventions -->
|
|
21
|
+
- [e.g. Use TypeScript strict mode]
|
|
22
|
+
- Agents, tests and deploys: `.claude/rules/agents-and-tests.md` (sisyo-managed, auto-loaded): read the related code and write the tests first; parallel agents get one combined test pass; the whole test gate before production, not before a dev deploy
|
|
23
|
+
- Code reads like prose: names that say what things are and do, small functions, no comments except a needed note (`.claude/rules/docs.md`)
|
|
24
|
+
|
|
25
|
+
## Docs System
|
|
26
|
+
Two sets of docs (`.claude/rules/docs.md`, sisyo-managed):
|
|
27
|
+
- `docs/` -- for agents: English, as short as possible, paths to code; 3-level routing `MAP.md` → `_summary.md` → detail files.
|
|
28
|
+
- Human docs -- for people, in the project's hub (Kicho, skill `kicho-devflow`) when it has one: architecture, main techniques, key numbers, sprint summaries.
|
|
29
|
+
|
|
30
|
+
Session start -- read in order:
|
|
31
|
+
1. `docs/MAP.md` -- full project scope (~500 tokens)
|
|
32
|
+
2. `docs/99_progress/handoff.md` -- last session context
|
|
33
|
+
3. `docs/99_progress/todo.md` -- active tasks
|
|
34
|
+
4. Read `_summary.md` of relevant folder -- scope at a glance
|
|
35
|
+
5. Load ONLY the detail docs needed for current task
|
|
36
|
+
|
|
37
|
+
During work -- vibe-docs skill keeps `docs/` in sync, bottom-up: detail → `_summary.md` → MAP.md.
|
|
38
|
+
|
|
39
|
+
Before `/clear` -- always write `docs/99_progress/handoff.md` first.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# Feature Log
|
|
2
|
-
> Updated: YYYY-MM-DD | Features: 0
|
|
3
|
-
|
|
4
|
-
| Date | Feature | Status | Docs |
|
|
5
|
-
|------|---------|:------:|------|
|
|
6
|
-
|
|
7
|
-
<!-- Status: planned / in-progress / done -->
|
|
1
|
+
# Feature Log
|
|
2
|
+
> Updated: YYYY-MM-DD | Features: 0
|
|
3
|
+
|
|
4
|
+
| Date | Feature | Status | Docs |
|
|
5
|
+
|------|---------|:------:|------|
|
|
6
|
+
|
|
7
|
+
<!-- Status: planned / in-progress / done -->
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# Handoff
|
|
2
|
-
> Updated: YYYY-MM-DD
|
|
3
|
-
|
|
4
|
-
## Done this session
|
|
5
|
-
- Initialized vibe-docs documentation system
|
|
6
|
-
- Created CLAUDE.md, MAP.md, skill, and rules
|
|
7
|
-
|
|
8
|
-
## State
|
|
9
|
-
- Working: Documentation structure is ready
|
|
10
|
-
- In progress: Nothing yet, project is fresh
|
|
11
|
-
|
|
12
|
-
## Next
|
|
13
|
-
1. Define what this project does (edit CLAUDE.md and docs/MAP.md)
|
|
14
|
-
2. Design the database schema
|
|
15
|
-
3. Set up dev environment (Docker, env vars)
|
|
16
|
-
|
|
17
|
-
## Decisions
|
|
18
|
-
- Using MAP.md routing pattern: load summaries first, full docs on-demand
|
|
19
|
-
- Numbered folders (00-99) for consistent ordering
|
|
1
|
+
# Handoff
|
|
2
|
+
> Updated: YYYY-MM-DD
|
|
3
|
+
|
|
4
|
+
## Done this session
|
|
5
|
+
- Initialized vibe-docs documentation system
|
|
6
|
+
- Created CLAUDE.md, MAP.md, skill, and rules
|
|
7
|
+
|
|
8
|
+
## State
|
|
9
|
+
- Working: Documentation structure is ready
|
|
10
|
+
- In progress: Nothing yet, project is fresh
|
|
11
|
+
|
|
12
|
+
## Next
|
|
13
|
+
1. Define what this project does (edit CLAUDE.md and docs/MAP.md)
|
|
14
|
+
2. Design the database schema
|
|
15
|
+
3. Set up dev environment (Docker, env vars)
|
|
16
|
+
|
|
17
|
+
## Decisions
|
|
18
|
+
- Using MAP.md routing pattern: load summaries first, full docs on-demand
|
|
19
|
+
- Numbered folders (00-99) for consistent ordering
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# TODO
|
|
2
|
-
> Updated: YYYY-MM-DD
|
|
3
|
-
|
|
4
|
-
## Doing
|
|
5
|
-
|
|
6
|
-
## Next
|
|
7
|
-
- [ ] Define project scope and features
|
|
8
|
-
- [ ] Design database schema
|
|
9
|
-
- [ ] Set up development environment
|
|
10
|
-
- [ ] Create API skeleton
|
|
11
|
-
- [ ] Create frontend page structure
|
|
12
|
-
- [ ] Implement authentication
|
|
13
|
-
|
|
14
|
-
## Done
|
|
15
|
-
- [x] [YYYY-MM-DD] Initialize project documentation
|
|
1
|
+
# TODO
|
|
2
|
+
> Updated: YYYY-MM-DD
|
|
3
|
+
|
|
4
|
+
## Doing
|
|
5
|
+
|
|
6
|
+
## Next
|
|
7
|
+
- [ ] Define project scope and features
|
|
8
|
+
- [ ] Design database schema
|
|
9
|
+
- [ ] Set up development environment
|
|
10
|
+
- [ ] Create API skeleton
|
|
11
|
+
- [ ] Create frontend page structure
|
|
12
|
+
- [ ] Implement authentication
|
|
13
|
+
|
|
14
|
+
## Done
|
|
15
|
+
- [x] [YYYY-MM-DD] Initialize project documentation
|
package/templates/docs/MAP.md
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
# Project Map
|
|
2
|
-
> Updated: YYYY-MM-DD | Docs: 2
|
|
3
|
-
|
|
4
|
-
## 00_schedule
|
|
5
|
-
|
|
6
|
-
## 01_requirements
|
|
7
|
-
|
|
8
|
-
## 02_architecture
|
|
9
|
-
|
|
10
|
-
## 03_database
|
|
11
|
-
|
|
12
|
-
## 04_api
|
|
13
|
-
|
|
14
|
-
## 05_frontend
|
|
15
|
-
|
|
16
|
-
## 06_infra
|
|
17
|
-
|
|
18
|
-
## 07_testing
|
|
19
|
-
|
|
20
|
-
## 08_security
|
|
21
|
-
|
|
22
|
-
## 09_integrations
|
|
23
|
-
|
|
24
|
-
## 99_progress
|
|
25
|
-
- `99_progress/todo.md` -- Initial backlog, project just started (YYYY-MM-DD)
|
|
26
|
-
- `99_progress/handoff.md` -- Project initialized, ready to build (YYYY-MM-DD)
|
|
1
|
+
# Project Map
|
|
2
|
+
> Updated: YYYY-MM-DD | Docs: 2
|
|
3
|
+
|
|
4
|
+
## 00_schedule
|
|
5
|
+
|
|
6
|
+
## 01_requirements
|
|
7
|
+
|
|
8
|
+
## 02_architecture
|
|
9
|
+
|
|
10
|
+
## 03_database
|
|
11
|
+
|
|
12
|
+
## 04_api
|
|
13
|
+
|
|
14
|
+
## 05_frontend
|
|
15
|
+
|
|
16
|
+
## 06_infra
|
|
17
|
+
|
|
18
|
+
## 07_testing
|
|
19
|
+
|
|
20
|
+
## 08_security
|
|
21
|
+
|
|
22
|
+
## 09_integrations
|
|
23
|
+
|
|
24
|
+
## 99_progress
|
|
25
|
+
- `99_progress/todo.md` -- Initial backlog, project just started (YYYY-MM-DD)
|
|
26
|
+
- `99_progress/handoff.md` -- Project initialized, ready to build (YYYY-MM-DD)
|