sisyo 1.8.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/README.md +12 -2
- package/bin/known-hashes.json +2 -0
- package/package.json +1 -1
- package/templates/.claude/rules/docs.md +35 -15
- package/templates/.claude/skills/vibe-docs/SKILL.md +88 -191
- package/templates/SISYO.md +5 -3
package/README.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
Smart documentation system for vibe coding with Claude Code.
|
|
4
4
|
Docs auto-update as you build. Token-efficient 3-level routing pattern.
|
|
5
5
|
|
|
6
|
+
## Two sets of docs
|
|
7
|
+
|
|
8
|
+
| Set | Readers | Where | Style |
|
|
9
|
+
|---|---|---|---|
|
|
10
|
+
| Agent docs | AI agents | `docs/` in the repo | English, as short as possible, one topic per file, paths to code, 3-level routing |
|
|
11
|
+
| Human docs | the owner, the team | the project's hub (for example a Kicho page tree) | short and plain: architecture, main techniques, key numbers, sprint summaries |
|
|
12
|
+
|
|
13
|
+
The code is the third source: names that read like a sentence, small functions, and no comments except a note the
|
|
14
|
+
code cannot say (why a workaround exists, where a magic value comes from). Rule: `.claude/rules/docs.md`.
|
|
15
|
+
|
|
6
16
|
## Install
|
|
7
17
|
|
|
8
18
|
```bash
|
|
@@ -18,7 +28,7 @@ your-project/
|
|
|
18
28
|
SISYO.md # Project rules (imported by CLAUDE.md)
|
|
19
29
|
CLAUDE.md # Auto-created or updated with @SISYO.md
|
|
20
30
|
.claude/
|
|
21
|
-
rules/docs.md #
|
|
31
|
+
rules/docs.md # Docs + code rules (auto-loaded)
|
|
22
32
|
rules/agents-and-tests.md # Models, tests, sessions and deploys (auto-loaded)
|
|
23
33
|
skills/vibe-docs/SKILL.md # Brain (loaded on trigger)
|
|
24
34
|
docs/
|
|
@@ -140,7 +150,7 @@ Optional best-practice guides that Claude loads on demand:
|
|
|
140
150
|
|
|
141
151
|
| Skill | Triggers on |
|
|
142
152
|
|---|---|
|
|
143
|
-
| `vibe-docs` |
|
|
153
|
+
| `vibe-docs` | Agent docs in `docs/`: doc updates, feature changes, session end |
|
|
144
154
|
| `html-docs` | Generate polished HTML docs (Tailwind, colorful, rounded modern) for devs/users |
|
|
145
155
|
| `terraform-best-practices` | Terraform/AWS: never auto-apply, cost confirm, plan summary, module layout, IAM/SGR/secrets rules |
|
|
146
156
|
| `fastapi-best-practices` | FastAPI backends, REST APIs, Python web services |
|
package/bin/known-hashes.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"ac4d317ae7e7323c18b1f3896e363b76845ad2455cfa1865bc1d7f27ed93de3a"
|
|
5
5
|
],
|
|
6
6
|
".claude/rules/docs.md": [
|
|
7
|
+
"136ac103522a5c852a077c130b91eadf39427b4a211634536af13a4c65996bdf",
|
|
7
8
|
"1fc7e7ee81314cc57313919e3dcbd61c1c9abf271cb2728987a4650626c55cf2",
|
|
8
9
|
"2b89b91bdcee96353280b6f505be6c0909975d0aab8f5f4726a504b3c1fcbc05",
|
|
9
10
|
"e71d422d61809dbd3e1e9c1ed4b700bc145928265538d94974e8536fe99fa5dc"
|
|
@@ -188,6 +189,7 @@
|
|
|
188
189
|
],
|
|
189
190
|
".claude/skills/vibe-docs/SKILL.md": [
|
|
190
191
|
"5bf3ef21df2315575479a610a15f935010673e74de3523c888e74a6c3f78b105",
|
|
192
|
+
"b0178f848760701ac3aadf48b001fa360dd1ba23e08fc5aff7b85bacfb314339",
|
|
191
193
|
"ba3f7176b4ae7088b0ebbfa08bfe8b06729bab6acaddb9b489a8a46233f62fc6",
|
|
192
194
|
"db40c330b6b19b5b78f8a28c6611d6db917ea225bbc316fd8fb5e881331e7ac5"
|
|
193
195
|
]
|
package/package.json
CHANGED
|
@@ -1,19 +1,39 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Docs and Code Rule
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The owner's rules (2026-11-30) for every project: two sets of docs for two kinds of readers, and code that explains
|
|
4
|
+
itself. A project's `SISYO.md` may be stricter, never looser.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
3.
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
## Agent docs: `docs/` in the repo
|
|
7
|
+
Readers: agents. Goal: find, load and fix one fact quickly, with few tokens.
|
|
8
|
+
- English, as short as possible: facts, tables, lists, paths. No prose, no history, no repeating what the code says.
|
|
9
|
+
- 3-level routing: `docs/MAP.md` → `<folder>/_summary.md` → detail file. One topic per file, under about 100 lines.
|
|
10
|
+
- Refer to code by path (`src/auth/service.ts`) and do not copy it. Write what the code cannot say: why, contracts,
|
|
11
|
+
constraints, gotchas, commands.
|
|
12
|
+
- Describe what is true now. Replace outdated lines; do not append. Git keeps the history.
|
|
13
|
+
- After a change: update the detail file, then `_summary.md`, then the MAP.md line (skill `vibe-docs`).
|
|
14
|
+
- Session start: read MAP.md, then `99_progress/handoff.md`. Before the session ends, write the handoff (≤ 30 lines).
|
|
15
|
+
- When a feature is done, add one line to `99_progress/features.md`.
|
|
11
16
|
|
|
12
|
-
|
|
13
|
-
|
|
17
|
+
## Human docs: the project's hub
|
|
18
|
+
Readers: the owner and other people. Goal: understand the system in a few minutes.
|
|
19
|
+
- Location: the project's Kicho hub when it has one (`.kicho-devflow.json`, skill `kicho-devflow`), written in the
|
|
20
|
+
owner's language.
|
|
21
|
+
- Short and plain. Cover the architecture, the main techniques and why they were chosen, and the key numbers
|
|
22
|
+
(performance, tests, data sizes, costs), plus one summary per sprint.
|
|
23
|
+
- Leave out code-level detail, long path lists and agent task progress.
|
|
24
|
+
- Write for a person. Never paste agent docs there, and never put human prose into `docs/`. When the sources of these
|
|
25
|
+
pages are kept in the repo, keep them outside `docs/` (for example `kicho-pages/`).
|
|
14
26
|
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
27
|
+
## Code reads like prose
|
|
28
|
+
- Names say what a thing is or does:
|
|
29
|
+
- functions are verb phrases (`sendReminderEmail`);
|
|
30
|
+
- booleans are questions (`isExpired`, `hasPaidPlan`);
|
|
31
|
+
- values are nouns, with units where needed (`timeoutMs`, `priceYen`).
|
|
32
|
+
Use only abbreviations everyone knows.
|
|
33
|
+
- Keep functions small, with one job each. If a block of code needs a heading, extract it into a function named
|
|
34
|
+
after that heading.
|
|
35
|
+
- No comments. Rename or extract code instead. Write a comment only for what the code cannot say:
|
|
36
|
+
- why a choice that looks wrong is right (a workaround and its bug link, a spec or law, a security reason);
|
|
37
|
+
- where a magic value comes from;
|
|
38
|
+
- doc comments that tooling publishes (the API of a public package).
|
|
39
|
+
- In code you change, delete the comments that the names now say. Never sweep comments out of the whole repo.
|
|
@@ -1,242 +1,139 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: vibe-docs
|
|
3
|
-
description: "
|
|
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
4
|
---
|
|
5
5
|
|
|
6
6
|
# Vibe Docs
|
|
7
7
|
|
|
8
|
-
|
|
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.
|
|
9
11
|
|
|
10
|
-
##
|
|
11
|
-
|
|
12
|
-
|
|
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.
|
|
13
20
|
|
|
21
|
+
## 3-level routing
|
|
14
22
|
```
|
|
15
|
-
Level 1
|
|
16
|
-
Level 2
|
|
17
|
-
Level 3
|
|
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
|
|
18
26
|
```
|
|
27
|
+
Most tasks need Level 1 + 2. After a change, update bottom-up: detail → `_summary.md` → MAP.md.
|
|
19
28
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## Folder Structure
|
|
23
|
-
|
|
29
|
+
## Folders (created when there is content, never empty)
|
|
24
30
|
```
|
|
25
31
|
docs/
|
|
26
|
-
MAP.md
|
|
27
|
-
00_schedule/
|
|
28
|
-
01_requirements/
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
06_infra/ # Deploy, Docker, CI/CD, env vars
|
|
43
|
-
07_testing/ # Test plans, test cases, edge cases
|
|
44
|
-
08_security/ # Auth flows, permissions, API keys
|
|
45
|
-
09_integrations/ # Third-party services config & usage
|
|
46
|
-
99_progress/ # TODO, changelog, session handoff
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Folders and files are created on-demand. Never create empty folders or placeholder files.
|
|
50
|
-
|
|
51
|
-
## _summary.md Pattern
|
|
52
|
-
|
|
53
|
-
Every folder with multiple items MUST have a `_summary.md`. This is a compact table that lets the agent understand the folder WITHOUT loading detail files.
|
|
54
|
-
|
|
55
|
-
### Example: 03_database/_summary.md
|
|
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:
|
|
56
48
|
```
|
|
57
49
|
# Database Tables
|
|
58
|
-
> Updated:
|
|
59
|
-
|
|
60
|
-
| Table | Description | Key relations |
|
|
61
|
-
|-------|-------------|---------------|
|
|
62
|
-
| users | User accounts, auth, profile | -- |
|
|
63
|
-
| posts | Blog posts with draft/publish | -> users |
|
|
64
|
-
| comments | Post comments, nested | -> users, posts |
|
|
65
|
-
| categories | Post categories, hierarchical | -- |
|
|
66
|
-
|
|
67
|
-
Detail: `03_database/[table].md`
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### Example: 04_api/_summary.md
|
|
71
|
-
```
|
|
72
|
-
# API Endpoints
|
|
73
|
-
> Updated: 2025-03-03 | Endpoints: 12
|
|
74
|
-
|
|
75
|
-
| Method | Path | Description | Auth |
|
|
76
|
-
|--------|------|-------------|:----:|
|
|
77
|
-
| POST | /auth/login | Email + password login | no |
|
|
78
|
-
| POST | /auth/register | Create new account | no |
|
|
79
|
-
| GET | /posts | List posts, paginated | no |
|
|
80
|
-
| POST | /posts | Create new post | yes |
|
|
81
|
-
| PUT | /posts/:id | Update post | yes |
|
|
82
|
-
| DELETE | /posts/:id | Delete post | yes |
|
|
83
|
-
| GET | /users/me | Get current user profile | yes |
|
|
84
|
-
|
|
85
|
-
Detail: `04_api/[module].md`
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### Example: 05_frontend/_summary.md
|
|
89
|
-
```
|
|
90
|
-
# Frontend Pages
|
|
91
|
-
> Updated: 2025-03-03 | Pages: 6
|
|
50
|
+
> Updated: 2026-03-03 | Tables: 3
|
|
92
51
|
|
|
93
|
-
|
|
|
94
|
-
|
|
95
|
-
|
|
|
96
|
-
|
|
|
97
|
-
|
|
|
98
|
-
| /dashboard | Dashboard | Stats, PostTable | User dashboard (auth) |
|
|
52
|
+
| Table | Purpose | Relations |
|
|
53
|
+
|---|---|---|
|
|
54
|
+
| users | accounts, profile | -- |
|
|
55
|
+
| posts | posts, draft/publish | -> users |
|
|
56
|
+
| comments | nested comments | -> users, posts |
|
|
99
57
|
|
|
100
|
-
Detail: `
|
|
58
|
+
Detail: `03_database/<table>.md`
|
|
101
59
|
```
|
|
102
60
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
- Group related items in the SAME row when possible
|
|
107
|
-
- Always link to detail files at the bottom
|
|
108
|
-
- Keep under 50 lines total
|
|
109
|
-
|
|
110
|
-
## MAP.md Format
|
|
111
|
-
|
|
112
|
-
MAP.md is Level 1 -- one line per doc/folder with keyword-rich summary:
|
|
113
|
-
|
|
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:
|
|
114
64
|
```
|
|
115
65
|
# Project Map
|
|
116
|
-
> Updated:
|
|
117
|
-
|
|
118
|
-
## 00_schedule
|
|
119
|
-
- 00_schedule/roadmap.md -- MVP phase 1 by April, phase 2 by June (2025-03-03)
|
|
120
|
-
|
|
121
|
-
## 01_requirements
|
|
122
|
-
- 01_requirements/_summary.md -- 3 features: auth, posts, comments (2025-03-03)
|
|
66
|
+
> Updated: 2026-03-03 | Docs: 9
|
|
123
67
|
|
|
124
68
|
## 03_database
|
|
125
|
-
- 03_database/_summary.md --
|
|
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
|
-
| 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]
|
|
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>
|
|
173
94
|
> Updated: YYYY-MM-DD | Status: draft/active/done
|
|
174
95
|
```
|
|
175
96
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
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
|
|
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
|
|
194
103
|
|
|
195
|
-
|
|
104
|
+
## todo.md
|
|
196
105
|
```
|
|
197
106
|
# TODO
|
|
198
107
|
> Updated: YYYY-MM-DD
|
|
199
108
|
|
|
200
109
|
## Doing
|
|
201
|
-
- [ ] Task
|
|
110
|
+
- [ ] Task -- `01_requirements/<feature>.md`
|
|
202
111
|
|
|
203
112
|
## Next
|
|
204
|
-
- [ ] Task
|
|
113
|
+
- [ ] Task
|
|
205
114
|
|
|
206
115
|
## Done
|
|
207
|
-
- [x] [
|
|
116
|
+
- [x] [YYYY-MM-DD] Task
|
|
208
117
|
```
|
|
209
118
|
|
|
210
|
-
|
|
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:
|
|
119
|
+
## handoff.md (≤ 30 lines, rewritten each session)
|
|
216
120
|
```
|
|
217
121
|
# Handoff
|
|
218
122
|
> Updated: YYYY-MM-DD HH:MM
|
|
219
123
|
|
|
220
|
-
## Done
|
|
221
|
-
-
|
|
124
|
+
## Done
|
|
125
|
+
- What changed (paths)
|
|
222
126
|
|
|
223
127
|
## State
|
|
224
|
-
-
|
|
225
|
-
- Broken: [known issues]
|
|
226
|
-
- In progress: [incomplete work]
|
|
128
|
+
- Works / broken / in progress
|
|
227
129
|
|
|
228
130
|
## Next
|
|
229
|
-
1. Highest priority
|
|
230
|
-
2. Second priority
|
|
131
|
+
1. Highest priority
|
|
231
132
|
|
|
232
133
|
## Decisions
|
|
233
134
|
- Chose X over Y: reason
|
|
234
135
|
```
|
|
235
136
|
|
|
236
|
-
##
|
|
237
|
-
|
|
238
|
-
|
|
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
|
|
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
|
@@ -20,9 +20,12 @@
|
|
|
20
20
|
<!-- Add your team's coding conventions -->
|
|
21
21
|
- [e.g. Use TypeScript strict mode]
|
|
22
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`)
|
|
23
24
|
|
|
24
25
|
## Docs System
|
|
25
|
-
|
|
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.
|
|
26
29
|
|
|
27
30
|
Session start -- read in order:
|
|
28
31
|
1. `docs/MAP.md` -- full project scope (~500 tokens)
|
|
@@ -31,7 +34,6 @@ Session start -- read in order:
|
|
|
31
34
|
4. Read `_summary.md` of relevant folder -- scope at a glance
|
|
32
35
|
5. Load ONLY the detail docs needed for current task
|
|
33
36
|
|
|
34
|
-
During work -- vibe-docs skill
|
|
35
|
-
Every change updates bottom-up: detail → `_summary.md` → MAP.md.
|
|
37
|
+
During work -- vibe-docs skill keeps `docs/` in sync, bottom-up: detail → `_summary.md` → MAP.md.
|
|
36
38
|
|
|
37
39
|
Before `/clear` -- always write `docs/99_progress/handoff.md` first.
|