sdtk-spec-kit 0.9.2 → 0.11.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.
Files changed (88) hide show
  1. package/README.md +1 -1
  2. package/assets/manifest/toolkit-bundle.manifest.json +370 -35
  3. package/assets/manifest/toolkit-bundle.sha256.txt +84 -17
  4. package/assets/toolkit/toolkit/AGENTS.md +2 -1
  5. package/assets/toolkit/toolkit/SDTK_TOOLKIT.md +11 -3
  6. package/assets/toolkit/toolkit/runtimes/claude/CLAUDE_TEMPLATE.md +7 -0
  7. package/assets/toolkit/toolkit/scripts/install-claude-skills.ps1 +46 -0
  8. package/assets/toolkit/toolkit/scripts/install-codex-skills.ps1 +19 -0
  9. package/assets/toolkit/toolkit/skills/sdtk-arch/SKILL.md +1 -1
  10. package/assets/toolkit/toolkit/skills/sdtk-ba/SKILL.md +1 -1
  11. package/assets/toolkit/toolkit/skills/sdtk-customer-qa-sheet/SKILL.md +117 -0
  12. package/assets/toolkit/toolkit/skills/sdtk-customer-qa-sheet/references/PROFILE_TEMPLATE.md +60 -0
  13. package/assets/toolkit/toolkit/skills/sdtk-customer-qa-sheet/scripts/oq_sync.py +349 -0
  14. package/assets/toolkit/toolkit/skills/sdtk-customer-qa-sheet/scripts/test_oq_sync.py +175 -0
  15. package/assets/toolkit/toolkit/skills/sdtk-db-design/SKILL.md +130 -0
  16. package/assets/toolkit/toolkit/skills/sdtk-db-design/references/REVIEW_PROCESS.md +82 -0
  17. package/assets/toolkit/toolkit/skills/sdtk-orchestrator/SKILL.md +2 -0
  18. package/assets/toolkit/toolkit/skills/sdtk-qa/SKILL.md +1 -1
  19. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/SKILL.md +104 -0
  20. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/references/REVIEW_AND_MISTAKES.md +63 -0
  21. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/references/SCR01.json +46 -0
  22. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/references/SCR01.png +0 -0
  23. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/references/SPEC_SCHEMA.md +208 -0
  24. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/references/example_spec.yaml +115 -0
  25. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/scripts/build_design_xlsx.py +550 -0
  26. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/scripts/design_spec.py +305 -0
  27. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/scripts/export_preview.py +111 -0
  28. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/scripts/export_spec_md.py +181 -0
  29. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/scripts/make_template.py +113 -0
  30. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/scripts/test_screen_design.py +198 -0
  31. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/scripts/uia_dump.py +64 -0
  32. package/assets/toolkit/toolkit/skills/sdtk-screen-design-xlsx/scripts/validate_spec.py +260 -0
  33. package/assets/toolkit/toolkit/skills/sdtk-session-handoff/SKILL.md +76 -0
  34. package/assets/toolkit/toolkit/skills/sdtk-session-handoff/references/HANDOFF_TEMPLATE.md +63 -0
  35. package/assets/toolkit/toolkit/skills/sdtk-session-handoff/references/MOVING_A_PROJECT.md +18 -0
  36. package/assets/toolkit/toolkit/skills/sdtk-session-handoff/scripts/dirty_files.py +133 -0
  37. package/assets/toolkit/toolkit/skills/sdtk-session-handoff/scripts/test_dirty_files.py +94 -0
  38. package/assets/toolkit/toolkit/skills/sdtk-smoke-test-spec/SKILL.md +69 -0
  39. package/assets/toolkit/toolkit/skills/sdtk-smoke-test-spec/scripts/test_validate_smoke_test.py +58 -0
  40. package/assets/toolkit/toolkit/skills/sdtk-smoke-test-spec/scripts/validate_smoke_test.py +152 -0
  41. package/assets/toolkit/toolkit/skills/sdtk-test-case-xlsx/SKILL.md +297 -0
  42. package/assets/toolkit/toolkit/skills/sdtk-test-case-xlsx/prompts/agent_brief_template.md +59 -0
  43. package/assets/toolkit/toolkit/skills/sdtk-test-case-xlsx/scripts/check_coverage.py +50 -0
  44. package/assets/toolkit/toolkit/skills/sdtk-test-case-xlsx/scripts/extract_sources.py +224 -0
  45. package/assets/toolkit/toolkit/skills/sdtk-test-case-xlsx/scripts/merge_parts.py +78 -0
  46. package/assets/toolkit/toolkit/skills/sdtk-test-case-xlsx/scripts/render_testcase.py +421 -0
  47. package/assets/toolkit/toolkit/skills/sdtk-test-case-xlsx/scripts/template_set.py +57 -0
  48. package/assets/toolkit/toolkit/skills/sdtk-test-case-xlsx/scripts/test_write_results.py +89 -0
  49. package/assets/toolkit/toolkit/skills/sdtk-test-case-xlsx/scripts/write_results.py +126 -0
  50. package/assets/toolkit/toolkit/skills/sdtk-xlsx-safe-edit/SKILL.md +149 -0
  51. package/assets/toolkit/toolkit/skills/sdtk-xlsx-safe-edit/scripts/pictures.py +68 -0
  52. package/assets/toolkit/toolkit/skills/sdtk-xlsx-safe-edit/scripts/test_metadata.py +76 -0
  53. package/assets/toolkit/toolkit/skills/sdtk-xlsx-safe-edit/scripts/test_pictures.py +55 -0
  54. package/assets/toolkit/toolkit/skills/sdtk-xlsx-safe-edit/scripts/xlsafe.py +137 -0
  55. package/assets/toolkit/toolkit/skills/sdtk-xlsx-safe-edit/scripts/xlsx_xml_edit.py +217 -0
  56. package/assets/toolkit/toolkit/skills/skills.catalog.yaml +172 -0
  57. package/assets/toolkit/toolkit/skills-claude/arch/SKILL.md +1 -1
  58. package/assets/toolkit/toolkit/skills-claude/ba/SKILL.md +1 -1
  59. package/assets/toolkit/toolkit/skills-claude/customer-qa-sheet/SKILL.md +115 -0
  60. package/assets/toolkit/toolkit/skills-claude/db-design/SKILL.md +128 -0
  61. package/assets/toolkit/toolkit/skills-claude/orchestrator/SKILL.md +1 -1
  62. package/assets/toolkit/toolkit/skills-claude/qa/SKILL.md +1 -1
  63. package/assets/toolkit/toolkit/skills-claude/screen-design-xlsx/SKILL.md +101 -0
  64. package/assets/toolkit/toolkit/skills-claude/session-handoff/SKILL.md +74 -0
  65. package/assets/toolkit/toolkit/skills-claude/smoke-test-spec/SKILL.md +66 -0
  66. package/assets/toolkit/toolkit/skills-claude/test-case-xlsx/SKILL.md +294 -0
  67. package/assets/toolkit/toolkit/skills-claude/xlsx-safe-edit/SKILL.md +146 -0
  68. package/assets/toolkit/toolkit/templates/README.md +11 -1
  69. package/assets/toolkit/toolkit/templates/docs/database/DATABASE_SPEC_TEMPLATE.md +14 -0
  70. package/assets/toolkit/toolkit/templates/screen-design-xlsx/ja-default/TEMPLATE.md +247 -0
  71. package/assets/toolkit/toolkit/templates/screen-design-xlsx/ja-default/template.xlsx +0 -0
  72. package/assets/toolkit/toolkit/templates/smoke-test/PROFILE_TEMPLATE.md +36 -0
  73. package/assets/toolkit/toolkit/templates/smoke-test/vi-default/AUTHORING_RULES.md +32 -0
  74. package/assets/toolkit/toolkit/templates/smoke-test/vi-default/SMOKE_TEST_TEMPLATE.md +147 -0
  75. package/assets/toolkit/toolkit/templates/smoke-test/vi-default/TEMPLATE.md +25 -0
  76. package/assets/toolkit/toolkit/templates/test-case-xlsx/PROFILE_TEMPLATE.md +78 -0
  77. package/assets/toolkit/toolkit/templates/test-case-xlsx/ja-default/TEMPLATE.md +28 -0
  78. package/assets/toolkit/toolkit/templates/test-case-xlsx/ja-default/viewpoints/README.md +73 -0
  79. package/assets/toolkit/toolkit/templates/test-case-xlsx/ja-default/viewpoints/_template.xlsx +0 -0
  80. package/assets/toolkit/toolkit/templates/test-case-xlsx/ja-default/viewpoints/common/common.xlsx +0 -0
  81. package/assets/toolkit/toolkit/templates/test-case-xlsx/ja-default/viewpoints/platform/mobile_app.xlsx +0 -0
  82. package/assets/toolkit/toolkit/templates/test-case-xlsx/ja-default/viewpoints/platform/smartphone_web.xlsx +0 -0
  83. package/assets/toolkit/toolkit/templates/test-case-xlsx/ja-default/viewpoints/platform/web.xlsx +0 -0
  84. package/assets/toolkit/toolkit/templates/test-case-xlsx/ja-default/viewpoints/platform/windows_app.xlsx +0 -0
  85. package/assets/toolkit/toolkit/templates/test-case-xlsx/ja-default//343/203/206/343/202/271/343/203/210/344/273/225/346/247/230/346/233/270/344/275/234/346/210/220/343/203/253/343/203/274/343/203/253.md +514 -0
  86. package/assets/toolkit/toolkit/templates/test-case-xlsx/ja-default//343/203/206/343/202/271/343/203/210/344/273/225/346/247/230/346/233/270/351/233/233/345/236/213.xlsx +0 -0
  87. package/package.json +1 -1
  88. package/src/lib/scope.js +6 -4
