@hivehub/rulebook 3.2.0 → 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.
- package/.claude/commands/rulebook-task-apply.md +2 -2
- package/.claude/commands/rulebook-task-archive.md +3 -3
- package/.claude/commands/rulebook-task-create.md +4 -4
- package/.claude/commands/rulebook-task-list.md +2 -2
- package/.claude/commands/rulebook-task-show.md +2 -2
- package/.claude/commands/rulebook-task-validate.md +2 -2
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +8 -8
- package/dist/cli/commands.d.ts.map +1 -1
- package/dist/cli/commands.js +332 -37
- package/dist/cli/commands.js.map +1 -1
- package/dist/core/config-manager.d.ts +10 -0
- package/dist/core/config-manager.d.ts.map +1 -1
- package/dist/core/config-manager.js +105 -0
- package/dist/core/config-manager.js.map +1 -1
- package/dist/core/generator.js +38 -38
- package/dist/core/generator.js.map +1 -1
- package/dist/core/migrator.d.ts.map +1 -1
- package/dist/core/migrator.js +3 -3
- package/dist/core/migrator.js.map +1 -1
- package/dist/core/openspec-manager.d.ts +2 -2
- package/dist/core/openspec-manager.d.ts.map +1 -1
- package/dist/core/openspec-manager.js +5 -14
- package/dist/core/openspec-manager.js.map +1 -1
- package/dist/core/openspec-migrator.d.ts.map +1 -1
- package/dist/core/openspec-migrator.js +3 -3
- package/dist/core/openspec-migrator.js.map +1 -1
- package/dist/core/prd-generator.d.ts.map +1 -1
- package/dist/core/prd-generator.js +2 -1
- package/dist/core/prd-generator.js.map +1 -1
- package/dist/core/ralph-manager.d.ts +9 -1
- package/dist/core/ralph-manager.d.ts.map +1 -1
- package/dist/core/ralph-manager.js +56 -2
- package/dist/core/ralph-manager.js.map +1 -1
- package/dist/core/task-manager.d.ts.map +1 -1
- package/dist/core/task-manager.js +26 -26
- package/dist/core/task-manager.js.map +1 -1
- package/dist/core/validator.js +6 -6
- package/dist/core/validator.js.map +1 -1
- package/dist/mcp/rulebook-server.d.ts +1 -1
- package/dist/mcp/rulebook-server.d.ts.map +1 -1
- package/dist/mcp/rulebook-server.js +144 -27
- package/dist/mcp/rulebook-server.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/templates/commands/rulebook-task-apply.md +2 -2
- package/templates/commands/rulebook-task-archive.md +3 -3
- package/templates/commands/rulebook-task-create.md +4 -4
- package/templates/commands/rulebook-task-list.md +2 -2
- package/templates/commands/rulebook-task-show.md +2 -2
- package/templates/commands/rulebook-task-validate.md +2 -2
- package/templates/core/RALPH.md +2 -2
- package/templates/core/RULEBOOK.md +13 -13
- package/templates/git/CI_CD_PATTERNS.md +4 -4
- package/templates/git/GITHUB_ACTIONS.md +3 -3
- package/templates/git/GITLAB_CI.md +4 -4
- package/templates/git/SECRETS_MANAGEMENT.md +4 -4
- package/templates/hooks/COMMIT_MSG.md +4 -4
- package/templates/hooks/POST_CHECKOUT.md +3 -3
- package/templates/hooks/PREPARE_COMMIT_MSG.md +3 -3
- package/templates/hooks/PRE_COMMIT.md +4 -4
- package/templates/hooks/PRE_PUSH.md +4 -4
- package/templates/skills/cli/aider/SKILL.md +10 -10
- package/templates/skills/cli/amazon-q/SKILL.md +10 -10
- package/templates/skills/cli/auggie/SKILL.md +10 -10
- package/templates/skills/cli/claude/SKILL.md +10 -10
- package/templates/skills/cli/claude-code/SKILL.md +146 -146
- package/templates/skills/cli/cline/SKILL.md +10 -10
- package/templates/skills/cli/codebuddy/SKILL.md +10 -10
- package/templates/skills/cli/codeium/SKILL.md +10 -10
- package/templates/skills/cli/codex/SKILL.md +10 -10
- package/templates/skills/cli/continue/SKILL.md +10 -10
- package/templates/skills/cli/cursor-cli/SKILL.md +10 -10
- package/templates/skills/cli/factory/SKILL.md +10 -10
- package/templates/skills/cli/gemini/SKILL.md +10 -10
- package/templates/skills/cli/kilocode/SKILL.md +10 -10
- package/templates/skills/cli/opencode/SKILL.md +10 -10
- package/templates/skills/core/agent-automation/SKILL.md +10 -10
- package/templates/skills/core/dag/SKILL.md +10 -10
- package/templates/skills/core/documentation-rules/SKILL.md +10 -10
- package/templates/skills/core/quality-enforcement/SKILL.md +10 -10
- package/templates/skills/core/rulebook/SKILL.md +1 -1
- package/templates/skills/frameworks/angular/SKILL.md +10 -10
- package/templates/skills/frameworks/django/SKILL.md +10 -10
- package/templates/skills/frameworks/electron/SKILL.md +10 -10
- package/templates/skills/frameworks/flask/SKILL.md +10 -10
- package/templates/skills/frameworks/flutter/SKILL.md +10 -10
- package/templates/skills/frameworks/jquery/SKILL.md +10 -10
- package/templates/skills/frameworks/laravel/SKILL.md +10 -10
- package/templates/skills/frameworks/nestjs/SKILL.md +10 -10
- package/templates/skills/frameworks/nextjs/SKILL.md +10 -10
- package/templates/skills/frameworks/nuxt/SKILL.md +10 -10
- package/templates/skills/frameworks/rails/SKILL.md +10 -10
- package/templates/skills/frameworks/react/SKILL.md +10 -10
- package/templates/skills/frameworks/react-native/SKILL.md +10 -10
- package/templates/skills/frameworks/spring/SKILL.md +10 -10
- package/templates/skills/frameworks/symfony/SKILL.md +10 -10
- package/templates/skills/frameworks/vue/SKILL.md +10 -10
- package/templates/skills/frameworks/zend/SKILL.md +10 -10
- package/templates/skills/ides/copilot/SKILL.md +10 -10
- package/templates/skills/ides/cursor/SKILL.md +10 -10
- package/templates/skills/ides/jetbrains-ai/SKILL.md +10 -10
- package/templates/skills/ides/replit/SKILL.md +10 -10
- package/templates/skills/ides/tabnine/SKILL.md +10 -10
- package/templates/skills/ides/vscode/SKILL.md +10 -10
- package/templates/skills/ides/windsurf/SKILL.md +10 -10
- package/templates/skills/ides/zed/SKILL.md +10 -10
- package/templates/skills/languages/ada/SKILL.md +68 -68
- package/templates/skills/languages/c/SKILL.md +10 -10
- package/templates/skills/languages/cpp/SKILL.md +10 -10
- package/templates/skills/languages/csharp/SKILL.md +10 -10
- package/templates/skills/languages/dart/SKILL.md +342 -342
- package/templates/skills/languages/elixir/SKILL.md +10 -10
- package/templates/skills/languages/erlang/SKILL.md +10 -10
- package/templates/skills/languages/go/SKILL.md +10 -10
- package/templates/skills/languages/haskell/SKILL.md +10 -10
- package/templates/skills/languages/java/SKILL.md +10 -10
- package/templates/skills/languages/javascript/SKILL.md +10 -10
- package/templates/skills/languages/julia/SKILL.md +10 -10
- package/templates/skills/languages/kotlin/SKILL.md +10 -10
- package/templates/skills/languages/lisp/SKILL.md +10 -10
- package/templates/skills/languages/lua/SKILL.md +10 -10
- package/templates/skills/languages/objectivec/SKILL.md +10 -10
- package/templates/skills/languages/php/SKILL.md +10 -10
- package/templates/skills/languages/python/SKILL.md +10 -10
- package/templates/skills/languages/r/SKILL.md +360 -360
- package/templates/skills/languages/ruby/SKILL.md +10 -10
- package/templates/skills/languages/rust/SKILL.md +10 -10
- package/templates/skills/languages/sas/SKILL.md +10 -10
- package/templates/skills/languages/scala/SKILL.md +10 -10
- package/templates/skills/languages/solidity/SKILL.md +10 -10
- package/templates/skills/languages/sql/SKILL.md +10 -10
- package/templates/skills/languages/swift/SKILL.md +10 -10
- package/templates/skills/languages/zig/SKILL.md +10 -10
- package/templates/skills/modules/atlassian/SKILL.md +10 -10
- package/templates/skills/modules/context7/SKILL.md +10 -10
- package/templates/skills/modules/figma/SKILL.md +10 -10
- package/templates/skills/modules/github-mcp/SKILL.md +10 -10
- package/templates/skills/modules/grafana/SKILL.md +10 -10
- package/templates/skills/modules/memory/SKILL.md +10 -10
- package/templates/skills/modules/notion/SKILL.md +10 -10
- package/templates/skills/modules/playwright/SKILL.md +10 -10
- package/templates/skills/modules/rulebook-mcp/SKILL.md +10 -10
- package/templates/skills/modules/serena/SKILL.md +10 -10
- package/templates/skills/modules/supabase/SKILL.md +10 -10
- package/templates/skills/modules/synap/SKILL.md +10 -10
- package/templates/skills/modules/vectorizer/SKILL.md +10 -10
- package/templates/skills/services/azure-blob/SKILL.md +10 -10
- package/templates/skills/services/cassandra/SKILL.md +10 -10
- package/templates/skills/services/dynamodb/SKILL.md +10 -10
- package/templates/skills/services/elasticsearch/SKILL.md +10 -10
- package/templates/skills/services/gcs/SKILL.md +10 -10
- package/templates/skills/services/influxdb/SKILL.md +10 -10
- package/templates/skills/services/kafka/SKILL.md +10 -10
- package/templates/skills/services/mariadb/SKILL.md +10 -10
- package/templates/skills/services/memcached/SKILL.md +10 -10
- package/templates/skills/services/minio/SKILL.md +10 -10
- package/templates/skills/services/mongodb/SKILL.md +10 -10
- package/templates/skills/services/mysql/SKILL.md +10 -10
- package/templates/skills/services/neo4j/SKILL.md +10 -10
- package/templates/skills/services/oracle/SKILL.md +10 -10
- package/templates/skills/services/postgresql/SKILL.md +10 -10
- package/templates/skills/services/rabbitmq/SKILL.md +10 -10
- package/templates/skills/services/redis/SKILL.md +10 -10
- package/templates/skills/services/s3/SKILL.md +10 -10
- package/templates/skills/services/sqlite/SKILL.md +10 -10
- package/templates/skills/services/sqlserver/SKILL.md +10 -10
- package/templates/skills/workflows/ralph/SETUP.md +228 -228
- package/templates/skills/workflows/ralph/SKILL.md +1 -1
- 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
|
|