claude-flow-novice 2.18.16 → 2.18.18

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 (71) hide show
  1. package/.claude/agents/cfn-dev-team/analysts/analyst.md +9 -0
  2. package/.claude/agents/cfn-dev-team/analysts/root-cause-analyst.md +9 -0
  3. package/.claude/agents/cfn-dev-team/architecture/api-designer-persona.md +10 -1
  4. package/.claude/agents/cfn-dev-team/architecture/base-template-generator.md +9 -0
  5. package/.claude/agents/cfn-dev-team/architecture/goal-planner.md +10 -1
  6. package/.claude/agents/cfn-dev-team/architecture/planner.md +9 -0
  7. package/.claude/agents/cfn-dev-team/architecture/system-architect.md +9 -0
  8. package/.claude/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +9 -0
  9. package/.claude/agents/cfn-dev-team/coordinators/consensus-builder.md +10 -1
  10. package/.claude/agents/cfn-dev-team/coordinators/handoff-coordinator.md +9 -0
  11. package/.claude/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +9 -0
  12. package/.claude/agents/cfn-dev-team/dev-ops/devops-engineer.md +9 -0
  13. package/.claude/agents/cfn-dev-team/dev-ops/docker-specialist.md +9 -0
  14. package/.claude/agents/cfn-dev-team/dev-ops/github-commit-agent.md +9 -0
  15. package/.claude/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +9 -0
  16. package/.claude/agents/cfn-dev-team/developers/api-gateway-specialist.md +9 -0
  17. package/.claude/agents/cfn-dev-team/developers/data/data-engineer.md +9 -0
  18. package/.claude/agents/cfn-dev-team/developers/database/database-architect.md +9 -0
  19. package/.claude/agents/cfn-dev-team/developers/database/supabase-specialist.md +9 -0
  20. package/.claude/agents/cfn-dev-team/developers/frontend/mobile-dev.md +10 -1
  21. package/.claude/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +10 -1
  22. package/.claude/agents/cfn-dev-team/developers/frontend/ui-designer.md +10 -1
  23. package/.claude/agents/cfn-dev-team/developers/graphql-specialist.md +9 -0
  24. package/.claude/agents/cfn-dev-team/developers/rust-developer.md +10 -1
  25. package/.claude/agents/cfn-dev-team/documentation/agent-type-guidelines.md +9 -0
  26. package/.claude/agents/cfn-dev-team/documentation/api-documentation.md +10 -1
  27. package/.claude/agents/cfn-dev-team/documentation/pseudocode.md +10 -1
  28. package/.claude/agents/cfn-dev-team/documentation/specification-agent.md +10 -1
  29. package/.claude/agents/cfn-dev-team/product-owners/accessibility-advocate-persona.md +10 -1
  30. package/.claude/agents/cfn-dev-team/product-owners/cto-agent.md +9 -0
  31. package/.claude/agents/cfn-dev-team/product-owners/power-user-persona.md +10 -1
  32. package/.claude/agents/cfn-dev-team/product-owners/product-owner.md +9 -0
  33. package/.claude/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +9 -0
  34. package/.claude/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +9 -0
  35. package/.claude/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +9 -0
  36. package/.claude/agents/cfn-dev-team/reviewers/quality/performance-benchmarker.md +10 -1
  37. package/.claude/agents/cfn-dev-team/reviewers/quality/quality-metrics.md +9 -0
  38. package/.claude/agents/cfn-dev-team/testers/api-testing-specialist.md +9 -0
  39. package/.claude/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +9 -0
  40. package/.claude/agents/cfn-dev-team/testers/contract-tester.md +9 -0
  41. package/.claude/agents/cfn-dev-team/testers/e2e/playwright-tester.md +9 -0
  42. package/.claude/agents/cfn-dev-team/testers/integration-tester.md +9 -0
  43. package/.claude/agents/cfn-dev-team/testers/interaction-tester.md +9 -0
  44. package/.claude/agents/cfn-dev-team/testers/load-testing-specialist.md +9 -0
  45. package/.claude/agents/cfn-dev-team/testers/mutation-testing-specialist.md +9 -0
  46. package/.claude/agents/cfn-dev-team/testers/playwright-tester.md +10 -1
  47. package/.claude/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +10 -1
  48. package/.claude/agents/cfn-dev-team/testers/validation/validation-production-validator.md +10 -1
  49. package/.claude/agents/cfn-dev-team/testing/test-validation-agent.md +9 -0
  50. package/.claude/agents/cfn-dev-team/utility/agent-builder.md +10 -1
  51. package/.claude/agents/cfn-dev-team/utility/context-curator.md +9 -0
  52. package/.claude/agents/cfn-dev-team/utility/memory-leak-specialist.md +9 -0
  53. package/.claude/agents/cfn-dev-team/utility/researcher.md +9 -0
  54. package/.claude/agents/cfn-dev-team/utility/z-ai-specialist.md +9 -0
  55. package/.claude/hooks/SessionStart-cfn-build-ruvector.sh +12 -0
  56. package/.claude/hooks/SessionStart:cfn-build-ruvector.sh +28 -0
  57. package/.claude/skills/bulk-add-ruvector-instructions.sh +34 -46
  58. package/.claude/skills/cfn-local-ruvector-accelerator/.claude/hooks/SessionStart-cfn-build-ruvector.sh +12 -0
  59. package/.claude/skills/cfn-local-ruvector-accelerator/SKILL.md +112 -6
  60. package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/index.rs +46 -11
  61. package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/index_ast.rs +13 -1
  62. package/.claude/skills/cfn-local-ruvector-accelerator/src/embeddings.rs +4 -7
  63. package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/mod.rs +1 -1
  64. package/.claude/skills/cfn-local-ruvector-accelerator/src/migration_v2.rs +7 -7
  65. package/.claude/skills/cfn-local-ruvector-accelerator/src/query_api.rs +6 -3
  66. package/.claude/skills/cfn-local-ruvector-accelerator/src/schema_v2.rs +16 -1
  67. package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2.rs +7 -3
  68. package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2_tx.rs +5 -3
  69. package/.claude/skills/cfn-local-ruvector-accelerator/src/transaction_tests.rs +8 -2
  70. package/CLAUDE.md +2 -1
  71. package/package.json +1 -1