@@ -1,42 +1,55 @@
1
- 5c76955ecabfae64759c11a3ee0fa777b1e0c0f78bdd177ae8f04340cd572e4b toolkit/AGENTS.md
1
+ 145f3614b7889f47480332e7c1a660244ff657f72e85437ed41be1c8a56d7fae toolkit/AGENTS.md
2
2
  52bdc750984ee3c3598c1f1838cf3d72b2fc0ed06fca173ec3da79929b10f20c toolkit/install.ps1
3
3
  0218dea84f0f9a25ddd2e68c6ae9995685ec471ff0950bd17d1eddcaa99f3e0e toolkit/README.md
4
- 301a604b2daa39f85a7b9cbf4b634df5dafd16f84622ad188bc214b34da226d7 toolkit/runtimes/claude/CLAUDE_TEMPLATE.md
4
+ 44b14cedc9ab5832f9288c1b272ad56fb0c8e31fe1e5fe2e387452259cc8e7c7 toolkit/runtimes/claude/CLAUDE_TEMPLATE.md
5
5
  6f1fd656e95906a054299312d44e63a28d948c634b6534089db3eeca9936bf70 toolkit/runtimes/codex/CODEX_TEMPLATE.md
6
6
  8616291be4aaa4fb5cb0f1f4c738c108ab79090bf767ee2b4403d6d582c150c7 toolkit/scripts/agents/run-claude-task.ps1
7
7
  e84d86e8bd72a10875b403542c725d2c7a2e536920e501c6389ab0de9270b865 toolkit/scripts/agents/run-codex-task.ps1
8
8
  6bcebe5fdb87451a7260101eaed32c6b61a2cf07832be754790f5432e028a503 toolkit/scripts/agents/validate-mailbox-formal-artifact.py
9
9
  b9bdb2489c2881d03e965c7dd849468f797e2070d30e6730ab9ddf37b54b7879 toolkit/scripts/generate-code-handoff.ps1
10
10
  2b456e0e9ebeb948db9bdd1a905195285a8ae44839b09b5f0bbefac597cfd67a toolkit/scripts/init-feature.ps1
11
- 8455f08e24e38c78aad925c36ebc3605983f1c7f9782190233402858be77b0c6 toolkit/scripts/install-claude-skills.ps1
12
- 3191823ec5a481c34128ef645e8103e3ee526a74dd108ba2206878edd7b50cda toolkit/scripts/install-codex-skills.ps1
11
+ 59584a3449e2df82146eb3523385c8d91ad8d5a3a0bb02edc5c6a6e04a8143aa toolkit/scripts/install-claude-skills.ps1
12
+ 76b2ee2b6e76cfc4bdec8deb49a2788bcaefa2bd0ccdc07965762076f098e110 toolkit/scripts/install-codex-skills.ps1
13
13
  f925a58e0cc92addc542762c2bf5f60be2d538dcca88e15de0b628b3a57048b1 toolkit/scripts/uninstall-claude-skills.ps1
14
14
  db0e580a20b43bb0af399ff3e4f7f2d826423d67bd2fa9a8121a384337a47de1 toolkit/scripts/uninstall-codex-skills.ps1
15
- dec335148e1bc721eee6ddae82417f344cc74345771da1328c7af54deee0c812 toolkit/SDTK_TOOLKIT.md
15
+ db227185a9b40b9599f8d8e933ea8848b6bf3db84f46eb51a8e8a8fbcfef6269 toolkit/SDTK_TOOLKIT.md
16
16
  712382d838a18b6cc6a5285b3c536fac74138c752a3fa1fd318828b19ece6b8f toolkit/sdtk-spec.config.json
17
17
  2a306c1609499fb4910b86d5ec6e8c796e0cdf72c5f97fe3df9c1388ac62b913 toolkit/sdtk-spec.config.profiles.example.json
18
18
  ab376df00d0fe92307ff862bac0ffe431254903cf9ccac00117d979ddc9c7f88 toolkit/session/SDTK_ACTIVE_BOOTSTRAP.md
19
19
  fba56394ff7cae3ab8cd510b4bfb5b299df9f4f1a3e59be9bbcd573e3df477ae toolkit/session/SDTK_AGENT_WORKING_RULES.md
20
20
  c17bb4faff318032ee99ead56e5fa182811c7bcaa176e463d0377cefde213ac1 toolkit/skills-claude/api-design-spec/SKILL.md
21
21
  5e6716b6777029579da7314306269d22ca5a5a208940f2fe8fa6d78cd23273fb toolkit/skills-claude/api-doc/SKILL.md
22
- 7091d48412c65f55f349cf1e91bb51b61fed5e164c82fa21f6e20424c0fb6479 toolkit/skills-claude/arch/SKILL.md
23
- 7f6ed86a7a9cbafbb4b4903546984967dc29e4893e8a628d9725bd19cc4c5626 toolkit/skills-claude/ba/SKILL.md
22
+ bbe99013b05735742e207e38522a5ff54703b18ecd1f3721939d0cb1d1008811 toolkit/skills-claude/arch/SKILL.md
23
+ 536b2ebbb38262b6c69eb0bc40ddfa8fd630a574cb374274e5f3630e2372f39f toolkit/skills-claude/ba/SKILL.md
24
+ 1f119250175071bc6dd36520cd9e14dae7ba551f8b01c03b32e5e35130a6fe92 toolkit/skills-claude/customer-qa-sheet/SKILL.md
25
+ 7339307d84101a76b16ab3e5e4873e3e7d3a1fc3ed316f84c3e39035085dbfbe toolkit/skills-claude/db-design/SKILL.md
24
26
  2b96d5dcddd018d5b5a04fb90bbd15bf38885733d7e7e67206874bff04e3ed7c toolkit/skills-claude/design-layout/SKILL.md
25
27
  b4de86bc4730c4fcfe4f1bde8f9f64f03fd517825bb699e911199825cc3d4249 toolkit/skills-claude/dev-backend/SKILL.md
26
28
  37b3ae11db18bc3f64a76b22bca95cea778d6cfbb8b038d46851bd44ff8ff8f1 toolkit/skills-claude/dev-frontend/SKILL.md
27
29
  a4f326e2cafff865aaaed8f8de9407f3baa3cfebe33979528a15eb26d2e8482b toolkit/skills-claude/dev/SKILL.md
28
30
  caab483c02ff355634dd3e94c2d3d585ba6469c092ce5ab4bee97357da40be99 toolkit/skills-claude/evolve/SKILL.md
29
31
  6fa2283aa1ebb7bf5b6e84d5d5d9d9ddf71082091b108bd46895923a5fca3e09 toolkit/skills-claude/mailbox-dispatch/SKILL.md
