intent-format 0.0.0-stage → 1.2.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 (175) hide show
  1. package/.github/ISSUE_TEMPLATE/1-something-wrong.yml +18 -0
  2. package/.github/ISSUE_TEMPLATE/2-idea.yml +11 -0
  3. package/.github/ISSUE_TEMPLATE/config.yml +5 -0
  4. package/AGENTS.md +11 -0
  5. package/CHANGELOG.md +287 -0
  6. package/CLAUDE.md +1 -0
  7. package/CODE_OF_CONDUCT.md +128 -0
  8. package/CONTRIBUTING.md +19 -0
  9. package/LICENSE +21 -0
  10. package/README.md +71 -2
  11. package/SECURITY.md +10 -0
  12. package/VERSION +1 -0
  13. package/examples/example-app/AGENTS.md +19 -0
  14. package/examples/example-app/CLAUDE.md +1 -0
  15. package/examples/example-app/V1.0/apis/_index.md +14 -0
  16. package/examples/example-app/V1.0/apis/ap000001-list-items.md +20 -0
  17. package/examples/example-app/V1.0/apis/ap000002-save-item.md +28 -0
  18. package/examples/example-app/V1.0/backend/_index.md +15 -0
  19. package/examples/example-app/V1.0/backend/bn000001-app-server.md +24 -0
  20. package/examples/example-app/V1.0/backend/bn000002-main-database.md +22 -0
  21. package/examples/example-app/V1.0/backend/bn000003-file-storage.md +22 -0
  22. package/examples/example-app/V1.0/comments/_index.md +13 -0
  23. package/examples/example-app/V1.0/comments/cm000001-empty-list-message.md +15 -0
  24. package/examples/example-app/V1.0/components/_index.md +16 -0
  25. package/examples/example-app/V1.0/components/cp000001-button.md +32 -0
  26. package/examples/example-app/V1.0/components/cp000002-text-field.md +31 -0
  27. package/examples/example-app/V1.0/components/cp000003-item-row.md +34 -0
  28. package/examples/example-app/V1.0/components/cp000004-top-bar.md +26 -0
  29. package/examples/example-app/V1.0/decisions/_index.md +13 -0
  30. package/examples/example-app/V1.0/decisions/dc000001-where-do-item-images-live.md +26 -0
  31. package/examples/example-app/V1.0/edge-cases/_index.md +13 -0
  32. package/examples/example-app/V1.0/edge-cases/ec000001-save-fails.md +24 -0
  33. package/examples/example-app/V1.0/features/_index.md +17 -0
  34. package/examples/example-app/V1.0/features/ft000001-items.md +22 -0
  35. package/examples/example-app/V1.0/features/ft000002-account.md +21 -0
  36. package/examples/example-app/V1.0/features/ft000003-browse-items.md +26 -0
  37. package/examples/example-app/V1.0/features/ft000004-edit-an-item.md +33 -0
  38. package/examples/example-app/V1.0/features/ft000005-change-settings.md +21 -0
  39. package/examples/example-app/V1.0/ia/_index.md +13 -0
  40. package/examples/example-app/V1.0/ia/ia000001-main-map.md +23 -0
  41. package/examples/example-app/V1.0/intent-format.md +12 -0
  42. package/examples/example-app/V1.0/project.md +51 -0
  43. package/examples/example-app/V1.0/roles/_index.md +14 -0
  44. package/examples/example-app/V1.0/roles/ro000001-member.md +22 -0
  45. package/examples/example-app/V1.0/roles/ro000002-admin.md +19 -0
  46. package/examples/example-app/V1.0/rules/_index.md +13 -0
  47. package/examples/example-app/V1.0/rules/rl000001-item-name-is-required.md +20 -0
  48. package/examples/example-app/V1.0/screens/_index.md +17 -0
  49. package/examples/example-app/V1.0/screens/sc000001-home.md +18 -0
  50. package/examples/example-app/V1.0/screens/sc000002-item-list.md +43 -0
  51. package/examples/example-app/V1.0/screens/sc000003-item-detail.md +24 -0
  52. package/examples/example-app/V1.0/screens/sc000004-edit-item.md +35 -0
  53. package/examples/example-app/V1.0/screens/sc000005-settings.md +19 -0
  54. package/examples/example-app/V1.0/shells/_index.md +8 -0
  55. package/examples/example-app/V1.0/tech/_index.md +14 -0
  56. package/examples/example-app/V1.0/tech/tc000001-ui-framework.md +23 -0
  57. package/examples/example-app/V1.0/tech/tc000002-relational-database.md +25 -0
  58. package/examples/example-app/V1.0/userflows/_index.md +14 -0
  59. package/examples/example-app/V1.0/userflows/uf000001-create-an-item.md +66 -0
  60. package/examples/example-app/V1.0/userflows/uf000002-edit-an-item.md +47 -0
  61. package/examples/example-app/V1.1/CHANGES.md +12 -0
  62. package/examples/example-app/V1.1/apis/_index.md +14 -0
  63. package/examples/example-app/V1.1/apis/ap000001-list-items.md +20 -0
  64. package/examples/example-app/V1.1/apis/ap000002-save-item.md +28 -0
  65. package/examples/example-app/V1.1/backend/_index.md +15 -0
  66. package/examples/example-app/V1.1/backend/bn000001-app-server.md +24 -0
  67. package/examples/example-app/V1.1/backend/bn000002-main-database.md +22 -0
  68. package/examples/example-app/V1.1/backend/bn000003-file-storage.md +22 -0
  69. package/examples/example-app/V1.1/comments/_index.md +14 -0
  70. package/examples/example-app/V1.1/comments/cm000001-empty-list-message.md +15 -0
  71. package/examples/example-app/V1.1/comments/cm000002-filter-placement.md +12 -0
  72. package/examples/example-app/V1.1/components/_index.md +16 -0
  73. package/examples/example-app/V1.1/components/cp000001-button.md +32 -0
  74. package/examples/example-app/V1.1/components/cp000002-text-field.md +32 -0
  75. package/examples/example-app/V1.1/components/cp000003-item-row.md +34 -0
  76. package/examples/example-app/V1.1/components/cp000004-top-bar.md +26 -0
  77. package/examples/example-app/V1.1/decisions/_index.md +13 -0
  78. package/examples/example-app/V1.1/decisions/dc000001-where-do-item-images-live.md +26 -0
  79. package/examples/example-app/V1.1/edge-cases/_index.md +13 -0
  80. package/examples/example-app/V1.1/edge-cases/ec000001-save-fails.md +24 -0
  81. package/examples/example-app/V1.1/features/_index.md +17 -0
  82. package/examples/example-app/V1.1/features/ft000001-items.md +22 -0
  83. package/examples/example-app/V1.1/features/ft000002-account.md +21 -0
  84. package/examples/example-app/V1.1/features/ft000003-browse-items.md +26 -0
  85. package/examples/example-app/V1.1/features/ft000004-edit-an-item.md +33 -0
  86. package/examples/example-app/V1.1/features/ft000005-change-settings.md +21 -0
  87. package/examples/example-app/V1.1/ia/_index.md +13 -0
  88. package/examples/example-app/V1.1/ia/ia000001-main-map.md +23 -0
  89. package/examples/example-app/V1.1/intent-format.md +13 -0
  90. package/examples/example-app/V1.1/project.md +51 -0
  91. package/examples/example-app/V1.1/roles/_index.md +14 -0
  92. package/examples/example-app/V1.1/roles/ro000001-member.md +22 -0
  93. package/examples/example-app/V1.1/roles/ro000002-admin.md +19 -0
  94. package/examples/example-app/V1.1/rules/_index.md +13 -0
  95. package/examples/example-app/V1.1/rules/rl000001-item-name-is-required.md +20 -0
  96. package/examples/example-app/V1.1/screens/_index.md +17 -0
  97. package/examples/example-app/V1.1/screens/sc000001-home.md +18 -0
  98. package/examples/example-app/V1.1/screens/sc000002-item-list.md +44 -0
  99. package/examples/example-app/V1.1/screens/sc000003-item-detail.md +24 -0
  100. package/examples/example-app/V1.1/screens/sc000004-edit-item.md +35 -0
  101. package/examples/example-app/V1.1/screens/sc000005-settings.md +19 -0
  102. package/examples/example-app/V1.1/shells/_index.md +8 -0
  103. package/examples/example-app/V1.1/tech/_index.md +14 -0
  104. package/examples/example-app/V1.1/tech/tc000001-ui-framework.md +23 -0
  105. package/examples/example-app/V1.1/tech/tc000002-relational-database.md +25 -0
  106. package/examples/example-app/V1.1/userflows/_index.md +14 -0
  107. package/examples/example-app/V1.1/userflows/uf000001-create-an-item.md +66 -0
  108. package/examples/example-app/V1.1/userflows/uf000002-edit-an-item.md +47 -0
  109. package/examples/example-app/_ids.md +78 -0
  110. package/examples/example-app/_index.md +14 -0
  111. package/examples/example-app/inputs/brief.md +3 -0
  112. package/examples/example-app/inputs/links.md +3 -0
  113. package/kit/cli/README.md +128 -0
  114. package/kit/cli/intent-format.mjs +342 -0
  115. package/kit/cli/lib/agents.mjs +39 -0
  116. package/kit/cli/lib/check.mjs +412 -0
  117. package/kit/cli/lib/create.mjs +190 -0
  118. package/kit/cli/lib/frame.mjs +182 -0
  119. package/kit/cli/lib/generate.mjs +418 -0
  120. package/kit/cli/lib/kit.mjs +203 -0
  121. package/kit/cli/lib/migrate.mjs +97 -0
  122. package/kit/cli/lib/model.mjs +409 -0
  123. package/kit/cli/lib/next.mjs +134 -0
  124. package/kit/cli/lib/open.mjs +34 -0
  125. package/kit/cli/lib/parse.mjs +260 -0
  126. package/kit/cli/lib/project.mjs +120 -0
  127. package/kit/cli/lib/regen.mjs +112 -0
  128. package/kit/cli/lib/relations.mjs +380 -0
  129. package/kit/cli/lib/rename.mjs +23 -0
  130. package/kit/cli/lib/schema.mjs +185 -0
  131. package/kit/cli/lib/templates.mjs +41 -0
  132. package/kit/cli/lib/util.mjs +165 -0
  133. package/kit/cli/test/nav.mjs +145 -0
  134. package/kit/cli/test/roles.mjs +85 -0
  135. package/kit/cli/test/smoke.mjs +716 -0
  136. package/kit/skills/intent-format/SKILL.md +91 -0
  137. package/kit/skills/intent-format/links.md +142 -0
  138. package/kit/skills/intent-format/types/_overview.md +73 -0
  139. package/kit/skills/intent-format/types/api.md +111 -0
  140. package/kit/skills/intent-format/types/backend.md +110 -0
  141. package/kit/skills/intent-format/types/comment.md +66 -0
  142. package/kit/skills/intent-format/types/component.md +139 -0
  143. package/kit/skills/intent-format/types/decision.md +91 -0
  144. package/kit/skills/intent-format/types/edge-case.md +107 -0
  145. package/kit/skills/intent-format/types/feature.md +154 -0
  146. package/kit/skills/intent-format/types/ia.md +106 -0
  147. package/kit/skills/intent-format/types/project.md +131 -0
  148. package/kit/skills/intent-format/types/role.md +98 -0
  149. package/kit/skills/intent-format/types/rule.md +100 -0
  150. package/kit/skills/intent-format/types/screen.md +153 -0
  151. package/kit/skills/intent-format/types/shell.md +156 -0
  152. package/kit/skills/intent-format/types/tech.md +109 -0
  153. package/kit/skills/intent-format/types/userflow.md +197 -0
  154. package/kit/skills/kb-cold-start/SKILL.md +124 -0
  155. package/kit/skills/kb-cold-start/kickoff-questionnaire.md +42 -0
  156. package/kit/skills/kb-cold-start/templates.md +108 -0
  157. package/package.json +30 -4
  158. package/rationale.md +180 -0
  159. package/schema.json +5895 -0
  160. package/spec.md +1173 -0
  161. package/templates/api.md +16 -0
  162. package/templates/backend.md +15 -0
  163. package/templates/comment.md +11 -0
  164. package/templates/component.md +15 -0
  165. package/templates/decision.md +23 -0
  166. package/templates/edge-case.md +14 -0
  167. package/templates/feature.md +14 -0
  168. package/templates/ia.md +14 -0
  169. package/templates/project.md +34 -0
  170. package/templates/role.md +14 -0
  171. package/templates/rule.md +14 -0
  172. package/templates/screen.md +14 -0
  173. package/templates/shell.md +24 -0
  174. package/templates/tech.md +18 -0
  175. package/templates/userflow.md +20 -0
