@hivehub/rulebook 3.2.1 → 3.3.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 (171) hide show
  1. package/.claude/commands/rulebook-task-apply.md +2 -2
  2. package/.claude/commands/rulebook-task-archive.md +3 -3
  3. package/.claude/commands/rulebook-task-create.md +4 -4
  4. package/.claude/commands/rulebook-task-list.md +2 -2
  5. package/.claude/commands/rulebook-task-show.md +2 -2
  6. package/.claude/commands/rulebook-task-validate.md +2 -2
  7. package/.claude-plugin/marketplace.json +1 -1
  8. package/.claude-plugin/plugin.json +1 -1
  9. package/README.md +8 -8
  10. package/dist/cli/commands.d.ts.map +1 -1
  11. package/dist/cli/commands.js +328 -33
  12. package/dist/cli/commands.js.map +1 -1
  13. package/dist/core/config-manager.d.ts +10 -0
  14. package/dist/core/config-manager.d.ts.map +1 -1
  15. package/dist/core/config-manager.js +105 -0
  16. package/dist/core/config-manager.js.map +1 -1
  17. package/dist/core/generator.js +38 -38
  18. package/dist/core/generator.js.map +1 -1
  19. package/dist/core/migrator.d.ts.map +1 -1
  20. package/dist/core/migrator.js +3 -3
  21. package/dist/core/migrator.js.map +1 -1
  22. package/dist/core/openspec-manager.d.ts +2 -2
  23. package/dist/core/openspec-manager.d.ts.map +1 -1
  24. package/dist/core/openspec-manager.js +5 -14
  25. package/dist/core/openspec-manager.js.map +1 -1
  26. package/dist/core/openspec-migrator.d.ts.map +1 -1
  27. package/dist/core/openspec-migrator.js +3 -3
  28. package/dist/core/openspec-migrator.js.map +1 -1
  29. package/dist/core/prd-generator.d.ts.map +1 -1
  30. package/dist/core/prd-generator.js +2 -1
  31. package/dist/core/prd-generator.js.map +1 -1
  32. package/dist/core/ralph-manager.d.ts +9 -1
  33. package/dist/core/ralph-manager.d.ts.map +1 -1
  34. package/dist/core/ralph-manager.js +56 -2
  35. package/dist/core/ralph-manager.js.map +1 -1
  36. package/dist/core/task-manager.d.ts.map +1 -1
  37. package/dist/core/task-manager.js +26 -26
  38. package/dist/core/task-manager.js.map +1 -1
  39. package/dist/core/validator.js +6 -6
  40. package/dist/core/validator.js.map +1 -1
  41. package/dist/mcp/rulebook-server.d.ts.map +1 -1
  42. package/dist/mcp/rulebook-server.js +131 -20
  43. package/dist/mcp/rulebook-server.js.map +1 -1
  44. package/dist/types.d.ts +1 -0
  45. package/dist/types.d.ts.map +1 -1
  46. package/package.json +1 -1
  47. package/templates/commands/rulebook-task-apply.md +2 -2
  48. package/templates/commands/rulebook-task-archive.md +3 -3
  49. package/templates/commands/rulebook-task-create.md +4 -4
  50. package/templates/commands/rulebook-task-list.md +2 -2
  51. package/templates/commands/rulebook-task-show.md +2 -2
  52. package/templates/commands/rulebook-task-validate.md +2 -2
  53. package/templates/core/RALPH.md +2 -2
  54. package/templates/core/RULEBOOK.md +13 -13
  55. package/templates/git/CI_CD_PATTERNS.md +4 -4
  56. package/templates/git/GITHUB_ACTIONS.md +3 -3
  57. package/templates/git/GITLAB_CI.md +4 -4
  58. package/templates/git/SECRETS_MANAGEMENT.md +4 -4
  59. package/templates/hooks/COMMIT_MSG.md +4 -4
  60. package/templates/hooks/POST_CHECKOUT.md +3 -3
  61. package/templates/hooks/PREPARE_COMMIT_MSG.md +3 -3
  62. package/templates/hooks/PRE_COMMIT.md +4 -4
  63. package/templates/hooks/PRE_PUSH.md +4 -4
  64. package/templates/skills/cli/aider/SKILL.md +10 -10
  65. package/templates/skills/cli/amazon-q/SKILL.md +10 -10
  66. package/templates/skills/cli/auggie/SKILL.md +10 -10
  67. package/templates/skills/cli/claude/SKILL.md +10 -10
  68. package/templates/skills/cli/claude-code/SKILL.md +146 -146
  69. package/templates/skills/cli/cline/SKILL.md +10 -10
  70. package/templates/skills/cli/codebuddy/SKILL.md +10 -10
  71. package/templates/skills/cli/codeium/SKILL.md +10 -10
  72. package/templates/skills/cli/codex/SKILL.md +10 -10
  73. package/templates/skills/cli/continue/SKILL.md +10 -10
  74. package/templates/skills/cli/cursor-cli/SKILL.md +10 -10
  75. package/templates/skills/cli/factory/SKILL.md +10 -10
  76. package/templates/skills/cli/gemini/SKILL.md +10 -10
  77. package/templates/skills/cli/kilocode/SKILL.md +10 -10
  78. package/templates/skills/cli/opencode/SKILL.md +10 -10
  79. package/templates/skills/core/agent-automation/SKILL.md +10 -10
  80. package/templates/skills/core/dag/SKILL.md +10 -10
  81. package/templates/skills/core/documentation-rules/SKILL.md +10 -10
  82. package/templates/skills/core/quality-enforcement/SKILL.md +10 -10
  83. package/templates/skills/core/rulebook/SKILL.md +1 -1
  84. package/templates/skills/frameworks/angular/SKILL.md +10 -10
  85. package/templates/skills/frameworks/django/SKILL.md +10 -10
  86. package/templates/skills/frameworks/electron/SKILL.md +10 -10
  87. package/templates/skills/frameworks/flask/SKILL.md +10 -10
  88. package/templates/skills/frameworks/flutter/SKILL.md +10 -10
  89. package/templates/skills/frameworks/jquery/SKILL.md +10 -10
  90. package/templates/skills/frameworks/laravel/SKILL.md +10 -10
  91. package/templates/skills/frameworks/nestjs/SKILL.md +10 -10
  92. package/templates/skills/frameworks/nextjs/SKILL.md +10 -10
  93. package/templates/skills/frameworks/nuxt/SKILL.md +10 -10
  94. package/templates/skills/frameworks/rails/SKILL.md +10 -10
  95. package/templates/skills/frameworks/react/SKILL.md +10 -10
  96. package/templates/skills/frameworks/react-native/SKILL.md +10 -10
  97. package/templates/skills/frameworks/spring/SKILL.md +10 -10
  98. package/templates/skills/frameworks/symfony/SKILL.md +10 -10
  99. package/templates/skills/frameworks/vue/SKILL.md +10 -10
  100. package/templates/skills/frameworks/zend/SKILL.md +10 -10
  101. package/templates/skills/ides/copilot/SKILL.md +10 -10
  102. package/templates/skills/ides/cursor/SKILL.md +10 -10
  103. package/templates/skills/ides/jetbrains-ai/SKILL.md +10 -10
  104. package/templates/skills/ides/replit/SKILL.md +10 -10
  105. package/templates/skills/ides/tabnine/SKILL.md +10 -10
  106. package/templates/skills/ides/vscode/SKILL.md +10 -10
  107. package/templates/skills/ides/windsurf/SKILL.md +10 -10
  108. package/templates/skills/ides/zed/SKILL.md +10 -10
  109. package/templates/skills/languages/ada/SKILL.md +68 -68
  110. package/templates/skills/languages/c/SKILL.md +10 -10
  111. package/templates/skills/languages/cpp/SKILL.md +10 -10
  112. package/templates/skills/languages/csharp/SKILL.md +10 -10
  113. package/templates/skills/languages/dart/SKILL.md +342 -342
  114. package/templates/skills/languages/elixir/SKILL.md +10 -10
  115. package/templates/skills/languages/erlang/SKILL.md +10 -10
  116. package/templates/skills/languages/go/SKILL.md +10 -10
  117. package/templates/skills/languages/haskell/SKILL.md +10 -10
  118. package/templates/skills/languages/java/SKILL.md +10 -10
  119. package/templates/skills/languages/javascript/SKILL.md +10 -10
  120. package/templates/skills/languages/julia/SKILL.md +10 -10
  121. package/templates/skills/languages/kotlin/SKILL.md +10 -10
  122. package/templates/skills/languages/lisp/SKILL.md +10 -10
  123. package/templates/skills/languages/lua/SKILL.md +10 -10
  124. package/templates/skills/languages/objectivec/SKILL.md +10 -10
  125. package/templates/skills/languages/php/SKILL.md +10 -10
  126. package/templates/skills/languages/python/SKILL.md +10 -10
  127. package/templates/skills/languages/r/SKILL.md +360 -360
  128. package/templates/skills/languages/ruby/SKILL.md +10 -10
  129. package/templates/skills/languages/rust/SKILL.md +10 -10
  130. package/templates/skills/languages/sas/SKILL.md +10 -10
  131. package/templates/skills/languages/scala/SKILL.md +10 -10
  132. package/templates/skills/languages/solidity/SKILL.md +10 -10
  133. package/templates/skills/languages/sql/SKILL.md +10 -10
  134. package/templates/skills/languages/swift/SKILL.md +10 -10
  135. package/templates/skills/languages/zig/SKILL.md +10 -10
  136. package/templates/skills/modules/atlassian/SKILL.md +10 -10
  137. package/templates/skills/modules/context7/SKILL.md +10 -10
  138. package/templates/skills/modules/figma/SKILL.md +10 -10
  139. package/templates/skills/modules/github-mcp/SKILL.md +10 -10
  140. package/templates/skills/modules/grafana/SKILL.md +10 -10
  141. package/templates/skills/modules/memory/SKILL.md +10 -10
  142. package/templates/skills/modules/notion/SKILL.md +10 -10
  143. package/templates/skills/modules/playwright/SKILL.md +10 -10
  144. package/templates/skills/modules/rulebook-mcp/SKILL.md +10 -10
  145. package/templates/skills/modules/serena/SKILL.md +10 -10
  146. package/templates/skills/modules/supabase/SKILL.md +10 -10
  147. package/templates/skills/modules/synap/SKILL.md +10 -10
  148. package/templates/skills/modules/vectorizer/SKILL.md +10 -10
  149. package/templates/skills/services/azure-blob/SKILL.md +10 -10
  150. package/templates/skills/services/cassandra/SKILL.md +10 -10
  151. package/templates/skills/services/dynamodb/SKILL.md +10 -10
  152. package/templates/skills/services/elasticsearch/SKILL.md +10 -10
  153. package/templates/skills/services/gcs/SKILL.md +10 -10
  154. package/templates/skills/services/influxdb/SKILL.md +10 -10
  155. package/templates/skills/services/kafka/SKILL.md +10 -10
  156. package/templates/skills/services/mariadb/SKILL.md +10 -10
  157. package/templates/skills/services/memcached/SKILL.md +10 -10
  158. package/templates/skills/services/minio/SKILL.md +10 -10
  159. package/templates/skills/services/mongodb/SKILL.md +10 -10
  160. package/templates/skills/services/mysql/SKILL.md +10 -10
  161. package/templates/skills/services/neo4j/SKILL.md +10 -10
  162. package/templates/skills/services/oracle/SKILL.md +10 -10
  163. package/templates/skills/services/postgresql/SKILL.md +10 -10
  164. package/templates/skills/services/rabbitmq/SKILL.md +10 -10
  165. package/templates/skills/services/redis/SKILL.md +10 -10
  166. package/templates/skills/services/s3/SKILL.md +10 -10
  167. package/templates/skills/services/sqlite/SKILL.md +10 -10
  168. package/templates/skills/services/sqlserver/SKILL.md +10 -10
  169. package/templates/skills/workflows/ralph/SETUP.md +228 -228
  170. package/templates/skills/workflows/ralph/SKILL.md +1 -1
  171. package/templates/skills/workflows/ralph/install.sh +1 -1