30
- aa086be1038e34b1b29f7f65bacf254b5c1bfdc1203bd3e643c27acca4f9c2fa toolkit/skills-claude/orchestrator/SKILL.md
32
+ 51d0d05d0f62df87a2d4d2566f8adeebe9277f668b000070063b3f9ca511a778 toolkit/skills-claude/orchestrator/SKILL.md
31
33
  e9e346ff0e1fc66236ceabf64a043c9a28926e7ff06296b26dd5836cf045802a toolkit/skills-claude/pm/SKILL.md
32
- a94b06194dd120f959082e3bcded91573e8c7b2ee350ab5bbad63a9c3cc331ab toolkit/skills-claude/qa/SKILL.md
34
+ fb249d46ecdabfe8750f5ea1685f5873a7c93c183e1894ba268c5c9f0f8a5edb toolkit/skills-claude/qa/SKILL.md
33
35
  320263e423dff2e9748b373aa9286b97721379ded62fde4e8a4dc5435a5f0048 toolkit/skills-claude/screen-design-spec/SKILL.md
36
+ 7e2a5799440236a957af07785f825373eb5805ec986adc72641511cb1671d9e2 toolkit/skills-claude/screen-design-xlsx/SKILL.md
37
+ eaeae1fba56313c55bbc878e710ecf01d446bbc95bd9e885cafe4ca60dc8c658 toolkit/skills-claude/session-handoff/SKILL.md
38
+ ca6d2b9a8576f7c6e541c8578f8ede7de1542a128137af7d59201ba2dc98ada9 toolkit/skills-claude/smoke-test-spec/SKILL.md
34
39
  8e06a6fe166892aa45e09cb69182ca53789c306fecb13cc94d06d0a7b00e0f46 toolkit/skills-claude/test-case-spec/SKILL.md
40
+ 3debca695c4fe6e3497792ef5ab1781cd2d51b16cfa32d890171ec749d4e53e6 toolkit/skills-claude/test-case-xlsx/SKILL.md
41
+ b5f7aa816f1f6dce3ab0e7750a438f0f4f470e6f9f2ed21ad3f4091fce3082d3 toolkit/skills-claude/xlsx-safe-edit/SKILL.md
35
42
  d6190662345da009ce8c5c235bc2cda9ef44e7e96802d103666055e26d393551 toolkit/skills/sdtk-api-design-spec/scripts/generate_api_design_detail.py
36
43
  2fd046a8b229e54ae70d0f1091f10f9dc269f02630f443cffebc0206eac5daaf toolkit/skills/sdtk-api-design-spec/SKILL.md
37
44
  b1e480f8c077927775be5b1b39010c29700c12f2c0eb052d836254bccf0c13ff toolkit/skills/sdtk-api-doc/SKILL.md
38
- 199329aa1764cb854932e020f42570f4ed4c0a469dddb92f14fb1455b80f761a toolkit/skills/sdtk-arch/SKILL.md
39
- ce5af79e5c4902b9c8ceb7e8dae848a6a5a26d5b845eee94ee8aafff88990256 toolkit/skills/sdtk-ba/SKILL.md
45
+ 5d7fdfceb570c62e3fc6201832d6cde3a04e3db5ae4746f1bb9a54af2db29e60 toolkit/skills/sdtk-arch/SKILL.md
46
+ 14ef4dde593e4dd32ddd40a867ba58153535f0ed1a009f47dee99f0292b9293c toolkit/skills/sdtk-ba/SKILL.md
47
+ 68a621f7ee1a6d57aae3fee59ff529be15bc7638c5fcecd6bb2680e1400104bc toolkit/skills/sdtk-customer-qa-sheet/references/PROFILE_TEMPLATE.md
48
+ 5b6ab2ad1aab8cd3d0b2e7acc170588e9e2960128aaa8aac870b245f3811e247 toolkit/skills/sdtk-customer-qa-sheet/scripts/oq_sync.py
49
+ c8672bdadb96025c72d699d9cd8606496a7723047bc409fc91787732a0bf9bf7 toolkit/skills/sdtk-customer-qa-sheet/scripts/test_oq_sync.py
50
+ dfc54ea79ed315391dffea7495bcb6f6cb2514f7c0cd6ef62b75b203d38a3c64 toolkit/skills/sdtk-customer-qa-sheet/SKILL.md
51
+ 0b73991fa75ac0be4f7c4ecf69383fc55d4405fac0660a011b933a057dcb0f4f toolkit/skills/sdtk-db-design/references/REVIEW_PROCESS.md
52
+ 942a77d398b52217d1bb737c11cb24890169777caf52a1680ce4215d7c0954cf toolkit/skills/sdtk-db-design/SKILL.md
40
53
  736577a6d6ebc6548aef1bade3dce7d9be62c260ac313cc148ab6a10b10d0197 toolkit/skills/sdtk-design-layout/scripts/render_design_layout_images.py
41
54
  642be6e9162617861fc3253449a78cc653b714df7148dc5ec4b14e93d3e3dc14 toolkit/skills/sdtk-design-layout/SKILL.md
42
55
  099024d3b31b63a20e6a041d4a3f0062bfd4fa5b3960926112fa44a7a20972b5 toolkit/skills/sdtk-dev-backend/SKILL.md
@@ -47,9 +60,9 @@ ce5af79e5c4902b9c8ceb7e8dae848a6a5a26d5b845eee94ee8aafff88990256 toolkit/skills
47
60
  749f0ff0865d8940cec9b16859706fd46f111a4d9bf54b6ccba381fe9db7a90e toolkit/skills/sdtk-dev/SKILL.md
48
61
  691e7a0dd50262f247ad8a4c8ca05892c1240245de20580cc411c2d063bf9a1f toolkit/skills/sdtk-evolve/SKILL.md
49
62
  df593d5ab4e7c5f4b05ac9ddb5078189b25bd954e546ab65c0147d024e4f4d59 toolkit/skills/sdtk-mailbox-dispatch/SKILL.md
50
- 66ddb66fee3b12b008ea269baa57acde77f8614ac15a9f87cc994eae64ca63dc toolkit/skills/sdtk-orchestrator/SKILL.md
63
+ e62d8044c77d525e0edf67a857767419325bc4a2679e045c0e26b769d8309a2f toolkit/skills/sdtk-orchestrator/SKILL.md
51
64
  ae53d96b6a4fb4ea60fb5de6578b2620c3adb43e1d722a0469cdfa5a90b92903 toolkit/skills/sdtk-pm/SKILL.md
52
- e2c7fa172483ad6f1401ef831cd890c0bd9289f62ddc898335a4b8ac32bd6f7f toolkit/skills/sdtk-qa/SKILL.md
65
+ 95bfb5943aeb151c62d6085ea732892b34417ae3c30bed777ba7f1b18c873056 toolkit/skills/sdtk-qa/SKILL.md
53
66
  0702605f4c3a42cd06eb35ef61ca4b64f928c6b89dfb1204bcc978fb3ce033f9 toolkit/skills/sdtk-screen-design-spec/references/commerce-profile-screens.md
54
67
  cad3bda4560548c329041c403edf3192c6e3864f47d56736fa02690ab175964c toolkit/skills/sdtk-screen-design-spec/references/excel-image-export.md
55
68
  931dd7eaebb988bf070d39ad4fb95f91881f2cfccf04524f38208e5c5f97eee7 toolkit/skills/sdtk-screen-design-spec/references/figma-mcp.md
@@ -57,9 +70,46 @@ cad3bda4560548c329041c403edf3192c6e3864f47d56736fa02690ab175964c toolkit/skills
57
70
  2916fa8a68854692005cba85beaaae6601c0eb063c6f172463e996f7b93efc62 toolkit/skills/sdtk-screen-design-spec/scripts/renumber_flow_action_spec_global.py
58
71
  83c5fd673f3588d683379e1f6046ebea22fb37a020313e799eb3f4b41f65fb9a toolkit/skills/sdtk-screen-design-spec/scripts/validate_flow_action_spec_numbering.py
59
72
  5ecd672a24dbe6fb845102e7a1986b876f4727bb77671233243814dfb2cc103e toolkit/skills/sdtk-screen-design-spec/SKILL.md
