@mindfoldhq/trellis 0.3.9 → 0.4.0-beta.1

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 (172) hide show
  1. package/dist/cli/index.js +2 -0
  2. package/dist/cli/index.js.map +1 -1
  3. package/dist/commands/init.d.ts +1 -0
  4. package/dist/commands/init.d.ts.map +1 -1
  5. package/dist/commands/init.js +203 -31
  6. package/dist/commands/init.js.map +1 -1
  7. package/dist/commands/update.d.ts.map +1 -1
  8. package/dist/commands/update.js +154 -6
  9. package/dist/commands/update.js.map +1 -1
  10. package/dist/configurators/workflow.d.ts +6 -2
  11. package/dist/configurators/workflow.d.ts.map +1 -1
  12. package/dist/configurators/workflow.js +88 -58
  13. package/dist/configurators/workflow.js.map +1 -1
  14. package/dist/migrations/index.d.ts +1 -0
  15. package/dist/migrations/index.d.ts.map +1 -1
  16. package/dist/migrations/index.js +2 -0
  17. package/dist/migrations/index.js.map +1 -1
  18. package/dist/migrations/manifests/0.4.0-beta.1.json +228 -0
  19. package/dist/templates/claude/agents/dispatch.md +1 -2
  20. package/dist/templates/claude/agents/implement.md +2 -3
  21. package/dist/templates/claude/commands/trellis/before-dev.md +29 -0
  22. package/dist/templates/claude/commands/trellis/check.md +25 -0
  23. package/dist/templates/claude/commands/trellis/create-command.md +2 -2
  24. package/dist/templates/claude/commands/trellis/onboard.md +13 -13
  25. package/dist/templates/claude/commands/trellis/parallel.md +1 -2
  26. package/dist/templates/claude/commands/trellis/record-session.md +1 -1
  27. package/dist/templates/claude/commands/trellis/start.md +8 -4
  28. package/dist/templates/claude/hooks/inject-subagent-context.py +21 -13
  29. package/dist/templates/claude/hooks/session-start.py +170 -2
  30. package/dist/templates/codex/skills/before-dev/SKILL.md +34 -0
  31. package/dist/templates/codex/skills/check/SKILL.md +30 -0
  32. package/dist/templates/codex/skills/create-command/SKILL.md +2 -2
  33. package/dist/templates/codex/skills/onboard/SKILL.md +11 -11
  34. package/dist/templates/codex/skills/record-session/SKILL.md +1 -1
  35. package/dist/templates/codex/skills/start/SKILL.md +8 -3
  36. package/dist/templates/cursor/commands/trellis-before-dev.md +29 -0
  37. package/dist/templates/cursor/commands/trellis-check.md +25 -0
  38. package/dist/templates/cursor/commands/trellis-create-command.md +2 -2
  39. package/dist/templates/cursor/commands/trellis-onboard.md +13 -13
  40. package/dist/templates/cursor/commands/trellis-record-session.md +1 -1
  41. package/dist/templates/cursor/commands/trellis-start.md +7 -16
  42. package/dist/templates/gemini/commands/trellis/before-dev.toml +33 -0
  43. package/dist/templates/gemini/commands/trellis/check.toml +29 -0
  44. package/dist/templates/gemini/commands/trellis/create-command.toml +2 -2
  45. package/dist/templates/gemini/commands/trellis/onboard.toml +2 -2
  46. package/dist/templates/gemini/commands/trellis/record-session.toml +1 -1
  47. package/dist/templates/gemini/commands/trellis/start.toml +9 -4
  48. package/dist/templates/iflow/agents/dispatch.md +1 -2
  49. package/dist/templates/iflow/agents/implement.md +2 -3
  50. package/dist/templates/iflow/commands/trellis/before-dev.md +29 -0
  51. package/dist/templates/iflow/commands/trellis/check.md +25 -0
  52. package/dist/templates/iflow/commands/trellis/create-command.md +2 -2
  53. package/dist/templates/iflow/commands/trellis/onboard.md +13 -13
  54. package/dist/templates/iflow/commands/trellis/parallel.md +1 -2
  55. package/dist/templates/iflow/commands/trellis/record-session.md +1 -1
  56. package/dist/templates/iflow/commands/trellis/start.md +8 -4
  57. package/dist/templates/iflow/hooks/inject-subagent-context.py +21 -13
  58. package/dist/templates/iflow/hooks/session-start.py +156 -1
  59. package/dist/templates/kilo/workflows/before-dev.md +29 -0
  60. package/dist/templates/kilo/workflows/check.md +25 -0
  61. package/dist/templates/kilo/workflows/create-command.md +2 -2
  62. package/dist/templates/kilo/workflows/onboard.md +13 -13
  63. package/dist/templates/kilo/workflows/parallel.md +1 -2
  64. package/dist/templates/kilo/workflows/record-session.md +1 -1
  65. package/dist/templates/kilo/workflows/start.md +8 -3
  66. package/dist/templates/kiro/skills/before-dev/SKILL.md +34 -0
  67. package/dist/templates/kiro/skills/check/SKILL.md +30 -0
  68. package/dist/templates/kiro/skills/create-command/SKILL.md +2 -2
  69. package/dist/templates/kiro/skills/onboard/SKILL.md +11 -11
  70. package/dist/templates/kiro/skills/record-session/SKILL.md +1 -1
  71. package/dist/templates/kiro/skills/start/SKILL.md +8 -3
  72. package/dist/templates/markdown/spec/backend/script-conventions.md +93 -0
  73. package/dist/templates/opencode/agents/dispatch.md +1 -2
  74. package/dist/templates/opencode/agents/implement.md +2 -2
  75. package/dist/templates/opencode/agents/research.md +1 -2
  76. package/dist/templates/opencode/commands/trellis/before-dev.md +29 -0
  77. package/dist/templates/opencode/commands/trellis/check.md +25 -0
  78. package/dist/templates/opencode/commands/trellis/create-command.md +2 -2
  79. package/dist/templates/opencode/commands/trellis/onboard.md +13 -13
  80. package/dist/templates/opencode/commands/trellis/parallel.md +1 -2
  81. package/dist/templates/opencode/commands/trellis/record-session.md +1 -1
  82. package/dist/templates/opencode/commands/trellis/start.md +8 -3
  83. package/dist/templates/opencode/plugin/inject-subagent-context.js +45 -18
  84. package/dist/templates/opencode/plugin/session-start.js +149 -1
  85. package/dist/templates/qoder/skills/before-dev/SKILL.md +34 -0
  86. package/dist/templates/qoder/skills/check/SKILL.md +30 -0
  87. package/dist/templates/qoder/skills/create-command/SKILL.md +2 -2
  88. package/dist/templates/qoder/skills/onboard/SKILL.md +13 -13
  89. package/dist/templates/qoder/skills/record-session/SKILL.md +1 -1
  90. package/dist/templates/qoder/skills/start/SKILL.md +8 -3
  91. package/dist/templates/trellis/config.yaml +20 -0
  92. package/dist/templates/trellis/index.d.ts +11 -0
  93. package/dist/templates/trellis/index.d.ts.map +1 -1
  94. package/dist/templates/trellis/index.js +22 -0
  95. package/dist/templates/trellis/index.js.map +1 -1
  96. package/dist/templates/trellis/scripts/add_session.py +52 -7
  97. package/dist/templates/trellis/scripts/common/cli_adapter.py +33 -45
  98. package/dist/templates/trellis/scripts/common/config.py +152 -0
  99. package/dist/templates/trellis/scripts/common/git.py +31 -0
  100. package/dist/templates/trellis/scripts/common/git_context.py +23 -586
  101. package/dist/templates/trellis/scripts/common/io.py +37 -0
  102. package/dist/templates/trellis/scripts/common/log.py +45 -0
  103. package/dist/templates/trellis/scripts/common/packages_context.py +233 -0
  104. package/dist/templates/trellis/scripts/common/paths.py +46 -0
  105. package/dist/templates/trellis/scripts/common/phase.py +50 -49
  106. package/dist/templates/trellis/scripts/common/registry.py +41 -72
  107. package/dist/templates/trellis/scripts/common/session_context.py +466 -0
  108. package/dist/templates/trellis/scripts/common/task_context.py +384 -0
  109. package/dist/templates/trellis/scripts/common/task_queue.py +27 -98
  110. package/dist/templates/trellis/scripts/common/task_store.py +534 -0
  111. package/dist/templates/trellis/scripts/common/task_utils.py +96 -6
  112. package/dist/templates/trellis/scripts/common/tasks.py +109 -0
  113. package/dist/templates/trellis/scripts/common/types.py +112 -0
  114. package/dist/templates/trellis/scripts/create_bootstrap.py +31 -26
  115. package/dist/templates/trellis/scripts/hooks/linear_sync.py +243 -0
  116. package/dist/templates/trellis/scripts/multi_agent/_bootstrap.py +17 -0
  117. package/dist/templates/trellis/scripts/multi_agent/cleanup.py +43 -48
  118. package/dist/templates/trellis/scripts/multi_agent/create_pr.py +336 -45
  119. package/dist/templates/trellis/scripts/multi_agent/plan.py +2 -26
  120. package/dist/templates/trellis/scripts/multi_agent/start.py +126 -57
  121. package/dist/templates/trellis/scripts/multi_agent/status.py +12 -753
  122. package/dist/templates/trellis/scripts/multi_agent/status_display.py +542 -0
  123. package/dist/templates/trellis/scripts/multi_agent/status_monitor.py +225 -0
  124. package/dist/templates/trellis/scripts/task.py +50 -975
  125. package/dist/templates/trellis/workflow.md +21 -34
  126. package/dist/types/migration.d.ts +3 -1
  127. package/dist/types/migration.d.ts.map +1 -1
  128. package/dist/utils/project-detector.d.ts +23 -0
  129. package/dist/utils/project-detector.d.ts.map +1 -1
  130. package/dist/utils/project-detector.js +364 -0
  131. package/dist/utils/project-detector.js.map +1 -1
  132. package/dist/utils/template-fetcher.d.ts +2 -2
  133. package/dist/utils/template-fetcher.d.ts.map +1 -1
  134. package/dist/utils/template-fetcher.js +5 -5
  135. package/dist/utils/template-fetcher.js.map +1 -1
  136. package/package.json +1 -1
  137. package/dist/templates/claude/commands/trellis/before-backend-dev.md +0 -13
  138. package/dist/templates/claude/commands/trellis/before-frontend-dev.md +0 -13
  139. package/dist/templates/claude/commands/trellis/check-backend.md +0 -13
  140. package/dist/templates/claude/commands/trellis/check-frontend.md +0 -13
  141. package/dist/templates/codex/skills/before-backend-dev/SKILL.md +0 -18
  142. package/dist/templates/codex/skills/before-frontend-dev/SKILL.md +0 -18
  143. package/dist/templates/codex/skills/check-backend/SKILL.md +0 -18
  144. package/dist/templates/codex/skills/check-frontend/SKILL.md +0 -18
  145. package/dist/templates/cursor/commands/trellis-before-backend-dev.md +0 -13
  146. package/dist/templates/cursor/commands/trellis-before-frontend-dev.md +0 -13
  147. package/dist/templates/cursor/commands/trellis-check-backend.md +0 -13
  148. package/dist/templates/cursor/commands/trellis-check-frontend.md +0 -13
  149. package/dist/templates/gemini/commands/trellis/before-backend-dev.toml +0 -17
  150. package/dist/templates/gemini/commands/trellis/before-frontend-dev.toml +0 -17
  151. package/dist/templates/gemini/commands/trellis/check-backend.toml +0 -17
  152. package/dist/templates/gemini/commands/trellis/check-frontend.toml +0 -17
  153. package/dist/templates/iflow/commands/trellis/before-backend-dev.md +0 -13
  154. package/dist/templates/iflow/commands/trellis/before-frontend-dev.md +0 -13
  155. package/dist/templates/iflow/commands/trellis/check-backend.md +0 -13
  156. package/dist/templates/iflow/commands/trellis/check-frontend.md +0 -13
  157. package/dist/templates/kilo/workflows/before-backend-dev.md +0 -13
  158. package/dist/templates/kilo/workflows/before-frontend-dev.md +0 -13
  159. package/dist/templates/kilo/workflows/check-backend.md +0 -13
  160. package/dist/templates/kilo/workflows/check-frontend.md +0 -13
  161. package/dist/templates/kiro/skills/before-backend-dev/SKILL.md +0 -18
  162. package/dist/templates/kiro/skills/before-frontend-dev/SKILL.md +0 -18
  163. package/dist/templates/kiro/skills/check-backend/SKILL.md +0 -18
  164. package/dist/templates/kiro/skills/check-frontend/SKILL.md +0 -18
  165. package/dist/templates/opencode/commands/trellis/before-backend-dev.md +0 -13
  166. package/dist/templates/opencode/commands/trellis/before-frontend-dev.md +0 -13
  167. package/dist/templates/opencode/commands/trellis/check-backend.md +0 -13
  168. package/dist/templates/opencode/commands/trellis/check-frontend.md +0 -13
  169. package/dist/templates/qoder/skills/before-backend-dev/SKILL.md +0 -18
  170. package/dist/templates/qoder/skills/before-frontend-dev/SKILL.md +0 -18
  171. package/dist/templates/qoder/skills/check-backend/SKILL.md +0 -18
  172. package/dist/templates/qoder/skills/check-frontend/SKILL.md +0 -18