@@ -25,6 +25,15 @@ validation_hooks:
25
25
  # This is mandatory for all file edits to ensure code quality and validation.
26
26
  # The pipeline will run compilation checks and TDD compliance verification.
27
27
 
28
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
29
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
30
+ # /codebase-search "relevant search terms for your task" --top 5
31
+ # /codebase-search "error pattern or issue you're fixing" --top 3
32
+ # Also query past errors and learnings:
33
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
34
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
35
+ # This prevents duplicated work and leverages existing solutions.
36
+
28
37
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
29
38
 
30
39
  # Code Quality Validator Agent
@@ -18,6 +18,15 @@ acl_level: 1
18
18
  # This is mandatory for all file edits to ensure code quality and validation.
19
19
  # The pipeline will run compilation checks and TDD compliance verification.
20
20
 
21
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
22
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
23
+ # /codebase-search "relevant search terms for your task" --top 5
24
+ # /codebase-search "error pattern or issue you're fixing" --top 3
25
+ # Also query past errors and learnings:
26
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
27
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
28
+ # This prevents duplicated work and leverages existing solutions.
29
+
21
30
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
22
31
 
23
32
  # Cyclomatic Complexity Reducer
@@ -24,6 +24,15 @@ validation_hooks:
24
24
  # This is mandatory for all file edits to ensure code quality and validation.
25
25
  # The pipeline will run compilation checks and TDD compliance verification.
26
26
 
27
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
28
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
29
+ # /codebase-search "relevant search terms for your task" --top 5
30
+ # /codebase-search "error pattern or issue you're fixing" --top 3
31
+ # Also query past errors and learnings:
32
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
33
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
34
+ # This prevents duplicated work and leverages existing solutions.
35
+
27
36
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
28
37
 
29
38
  # Performance Analyzer Agent
@@ -23,6 +23,15 @@ validation_hooks:
23
23
  # This is mandatory for all file edits to ensure code quality and validation.
24
24
  # The pipeline will run compilation checks and TDD compliance verification.
25
25
 
26
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
27
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
28
+ # /codebase-search "relevant search terms for your task" --top 5
29
+ # /codebase-search "error pattern or issue you're fixing" --top 3
30
+ # Also query past errors and learnings:
31
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
32
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
33
+ # This prevents duplicated work and leverages existing solutions.
34
+
26
35
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
27
36
 