73
+ a1fd9335a1ca5c5145802eb804d01ede810691b5271f1d1903d3b993d1d66cff toolkit/skills/sdtk-screen-design-xlsx/references/example_spec.yaml
74
+ 27c880d8a8ed968413b007e0f1a75a07220682e25c78bb62aac94d5eb460de10 toolkit/skills/sdtk-screen-design-xlsx/references/REVIEW_AND_MISTAKES.md
75
+ bf07c5580239e59c3a48d33720cc2b2083b4e44f7a5d6f27c0bd0ae0c285cad3 toolkit/skills/sdtk-screen-design-xlsx/references/SCR01.json
76
+ 16540ad17db8f04bda54aa81253747abef57a99d1105b9e9f15589e15bf0eb34 toolkit/skills/sdtk-screen-design-xlsx/references/SCR01.png
77
+ be163f6f70995c41d80cd2cc35b42f1d1c8491296771b0857c22c4e968186ab8 toolkit/skills/sdtk-screen-design-xlsx/references/SPEC_SCHEMA.md
78
+ e91508aa2bbb1e15bd4cb0d8676a7b9ac803b0eb3a1f64a8533d99c6185435e5 toolkit/skills/sdtk-screen-design-xlsx/scripts/build_design_xlsx.py
79
+ 2942475deb3c092eb7d77455b4ac31be1b0afae509b297a8e300efdb7e76ab5b toolkit/skills/sdtk-screen-design-xlsx/scripts/design_spec.py
80
+ 2547bb34d8d9ab92af19e6ac571ba71f7f4037dc86b7e2f3442f8359b4f1d58c toolkit/skills/sdtk-screen-design-xlsx/scripts/export_preview.py
81
+ 1439ac2d332a31540be17292b38262f2b6ec4dc1c7a1f84b385da64f1095a7f5 toolkit/skills/sdtk-screen-design-xlsx/scripts/export_spec_md.py
82
+ 4955f2ce3a05ae8a4bf4bb1fad06ad72d3cb1455768ed590564a4f89b9899ce8 toolkit/skills/sdtk-screen-design-xlsx/scripts/make_template.py
83
+ 1220711aa7aa15882b0ef607b7bc817b8e0a189da69152b997477d639fd59f88 toolkit/skills/sdtk-screen-design-xlsx/scripts/test_screen_design.py
84
+ afbe5f807b0d947176382227b124ff4ed0f51747be117959f6eecbbafdcd3002 toolkit/skills/sdtk-screen-design-xlsx/scripts/uia_dump.py
85
+ 275d03ee42fafa2beb5aec82e46142b1ed339a62fa1a2e6dc3dc207fedcb1dde toolkit/skills/sdtk-screen-design-xlsx/scripts/validate_spec.py
86
+ 013665ed6611e1b08db4541bd64bc970f8b76bbc55fbf9463bb6f16f24184a7d toolkit/skills/sdtk-screen-design-xlsx/SKILL.md
87
+ 64cc5f1869cfbc4b13eea21974bbea17f88e55f8ce278751d19c334a5702fefe toolkit/skills/sdtk-session-handoff/references/HANDOFF_TEMPLATE.md
88
+ bf0e80c345af48fa39ff026f1a26af6703195bd7b22b130293cd77bec16c6f6e toolkit/skills/sdtk-session-handoff/references/MOVING_A_PROJECT.md
89
+ 1dec766d38642d9b28efd64a3c218d03e2aa7dd1b9c45cbc69b4e98c36ff1566 toolkit/skills/sdtk-session-handoff/scripts/dirty_files.py
90
+ ba73f3fbd3022f3a0348214f20191b7d86a48b768e2b3a7b8217478cb50cba00 toolkit/skills/sdtk-session-handoff/scripts/test_dirty_files.py
91
+ 9e5db165a8deca267706782d6341fc2983c334fef825762bdd674e8e599306c4 toolkit/skills/sdtk-session-handoff/SKILL.md
92
+ b484ed58ab0d5c18510c4a6ee747bf58100296194ce8d717f7d82914c257970a toolkit/skills/sdtk-smoke-test-spec/scripts/test_validate_smoke_test.py
93
+ 864a220ff41553f114d0eb19bee6136ada11041f87c3c2314a49290fe35ea6e3 toolkit/skills/sdtk-smoke-test-spec/scripts/validate_smoke_test.py
94
+ 3ca2b74095f37464ab0599982f3cd44dba440c1a4bae99d001a213f47bba136e toolkit/skills/sdtk-smoke-test-spec/SKILL.md
60
95
  cd8e2801cdd7d5f931af4fa29e1a854cddf158629a06201f34ba19d4747dcb2f toolkit/skills/sdtk-test-case-spec/scripts/validate_test_case_spec.py
61
96
  0782e52954f7268152f0ff2954b7c71773879cdc429d0cb367330e77d4f92c50 toolkit/skills/sdtk-test-case-spec/SKILL.md
62
- ef4a40b0095556de4ba608de713cf327e126f9a04ea75b99f3de4588037e82e6 toolkit/skills/skills.catalog.yaml
97
+ 0b32e1b38503c635d9911f778a3a3b0bf5121ce1900eb6aa01b9e29309812e61 toolkit/skills/sdtk-test-case-xlsx/prompts/agent_brief_template.md
98
+ 66607a471a6598692fbd1712c5147394e719bf394136ac13b63d4afe21ab7e63 toolkit/skills/sdtk-test-case-xlsx/scripts/check_coverage.py
99
+ ed2b674e8cf976c9fe0b45147ac1781da76bd00bcb0c90edc9d93462394b8c90 toolkit/skills/sdtk-test-case-xlsx/scripts/extract_sources.py
100
+ edafc360a6dd043ca8150491e6af53744221f8a38c6d222b56be3cc2db159387 toolkit/skills/sdtk-test-case-xlsx/scripts/merge_parts.py
101
+ 7fdaf044bcd37b4fcde8da7f8a9e2a89a7568d43abdf2317164ed2b68771abd5 toolkit/skills/sdtk-test-case-xlsx/scripts/render_testcase.py
102
+ 32829a28d7736bd2a06a1cdc5bd963eed700497270dc91598411e2ba8a75e2c8 toolkit/skills/sdtk-test-case-xlsx/scripts/template_set.py
103
+ 3d4fb94953dbcec4cd30123707203621e35855638d2493069e8dfa872ce073aa toolkit/skills/sdtk-test-case-xlsx/scripts/test_write_results.py
104
+ 39aa125b8a4b3c566143801f87b5e404cff57885019966fcfdc6c72e5a3222a2 toolkit/skills/sdtk-test-case-xlsx/scripts/write_results.py
105
+ e34704a8536c3144f703811ad0129164b9be475e29397baaf7f040cd8674e351 toolkit/skills/sdtk-test-case-xlsx/SKILL.md
106
+ 143d80fa2db6d633ba75a9e17a011ad359108ce0c5d8f0b67377a22732cc4702 toolkit/skills/sdtk-xlsx-safe-edit/scripts/pictures.py
107
+ cb2518e03887f6e7a936a05847db1052ff0954dc8a03cfabbda67a45e18bf87d toolkit/skills/sdtk-xlsx-safe-edit/scripts/test_metadata.py
108
+ 77139b01c579cdef6eb86818709f850aed28f4edef49789cc9f169ce07c942ed toolkit/skills/sdtk-xlsx-safe-edit/scripts/test_pictures.py
109
+ 92bdc0cfc34cc81b319d09f7150ac1d3a9edbb76809669fce0c62380543eaa1a toolkit/skills/sdtk-xlsx-safe-edit/scripts/xlsafe.py
110
+ bfc28b08545f18408cff223a24545a27f22f74ca1f0126069d8461f7a1611d44 toolkit/skills/sdtk-xlsx-safe-edit/scripts/xlsx_xml_edit.py
111
+ d0816fc7cce3d0115c743193028a0b20dd955328bab50820af53ac066df37fe5 toolkit/skills/sdtk-xlsx-safe-edit/SKILL.md
112
+ 3a973175b7fe211897cf63b7290a2d3379e933fb31708c14e4a36d8ba7ec961e toolkit/skills/skills.catalog.yaml
63
113
  b569125ca6f341cbf8e982fd0bbabe2adcf2b4de9773f515544e9bd7c5551b34 toolkit/templates/docs/api/API_DESIGN_CREATION_RULES.md