@@ -1,13 +1,13 @@
1
- ---
2
- name: "Spring"
3
- description: "Every Spring service must satisfy these quality gates before merge."
4
- version: "1.0.0"
5
- category: "frameworks"
6
- author: "Rulebook"
7
- tags: ["frameworks", "framework"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "Spring"
3
+ description: "Every Spring service must satisfy these quality gates before merge."
4
+ version: "1.0.0"
5
+ category: "frameworks"
6
+ author: "Rulebook"
7
+ tags: ["frameworks", "framework"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- SPRING:START -->
12
12
  # Spring Boot Framework Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "Symfony"
3
- description: "Language: PHP"
4
- version: "1.0.0"
5
- category: "frameworks"
6
- author: "Rulebook"
7
- tags: ["frameworks", "framework"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "Symfony"
3
+ description: "Language: PHP"
4
+ version: "1.0.0"
5
+ category: "frameworks"
6
+ author: "Rulebook"
7
+ tags: ["frameworks", "framework"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- SYMFONY:START -->
12
12
  # Symfony Framework Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "Vue"
3
- description: "Vue 3 projects should follow these guardrails."
4
- version: "1.0.0"
5
- category: "frameworks"
6
- author: "Rulebook"
7
- tags: ["frameworks", "framework"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "Vue"
3
+ description: "Vue 3 projects should follow these guardrails."
4
+ version: "1.0.0"
5
+ category: "frameworks"
6
+ author: "Rulebook"
7
+ tags: ["frameworks", "framework"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- VUE:START -->
12
12
  # Vue Framework Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "Zend"
3
- description: "Language: PHP"
4
- version: "1.0.0"
5
- category: "frameworks"
6
- author: "Rulebook"
7
- tags: ["frameworks", "framework"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "Zend"
3
+ description: "Language: PHP"
4
+ version: "1.0.0"
5
+ category: "frameworks"
6
+ author: "Rulebook"
7
+ tags: ["frameworks", "framework"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- ZEND:START -->
12
12
  # Zend/Laminas Framework Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "Copilot"
3
- description: "Tool: GitHub's AI pair programmer (inline + chat)"
4
- version: "1.0.0"
5
- category: "ides"
6
- author: "Rulebook"
7
- tags: ["ides", "ide"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "Copilot"
3
+ description: "Tool: GitHub's AI pair programmer (inline + chat)"
4
+ version: "1.0.0"
5
+ category: "ides"
6
+ author: "Rulebook"
7
+ tags: ["ides", "ide"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- COPILOT:START -->
12
12
  # GitHub Copilot Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "Cursor"
3
- description: "IDE: AI-first code editor with Agent mode and Composer"
4
- version: "1.0.0"
5
- category: "ides"
6
- author: "Rulebook"
7
- tags: ["ides", "ide"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "Cursor"
3
+ description: "IDE: AI-first code editor with Agent mode and Composer"
4
+ version: "1.0.0"
5
+ category: "ides"
6
+ author: "Rulebook"
7
+ tags: ["ides", "ide"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- CURSOR:START -->
12
12
  # Cursor IDE Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "JetBrains AI"
3
- description: "IDEs: IntelliJ, PyCharm, WebStorm, GoLand, RustRover, Rider, CLion, PhpStorm"
4
- version: "1.0.0"
5
- category: "ides"
6
- author: "Rulebook"
7
- tags: ["ides", "ide"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "JetBrains AI"
3
+ description: "IDEs: IntelliJ, PyCharm, WebStorm, GoLand, RustRover, Rider, CLion, PhpStorm"
4
+ version: "1.0.0"
5
+ category: "ides"
6
+ author: "Rulebook"
7
+ tags: ["ides", "ide"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- JETBRAINS_AI:START -->
12
12
  # JetBrains AI Assistant Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "Replit"
3
- description: "Tool: Cloud IDE with Ghostwriter AI"
4
- version: "1.0.0"
5
- category: "ides"
6
- author: "Rulebook"
7
- tags: ["ides", "ide"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "Replit"
3
+ description: "Tool: Cloud IDE with Ghostwriter AI"
4
+ version: "1.0.0"
5
+ category: "ides"
6
+ author: "Rulebook"
7
+ tags: ["ides", "ide"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- REPLIT:START -->
12
12
  # Replit IDE Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "Tabnine"
3
- description: "Tool: Multi-IDE AI completion with team learning"
4
- version: "1.0.0"
5
- category: "ides"
6
- author: "Rulebook"
7
- tags: ["ides", "ide"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "Tabnine"
3
+ description: "Tool: Multi-IDE AI completion with team learning"
4
+ version: "1.0.0"
5
+ category: "ides"
6
+ author: "Rulebook"
7
+ tags: ["ides", "ide"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- TABNINE:START -->
12
12
  # Tabnine AI Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "VS Code"
3
- description: "IDE: VS Code with Copilot, Cody, Continue, or other AI extensions"
4
- version: "1.0.0"
5
- category: "ides"
6
- author: "Rulebook"
7
- tags: ["ides", "ide"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "VS Code"
3
+ description: "IDE: VS Code with Copilot, Cody, Continue, or other AI extensions"
4
+ version: "1.0.0"
5
+ category: "ides"
6
+ author: "Rulebook"
7
+ tags: ["ides", "ide"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- VSCODE:START -->
12
12
  # VS Code AI Extensions Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "Windsurf"
3
- description: "IDE: AI-powered editor with Cascade AI and Flow State"
4
- version: "1.0.0"
5
- category: "ides"
6
- author: "Rulebook"
7
- tags: ["ides", "ide"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "Windsurf"
3
+ description: "IDE: AI-powered editor with Cascade AI and Flow State"
4
+ version: "1.0.0"
5
+ category: "ides"
6
+ author: "Rulebook"
7
+ tags: ["ides", "ide"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- WINDSURF:START -->
12
12
  # Windsurf IDE Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "Zed"
3
- description: "Tool: High-performance collaborative editor (Rust-powered)"
4
- version: "1.0.0"
5
- category: "ides"
6
- author: "Rulebook"
7
- tags: ["ides", "ide"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "Zed"
3
+ description: "Tool: High-performance collaborative editor (Rust-powered)"
4
+ version: "1.0.0"
5
+ category: "ides"
6
+ author: "Rulebook"
7
+ tags: ["ides", "ide"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- ZED:START -->
12
12
  # Zed Editor Rules
13
13
 
@@ -1,68 +1,68 @@
1
- ---
2
- name: "Ada"
3
- description: "Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow)."
4
- version: "1.0.0"
5
- category: "languages"
6
- author: "Rulebook"
7
- tags: ["languages", "language"]
8
- dependencies: []
9
- conflicts: []
10
- ---
11
- <!-- ADA:START -->
12
- # Ada Project Rules
13
-
14
- ## Agent Automation Commands
15
-
16
- **CRITICAL**: Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
17
-
18
- ```bash
19
- # Complete quality check sequence:
20
- gprbuild -P project.gpr # Build verification
21
- gnatcheck -P project.gpr # Style/linting check
22
- gprclean -P project.gpr && gprbuild -P project.gpr # Clean build
23
- # Run tests (project-specific command)
24
-
25
- # SPARK verification (if using SPARK):
26
- gnatprove -P project.gpr # Formal verification
27
- ```
28
-
29
- ## Ada Configuration
30
-
31
- **CRITICAL**: Use Ada 2012 or Ada 2022 with GNAT compiler.
32
-
33
- - **Standard**: Ada 2012 or Ada 2022
34
- - **Compiler**: GNAT 12+
35
- - **Build**: GPRbuild
36
- - **TestingMenuAUnit
37
- - **StyleMenuGNAT style checks
38
-
39
- ## Code Quality Standards
40
-
41
- ### Mandatory Quality Checks
42
-
43
- **IMPORTANT**: These commands MUST match your GitHub Actions workflows!
44
-
45
- ```bash
46
- # Pre-Commit Checklist (MUST match .github/workflows/*.yml)
47
-
48
- # 1. Style check (matches workflow)
49
- gnatcheck -P your_project.gpr -rules -from=gnat_style.rules
50
-
51
- # 2. Build with warnings as errors (matches workflow)
52
- gprbuild -P your_project.gpr -cargs -gnatwa -gnatwe
53
-
54
- # 3. Run static analysis (matches workflow)
55
- gnatprove -P your_project.gpr --level=2
56
-
57
- # 4. Run all tests (matches workflow)
58
- gprbuild -P test_project.gpr
59
- ./bin/test_runner
60
-
61
- # If ANY fails: ❌ DO NOT COMMIT - Fix first!
62
- ```
63
-
64
- **Why This Matters:**
65
- - Example: Missing `-gnatwe` (warnings as errors) = CI failures
66
-
67
- <!-- ADA:END -->
68
-
1
+ ---
2
+ name: "Ada"
3
+ description: "Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow)."
4
+ version: "1.0.0"
5
+ category: "languages"
6
+ author: "Rulebook"
7
+ tags: ["languages", "language"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
+ <!-- ADA:START -->
12
+ # Ada Project Rules
13
+
14
+ ## Agent Automation Commands
15
+
16
+ **CRITICAL**: Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
17
+
18
+ ```bash
19
+ # Complete quality check sequence:
20
+ gprbuild -P project.gpr # Build verification
21
+ gnatcheck -P project.gpr # Style/linting check
22
+ gprclean -P project.gpr && gprbuild -P project.gpr # Clean build
23
+ # Run tests (project-specific command)
24
+
25
+ # SPARK verification (if using SPARK):
26
+ gnatprove -P project.gpr # Formal verification
27
+ ```
28
+
29
+ ## Ada Configuration
30
+
31
+ **CRITICAL**: Use Ada 2012 or Ada 2022 with GNAT compiler.
32
+
33
+ - **Standard**: Ada 2012 or Ada 2022
34
+ - **Compiler**: GNAT 12+
35
+ - **Build**: GPRbuild
36
+ - **TestingMenuAUnit
37
+ - **StyleMenuGNAT style checks
38
+
39
+ ## Code Quality Standards
40
+
41
+ ### Mandatory Quality Checks
42
+
43
+ **IMPORTANT**: These commands MUST match your GitHub Actions workflows!
44
+
45
+ ```bash
46
+ # Pre-Commit Checklist (MUST match .github/workflows/*.yml)
47
+
48
+ # 1. Style check (matches workflow)
49
+ gnatcheck -P your_project.gpr -rules -from=gnat_style.rules
50
+
51
+ # 2. Build with warnings as errors (matches workflow)
52
+ gprbuild -P your_project.gpr -cargs -gnatwa -gnatwe
53
+
54
+ # 3. Run static analysis (matches workflow)
55
+ gnatprove -P your_project.gpr --level=2
56
+
57
+ # 4. Run all tests (matches workflow)
58
+ gprbuild -P test_project.gpr
59
+ ./bin/test_runner
60
+
61
+ # If ANY fails: ❌ DO NOT COMMIT - Fix first!
62
+ ```
63
+
64
+ **Why This Matters:**
65
+ - Example: Missing `-gnatwe` (warnings as errors) = CI failures
66
+
67
+ <!-- ADA:END -->
68
+
@@ -1,13 +1,13 @@
1
- ---
2
- name: "C"
3
- description: "Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow)."
4
- version: "1.0.0"
5
- category: "languages"
6
- author: "Rulebook"
7
- tags: ["languages", "language"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "C"
3
+ description: "Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow)."
4
+ version: "1.0.0"
5
+ category: "languages"
6
+ author: "Rulebook"
7
+ tags: ["languages", "language"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- C:START -->
12
12
  # C Project Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "C++"
3
- description: "Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow)."
4
- version: "1.0.0"
5
- category: "languages"
6
- author: "Rulebook"
7
- tags: ["languages", "language"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "C++"
3
+ description: "Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow)."
4
+ version: "1.0.0"
5
+ category: "languages"
6
+ author: "Rulebook"
7
+ tags: ["languages", "language"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- CPP:START -->
12
12
  # C/C++ Project Rules
13
13
 
@@ -1,13 +1,13 @@
1
- ---
2
- name: "C#"
3
- description: "Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow)."
4
- version: "1.0.0"
5
- category: "languages"
6
- author: "Rulebook"
7
- tags: ["languages", "language"]
8
- dependencies: []
9
- conflicts: []
10
- ---
1
+ ---
2
+ name: "C#"
3
+ description: "Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow)."
4
+ version: "1.0.0"
5
+ category: "languages"
6
+ author: "Rulebook"
7
+ tags: ["languages", "language"]
8
+ dependencies: []
9
+ conflicts: []
10
+ ---
11
11
  <!-- CSHARP:START -->
12
12
  # C# Project Rules
13
13