28
37
  # Performance Benchmarker Agent
@@ -157,4 +166,4 @@ class PerformanceBenchmarker {
157
166
  - Protocol comparison clarity
158
167
  - Performance improvement validation
159
168
 
160
- Remember: Performance benchmarking is about generating concrete, implementable insights that drive system optimization.
169
+ Remember: Performance benchmarking is about generating concrete, implementable insights that drive system optimization.
@@ -54,6 +54,15 @@ Architecture Criteria:
54
54
  # This is mandatory for all file edits to ensure code quality and validation.
55
55
  # The pipeline will run compilation checks and TDD compliance verification.
56
56
 
57
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
58
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
59
+ # /codebase-search "relevant search terms for your task" --top 5
60
+ # /codebase-search "error pattern or issue you're fixing" --top 3
61
+ # Also query past errors and learnings:
62
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
63
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
64
+ # This prevents duplicated work and leverages existing solutions.
65
+
57
66
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
58
67
 
59
68
  ## Validation Checklist
@@ -25,6 +25,15 @@ validation_hooks:
25
25
  # This is mandatory for all file edits to ensure code quality and validation.
26
26
  # The pipeline will run compilation checks and TDD compliance verification.
27
27
 
28
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
29
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
30
+ # /codebase-search "relevant search terms for your task" --top 5
31
+ # /codebase-search "error pattern or issue you're fixing" --top 3
32
+ # Also query past errors and learnings:
33
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
34
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
35
+ # This prevents duplicated work and leverages existing solutions.
36
+
28
37
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
29
38
 
30
39
  # API Testing Specialist Agent
@@ -24,6 +24,15 @@ validation_hooks:
24
24
  # This is mandatory for all file edits to ensure code quality and validation.
25
25
  # The pipeline will run compilation checks and TDD compliance verification.
26
26
 
27
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
28
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
29
+ # /codebase-search "relevant search terms for your task" --top 5
30
+ # /codebase-search "error pattern or issue you're fixing" --top 3
31
+ # Also query past errors and learnings:
32
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
33
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
34
+ # This prevents duplicated work and leverages existing solutions.
35
+
27
36
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
28
37
  # Chaos Engineering Specialist Agent
29
38
 
@@ -36,6 +36,15 @@ prerequisites:
36
36
  # This is mandatory for all file edits to ensure code quality and validation.
37
37
  # The pipeline will run compilation checks and TDD compliance verification.
38
38
 
39
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
40
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
41
+ # /codebase-search "relevant search terms for your task" --top 5
42
+ # /codebase-search "error pattern or issue you're fixing" --top 3
43
+ # Also query past errors and learnings:
44
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
45
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
46
+ # This prevents duplicated work and leverages existing solutions.
47
+
39
48
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
40
49
  # Contract Testing Specialist Agent
41
50
 
@@ -23,6 +23,15 @@ validation_hooks:
23
23
  # This is mandatory for all file edits to ensure code quality and validation.
24
24
  # The pipeline will run compilation checks and TDD compliance verification.
25
25
 
26
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
27
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
28
+ # /codebase-search "relevant search terms for your task" --top 5
29
+ # /codebase-search "error pattern or issue you're fixing" --top 3
30
+ # Also query past errors and learnings:
31
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
32
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
33
+ # This prevents duplicated work and leverages existing solutions.
34
+
26
35
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
27
36
 
28
37
  # Playwright E2E Testing Agent
@@ -24,6 +24,15 @@ validation_hooks:
24
24
  # This is mandatory for all file edits to ensure code quality and validation.
25
25
  # The pipeline will run compilation checks and TDD compliance verification.
26
26
 
27
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
28
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
29
+ # /codebase-search "relevant search terms for your task" --top 5
30
+ # /codebase-search "error pattern or issue you're fixing" --top 3
31
+ # Also query past errors and learnings:
32
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
33
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
34
+ # This prevents duplicated work and leverages existing solutions.
35
+
27
36
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
28
37
  # Integration Testing Specialist Agent
29
38
 
@@ -19,6 +19,15 @@ validation_hooks:
19
19
  # This is mandatory for all file edits to ensure code quality and validation.
20
20
  # The pipeline will run compilation checks and TDD compliance verification.
21
21
 
22
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
23
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
24
+ # /codebase-search "relevant search terms for your task" --top 5
25
+ # /codebase-search "error pattern or issue you're fixing" --top 3
26
+ # Also query past errors and learnings:
27
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
28
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
29
+ # This prevents duplicated work and leverages existing solutions.
30
+
22
31
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
23
32
 
24
33
  # Interaction Tester Agent
@@ -17,6 +17,15 @@ validation_hooks:
17
17
  # This is mandatory for all file edits to ensure code quality and validation.
18
18
  # The pipeline will run compilation checks and TDD compliance verification.
19
19
 
20
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
21
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
22
+ # /codebase-search "relevant search terms for your task" --top 5
23
+ # /codebase-search "error pattern or issue you're fixing" --top 3
24
+ # Also query past errors and learnings:
25
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
26
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
27
+ # This prevents duplicated work and leverages existing solutions.
28
+
20
29
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
21
30
 
22
31
  # Load Testing Specialist Agent
@@ -22,6 +22,15 @@ validation_hooks:
22
22
  # This is mandatory for all file edits to ensure code quality and validation.
23
23
  # The pipeline will run compilation checks and TDD compliance verification.
24
24
 
25
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
26
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
27
+ # /codebase-search "relevant search terms for your task" --top 5
28
+ # /codebase-search "error pattern or issue you're fixing" --top 3
29
+ # Also query past errors and learnings:
30
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
31
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
32
+ # This prevents duplicated work and leverages existing solutions.
33
+
25
34
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
26
35
  # Mutation Testing Specialist Agent
27
36
 
@@ -24,6 +24,15 @@ validation_hooks:
24
24
  # This is mandatory for all file edits to ensure code quality and validation.
25
25
  # The pipeline will run compilation checks and TDD compliance verification.
26
26
 
27
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
28
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
29
+ # /codebase-search "relevant search terms for your task" --top 5
30
+ # /codebase-search "error pattern or issue you're fixing" --top 3
31
+ # Also query past errors and learnings:
32
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
33
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
34
+ # This prevents duplicated work and leverages existing solutions.
35
+
27
36
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
28
37
 
29
38
  # Playwright Tester Agent
@@ -250,4 +259,4 @@ Complete your work and provide a structured response with:
250
259
  - List of deliverables created
251
260
  - Any recommendations or findings
252
261
 
253
- **Note:** Coordination handled automatically by the system.
262
+ **Note:** Coordination handled automatically by the system.
@@ -20,6 +20,15 @@ validation_hooks:
20
20
  # This is mandatory for all file edits to ensure code quality and validation.
21
21
  # The pipeline will run compilation checks and TDD compliance verification.
22
22
 
23
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
24
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
25
+ # /codebase-search "relevant search terms for your task" --top 5
26
+ # /codebase-search "error pattern or issue you're fixing" --top 3
27
+ # Also query past errors and learnings:
28
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
29
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
30
+ # This prevents duplicated work and leverages existing solutions.
31
+
23
32
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
24
33
 
25
34
  # TDD London Unit Swarm
@@ -34,4 +43,4 @@ Complete your work and provide a structured response with:
34
43
  - List of deliverables created
35
44
  - Any recommendations or findings
36
45
 
37
- **Note:** Coordination handled automatically by the system.
46
+ **Note:** Coordination handled automatically by the system.
@@ -12,6 +12,15 @@ keywords: ["production-validation", "deployment-readiness", "system-reliability"
12
12
  # This is mandatory for all file edits to ensure code quality and validation.
13
13
  # The pipeline will run compilation checks and TDD compliance verification.
14
14
 
15
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
16
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
17
+ # /codebase-search "relevant search terms for your task" --top 5
18
+ # /codebase-search "error pattern or issue you're fixing" --top 3
19
+ # Also query past errors and learnings:
20
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
21
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
22
+ # This prevents duplicated work and leverages existing solutions.
23
+
15
24
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
16
25
 
17
26
  Remember: Production validation ensures system reliability, user safety, and organizational compliance.
@@ -24,4 +33,4 @@ Complete your work and provide a structured response with:
24
33
  - List of deliverables created
25
34
  - Any recommendations or findings
26
35
 
27
- **Note:** Coordination handled automatically by the system.
36
+ **Note:** Coordination handled automatically by the system.
@@ -14,6 +14,15 @@ capabilities: [test-validation, coverage-analysis, quality-assessment]
14
14
  # This is mandatory for all file edits to ensure code quality and validation.
15
15
  # The pipeline will run compilation checks and TDD compliance verification.
16
16
 
17
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
18
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
19
+ # /codebase-search "relevant search terms for your task" --top 5
20
+ # /codebase-search "error pattern or issue you're fixing" --top 3
21
+ # Also query past errors and learnings:
22
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
23
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
24
+ # This prevents duplicated work and leverages existing solutions.
25
+
17
26
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
18
27
 
19
28
  # Test Validation Agent
@@ -14,6 +14,15 @@ capabilities: [agent-design, template-creation, agent-maintenance, validation]
14
14
  # This is mandatory for all file edits to ensure code quality and validation.
15
15
  # The pipeline will run compilation checks and TDD compliance verification.
16
16
 
17
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
18
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
19
+ # /codebase-search "relevant search terms for your task" --top 5
20
+ # /codebase-search "error pattern or issue you're fixing" --top 3
21
+ # Also query past errors and learnings:
22
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
23
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
24
+ # This prevents duplicated work and leverages existing solutions.
25
+
17
26
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
18
27
 
19
28
  # Agent Builder
@@ -484,4 +493,4 @@ name: my-agent
484
493
  - Ensure traceability of agent design process
485
494
 
486
495
  ## Contributing
487
- Propose improvements via pull request with detailed justification and example templates.
496
+ Propose improvements via pull request with detailed justification and example templates.
@@ -18,6 +18,15 @@ acl_level: 3
18
18
  # This is mandatory for all file edits to ensure code quality and validation.
19
19
  # The pipeline will run compilation checks and TDD compliance verification.
20
20
 
21
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
22
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
23
+ # /codebase-search "relevant search terms for your task" --top 5
24
+ # /codebase-search "error pattern or issue you're fixing" --top 3
25
+ # Also query past errors and learnings:
26
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
27
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
28
+ # This prevents duplicated work and leverages existing solutions.
29
+
21
30
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
22
31
 
23
32
  # Context Curator Agent
@@ -24,6 +24,15 @@ validation_hooks:
24
24
  # This is mandatory for all file edits to ensure code quality and validation.
25
25
  # The pipeline will run compilation checks and TDD compliance verification.
26
26
 
27
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
28
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
29
+ # /codebase-search "relevant search terms for your task" --top 5
30
+ # /codebase-search "error pattern or issue you're fixing" --top 3
31
+ # Also query past errors and learnings:
32
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
33
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
34
+ # This prevents duplicated work and leverages existing solutions.
35
+
27
36
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
28
37
 
29
38
  <!-- PROVIDER_PARAMETERS
@@ -15,6 +15,15 @@ validation_hooks:
15
15
  # This is mandatory for all file edits to ensure code quality and validation.
16
16
  # The pipeline will run compilation checks and TDD compliance verification.
17
17
 
18
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
19
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
20
+ # /codebase-search "relevant search terms for your task" --top 5
21
+ # /codebase-search "error pattern or issue you're fixing" --top 3
22
+ # Also query past errors and learnings:
23
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
24
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
25
+ # This prevents duplicated work and leverages existing solutions.
26
+
18
27
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
19
28
 
20
29
  # Researcher Agent
@@ -23,6 +23,15 @@ validation_hooks:
23
23
  # This is mandatory for all file edits to ensure code quality and validation.
24
24
  # The pipeline will run compilation checks and TDD compliance verification.
25
25
 
26
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
27
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
28
+ # /codebase-search "relevant search terms for your task" --top 5
29
+ # /codebase-search "error pattern or issue you're fixing" --top 3
30
+ # Also query past errors and learnings:
31
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
32
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
33
+ # This prevents duplicated work and leverages existing solutions.
34
+
26
35
  → **Skills**: Cerebras MCP (blueprint prompts) | RuVector (semantic search) | Post-edit hook (file validation)
27
36
 
28
37
  <!-- PROVIDER_PARAMETERS
@@ -0,0 +1,12 @@
1
+ #!/bin/bash
2
+ # SessionStart hook: Build RuVector Rust binary if missing
3
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
+ PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
5
+ RUVECTOR_DIR="$PROJECT_ROOT/.claude/skills/cfn-local-ruvector-accelerator"
6
+ BINARY="$RUVECTOR_DIR/target/release/local-ruvector"
7
+
8
+ if [ ! -f "$BINARY" ]; then
9
+ echo "[cfn-build-ruvector] Building RuVector..."
10
+ command -v cargo &>/dev/null && cd "$RUVECTOR_DIR" && cargo build --release --quiet 2>/dev/null
11
+ [ -f "$BINARY" ] && echo "[cfn-build-ruvector] ✅ Built" || echo "[cfn-build-ruvector] Build skipped"
12
+ fi
@@ -0,0 +1,28 @@
1
+ #!/bin/bash
2
+ # SessionStart hook: Build RuVector Rust binary if missing
3
+ # This ensures RuVector is compiled on cfn init
4
+
5
+ RUVECTOR_DIR="$(dirname "$(dirname "$(dirname "$0")")")/skills/cfn-local-ruvector-accelerator"
6
+ BINARY="$RUVECTOR_DIR/target/release/local-ruvector"
7
+
8
+ # Only build if binary doesn't exist
9
+ if [ ! -f "$BINARY" ]; then
10
+ echo "[cfn-build-ruvector] Binary not found, building..."
11
+
12
+ # Check if Cargo is available
13
+ if ! command -v cargo &> /dev/null; then
14
+ echo "[cfn-build-ruvector] WARNING: Cargo not installed, skipping RuVector build"
15
+ exit 0
16
+ fi
17
+
18
+ # Build release binary
19
+ cd "$RUVECTOR_DIR" && cargo build --release --quiet 2>/dev/null
20
+
21
+ if [ -f "$BINARY" ]; then
22
+ echo "[cfn-build-ruvector] ✅ RuVector binary built successfully"
23
+ else
24
+ echo "[cfn-build-ruvector] WARNING: Build failed, RuVector unavailable"
25
+ fi
26
+ else
27
+ echo "[cfn-build-ruvector] ✅ RuVector binary already exists"
28
+ fi
@@ -1,27 +1,21 @@
1
1
  #!/bin/bash
2
2
  set -eu
3
3
 
4
- # Add RuVector instructions to key agent profiles
4
+ # Add RuVector instructions to all agent profiles with Post-Edit Pipeline
5
5
 
6
6
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
7
- AGENT_DIR="${SCRIPT_DIR}/../agents"
7
+ AGENT_DIR="${SCRIPT_DIR}/../agents/cfn-dev-team"
8
8
 
9
- # Define which agents to update (high-impact ones)
10
- AGENTS_TO_UPDATE=(
11
- "custom/cfn-docker-expert.md"
12
- "custom/cfn-loops-cli-expert.md"
13
- "custom/cfn-redis-operations.md"
14
- "custom/cfn-system-expert.md"
15
- "custom/claude-code-expert.md"
16
- "custom/mdap-trigger-specialist.md"
17
- "custom/trigger-dev-expert.md"
18
- "development/backend-developer.md"
19
- "development/frontend-developer.md"
20
- "development/database-architect.md"
21
- "testing/tester.md"
22
- "validation/code-reviewer.md"
23
- "validation/security-specialist.md"
24
- )
9
+ # RuVector instruction block to add
10
+ RUVECTOR_BLOCK='
11
+ # IMPORTANT: RuVector Semantic Search (Before Making Changes)
12
+ # Before implementing any changes, ALWAYS query the codebase for similar patterns:
13
+ # /codebase-search "relevant search terms for your task" --top 5
14
+ # /codebase-search "error pattern or issue you'\''re fixing" --top 3
15
+ # Also query past errors and learnings:
16
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description "Your task description"
17
+ # ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description "Your task description" --category PATTERN
18
+ # This prevents duplicated work and leverages existing solutions.'
25
19
 
26
20
  # Function to add instructions after post-edit pipeline section
27
21
  add_ruvector_instructions() {
@@ -30,60 +24,54 @@ add_ruvector_instructions() {
30
24
 
31
25
  # Check if file already has RuVector instructions
32
26
  if grep -q "RuVector Semantic Search" "$file"; then
33
- echo "⚠️ $file already has RuVector instructions"
27
+ echo "⚠️ $(basename "$file") already has RuVector instructions"
34
28
  rm -f "$temp_file"
35
29
  return 0
36
30
  fi
37
31
 
38
- # Find the line with post-edit pipeline and insert after it
32
+ # Find the line with post-edit pipeline and insert after its block
39
33
  if grep -q "Post-Edit Pipeline Requirement" "$file"; then
40
- # Add after the entire post-edit section (look for the empty line after it)
41
- awk '
34
+ awk -v block="$RUVECTOR_BLOCK" '
42
35
  /^# IMPORTANT: Post-Edit Pipeline Requirement/ {in_section=1}
43
36
  in_section && /^$/ && !added {
44
- print ""
45
- print ""
46
- print "# IMPORTANT: RuVector Semantic Search (Before Making Changes)"
47
- print "# Before implementing any changes, ALWAYS query the codebase for similar patterns:"
48
- print "# /codebase-search \"relevant search terms for your task\" --top 5"
49
- print "# /codebase-search \"error pattern or issue you\"re fixing\" --top 3"
50
- print "# Also query past errors and learnings:"
51
- print "# ./.claude/skills/cfn-ruvector-codebase-index/query-error-patterns.sh --task-description \"Your task description\""
52
- print "# ./.claude/skills/cfn-ruvector-codebase-index/query-learnings.sh --task-description \"Your task description\" --category PATTERN"
53
- print "# This prevents duplicated work and leverages existing solutions."
37
+ print block
54
38
  added=1
39
+ in_section=0
55
40
  }
56
41
  {print}
57
42
  ' "$file" > "$temp_file"
58
43
  mv "$temp_file" "$file"
59
- echo "✅ Added RuVector instructions to $file"
44
+ echo "✅ Added RuVector to $(basename "$file")"
45
+ return 1
60
46
  else
61
- echo "❌ Could not find Post-Edit section in $file"
62
47
  rm -f "$temp_file"
48
+ return 0
63
49
  fi
64
50
  }
65
51
 
66
- # Process each agent
67
- echo "🔄 Adding RuVector instructions to key agent profiles..."
52
+ # Process all agent files recursively
53
+ echo "🔄 Adding RuVector instructions to agent profiles..."
68
54
  echo ""
69
55
 
70
56
  updated=0
71
57
  skipped=0
58
+ no_postedit=0
72
59
 
73
- for agent in "${AGENTS_TO_UPDATE[@]}"; do
74
- agent_path="${AGENT_DIR}/$agent"
75
-
76
- if [[ ! -f "$agent_path" ]]; then
77
- echo "⚠️ $agent not found, skipping"
78
- ((skipped++))
60
+ while IFS= read -r -d '' agent_file; do
61
+ # Skip non-agent files
62
+ if [[ "$(basename "$agent_file")" == "CLAUDE.md" ]] || \
63
+ [[ "$(basename "$agent_file")" == "README.md" ]]; then
79
64
  continue
80
65
  fi
81
66
 
82
- add_ruvector_instructions "$agent_path"
83
- ((updated++))
84
- done
67
+ if add_ruvector_instructions "$agent_file"; then
68
+ ((skipped++)) || true
69
+ else
70
+ ((updated++)) || true
71
+ fi
72
+ done < <(find "$AGENT_DIR" -name "*.md" -type f -print0 2>/dev/null)
85
73
 
86
74
  echo ""
87
75
  echo "=== Summary ==="
88
76
  echo "✅ Updated: $updated agents"
89
- echo "⚠️ Skipped: $skipped agents"
77
+ echo "⚠️ Already had instructions: $skipped agents"
@@ -0,0 +1,12 @@
1
+ #!/bin/bash
2
+ # SessionStart hook: Build RuVector Rust binary if missing
3
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
+ PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
5
+ RUVECTOR_DIR="$PROJECT_ROOT/.claude/skills/cfn-local-ruvector-accelerator"
6
+ BINARY="$RUVECTOR_DIR/target/release/local-ruvector"
7
+
8
+ if [ ! -f "$BINARY" ]; then
9
+ echo "[cfn-build-ruvector] Building RuVector..."
10
+ command -v cargo &>/dev/null && cd "$RUVECTOR_DIR" && cargo build --release --quiet 2>/dev/null
11
+ [ -f "$BINARY" ] && echo "[cfn-build-ruvector] ✅ Built" || echo "[cfn-build-ruvector] Build skipped"
12
+ fi