64
114
  e34569c7721929c9ca14b5d2a4390fdb69d7ac766dfdb81b52683710fb2953e8 toolkit/templates/docs/api/API_DESIGN_DETAIL_TEMPLATE.md
65
115
  3c583826dae1e31f13ef5c439154f3e58dad7cb149d9929134e9c4327fb5235d toolkit/templates/docs/api/API_DESIGN_FLOWCHART_CREATION_RULES.md
@@ -69,7 +119,7 @@ e34569c7721929c9ca14b5d2a4390fdb69d7ac766dfdb81b52683710fb2953e8 toolkit/templa
69
119
  761c254e237bdb2416b6f6f16d9d2c22e92155a5b7d3cc8b70dac46568a051a0 toolkit/templates/docs/api/FLOWCHART_CREATION_RULES.md
70
120
  fa4fa1c0b7d90bf8ed10ec54d5d083d7c50c981f0dba14966c83d9c5c1b92f3f toolkit/templates/docs/api/YAML_CREATION_RULES.md
71
121
  e673a409c98df02b71eb4e6cd9db2c41df9f4aed30d546499eeb6768f8124af2 toolkit/templates/docs/architecture/ARCH_DESIGN_TEMPLATE.md
72
- 056a35ee70f69a840954d54dea8e33e65dacd6ffb685aa90c125823d19c37d91 toolkit/templates/docs/database/DATABASE_SPEC_TEMPLATE.md
122
+ d89a9c437692e7080bcdfb23a87d29e9b6e6b415ab5f1bdd6cfc7958e8a4907f toolkit/templates/docs/database/DATABASE_SPEC_TEMPLATE.md
73
123
  d7b932d8631297b1ddcb254d516dd69fd2259ffa5c3ff23741cb3cab8bfe0caa toolkit/templates/docs/design/DESIGN_LAYOUT_TEMPLATE.md
74
124
  bb34ccfe910bc3597396f43ff2db874ed6fafa433db9710bd2d0949cb810d165 toolkit/templates/docs/dev/FEATURE_IMPL_PLAN_TEMPLATE.md
75
125
  de563da0bc41996540b56a63b6295be5f4810c049f132c472a2a7ee816cd2884 toolkit/templates/docs/dev/OPS_HANDOFF_CREATION_RULES.md
@@ -96,5 +146,22 @@ e65192c4e72d86d27452c89f7be2d3bfe1118af550f71e3eee9db92e20f96cea toolkit/templa
96
146
  54ae1612b6e95af0f19bd0ea897ceb1df72d366dc20485c91ba3261484e88cf2 toolkit/templates/mailbox/AGENT_REPORT_TEMPLATE.md
97
147
  3fd748061615802c8cd5a4978396a782f59404662339ee18f732352cb79b4f84 toolkit/templates/mailbox/AGENT_TASK_TEMPLATE.md
98
148
  1cc6c9e0fbbbd545da9750e6f13e09ad968d9b23bff3a69a36a46a2be57d5ea2 toolkit/templates/QUALITY_CHECKLIST.md
99
- 2ba15299f149dca87d182ca65d8dccc3b27335c6ac31e01cc42afd02476d5dad toolkit/templates/README.md
100
- bc778c499c534c3a0c4547c35d2fed02e745cefe743c1ed8a1074e1e0a88a8b2 toolkit/templates/SHARED_PLANNING.md
149
+ bfadd3bca3deaa2a5e8cfc4aef898c6d6a9dbc485c0da4df0896d50dedc0a1ce toolkit/templates/README.md
150
+ 7e02d0769e995970c78e407352b3c8ba7efb06d972f4af619cb4d0adb27f2ab2 toolkit/templates/screen-design-xlsx/ja-default/TEMPLATE.md
151
+ 96da5ab80156d30bc92107c58963b503bda37be155a5f7cd7517b15bf6891e31 toolkit/templates/screen-design-xlsx/ja-default/template.xlsx
152
+ bc778c499c534c3a0c4547c35d2fed02e745cefe743c1ed8a1074e1e0a88a8b2 toolkit/templates/SHARED_PLANNING.md
153
+ 0d1667158382294abfb6f5ee3d47974d2f31d080323e1b224abac8e0da1ed2a6 toolkit/templates/smoke-test/PROFILE_TEMPLATE.md
154
+ f20a1fcb09ac7d957ac29d48527dd86eed79d102b9ec4026ec5792aba26d675e toolkit/templates/smoke-test/vi-default/AUTHORING_RULES.md
155
+ cb0af1de10319be8d51126d634d63fe8668b343e3911fc536a7686ff63eab271 toolkit/templates/smoke-test/vi-default/SMOKE_TEST_TEMPLATE.md
156
+ dc61a66bb2f96bcc218588b376dd551799ea9772bf63f7dc43964632d48e0839 toolkit/templates/smoke-test/vi-default/TEMPLATE.md
157
+ 54667867655be0975d46bc6f6cd44f7f22e72d72832710e43593ca2f6bb74faa toolkit/templates/test-case-xlsx/ja-default/TEMPLATE.md
158
+ fe31f5e7ec1eba6c181d8d0d118ab0c1d70e7df940cc0706945b09c0ab05b7e6 toolkit/templates/test-case-xlsx/ja-default/viewpoints/_template.xlsx
159
+ 690bb5ac95a9e37820f2f41cdf4074064dd1db0af9cca63b3df5acbf1d724815 toolkit/templates/test-case-xlsx/ja-default/viewpoints/common/common.xlsx
160
+ ee07e28ba9a2499ced696df48ad58e360d256fa5c4727a127b32509d4575f425 toolkit/templates/test-case-xlsx/ja-default/viewpoints/platform/mobile_app.xlsx
161
+ d7b1cb45ba1fa573eb523e94e8b13357786d6b67b6dab9ef2cf8271994835809 toolkit/templates/test-case-xlsx/ja-default/viewpoints/platform/smartphone_web.xlsx
162
+ 31cdd6076ae796f01fea038e891625f3770c97cd764d686d0e250c0b2870deea toolkit/templates/test-case-xlsx/ja-default/viewpoints/platform/web.xlsx
163
+ bf7214759e8537b90178ea252fb0539631892c857bc3365419948de2b35c1643 toolkit/templates/test-case-xlsx/ja-default/viewpoints/platform/windows_app.xlsx
164
+ 56c001a29b3e3ab09da08abbbf94f5a687b394350ff5846c9e0740ff544b9c33 toolkit/templates/test-case-xlsx/ja-default/viewpoints/README.md
165
+ 1155ea2ab69087b3827dd015daac9d1cf40c18b0a9877e08cd045bd54984a5ba toolkit/templates/test-case-xlsx/ja-default/テスト仕様書作成ルール.md
166
+ 8e19b9b4fd9a5b6bea0fd102e983fa9ae90593ca704780fae8eb18a6294349d7 toolkit/templates/test-case-xlsx/ja-default/テスト仕様書雛型.xlsx
167
+ 8212379517d4415f8cce9355d3b01d9f87fd528c03c8371cbbdf4a97eba3712f toolkit/templates/test-case-xlsx/PROFILE_TEMPLATE.md
@@ -70,6 +70,7 @@ Use this compact matrix during intake so the agent picks the smallest sufficient
70
70
  | Formal feature delivery | `SDTK-SPEC` pipeline | PM -> BA -> ARCH -> DEV planning -> CODE handoff -> QA |
71
71
  | Build, fix, or refactor implementation | `SDTK-CODE` | code-brainstorm (when slice is ambiguous) -> start -> plan -> build -> verify -> ship |
72
72
  | Debug failure or unexpected behavior | `SDTK-CODE` debug | Root cause, bounded fix, regression verification |
73
+ | Work from an issue tracker: "pick my next issue", "fix issue #N" / a batch of tracker bugs, review a branch for an issue | `SDTK-CODE` `code-issue` | Ranked candidates (pick stops there), or plan / fix / review records per issue; tracker written only after the PR exists |
73
74
  | Screen/layout design, visual tokens, or prototype evidence before coding | `SDTK-DESIGN` | Reviewable screens/prototype plus a design handoff into SDTK-CODE |