@@ -0,0 +1,16 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: api
4
+ id: AP000000
5
+ name: New api
6
+ status: —
7
+ method: —
8
+ endpoint: —
9
+ ---
10
+ # New api · #AP000000
11
+
12
+ ## Description
13
+ —
14
+
15
+ ## Served by
16
+ —
@@ -0,0 +1,15 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: backend
4
+ id: BN000000
5
+ name: New backend
6
+ status: —
7
+ backend-type: —
8
+ ---
9
+ # New backend · #BN000000
10
+
11
+ ## Description
12
+ —
13
+
14
+ ## Connections
15
+ —
@@ -0,0 +1,11 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: comment
4
+ id: CM000000
5
+ name: New comment
6
+ status: Open
7
+ author: —
8
+ ---
9
+ # New comment · #CM000000
10
+
11
+ —
@@ -0,0 +1,15 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: component
4
+ id: CP000000
5
+ name: New component
6
+ status: —
7
+ component-type: —
8
+ ---
9
+ # New component · #CP000000
10
+
11
+ ## Description
12
+ —
13
+
14
+ ## Components
15
+ —
@@ -0,0 +1,23 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: decision
4
+ id: DC000000
5
+ name: New decision
6
+ status: Open
7
+ ---
8
+ # New decision · #DC000000
9
+
10
+ ## Question
11
+ —
12
+
13
+ ## Why
14
+ —
15
+
16
+ ## Options
17
+ —
18
+
19
+ ## Outcome
20
+ —
21
+
22
+ ## Affects
23
+ —
@@ -0,0 +1,14 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: edge-case
4
+ id: EC000000
5
+ name: New edge case
6
+ status: —
7
+ ---
8
+ # New edge case · #EC000000
9
+
10
+ ## Description
11
+ —
12
+
13
+ ## Where
14
+ —
@@ -0,0 +1,14 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: feature
4
+ id: FT000000
5
+ name: New feature
6
+ status: —
7
+ ---
8
+ # New feature · #FT000000
9
+
10
+ ## Description
11
+ —
12
+
13
+ ## Why
14
+ —
@@ -0,0 +1,14 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: ia
4
+ id: IA000000
5
+ name: New ia
6
+ status: —
7
+ ---
8
+ # New ia · #IA000000
9
+
10
+ ## Description
11
+ —
12
+
13
+ ## Parts
14
+ —
@@ -0,0 +1,34 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: project
4
+ id: PR000000
5
+ name: New project
6
+ status: —
7
+ ---
8
+ # New project · #PR000000
9
+
10
+ ## Description
11
+ —
12
+
13
+ ## Why
14
+ —
15
+
16
+ ## User stories
17
+ —
18
+
19
+ ## Keep in mind
20
+ —
21
+
22
+ ## Vocabularies
23
+ ### States
24
+ | State | Code | Note |
25
+ |---|---|---|
26
+
27
+ ### Platforms
28
+
29
+ ### Opens-as
30
+
31
+ ### Tech categories
32
+
33
+ ## Built with
34
+ —
@@ -0,0 +1,14 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: role
4
+ id: RO000000
5
+ name: New role
6
+ status: —
7
+ ---
8
+ # New role · #RO000000
9
+
10
+ ## Description
11
+ —
12
+
13
+ ## Why
14
+ —
@@ -0,0 +1,14 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: rule
4
+ id: RL000000
5
+ name: New rule
6
+ status: —
7
+ ---
8
+ # New rule · #RL000000
9
+
10
+ ## Description
11
+ —
12
+
13
+ ## Why
14
+ —
@@ -0,0 +1,14 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: screen
4
+ id: SC000000
5
+ name: New screen
6
+ status: —
7
+ ---
8
+ # New screen · #SC000000
9
+
10
+ ## Description
11
+ —
12
+
13
+ ## Components
14
+ —
@@ -0,0 +1,24 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: shell
4
+ id: SH000000
5
+ name: New shell
6
+ status: —
7
+ shell-type: —
8
+ ---
9
+ # New shell · #SH000000
10
+
11
+ ## Description
12
+ —
13
+
14
+ ## Why
15
+ —
16
+
17
+ ## Components
18
+ —
19
+
20
+ ## Navigation
21
+ —
22
+
23
+ ## Places inside
24
+ —
@@ -0,0 +1,18 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: tech
4
+ id: TC000000
5
+ name: New tech
6
+ status: —
7
+ category: —
8
+ ---
9
+ # New tech · #TC000000
10
+
11
+ ## Description
12
+ —
13
+
14
+ ## Why
15
+ —
16
+
17
+ ## Alternatives
18
+ —
@@ -0,0 +1,20 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: userflow
4
+ id: UF000000
5
+ name: New userflow
6
+ status: —
7
+ ---
8
+ # New userflow · #UF000000
9
+
10
+ ## Description
11
+ —
12
+
13
+ ## Why
14
+ —
15
+
16
+ ## Step list
17
+ —
18
+
19
+ ## Steps
20
+ —