@@ -1 +1 @@
1
- {"version":3,"file":"template-fetcher.js","sourceRoot":"","sources":["../../src/utils/template-fetcher.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzC,gFAAgF;AAChF,YAAY;AACZ,gFAAgF;AAEhF,MAAM,CAAC,MAAM,kBAAkB,GAC7B,mFAAmF,CAAC;AAEtF,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAE/C,6CAA6C;AAC7C,MAAM,aAAa,GAA2B;IAC5C,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,gBAAgB;IACvB,OAAO,EAAE,kBAAkB;IAC3B,IAAI,EAAE,GAAG,EAAE,sBAAsB;CAClC,CAAC;AAEF,+CAA+C;AAC/C,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,mDAAmD;IACnD,cAAc,EAAE,KAAK;IACrB,wDAAwD;IACxD,WAAW,EAAE,MAAM;CACX,CAAC;AAqCX,gFAAgF;AAChF,0BAA0B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C;QACD,OAAO;YACL,OAAO,EAAE,KAAK;YACd,OAAO,EAAE,oBAAoB,YAAY,EAAE;SAC5C,CAAC;IACJ,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindfoldhq/trellis",
3
- "version": "0.3.9",
3
+ "version": "0.4.0-beta.1",
4
4
  "description": "AI capabilities grow like ivy — Trellis provides the structure to guide them along a disciplined path",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,13 +0,0 @@
1
- Read the backend development guidelines before starting your development task.
2
-
3
- Execute these steps:
4
- 1. Read `.trellis/spec/backend/index.md` to understand available guidelines
5
- 2. Based on your task, read the relevant guideline files:
6
- - Database work → `.trellis/spec/backend/database-guidelines.md`
7
- - Error handling → `.trellis/spec/backend/error-handling.md`
8
- - Logging → `.trellis/spec/backend/logging-guidelines.md`
9
- - Type questions → `.trellis/spec/backend/type-safety.md`
10
- 3. Understand the coding standards and patterns you need to follow
11
- 4. Then proceed with your development plan
12
-
13
- This step is **mandatory** before writing any backend code.
@@ -1,13 +0,0 @@
1
- Read the frontend development guidelines before starting your development task.
2
-
3
- Execute these steps:
4
- 1. Read `.trellis/spec/frontend/index.md` to understand available guidelines
5
- 2. Based on your task, read the relevant guideline files:
6
- - Component work → `.trellis/spec/frontend/component-guidelines.md`
7
- - Hook work → `.trellis/spec/frontend/hook-guidelines.md`
8
- - State management → `.trellis/spec/frontend/state-management.md`
9
- - Type questions → `.trellis/spec/frontend/type-safety.md`
10
- 3. Understand the coding standards and patterns you need to follow
11
- 4. Then proceed with your development plan
12
-
13
- This step is **mandatory** before writing any frontend code.
@@ -1,13 +0,0 @@
1
- Check if the code you just wrote follows the backend development guidelines.
2
-
3
- Execute these steps:
4
- 1. Run `git status` to see modified files
5
- 2. Read `.trellis/spec/backend/index.md` to understand which guidelines apply
6
- 3. Based on what you changed, read the relevant guideline files:
7
- - Database changes → `.trellis/spec/backend/database-guidelines.md`
8
- - Error handling → `.trellis/spec/backend/error-handling.md`
9
- - Logging changes → `.trellis/spec/backend/logging-guidelines.md`
10
- - Type changes → `.trellis/spec/backend/type-safety.md`
11
- - Any changes → `.trellis/spec/backend/quality-guidelines.md`
12
- 4. Review your code against the guidelines
13
- 5. Report any violations and fix them if found
@@ -1,13 +0,0 @@
1
- Check if the code you just wrote follows the frontend development guidelines.
2
-
3
- Execute these steps:
4
- 1. Run `git status` to see modified files
5
- 2. Read `.trellis/spec/frontend/index.md` to understand which guidelines apply
6
- 3. Based on what you changed, read the relevant guideline files:
7
- - Component changes → `.trellis/spec/frontend/component-guidelines.md`
8
- - Hook changes → `.trellis/spec/frontend/hook-guidelines.md`
9
- - State changes → `.trellis/spec/frontend/state-management.md`
10
- - Type changes → `.trellis/spec/frontend/type-safety.md`
11
- - Any changes → `.trellis/spec/frontend/quality-guidelines.md`
12
- 4. Review your code against the guidelines
13
- 5. Report any violations and fix them if found
@@ -1,18 +0,0 @@
1
- ---
2
- name: before-backend-dev
3
- description: "Read the backend development guidelines before starting your development task."
4
- ---
5
-
6
- Read the backend development guidelines before starting your development task.
7
-
8
- Execute these steps:
9
- 1. Read `.trellis/spec/backend/index.md` to understand available guidelines
10
- 2. Based on your task, read the relevant guideline files:
11
- - Database work → `.trellis/spec/backend/database-guidelines.md`
12
- - Error handling → `.trellis/spec/backend/error-handling.md`
13
- - Logging → `.trellis/spec/backend/logging-guidelines.md`
14
- - Type questions → `.trellis/spec/backend/type-safety.md`
15
- 3. Understand the coding standards and patterns you need to follow
16
- 4. Then proceed with your development plan
17
-
18
- This step is **mandatory** before writing any backend code.
@@ -1,18 +0,0 @@
1
- ---
2
- name: before-frontend-dev
3
- description: "Read the frontend development guidelines before starting your development task."
4
- ---
5
-
6
- Read the frontend development guidelines before starting your development task.
7
-
8
- Execute these steps:
9
- 1. Read `.trellis/spec/frontend/index.md` to understand available guidelines
10
- 2. Based on your task, read the relevant guideline files:
11
- - Component work → `.trellis/spec/frontend/component-guidelines.md`
12
- - Hook work → `.trellis/spec/frontend/hook-guidelines.md`
13
- - State management → `.trellis/spec/frontend/state-management.md`
14
- - Type questions → `.trellis/spec/frontend/type-safety.md`
15
- 3. Understand the coding standards and patterns you need to follow
16
- 4. Then proceed with your development plan
17
-
18
- This step is **mandatory** before writing any frontend code.
@@ -1,18 +0,0 @@
1
- ---
2
- name: check-backend
3
- description: "Check if the code you just wrote follows the backend development guidelines."
4
- ---
5
-
6
- Check if the code you just wrote follows the backend development guidelines.
7
-
8
- Execute these steps:
9
- 1. Run `git status` to see modified files
10
- 2. Read `.trellis/spec/backend/index.md` to understand which guidelines apply
11
- 3. Based on what you changed, read the relevant guideline files:
12
- - Database changes → `.trellis/spec/backend/database-guidelines.md`
13
- - Error handling → `.trellis/spec/backend/error-handling.md`
14
- - Logging changes → `.trellis/spec/backend/logging-guidelines.md`
15
- - Type changes → `.trellis/spec/backend/type-safety.md`
16
- - Any changes → `.trellis/spec/backend/quality-guidelines.md`
17
- 4. Review your code against the guidelines
18
- 5. Report any violations and fix them if found
@@ -1,18 +0,0 @@
1
- ---
2
- name: check-frontend
3
- description: "Check if the code you just wrote follows the frontend development guidelines."
4
- ---
5
-
6
- Check if the code you just wrote follows the frontend development guidelines.
7
-
8
- Execute these steps:
9
- 1. Run `git status` to see modified files
10
- 2. Read `.trellis/spec/frontend/index.md` to understand which guidelines apply
11
- 3. Based on what you changed, read the relevant guideline files:
12
- - Component changes → `.trellis/spec/frontend/component-guidelines.md`
13
- - Hook changes → `.trellis/spec/frontend/hook-guidelines.md`
14
- - State changes → `.trellis/spec/frontend/state-management.md`
15
- - Type changes → `.trellis/spec/frontend/type-safety.md`
16
- - Any changes → `.trellis/spec/frontend/quality-guidelines.md`
17
- 4. Review your code against the guidelines
18
- 5. Report any violations and fix them if found
@@ -1,13 +0,0 @@
1
- Read the backend development guidelines before starting your development task.
2
-
3
- Execute these steps:
4
- 1. Read `.trellis/spec/backend/index.md` to understand available guidelines
5
- 2. Based on your task, read the relevant guideline files:
6
- - Database work → `.trellis/spec/backend/database-guidelines.md`
7
- - Error handling → `.trellis/spec/backend/error-handling.md`
8
- - Logging → `.trellis/spec/backend/logging-guidelines.md`
9
- - Type questions → `.trellis/spec/backend/type-safety.md`
10
- 3. Understand the coding standards and patterns you need to follow
11
- 4. Then proceed with your development plan
12
-
13
- This step is **mandatory** before writing any backend code.
@@ -1,13 +0,0 @@
1
- Read the frontend development guidelines before starting your development task.
2
-
3
- Execute these steps:
4
- 1. Read `.trellis/spec/frontend/index.md` to understand available guidelines
5
- 2. Based on your task, read the relevant guideline files:
6
- - Component work → `.trellis/spec/frontend/component-guidelines.md`
7
- - Hook work → `.trellis/spec/frontend/hook-guidelines.md`
8
- - State management → `.trellis/spec/frontend/state-management.md`
9
- - Type questions → `.trellis/spec/frontend/type-safety.md`
10
- 3. Understand the coding standards and patterns you need to follow
11
- 4. Then proceed with your development plan
12
-
13
- This step is **mandatory** before writing any frontend code.
@@ -1,13 +0,0 @@
1
- Check if the code you just wrote follows the backend development guidelines.
2
-
3
- Execute these steps:
4
- 1. Run `git status` to see modified files
5
- 2. Read `.trellis/spec/backend/index.md` to understand which guidelines apply
6
- 3. Based on what you changed, read the relevant guideline files:
7
- - Database changes → `.trellis/spec/backend/database-guidelines.md`
8
- - Error handling → `.trellis/spec/backend/error-handling.md`
9
- - Logging changes → `.trellis/spec/backend/logging-guidelines.md`
10
- - Type changes → `.trellis/spec/backend/type-safety.md`
11
- - Any changes → `.trellis/spec/backend/quality-guidelines.md`
12
- 4. Review your code against the guidelines
13
- 5. Report any violations and fix them if found
@@ -1,13 +0,0 @@
1
- Check if the code you just wrote follows the frontend development guidelines.
2
-
3
- Execute these steps:
4
- 1. Run `git status` to see modified files
5
- 2. Read `.trellis/spec/frontend/index.md` to understand which guidelines apply
6
- 3. Based on what you changed, read the relevant guideline files:
7
- - Component changes → `.trellis/spec/frontend/component-guidelines.md`
8
- - Hook changes → `.trellis/spec/frontend/hook-guidelines.md`
9
- - State changes → `.trellis/spec/frontend/state-management.md`
10
- - Type changes → `.trellis/spec/frontend/type-safety.md`
11
- - Any changes → `.trellis/spec/frontend/quality-guidelines.md`
12
- 4. Review your code against the guidelines
13
- 5. Report any violations and fix them if found
@@ -1,17 +0,0 @@
1
- description = "Read backend development guidelines before starting your task"
2
-
3
- prompt = """
4
- Read the backend development guidelines before starting your development task.
5
-
6
- Execute these steps:
7
- 1. Read `.trellis/spec/backend/index.md` to understand available guidelines
8
- 2. Based on your task, read the relevant guideline files:
9
- - Database work -> `.trellis/spec/backend/database-guidelines.md`
10
- - Error handling -> `.trellis/spec/backend/error-handling.md`
11
- - Logging -> `.trellis/spec/backend/logging-guidelines.md`
12
- - Type questions -> `.trellis/spec/backend/type-safety.md`
13
- 3. Understand the coding standards and patterns you need to follow
14
- 4. Then proceed with your development plan
15
-
16
- This step is **mandatory** before writing any backend code.
17
- """
@@ -1,17 +0,0 @@
1
- description = "Read frontend development guidelines before starting your task"
2
-
3
- prompt = """
4
- Read the frontend development guidelines before starting your development task.
5
-
6
- Execute these steps:
7
- 1. Read `.trellis/spec/frontend/index.md` to understand available guidelines
8
- 2. Based on your task, read the relevant guideline files:
9
- - Component work -> `.trellis/spec/frontend/component-guidelines.md`
10
- - Hook work -> `.trellis/spec/frontend/hook-guidelines.md`
11
- - State management -> `.trellis/spec/frontend/state-management.md`
12
- - Type questions -> `.trellis/spec/frontend/type-safety.md`
13
- 3. Understand the coding standards and patterns you need to follow
14
- 4. Then proceed with your development plan
15
-
16
- This step is **mandatory** before writing any frontend code.
17
- """
@@ -1,17 +0,0 @@
1
- description = "Check if your code follows the backend development guidelines"
2
-
3
- prompt = """
4
- Check if the code you just wrote follows the backend development guidelines.
5
-
6
- Execute these steps:
7
- 1. Run `git status` to see modified files
8
- 2. Read `.trellis/spec/backend/index.md` to understand which guidelines apply
9
- 3. Based on what you changed, read the relevant guideline files:
10
- - Database changes -> `.trellis/spec/backend/database-guidelines.md`
11
- - Error handling -> `.trellis/spec/backend/error-handling.md`
12
- - Logging changes -> `.trellis/spec/backend/logging-guidelines.md`
13
- - Type changes -> `.trellis/spec/backend/type-safety.md`
14
- - Any changes -> `.trellis/spec/backend/quality-guidelines.md`
15
- 4. Review your code against the guidelines
16
- 5. Report any violations and fix them if found
17
- """
@@ -1,17 +0,0 @@
1
- description = "Check if your code follows the frontend development guidelines"
2
-
3
- prompt = """
4
- Check if the code you just wrote follows the frontend development guidelines.
5
-
6
- Execute these steps:
7
- 1. Run `git status` to see modified files
8
- 2. Read `.trellis/spec/frontend/index.md` to understand which guidelines apply
9
- 3. Based on what you changed, read the relevant guideline files:
10
- - Component changes -> `.trellis/spec/frontend/component-guidelines.md`
11
- - Hook changes -> `.trellis/spec/frontend/hook-guidelines.md`
12
- - State changes -> `.trellis/spec/frontend/state-management.md`
13
- - Type changes -> `.trellis/spec/frontend/type-safety.md`
14
- - Any changes -> `.trellis/spec/frontend/quality-guidelines.md`
15
- 4. Review your code against the guidelines
16
- 5. Report any violations and fix them if found
17
- """
@@ -1,13 +0,0 @@
1
- Read the backend development guidelines before starting your development task.
2
-
3
- Execute these steps:
4
- 1. Read `.trellis/spec/backend/index.md` to understand available guidelines
5
- 2. Based on your task, read the relevant guideline files:
6
- - Database work → `.trellis/spec/backend/database-guidelines.md`
7
- - Error handling → `.trellis/spec/backend/error-handling.md`
8
- - Logging → `.trellis/spec/backend/logging-guidelines.md`
9
- - Type questions → `.trellis/spec/backend/type-safety.md`
10
- 3. Understand the coding standards and patterns you need to follow
11
- 4. Then proceed with your development plan
12
-
13
- This step is **mandatory** before writing any backend code.
@@ -1,13 +0,0 @@
1
- Read the frontend development guidelines before starting your development task.
2
-
3
- Execute these steps:
4
- 1. Read `.trellis/spec/frontend/index.md` to understand available guidelines
5
- 2. Based on your task, read the relevant guideline files:
6
- - Component work → `.trellis/spec/frontend/component-guidelines.md`
7
- - Hook work → `.trellis/spec/frontend/hook-guidelines.md`
8
- - State management → `.trellis/spec/frontend/state-management.md`
9
- - Type questions → `.trellis/spec/frontend/type-safety.md`
10
- 3. Understand the coding standards and patterns you need to follow
11
- 4. Then proceed with your development plan
12
-
13
- This step is **mandatory** before writing any frontend code.
@@ -1,13 +0,0 @@
1
- Check if the code you just wrote follows the backend development guidelines.
2
-
3
- Execute these steps:
4
- 1. Run `git status` to see modified files
5
- 2. Read `.trellis/spec/backend/index.md` to understand which guidelines apply
6
- 3. Based on what you changed, read the relevant guideline files:
7
- - Database changes → `.trellis/spec/backend/database-guidelines.md`
8
- - Error handling → `.trellis/spec/backend/error-handling.md`
9
- - Logging changes → `.trellis/spec/backend/logging-guidelines.md`
10
- - Type changes → `.trellis/spec/backend/type-safety.md`
11
- - Any changes → `.trellis/spec/backend/quality-guidelines.md`
12
- 4. Review your code against the guidelines
13
- 5. Report any violations and fix them if found
@@ -1,13 +0,0 @@
1
- Check if the code you just wrote follows the frontend development guidelines.
2
-
3
- Execute these steps:
4
- 1. Run `git status` to see modified files
5
- 2. Read `.trellis/spec/frontend/index.md` to understand which guidelines apply
6
- 3. Based on what you changed, read the relevant guideline files:
7
- - Component changes → `.trellis/spec/frontend/component-guidelines.md`
8
- - Hook changes → `.trellis/spec/frontend/hook-guidelines.md`
9
- - State changes → `.trellis/spec/frontend/state-management.md`
10
- - Type changes → `.trellis/spec/frontend/type-safety.md`
11
- - Any changes → `.trellis/spec/frontend/quality-guidelines.md`
12
- 4. Review your code against the guidelines
13
- 5. Report any violations and fix them if found
@@ -1,13 +0,0 @@
1
- Read the backend development guidelines before starting your development task.
2
-
3
- Execute these steps:
4
- 1. Read `.trellis/spec/backend/index.md` to understand available guidelines
5
- 2. Based on your task, read the relevant guideline files:
6
- - Database work → `.trellis/spec/backend/database-guidelines.md`
7
- - Error handling → `.trellis/spec/backend/error-handling.md`
8
- - Logging → `.trellis/spec/backend/logging-guidelines.md`
9
- - Type questions → `.trellis/spec/backend/type-safety.md`
10
- 3. Understand the coding standards and patterns you need to follow
11
- 4. Then proceed with your development plan
12
-
13
- This step is **mandatory** before writing any backend code.
@@ -1,13 +0,0 @@
1
- Read the frontend development guidelines before starting your development task.
2
-
3
- Execute these steps:
4
- 1. Read `.trellis/spec/frontend/index.md` to understand available guidelines
5
- 2. Based on your task, read the relevant guideline files:
6
- - Component work → `.trellis/spec/frontend/component-guidelines.md`
7
- - Hook work → `.trellis/spec/frontend/hook-guidelines.md`
8
- - State management → `.trellis/spec/frontend/state-management.md`
9
- - Type questions → `.trellis/spec/frontend/type-safety.md`
10
- 3. Understand the coding standards and patterns you need to follow
11
- 4. Then proceed with your development plan
12
-
13
- This step is **mandatory** before writing any frontend code.
@@ -1,13 +0,0 @@
1
- Check if the code you just wrote follows the backend development guidelines.
2
-
3
- Execute these steps:
4
- 1. Run `git status` to see modified files
5
- 2. Read `.trellis/spec/backend/index.md` to understand which guidelines apply
6
- 3. Based on what you changed, read the relevant guideline files:
7
- - Database changes → `.trellis/spec/backend/database-guidelines.md`
8
- - Error handling → `.trellis/spec/backend/error-handling.md`
9
- - Logging changes → `.trellis/spec/backend/logging-guidelines.md`
10
- - Type changes → `.trellis/spec/backend/type-safety.md`
11
- - Any changes → `.trellis/spec/backend/quality-guidelines.md`
12
- 4. Review your code against the guidelines
13
- 5. Report any violations and fix them if found
@@ -1,13 +0,0 @@
1
- Check if the code you just wrote follows the frontend development guidelines.
2
-
3
- Execute these steps:
4
- 1. Run `git status` to see modified files
5
- 2. Read `.trellis/spec/frontend/index.md` to understand which guidelines apply
6
- 3. Based on what you changed, read the relevant guideline files:
7
- - Component changes → `.trellis/spec/frontend/component-guidelines.md`
8
- - Hook changes → `.trellis/spec/frontend/hook-guidelines.md`
9
- - State changes → `.trellis/spec/frontend/state-management.md`
10
- - Type changes → `.trellis/spec/frontend/type-safety.md`
11
- - Any changes → `.trellis/spec/frontend/quality-guidelines.md`
12
- 4. Review your code against the guidelines
13
- 5. Report any violations and fix them if found
@@ -1,18 +0,0 @@
1
- ---
2
- name: before-backend-dev
3
- description: "Read the backend development guidelines before starting your development task."
4
- ---
5
-
6
- Read the backend development guidelines before starting your development task.
7
-
8
- Execute these steps:
9
- 1. Read `.trellis/spec/backend/index.md` to understand available guidelines
10
- 2. Based on your task, read the relevant guideline files:
11
- - Database work → `.trellis/spec/backend/database-guidelines.md`
12
- - Error handling → `.trellis/spec/backend/error-handling.md`
13
- - Logging → `.trellis/spec/backend/logging-guidelines.md`
14
- - Type questions → `.trellis/spec/backend/type-safety.md`
15
- 3. Understand the coding standards and patterns you need to follow
16
- 4. Then proceed with your development plan
17
-
18
- This step is **mandatory** before writing any backend code.
@@ -1,18 +0,0 @@
1
- ---
2
- name: before-frontend-dev
3
- description: "Read the frontend development guidelines before starting your development task."
4
- ---
5
-
6
- Read the frontend development guidelines before starting your development task.
7
-
8
- Execute these steps:
9
- 1. Read `.trellis/spec/frontend/index.md` to understand available guidelines
10
- 2. Based on your task, read the relevant guideline files:
11
- - Component work → `.trellis/spec/frontend/component-guidelines.md`
12
- - Hook work → `.trellis/spec/frontend/hook-guidelines.md`
13
- - State management → `.trellis/spec/frontend/state-management.md`
14
- - Type questions → `.trellis/spec/frontend/type-safety.md`
15
- 3. Understand the coding standards and patterns you need to follow
16
- 4. Then proceed with your development plan
17
-
18
- This step is **mandatory** before writing any frontend code.
@@ -1,18 +0,0 @@
1
- ---
2
- name: check-backend
3
- description: "Check if the code you just wrote follows the backend development guidelines."
4
- ---
5
-
6
- Check if the code you just wrote follows the backend development guidelines.
7
-
8
- Execute these steps:
9
- 1. Run `git status` to see modified files
10
- 2. Read `.trellis/spec/backend/index.md` to understand which guidelines apply
11
- 3. Based on what you changed, read the relevant guideline files:
12
- - Database changes → `.trellis/spec/backend/database-guidelines.md`
13
- - Error handling → `.trellis/spec/backend/error-handling.md`
14
- - Logging changes → `.trellis/spec/backend/logging-guidelines.md`
15
- - Type changes → `.trellis/spec/backend/type-safety.md`
16
- - Any changes → `.trellis/spec/backend/quality-guidelines.md`
17
- 4. Review your code against the guidelines
18
- 5. Report any violations and fix them if found
@@ -1,18 +0,0 @@
1
- ---
2
- name: check-frontend
3
- description: "Check if the code you just wrote follows the frontend development guidelines."
4
- ---
5
-
6
- Check if the code you just wrote follows the frontend development guidelines.
7
-
8
- Execute these steps:
9
- 1. Run `git status` to see modified files
10
- 2. Read `.trellis/spec/frontend/index.md` to understand which guidelines apply
11
- 3. Based on what you changed, read the relevant guideline files:
12
- - Component changes → `.trellis/spec/frontend/component-guidelines.md`
13
- - Hook changes → `.trellis/spec/frontend/hook-guidelines.md`
14
- - State changes → `.trellis/spec/frontend/state-management.md`
15
- - Type changes → `.trellis/spec/frontend/type-safety.md`
16
- - Any changes → `.trellis/spec/frontend/quality-guidelines.md`
17
- 4. Review your code against the guidelines
18
- 5. Report any violations and fix them if found
@@ -1,13 +0,0 @@
1
- Read the backend development guidelines before starting your development task.
2
-
3
- Execute these steps:
4
- 1. Read `.trellis/spec/backend/index.md` to understand available guidelines
5
- 2. Based on your task, read the relevant guideline files:
6
- - Database work → `.trellis/spec/backend/database-guidelines.md`
7
- - Error handling → `.trellis/spec/backend/error-handling.md`
8
- - Logging → `.trellis/spec/backend/logging-guidelines.md`
9
- - Type questions → `.trellis/spec/backend/type-safety.md`
10
- 3. Understand the coding standards and patterns you need to follow
11
- 4. Then proceed with your development plan
12
-
13
- This step is **mandatory** before writing any backend code.
@@ -1,13 +0,0 @@
1
- Read the frontend development guidelines before starting your development task.
2
-
3
- Execute these steps:
4
- 1. Read `.trellis/spec/frontend/index.md` to understand available guidelines
5
- 2. Based on your task, read the relevant guideline files:
6
- - Component work → `.trellis/spec/frontend/component-guidelines.md`
7
- - Hook work → `.trellis/spec/frontend/hook-guidelines.md`
8
- - State management → `.trellis/spec/frontend/state-management.md`
9
- - Type questions → `.trellis/spec/frontend/type-safety.md`
10
- 3. Understand the coding standards and patterns you need to follow
11
- 4. Then proceed with your development plan
12
-
13
- This step is **mandatory** before writing any frontend code.
@@ -1,13 +0,0 @@
1
- Check if the code you just wrote follows the backend development guidelines.
2
-
3
- Execute these steps:
4
- 1. Run `git status` to see modified files
5
- 2. Read `.trellis/spec/backend/index.md` to understand which guidelines apply
6
- 3. Based on what you changed, read the relevant guideline files:
7
- - Database changes → `.trellis/spec/backend/database-guidelines.md`
8
- - Error handling → `.trellis/spec/backend/error-handling.md`
9
- - Logging changes → `.trellis/spec/backend/logging-guidelines.md`
10
- - Type changes → `.trellis/spec/backend/type-safety.md`
11
- - Any changes → `.trellis/spec/backend/quality-guidelines.md`
12
- 4. Review your code against the guidelines
13
- 5. Report any violations and fix them if found
@@ -1,13 +0,0 @@
1
- Check if the code you just wrote follows the frontend development guidelines.
2
-
3
- Execute these steps:
4
- 1. Run `git status` to see modified files
5
- 2. Read `.trellis/spec/frontend/index.md` to understand which guidelines apply
6
- 3. Based on what you changed, read the relevant guideline files:
7
- - Component changes → `.trellis/spec/frontend/component-guidelines.md`
8
- - Hook changes → `.trellis/spec/frontend/hook-guidelines.md`
9
- - State changes → `.trellis/spec/frontend/state-management.md`
10
- - Type changes → `.trellis/spec/frontend/type-safety.md`
11
- - Any changes → `.trellis/spec/frontend/quality-guidelines.md`
12
- 4. Review your code against the guidelines
13
- 5. Report any violations and fix them if found
@@ -1,18 +0,0 @@
1
- ---
2
- name: before-backend-dev
3
- description: "Read the backend development guidelines before starting your development task."
4
- ---
5
-
6
- Read the backend development guidelines before starting your development task.
7
-
8
- Execute these steps:
9
- 1. Read `.trellis/spec/backend/index.md` to understand available guidelines
10
- 2. Based on your task, read the relevant guideline files:
11
- - Database work → `.trellis/spec/backend/database-guidelines.md`
12
- - Error handling → `.trellis/spec/backend/error-handling.md`
13
- - Logging → `.trellis/spec/backend/logging-guidelines.md`
14
- - Type questions → `.trellis/spec/backend/type-safety.md`
15
- 3. Understand the coding standards and patterns you need to follow
16
- 4. Then proceed with your development plan
17
-
18
- This step is **mandatory** before writing any backend code.
@@ -1,18 +0,0 @@
1
- ---
2
- name: before-frontend-dev
3
- description: "Read the frontend development guidelines before starting your development task."
4
- ---
5
-
6
- Read the frontend development guidelines before starting your development task.
7
-
8
- Execute these steps:
9
- 1. Read `.trellis/spec/frontend/index.md` to understand available guidelines
10
- 2. Based on your task, read the relevant guideline files:
11
- - Component work → `.trellis/spec/frontend/component-guidelines.md`
12
- - Hook work → `.trellis/spec/frontend/hook-guidelines.md`
13
- - State management → `.trellis/spec/frontend/state-management.md`
14
- - Type questions → `.trellis/spec/frontend/type-safety.md`
15
- 3. Understand the coding standards and patterns you need to follow
16
- 4. Then proceed with your development plan
17
-
18
- This step is **mandatory** before writing any frontend code.