74
75
  | Deployment, release, infra, or CI/CD work | `SDTK-OPS` | ops-plan -> ops-deploy/ops-incident/ops-monitor -> ops-verify |
75
76
  | Code review or spec review | Review / QA workflow | Findings, risks, blockers, acceptance signal |
@@ -159,7 +160,7 @@ Use the suite products according to task intent:
159
160
  - ship code changes
160
161
  - workflow: `start -> plan -> build -> verify -> ship`
161
162
  - entry point for ambiguous slices: `code-brainstorm`
162
- - specialist engine: `code-plan`, `code-execute`, `code-tdd`, `code-debug`, `code-verify`, `code-review`, `code-ship`, `code-finish`, `code-worktree`, `code-discover`, `code-parallel` (sequential fallback when parallel dispatch is unavailable)
163
+ - specialist engine: `code-plan`, `code-execute`, `code-tdd`, `code-debug`, `code-verify`, `code-review`, `code-ship`, `code-finish`, `code-worktree`, `code-discover`, `code-ui-e2e` (desktop UI end-to-end runs), `code-issue` (work driven by an issue tracker), `code-parallel` (sequential fallback when parallel dispatch is unavailable)
163
164
  - `SDTK-OPS`
164
165
  - deploy or release
165
166
  - infrastructure and environment setup
@@ -105,6 +105,8 @@ Architecture phase:
105
105
  - API contract/flow scope -> `sdtk-api-doc`
106
106
  - API design detail from YAML + flow list -> `sdtk-api-design-spec`
107
107
  - UI flow-action scope -> `sdtk-screen-design-spec`
108
+ - the same screens as a Japanese 画面設計書 Excel workbook (template sets under `toolkit/templates/screen-design-xlsx/`) -> `sdtk-screen-design-xlsx`
109
+ - new table / column, schema review or trim, legacy database replacement, migration that can meet real data -> `sdtk-db-design` (before the DATABASE_SPEC)
108
110
 
109
111
  DEV phase:
110
112
  - `/dev` creates `FEATURE_IMPL_PLAN` + `CODE_HANDOFF`
@@ -112,16 +114,22 @@ DEV phase:
112
114
  - legacy prompt templates under `toolkit/skills/sdtk-dev/prompts/` remain available as manual helper assets only
113
115
 
114
116
  QA phase:
115
- - detailed reusable test-case artifact -> `sdtk-test-case-spec`
117
+ - detailed reusable test-case artifact -> `sdtk-test-case-spec` (markdown), or `sdtk-test-case-xlsx` (Excel workbook from a template set under `toolkit/templates/test-case-xlsx/`; `testCaseSpecMode = xlsx`)
118
+ - manual smoke / acceptance test document per feature or task (template sets under `toolkit/templates/smoke-test/`) -> `sdtk-smoke-test-spec`
116
119
  - execution report and release decision -> `sdtk-qa`
117
120
  - normal prerequisite is downstream implementation evidence, normally from SDTK-CODE
118
121
 
122
+ Any phase (specialist):
123
+ - ending or handing over a session (memory, handoff document, every uncommitted file classified, first prompt) -> `sdtk-session-handoff`
124
+ - reading or editing a hand-maintained Excel workbook -> `sdtk-xlsx-safe-edit` (other skills that write Excel go through its scripts)
125
+ - open questions (OQ-xx) to / answers from a customer's Q&A Excel sheet -> `sdtk-customer-qa-sheet`
126
+
119
127
  ## 8. Hybrid Controls (`sdtk-spec.config.json`)
120
128
  - `orchestration.apiDesignDetailMode = auto|on|off`
121
- - `orchestration.testCaseSpecMode = auto|on|off`
129
+ - `orchestration.testCaseSpecMode = auto|on|off|xlsx` (`xlsx`: test cases as an Excel workbook from the customer's template -> `sdtk-test-case-xlsx`)
122
130
 
123
131
  ## 8.1 Skill Catalog and Handoff Assets
124
- - `toolkit/skills/skills.catalog.yaml` is the canonical inventory for the 14 core SDTK-SPEC skills, including the bounded `mailbox-dispatch` controller skill.
132
+ - `toolkit/skills/skills.catalog.yaml` is the canonical inventory for the 22 SDTK-SPEC skills, including the bounded `mailbox-dispatch` controller skill.
125
133
  - `toolkit/templates/handoffs/` provides the standard PM/BA/ARCH/DEV/QA handoff prompts and review gates.
126
134
  - Every core `SKILL.md` includes `## Critical Constraints` derived from the active hard gates and verification policy.
127
135
  - Use `governance/ai/core/SDTK_SKILL_AUTHORING_AND_TESTING.md` when creating or updating skills.
@@ -39,6 +39,13 @@ Skills are installed at `.claude/skills/` and surface as slash commands. Rows ap
39
39
  | `/screen-design-spec` | Screen flow-action spec |
40
40
  | `/design-layout` | UI screen layout wireframes |
41
41
  | `/test-case-spec` | QA test-case spec |
42
+ | `/test-case-xlsx` | QA test cases as an Excel workbook from the customer's template; write executed results back |
43
+ | `/smoke-test-spec` | Manual smoke / acceptance test document per feature or task |
44
+ | `/screen-design-xlsx` | Japanese 画面設計書 Excel workbook from the screen spec (YAML spec, Excel COM render, audits) |
45
+ | `/db-design` | Design, review / trim or migrate a database schema: every column earns its place, real data is never dropped |
46
+ | `/customer-qa-sheet` | Send open questions to a customer's Q&A Excel sheet, read the answers back, reply to their questions |
47
+ | `/session-handoff` | Hand a session over: memory, handoff document, every uncommitted file classified, first prompt |
48
+ | `/xlsx-safe-edit` | Read or edit a hand-maintained Excel workbook without losing pictures, layout or edits |
42
49
  | `/dev-backend` | Backend code conventions |
43
50
  | `/dev-frontend` | Frontend code conventions |
44
51
  | `/code-brainstorm` | Brainstorm and clarify before coding (SDTK-CODE entry for ambiguous slices) |
@@ -62,6 +62,38 @@ function Get-ClaudeManagedReferenceSources {
62
62
  'test-case-spec' { return @(
63
63
  'templates/docs/qa/TEST_CASE_CREATION_RULES.md'
64
64
  ) }
65
+ 'customer-qa-sheet' { return @(
66
+ 'skills/sdtk-customer-qa-sheet/references/PROFILE_TEMPLATE.md'
67
+ ) }
68
+ 'db-design' { return @(
69
+ 'skills/sdtk-db-design/references/REVIEW_PROCESS.md'
70
+ ) }
71
+ 'session-handoff' { return @(
72
+ 'skills/sdtk-session-handoff/references/HANDOFF_TEMPLATE.md',
73
+ 'skills/sdtk-session-handoff/references/MOVING_A_PROJECT.md'
74
+ ) }
75
+ 'screen-design-xlsx' { return @(
76
+ 'skills/sdtk-screen-design-xlsx/references/SPEC_SCHEMA.md',
77
+ 'skills/sdtk-screen-design-xlsx/references/REVIEW_AND_MISTAKES.md',
78
+ 'skills/sdtk-screen-design-xlsx/references/example_spec.yaml',
79
+ 'skills/sdtk-screen-design-xlsx/references/SCR01.png',
80
+ 'skills/sdtk-screen-design-xlsx/references/SCR01.json'
81
+ ) }
82
+ default { return @() }
83
+ }
84
+ }
85
+
86
+ function Get-ClaudeTemplateSetTrees {
87
+ param(
88
+ [Parameter(Mandatory = $true)][string]$SkillName
89
+ )
90
+
91
+ # Template sets are folder trees (one folder per set, a profile template beside them). They are copied
92
+ # with their structure to <skill>/references/templates/<kind>/, unlike the flat managed references above.
93
+ switch ($SkillName) {
94
+ 'smoke-test-spec' { return @('templates/smoke-test') }
95
+ 'test-case-xlsx' { return @('templates/test-case-xlsx') }
96
+ 'screen-design-xlsx' { return @('templates/screen-design-xlsx') }
65
97
  default { return @() }
66
98
  }
67
99
  }
@@ -118,6 +150,20 @@ function Install-ClaudeSkillDirectory {
118
150
  }
119
151
  }
120
152
 
153
+ $templateTrees = @(Get-ClaudeTemplateSetTrees -SkillName $SkillDir.Name)
154
+ foreach ($relativeTree in $templateTrees) {
155
+ $srcTree = Join-Path $ToolkitRoot $relativeTree
156
+ if (-not (Test-Path -LiteralPath $srcTree)) {
157
+ throw "Claude install failed. Template set source not found: $relativeTree"
158
+ }
159
+ $destTree = Join-Path (Join-Path $destDir 'references') $relativeTree
160
+ if (Test-Path -LiteralPath $destTree) {
161
+ Remove-Item -LiteralPath $destTree -Recurse -Force
162
+ }
163
+ New-Item -ItemType Directory -Force -Path (Split-Path -Parent $destTree) | Out-Null
164
+ Copy-Item -LiteralPath $srcTree -Destination $destTree -Recurse -Force
165
+ }
166
+
121
167
  return $true
122
168
  }
123
169
 
@@ -126,6 +126,25 @@ Get-ChildItem -LiteralPath $skillsSrc -Directory | ForEach-Object {
126
126
  Copy-Item -LiteralPath $_.FullName -Destination $dest -Recurse -Force
127
127
  Write-Host "Installed: $($_.Name)"
128
128
 
129
+ # Template sets are folder trees; the skill's scripts find them at <skill>/references/templates/<kind>/
130
+ # (same layout as the Claude install).
131
+ $templateTree = switch ($_.Name) {
132
+ 'sdtk-smoke-test-spec' { 'templates/smoke-test' }
133
+ 'sdtk-test-case-xlsx' { 'templates/test-case-xlsx' }
134
+ 'sdtk-screen-design-xlsx' { 'templates/screen-design-xlsx' }
135
+ default { $null }
136
+ }
137
+ if ($templateTree) {
138
+ $srcTree = Join-Path $repoRoot $templateTree
139
+ if (-not (Test-Path -LiteralPath $srcTree)) {
140
+ throw "Codex install failed. Template set source not found: $templateTree"
141
+ }
142
+ $destTree = Join-Path (Join-Path $dest 'references') $templateTree
143
+ New-Item -ItemType Directory -Force -Path (Split-Path -Parent $destTree) | Out-Null
144
+ Copy-Item -LiteralPath $srcTree -Destination $destTree -Recurse -Force
145
+ Write-Host " - Template sets: references/$templateTree"
146
+ }
147
+
129
148
  $skillRulesPath = Join-Path $dest 'references/FLOWCHART_CREATION_RULES.md'
130
149
  $skillRulesHash = Get-FileSha256 -Path $skillRulesPath
131
150
  if ($skillRulesHash) {
@@ -57,7 +57,7 @@ digraph sdtk_arch_flow {
57
57
  - OpenAPI YAML + API endpoint markdown
58
58
  - API flow list
59
59
  - API design detail spec (when `orchestration.apiDesignDetailMode` is `auto/on`)
60
- - Database spec (if DB impact exists)
60
+ - Database spec (if DB impact exists; a new table, a legacy replacement or a migration that can meet real data -> run `sdtk-db-design` first)
61
61
  - Design layout (if UI impact exists) - must be created before flow-action spec
62
62
  - Flow-action spec (if UI impact exists) - must reference design layout as fallback source
63
63
  10. Ensure mapping UC/BR -> DB/API/screens and run output hygiene checks:
@@ -41,6 +41,6 @@ forward as explicit OQ-xx items in BA_SPEC rather than silently resolved.
41
41
  - Traceability summary table (REQ -> UC/BR/AC)
42
42
  3. If source requirements are VI/JP, preserve the original text and add a literal EN translation in appendices.
43
43
  4. For benchmark runs, apply `governance/ai/core/SDTK_BENCHMARK_OQ_POLICY.md`: keep benchmark-expected open questions explicitly OPEN and do not silently resolve them in BA output.
44
- 5. If anything is unclear, record OQ-xx in BA_SPEC "Open Questions" and escalate to `@pm` for a decision.
44
+ 5. If anything is unclear, record OQ-xx in BA_SPEC "Open Questions" and escalate to `@pm` for a decision. OQs the customer must answer through their Q&A Excel sheet go there with `sdtk-customer-qa-sheet` (answers come back keyed by OQ id).
45
45
  6. Update `SHARED_PLANNING.md` and `QUALITY_CHECKLIST.md` Phase 2.
46
46
  7. Handoff: `@pm specs ready for PRD`.
@@ -0,0 +1,117 @@
1
+ ---
2
+ name: sdtk-customer-qa-sheet
3
+ description: Use when open questions (OQ-xx, 確認事項, 仕様確認) must go to a customer through their hand-maintained Q&A or issue-tracking Excel sheet (one numbered question per row, an answer column), when reading the customer's answers back into the spec / decision log, or when writing replies to questions the customer asked in that sheet.
4
+ ---
5
+
6
+ # SDTK-SPEC Customer Q&A Sheet: questions, answers, replies
7
+
8
+ The sheet is a customer-facing record. Every row you add is read by the customer and answered in
9
+ writing, so a row must be correct, not a duplicate, in the sheet's own style, and approved by the
10
+ person before it lands. The workbook itself is hand-maintained.
11
+
12
+ **REQUIRED SUB-SKILL:** `sdtk-xlsx-safe-edit` — preflight, backup, XML route for every write. Never save
13
+ this workbook through Excel or openpyxl: that rewrites fonts and row heights on every other sheet.
14
+
15
+ <!-- neutral-only -->
16
+ > **Installed as a runtime skill** (for example under `.codex/skills/`): read `toolkit/skills/sdtk-<name>/` in the
17
+ > paths below as the installed skill folder of that name (this one or a sibling).
18
+ <!-- /neutral-only -->
19
+
20
+ ## Critical Constraints
21
+
22
+ 1. **Nothing is written before the person approves the exact row values** (or the exact reply text).
23
+ "The PM approved the wording" is not approval of row values, placement or numbering.
24
+ 2. **Never overwrite a cell that holds text.** New questions go into empty rows; replies are appended
25
+ after existing answer text. The customer's answer text is never edited.
26
+ 3. **Search before asking.** Every candidate is checked against the existing rows; overlap with an
27
+ unanswered row → reference it or drop the question; answered already → do not ask again.
28
+ 4. **Rows and OQs are matched by id** — the `OQ-xx` in an OQ column or in the question text, and the
29
+ sheet's No — never by row position.
30
+ 5. **Facts stated to the customer come from the code that runs, logs or a measurement**, not from
31
+ comments or design documents.
32
+
33
+ ## Project profile (read first)
34
+
35
+ Project facts live in the project repository, not here: find `qa_sheet_profile.md` by file search over the
36
+ working tree (it may be untracked; `git ls-files` misses it). It names the workbook, sheet, header row,
37
+ column map, our contact name, the customer's, category values, numbering format, answer-block format,
38
+ ordering rule, and a ```json block the script reads. No profile → build one from
39
+ `toolkit/skills/sdtk-customer-qa-sheet/references/PROFILE_TEMPLATE.md` by reading the sheet, and confirm it with
40
+ the person.
41
+
42
+ Script: `toolkit/skills/sdtk-customer-qa-sheet/scripts/oq_sync.py` (`oqs`, `sheet`, `export`, `answers`, `write`).
43
+ It reads the workbook from a copy with openpyxl and writes only through `sdtk-xlsx-safe-edit`'s `xlsx_xml_edit`
44
+ (the sheet part changes, every other part stays byte-identical, a `.bak` is kept).
45
+
46
+ ## Process
47
+
48
+ Read the profile, then follow the section that matches the request: A (adding questions), B (reading answers)
49
+ or C (replying to the customer). Each ends with a draft for the person before anything is written.
50
+
51
+ ### A. Adding questions
52
+
53
+ 1. **Read the sheet read-only** (`oq_sync.py sheet --profile …`): the last 5–10 filled rows for style, the
54
+ first empty number, pre-numbered empty rows, where data validation / conditional formatting end.
55
+ 2. **Collect the candidates.** From the spec: `oq_sync.py export --profile … --spec docs/specs/BA_SPEC_<KEY>.md
56
+ --out <draft>.md` lists every OPEN OQ not yet in the sheet with a proposed No and row, and the rows that share
57
+ words with it ("possibly related" — rows written before OQ ids were used carry no id); OQs already in the
58
+ sheet are shown with their No (answered or not). Other candidates come from the person or the work.
59
+ 3. **Check every candidate against existing rows.** Search the question, detail and function columns for
60
+ the same topic. Overlap with an unanswered row → reference it (e.g. "関連 No024") or drop the question.
61
+ 4. **Keep only questions that block work:** the spec leaves a user-visible or data-affecting behaviour
62
+ undefined, or the spec cannot be built as written and a deviation needs consent. Do not ask what the spec
63
+ states clearly. A mockup is an illustration, not a decision; when a cell and a mockup disagree, quote
64
+ both. Before asking about a limit or rule in your own system, read the code that enforces it and state
65
+ what it really counts.
66
+ 5. **Write each row's text in this shape** (the customer's language and the sheet's style):
67
+ 1. context, 1–2 sentences: the spec sheet / section it comes from, and the current behaviour stated plainly
68
+ ("not implemented yet", "limited to 20 in total");
69
+ 2. the question; several points → one numbered item each — (1), (2)… — each answerable alone;
70
+ 3. choices when they help: (A), (B)… with our proposal marked as the profile says (e.g. "… 弊社案");
71
+ 4. a closing ask (e.g. "どちらがよろしいでしょうか。").
72
+ Each row carries its `OQ-xx` (OQ column, or the profile's `oq_tag` at the start of the text). Customer text
73
+ carries no code paths, no internal ticket ids, and no apology or correction of an earlier document unless
74
+ the person asks for one.
75
+ 6. **Draft for review:** the export draft completed with, per row, every column value exactly as it will be
76
+ written, the existing rows on the same topic (or "none"), and a translation for the reviewer (not written to
77
+ Excel). End with the open choices and a default for each (start number, one row vs one row per point,
78
+ order, column values, date).
79
+ 7. **Write only after the person approves.** Save the approved rows as JSON (`[{"row", "oq", "values": {<profile
80
+ column key>: text}}]`), run `oq_sync.py write --profile … --rows <file>` (dry run), then with `--apply`.
81
+ The script refuses rows that already hold a question, OQs already in the sheet, unknown columns, and any
82
+ value in the answer column. Report: rows written, No, backup path.
83
+
84
+ ### B. Reading the customer's answers
85
+
86
+ 1. `oq_sync.py answers --profile … --snapshot <last>.json --save-snapshot <new>.json` — rows whose answer is
87
+ non-empty and changed since the last snapshot, each with its `OQ-xx` ids (`unmatched: true` when the row
88
+ names none). Keep the snapshot next to the profile.
89
+ 2. Per row: question, answer verbatim, the decision it implies, the specs or tasks it changes, and whether it
90
+ is ambiguous. Ambiguous → draft a follow-up row ("関連 No…") under section A. Any statement about how your
91
+ system works follows constraint 5.
92
+ 3. **Propose** the spec update, keyed by OQ id: in BA_SPEC §5.2 the row's Status → `RESOLVED`, Resolution →
93
+ the decision + `(<sheet> No<n>, <answer date>)`; a dated row in the decision log. Show the patch; apply it
94
+ after the person agrees. Unmatched rows are reported, never guessed onto an OQ.
95
+
96
+ ### C. Replying to a question the customer asked
97
+
98
+ 1. Establish every fact you will state from the code that executes, logs or a measurement; note which of
99
+ these each fact rests on. Behaviour you did not measure is stated as design, not as observed.
100
+ 2. When the person's statement contradicts the code (for example which version uses which path), write what
101
+ the code does and say so explicitly in the draft.
102
+ 3. Draft the reply in the answer-block format from the profile (e.g. `YYYY/MM/DD <our name>` + newline +
103
+ text), in the sheet's existing style: 1–2 lines per item; several product versions → "path 1 / path 2"
104
+ with one note on top; commands short, one per line. Show the draft unless the person approved this exact
105
+ text.
106
+ 4. Write it **after** any existing text in the answer cell (XML route of `sdtk-xlsx-safe-edit`), never over it.
107
+
108
+ ## Red flags — stop
109
+
110
+ | Thought | Reality |
111
+ |---|---|
112
+ | "The PM approved the wording, just write it" | Approved wording ≠ approved row values / placement / a reply you composed. Show what you will write unless it was approved verbatim. |
113
+ | "Save once through Excel, it's quicker" | Every other sheet's layout changes. XML route. |
114
+ | "This question is new" | You have not searched the existing rows yet. |
115
+ | "The answers are in the same order as our OQs" | Match by OQ id; report rows without one. |
116
+ | "The mockup shows it, so it's required" | Ask only if the spec text is silent or contradicts it. |
117
+ | "I know how the app behaves" / "the design doc says so" | Read the code path that runs; quote what it counts or returns. |
@@ -0,0 +1,60 @@
1
+ # Q&A sheet profile: <project>
2
+
3
+ Profile for the `sdtk-customer-qa-sheet` skill. Keep it in the project repo as `qa_sheet_profile.md` (it may stay
4
+ untracked). Sections 1–5 are for people and agents; the json block at the end is what `oq_sync.py` reads.
5
+
6
+ ## 1. Workbook
7
+ | | |
8
+ |---|---|
9
+ | Workbook | `<repo-relative path>.xlsx` |
10
+ | Sheet | `<sheet name>` (other sheets in the workbook belong to <who> — never touched) |
11
+ | Header row | `<n>`; first data row `<n>` |
12
+ | Spec sheets the questions cite | `<sheet / document names>` |
13
+
14
+ ## 2. Columns
15
+ | Column | Header | Our value when we ask | Value when the customer asks |
16
+ |---|---|---|---|
17
+ | D | No | number, format `00000` | — |
18
+ | … | 区分 / category | … | … |
19
+ | … | 機能 / function | … | … |
20
+ | … | 内容 / question | question text | question text |
21
+ | … | 回答 / answer | (empty — customer writes) | our answer block |
22
+ | … | 連絡者 / asked by | `<our contact name>` | `<customer contact name>` |
23
+ | … | 対応 / must answer | `<customer party>` | `<our party>` |
24
+ | … | OQ id (optional) | `OQ-xx` | — |
25
+ | (others) | | empty | empty |
26
+
27
+ ## 3. Conventions
28
+ - Numbering: next number after the last filled row; pre-numbered empty rows are filled first.
29
+ - One question topic per row; points inside a row numbered (1), (2)…
30
+ - Proposal marker: `… 弊社案` after a choice, or `(弊社案:…)` after a numbered point.
31
+ - Related row reference at the start of the text: `関連 No0xx`.
32
+ - Answer block: `YYYY/MM/DD <name>` on the first line, then the text; later blocks are appended below.
33
+ - Row order for a batch: <e.g. order of the sections in the spec sheet>.
34
+ - Function column naming: <e.g. "<spec sheet> <section number>. <section title>">.
35
+
36
+ ## 4. Layout facts
37
+ - Data validation / conditional formatting end at row `<n>` — extend when adding rows past it.
38
+ - Template row for new rows: `<n>` (same styles as the last filled rows).
39
+ - Row height: <how existing rows are sized>.
40
+
41
+ ## 5. Review draft
42
+ - Location: `<path>`; translation language for the reviewer: `<lang>`.
43
+
44
+ ## 6. Script block (`oq_sync.py`)
45
+ Column keys are yours; `no`, `question` and `answer` are required, `oq` is optional (without it the id goes into
46
+ the question text as `oq_tag`). `workbook` is relative to this file.
47
+
48
+ ```json
49
+ {
50
+ "workbook": "<relative path>.xlsx",
51
+ "sheet": "<sheet name>",
52
+ "header_row": 5,
53
+ "first_data_row": 6,
54
+ "template_row": null,
55
+ "no_format": "00000",
56
+ "oq_tag": "[{id}]",
57
+ "columns": {"no": "D", "category": "E", "function": "F", "question": "G", "answer": "H",
58
+ "asked_by": "I", "must_answer": "J"}
59
+ }
60
+ ```