@hivehub/rulebook 5.8.1 โ 6.0.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/README.md +86 -216
- package/dist/cli/commands/claude.d.ts.map +1 -1
- package/dist/cli/commands/claude.js +10 -4
- package/dist/cli/commands/claude.js.map +1 -1
- package/dist/cli/commands/context-intelligence.d.ts.map +1 -1
- package/dist/cli/commands/context-intelligence.js.map +1 -1
- package/dist/cli/commands/index.d.ts +1 -2
- package/dist/cli/commands/index.d.ts.map +1 -1
- package/dist/cli/commands/index.js +1 -2
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +16 -91
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/mcp.d.ts.map +1 -1
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/cli/commands/misc.d.ts +0 -1
- package/dist/cli/commands/misc.d.ts.map +1 -1
- package/dist/cli/commands/misc.js +0 -76
- package/dist/cli/commands/misc.js.map +1 -1
- package/dist/cli/commands/plans.d.ts.map +1 -1
- package/dist/cli/commands/plans.js.map +1 -1
- package/dist/cli/commands/skills.d.ts.map +1 -1
- package/dist/cli/commands/skills.js +6 -2
- package/dist/cli/commands/skills.js.map +1 -1
- package/dist/cli/commands/task.d.ts.map +1 -1
- package/dist/cli/commands/task.js +3 -1
- package/dist/cli/commands/task.js.map +1 -1
- package/dist/cli/commands/update.d.ts +7 -0
- package/dist/cli/commands/update.d.ts.map +1 -1
- package/dist/cli/commands/update.js +61 -165
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/commands/workspace.d.ts.map +1 -1
- package/dist/cli/commands/workspace.js +4 -3
- package/dist/cli/commands/workspace.js.map +1 -1
- package/dist/cli/prompts.d.ts.map +1 -1
- package/dist/cli/prompts.js +0 -40
- package/dist/cli/prompts.js.map +1 -1
- package/dist/core/claude/claude-mcp.d.ts.map +1 -1
- package/dist/core/claude/claude-mcp.js +1 -1
- package/dist/core/claude/claude-mcp.js.map +1 -1
- package/dist/core/claude/claude-md-generator.d.ts.map +1 -1
- package/dist/core/claude/claude-md-generator.js.map +1 -1
- package/dist/core/claude/claude-settings-manager.d.ts.map +1 -1
- package/dist/core/claude/claude-settings-manager.js +9 -6
- package/dist/core/claude/claude-settings-manager.js.map +1 -1
- package/dist/core/custom-templates.d.ts.map +1 -1
- package/dist/core/custom-templates.js.map +1 -1
- package/dist/core/detect/detector.d.ts +0 -28
- package/dist/core/detect/detector.d.ts.map +1 -1
- package/dist/core/detect/detector.js +5 -84
- package/dist/core/detect/detector.js.map +1 -1
- package/dist/core/detect/library-registry.d.ts.map +1 -1
- package/dist/core/detect/library-registry.js.map +1 -1
- package/dist/core/docs/docs-generator.d.ts.map +1 -1
- package/dist/core/docs/docs-generator.js.map +1 -1
- package/dist/core/docs/mcp-reference-generator.d.ts.map +1 -1
- package/dist/core/docs/mcp-reference-generator.js.map +1 -1
- package/dist/core/generators/generator.d.ts.map +1 -1
- package/dist/core/generators/generator.js +0 -72
- package/dist/core/generators/generator.js.map +1 -1
- package/dist/core/generators/gitignore-generator.d.ts.map +1 -1
- package/dist/core/generators/gitignore-generator.js +12 -1
- package/dist/core/generators/gitignore-generator.js.map +1 -1
- package/dist/core/generators/minimal-scaffolder.d.ts.map +1 -1
- package/dist/core/generators/minimal-scaffolder.js.map +1 -1
- package/dist/core/generators/rules-generator.d.ts.map +1 -1
- package/dist/core/generators/rules-generator.js.map +1 -1
- package/dist/core/generators/workflow-generator.d.ts +0 -10
- package/dist/core/generators/workflow-generator.d.ts.map +1 -1
- package/dist/core/generators/workflow-generator.js +0 -307
- package/dist/core/generators/workflow-generator.js.map +1 -1
- package/dist/core/logger.d.ts.map +1 -1
- package/dist/core/logger.js.map +1 -1
- package/dist/core/merger.d.ts.map +1 -1
- package/dist/core/merger.js.map +1 -1
- package/dist/core/migrator.d.ts.map +1 -1
- package/dist/core/migrator.js +2 -1
- package/dist/core/migrator.js.map +1 -1
- package/dist/core/quality/coverage-checker.d.ts.map +1 -1
- package/dist/core/quality/coverage-checker.js.map +1 -1
- package/dist/core/quality/dependency-checker.d.ts.map +1 -1
- package/dist/core/quality/dependency-checker.js +3 -1
- package/dist/core/quality/dependency-checker.js.map +1 -1
- package/dist/core/quality/doctor.d.ts.map +1 -1
- package/dist/core/quality/doctor.js.map +1 -1
- package/dist/core/quality/validator.d.ts.map +1 -1
- package/dist/core/quality/validator.js.map +1 -1
- package/dist/core/rule-engine.d.ts +5 -21
- package/dist/core/rule-engine.d.ts.map +1 -1
- package/dist/core/rule-engine.js +9 -191
- package/dist/core/rule-engine.js.map +1 -1
- package/dist/core/skills/skills-manager.d.ts.map +1 -1
- package/dist/core/skills/skills-manager.js.map +1 -1
- package/dist/core/state/config-manager.d.ts.map +1 -1
- package/dist/core/state/config-manager.js +6 -50
- package/dist/core/state/config-manager.js.map +1 -1
- package/dist/core/state/override-manager.js.map +1 -1
- package/dist/core/state/state-writer.d.ts.map +1 -1
- package/dist/core/state/state-writer.js.map +1 -1
- package/dist/core/state/version-bumper.d.ts.map +1 -1
- package/dist/core/state/version-bumper.js.map +1 -1
- package/dist/core/tasks/decision-manager.d.ts.map +1 -1
- package/dist/core/tasks/decision-manager.js +6 -1
- package/dist/core/tasks/decision-manager.js.map +1 -1
- package/dist/core/tasks/knowledge-manager.d.ts.map +1 -1
- package/dist/core/tasks/knowledge-manager.js.map +1 -1
- package/dist/core/tasks/learn-manager.d.ts.map +1 -1
- package/dist/core/tasks/learn-manager.js.map +1 -1
- package/dist/core/tasks/plans-manager.d.ts.map +1 -1
- package/dist/core/tasks/plans-manager.js.map +1 -1
- package/dist/core/tasks/task-manager.d.ts.map +1 -1
- package/dist/core/tasks/task-manager.js.map +1 -1
- package/dist/core/workspace/legacy-migrator.d.ts.map +1 -1
- package/dist/core/workspace/legacy-migrator.js.map +1 -1
- package/dist/core/workspace/project-worker.d.ts +0 -4
- package/dist/core/workspace/project-worker.d.ts.map +1 -1
- package/dist/core/workspace/project-worker.js +0 -28
- package/dist/core/workspace/project-worker.js.map +1 -1
- package/dist/core/workspace/workspace-manager.d.ts +0 -11
- package/dist/core/workspace/workspace-manager.d.ts.map +1 -1
- package/dist/core/workspace/workspace-manager.js +6 -30
- package/dist/core/workspace/workspace-manager.js.map +1 -1
- package/dist/core/workspace/workspace-types.d.ts +0 -1
- package/dist/core/workspace/workspace-types.d.ts.map +1 -1
- package/dist/hooks/safe-flag-io.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -82
- package/dist/index.js.map +1 -1
- package/dist/mcp/rulebook-server.d.ts.map +1 -1
- package/dist/mcp/rulebook-server.js +55 -1634
- package/dist/mcp/rulebook-server.js.map +1 -1
- package/dist/mcp/tools/context.d.ts +23 -0
- package/dist/mcp/tools/context.d.ts.map +1 -0
- package/dist/mcp/tools/context.js +2 -0
- package/dist/mcp/tools/context.js.map +1 -0
- package/dist/mcp/tools/decision-tools.d.ts +5 -0
- package/dist/mcp/tools/decision-tools.d.ts.map +1 -0
- package/dist/mcp/tools/decision-tools.js +220 -0
- package/dist/mcp/tools/decision-tools.js.map +1 -0
- package/dist/mcp/tools/knowledge-tools.d.ts +5 -0
- package/dist/mcp/tools/knowledge-tools.d.ts.map +1 -0
- package/dist/mcp/tools/knowledge-tools.js +157 -0
- package/dist/mcp/tools/knowledge-tools.js.map +1 -0
- package/dist/mcp/tools/learn-tools.d.ts +5 -0
- package/dist/mcp/tools/learn-tools.d.ts.map +1 -0
- package/dist/mcp/tools/learn-tools.js +150 -0
- package/dist/mcp/tools/learn-tools.js.map +1 -0
- package/dist/mcp/tools/rules-tools.d.ts +4 -0
- package/dist/mcp/tools/rules-tools.d.ts.map +1 -0
- package/dist/mcp/tools/rules-tools.js +47 -0
- package/dist/mcp/tools/rules-tools.js.map +1 -0
- package/dist/mcp/tools/skill-tools.d.ts +5 -0
- package/dist/mcp/tools/skill-tools.d.ts.map +1 -0
- package/dist/mcp/tools/skill-tools.js +330 -0
- package/dist/mcp/tools/skill-tools.js.map +1 -0
- package/dist/mcp/tools/task-tools.d.ts +5 -0
- package/dist/mcp/tools/task-tools.d.ts.map +1 -0
- package/dist/mcp/tools/task-tools.js +185 -0
- package/dist/mcp/tools/task-tools.js.map +1 -0
- package/dist/mcp/tools/workspace-tools.d.ts +6 -0
- package/dist/mcp/tools/workspace-tools.d.ts.map +1 -0
- package/dist/mcp/tools/workspace-tools.js +118 -0
- package/dist/mcp/tools/workspace-tools.js.map +1 -0
- package/dist/types.d.ts +1 -46
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/file-system.d.ts.map +1 -1
- package/dist/utils/file-system.js.map +1 -1
- package/dist/utils/git-hooks.d.ts.map +1 -1
- package/dist/utils/git-hooks.js.map +1 -1
- package/dist/utils/gitignore.d.ts.map +1 -1
- package/dist/utils/gitignore.js.map +1 -1
- package/dist/utils/rulesignore.d.ts.map +1 -1
- package/dist/utils/rulesignore.js.map +1 -1
- package/package.json +25 -27
- package/templates/agents/architect.md +51 -51
- package/templates/agents/build-engineer.md +36 -36
- package/templates/agents/code-reviewer.md +47 -47
- package/templates/agents/docs-writer.md +38 -38
- package/templates/agents/implementer.md +42 -42
- package/templates/agents/performance-engineer.md +49 -49
- package/templates/agents/researcher.md +38 -38
- package/templates/agents/security-reviewer.md +40 -40
- package/templates/agents/team-lead.md +37 -37
- package/templates/agents/tester.md +48 -48
- package/templates/ci/rulebook-review.yml +26 -26
- package/templates/claude-workflows/review-fanout.js +2 -2
- package/templates/claude-workflows/rulebook-driver.js +16 -4
- package/templates/cli/CLAUDE.md +102 -117
- package/templates/cli/_GENERIC_TEMPLATE.md +29 -29
- package/templates/commands/rulebook-decision-create.md +55 -55
- package/templates/commands/rulebook-decision-list.md +15 -15
- package/templates/commands/rulebook-knowledge-add.md +41 -41
- package/templates/commands/rulebook-knowledge-list.md +15 -15
- package/templates/commands/rulebook-learn-capture.md +1 -2
- package/templates/commands/rulebook-task-apply.md +67 -67
- package/templates/commands/rulebook-task-archive.md +94 -94
- package/templates/commands/rulebook-task-create.md +93 -93
- package/templates/commands/rulebook-task-list.md +42 -42
- package/templates/commands/rulebook-task-show.md +52 -52
- package/templates/commands/rulebook-task-validate.md +53 -53
- package/templates/compact-context/_default.md +23 -23
- package/templates/compact-context/cpp.md +26 -26
- package/templates/compact-context/go.md +26 -26
- package/templates/compact-context/python.md +26 -26
- package/templates/compact-context/rust.md +28 -28
- package/templates/compact-context/typescript.md +29 -29
- package/templates/core/AGENTS_LEAN.md +4 -9
- package/templates/core/AGENTS_OVERRIDE.md +16 -16
- package/templates/core/AGENT_AUTOMATION.md +273 -296
- package/templates/core/CLAUDE_MD_v2.md +85 -90
- package/templates/core/DAG.md +304 -304
- package/templates/core/DECISIONS.md +38 -38
- package/templates/core/DOCUMENTATION_RULES.md +36 -36
- package/templates/core/KNOWLEDGE.md +49 -49
- package/templates/core/MULTI_AGENT.md +74 -74
- package/templates/core/PLANS.md +28 -28
- package/templates/core/QUALITY_ENFORCEMENT.md +68 -68
- package/templates/core/RULEBOOK.md +1936 -1947
- package/templates/core/TIER1_PROHIBITIONS.md +154 -154
- package/templates/core/TOKEN_OPTIMIZATION.md +49 -49
- package/templates/core/WORKSPACE.md +4 -8
- package/templates/git/CI_CD_PATTERNS.md +661 -661
- package/templates/git/GITHUB_ACTIONS.md +728 -728
- package/templates/git/GITLAB_CI.md +730 -730
- package/templates/git/GIT_WORKFLOW.md +1192 -1192
- package/templates/git/SECRETS_MANAGEMENT.md +585 -585
- package/templates/hooks/COMMIT_MSG.md +530 -530
- package/templates/hooks/POST_CHECKOUT.md +546 -546
- package/templates/hooks/PREPARE_COMMIT_MSG.md +619 -619
- package/templates/hooks/PRE_COMMIT.md +414 -414
- package/templates/hooks/PRE_PUSH.md +601 -601
- package/templates/hooks/enforce-pre-tool.sh +26 -9
- package/templates/hooks/update-check.ps1 +84 -84
- package/templates/hooks/update-check.sh +45 -21
- package/templates/languages/C.md +333 -333
- package/templates/languages/CPP.md +743 -743
- package/templates/languages/CSHARP.md +417 -417
- package/templates/languages/ELIXIR.md +454 -454
- package/templates/languages/ERLANG.md +361 -361
- package/templates/languages/GO.md +645 -645
- package/templates/languages/HASKELL.md +177 -177
- package/templates/languages/JAVA.md +607 -607
- package/templates/languages/JAVASCRIPT.md +631 -631
- package/templates/languages/JULIA.md +97 -97
- package/templates/languages/KOTLIN.md +511 -511
- package/templates/languages/LISP.md +100 -100
- package/templates/languages/LUA.md +74 -74
- package/templates/languages/OBJECTIVEC.md +90 -90
- package/templates/languages/PHP.md +416 -416
- package/templates/languages/PYTHON.md +682 -682
- package/templates/languages/RUBY.md +421 -421
- package/templates/languages/RUST.md +477 -477
- package/templates/languages/SAS.md +73 -73
- package/templates/languages/SCALA.md +348 -348
- package/templates/languages/SOLIDITY.md +580 -580
- package/templates/languages/SQL.md +137 -137
- package/templates/languages/SWIFT.md +466 -466
- package/templates/languages/TYPESCRIPT.md +591 -591
- package/templates/languages/ZIG.md +265 -265
- package/templates/modules/CONTEXT7.md +54 -54
- package/templates/modules/GITHUB_MCP.md +64 -64
- package/templates/modules/PLAYWRIGHT.md +90 -90
- package/templates/modules/RULEBOOK_MCP.md +208 -208
- package/templates/modules/SERENA.md +337 -337
- package/templates/modules/SUPABASE.md +223 -223
- package/templates/modules/SYNAP.md +69 -69
- package/templates/modules/VECTORIZER.md +63 -63
- package/templates/modules/sequential-thinking.md +42 -42
- package/templates/rules/consult-analysis-before-implementing.md +21 -23
- package/templates/rules/cpp.md +46 -46
- package/templates/rules/csharp.md +44 -44
- package/templates/rules/diagnostic-first.md +39 -39
- package/templates/rules/fail-twice-escalate.md +46 -46
- package/templates/rules/follow-task-sequence.md +36 -36
- package/templates/rules/git-safety.md +29 -29
- package/templates/rules/go.md +40 -40
- package/templates/rules/incremental-implementation.md +56 -56
- package/templates/rules/incremental-tests.md +29 -29
- package/templates/rules/java.md +43 -43
- package/templates/rules/javascript.md +39 -39
- package/templates/rules/knowledge-base-usage.md +41 -41
- package/templates/rules/multi-agent-teams.md +75 -75
- package/templates/rules/no-deferred.md +31 -31
- package/templates/rules/no-shortcuts.md +30 -30
- package/templates/rules/python.md +43 -43
- package/templates/rules/research-first.md +30 -30
- package/templates/rules/respect-handoff-trigger.md +41 -41
- package/templates/rules/rust.md +40 -40
- package/templates/rules/sequential-editing.md +21 -21
- package/templates/rules/session-workflow.md +24 -24
- package/templates/rules/task-decomposition.md +32 -32
- package/templates/rules/typescript.md +40 -40
- package/templates/skills/cli/claude/SKILL.md +42 -42
- package/templates/skills/core/agent-automation/SKILL.md +194 -194
- package/templates/skills/core/dag/SKILL.md +314 -314
- package/templates/skills/core/documentation-rules/SKILL.md +46 -46
- package/templates/skills/core/quality-enforcement/SKILL.md +78 -78
- package/templates/skills/core/rulebook/SKILL.md +176 -176
- package/templates/skills/core/rulebook-terse/SKILL.md +116 -116
- package/templates/skills/core/rulebook-terse-commit/SKILL.md +96 -96
- package/templates/skills/core/rulebook-terse-review/SKILL.md +112 -112
- package/templates/skills/dev/accessibility/SKILL.md +17 -17
- package/templates/skills/dev/analysis/SKILL.md +19 -19
- package/templates/skills/dev/api-design/SKILL.md +15 -15
- package/templates/skills/dev/architect/SKILL.md +17 -17
- package/templates/skills/dev/build-fix/SKILL.md +17 -17
- package/templates/skills/dev/db-design/SKILL.md +15 -15
- package/templates/skills/dev/debug/SKILL.md +16 -16
- package/templates/skills/dev/deploy/SKILL.md +17 -17
- package/templates/skills/dev/docs/SKILL.md +17 -17
- package/templates/skills/dev/handoff/SKILL.md +27 -27
- package/templates/skills/dev/migrate/SKILL.md +15 -15
- package/templates/skills/dev/perf/SKILL.md +17 -17
- package/templates/skills/dev/refactor/SKILL.md +17 -17
- package/templates/skills/dev/research/SKILL.md +14 -14
- package/templates/skills/dev/review/SKILL.md +18 -18
- package/templates/skills/dev/security-audit/SKILL.md +17 -17
- package/templates/skills/languages/c/SKILL.md +343 -343
- package/templates/skills/languages/cpp/SKILL.md +753 -753
- package/templates/skills/languages/csharp/SKILL.md +427 -427
- package/templates/skills/languages/elixir/SKILL.md +464 -464
- package/templates/skills/languages/erlang/SKILL.md +371 -371
- package/templates/skills/languages/go/SKILL.md +655 -655
- package/templates/skills/languages/haskell/SKILL.md +187 -187
- package/templates/skills/languages/java/SKILL.md +617 -617
- package/templates/skills/languages/javascript/SKILL.md +641 -641
- package/templates/skills/languages/julia/SKILL.md +107 -107
- package/templates/skills/languages/kotlin/SKILL.md +521 -521
- package/templates/skills/languages/lisp/SKILL.md +110 -110
- package/templates/skills/languages/lua/SKILL.md +84 -84
- package/templates/skills/languages/objectivec/SKILL.md +100 -100
- package/templates/skills/languages/php/SKILL.md +426 -426
- package/templates/skills/languages/python/SKILL.md +692 -692
- package/templates/skills/languages/ruby/SKILL.md +431 -431
- package/templates/skills/languages/rust/SKILL.md +487 -487
- package/templates/skills/languages/sas/SKILL.md +83 -83
- package/templates/skills/languages/scala/SKILL.md +358 -358
- package/templates/skills/languages/solidity/SKILL.md +590 -590
- package/templates/skills/languages/sql/SKILL.md +147 -147
- package/templates/skills/languages/swift/SKILL.md +476 -476
- package/templates/skills/languages/typescript/SKILL.md +302 -302
- package/templates/skills/languages/zig/SKILL.md +275 -275
- package/templates/skills/modules/context7/SKILL.md +64 -64
- package/templates/skills/modules/github-mcp/SKILL.md +74 -74
- package/templates/skills/modules/playwright/SKILL.md +100 -100
- package/templates/skills/modules/rulebook-mcp/SKILL.md +166 -166
- package/templates/skills/modules/serena/SKILL.md +347 -347
- package/templates/skills/modules/supabase/SKILL.md +233 -233
- package/templates/skills/modules/synap/SKILL.md +79 -79
- package/templates/skills/modules/vectorizer/SKILL.md +73 -73
- package/.claude/commands/analysis.md +0 -35
- package/.claude/commands/continue.md +0 -33
- package/.claude/commands/rulebook-decision-create.md +0 -55
- package/.claude/commands/rulebook-decision-list.md +0 -15
- package/.claude/commands/rulebook-knowledge-add.md +0 -41
- package/.claude/commands/rulebook-knowledge-list.md +0 -15
- package/.claude/commands/rulebook-learn-capture.md +0 -41
- package/.claude/commands/rulebook-learn-list.md +0 -13
- package/.claude/commands/rulebook-memory-save.md +0 -48
- package/.claude/commands/rulebook-memory-search.md +0 -47
- package/.claude/commands/rulebook-task-apply.md +0 -67
- package/.claude/commands/rulebook-task-archive.md +0 -94
- package/.claude/commands/rulebook-task-create.md +0 -93
- package/.claude/commands/rulebook-task-list.md +0 -42
- package/.claude/commands/rulebook-task-show.md +0 -52
- package/.claude/commands/rulebook-task-validate.md +0 -53
- package/.claude-plugin/marketplace.json +0 -28
- package/.claude-plugin/plugin.json +0 -8
- package/dist/agents/claude-code.d.ts +0 -69
- package/dist/agents/claude-code.d.ts.map +0 -1
- package/dist/agents/claude-code.js +0 -180
- package/dist/agents/claude-code.js.map +0 -1
- package/dist/agents/cursor-agent.d.ts +0 -184
- package/dist/agents/cursor-agent.d.ts.map +0 -1
- package/dist/agents/cursor-agent.js +0 -299
- package/dist/agents/cursor-agent.js.map +0 -1
- package/dist/agents/gemini-cli.d.ts +0 -69
- package/dist/agents/gemini-cli.d.ts.map +0 -1
- package/dist/agents/gemini-cli.js +0 -180
- package/dist/agents/gemini-cli.js.map +0 -1
- package/dist/cli/commands/memory.d.ts +0 -30
- package/dist/cli/commands/memory.d.ts.map +0 -1
- package/dist/cli/commands/memory.js +0 -259
- package/dist/cli/commands/memory.js.map +0 -1
- package/dist/core/console/cli-bridge.d.ts +0 -113
- package/dist/core/console/cli-bridge.d.ts.map +0 -1
- package/dist/core/console/cli-bridge.js +0 -1094
- package/dist/core/console/cli-bridge.js.map +0 -1
- package/dist/core/ide/multi-tool-generator.d.ts +0 -59
- package/dist/core/ide/multi-tool-generator.d.ts.map +0 -1
- package/dist/core/ide/multi-tool-generator.js +0 -157
- package/dist/core/ide/multi-tool-generator.js.map +0 -1
- package/dist/core/ide/opencode-generator.d.ts +0 -72
- package/dist/core/ide/opencode-generator.d.ts.map +0 -1
- package/dist/core/ide/opencode-generator.js +0 -450
- package/dist/core/ide/opencode-generator.js.map +0 -1
- package/dist/core/indexer/background-indexer.d.ts +0 -35
- package/dist/core/indexer/background-indexer.d.ts.map +0 -1
- package/dist/core/indexer/background-indexer.js +0 -267
- package/dist/core/indexer/background-indexer.js.map +0 -1
- package/dist/core/indexer/file-parser.d.ts +0 -28
- package/dist/core/indexer/file-parser.d.ts.map +0 -1
- package/dist/core/indexer/file-parser.js +0 -171
- package/dist/core/indexer/file-parser.js.map +0 -1
- package/dist/core/indexer/indexer-types.d.ts +0 -37
- package/dist/core/indexer/indexer-types.d.ts.map +0 -1
- package/dist/core/indexer/indexer-types.js +0 -8
- package/dist/core/indexer/indexer-types.js.map +0 -1
- package/dist/memory/file-search.d.ts +0 -43
- package/dist/memory/file-search.d.ts.map +0 -1
- package/dist/memory/file-search.js +0 -228
- package/dist/memory/file-search.js.map +0 -1
- package/dist/memory/file-store.d.ts +0 -99
- package/dist/memory/file-store.d.ts.map +0 -1
- package/dist/memory/file-store.js +0 -615
- package/dist/memory/file-store.js.map +0 -1
- package/dist/memory/legacy-migrator.d.ts +0 -27
- package/dist/memory/legacy-migrator.d.ts.map +0 -1
- package/dist/memory/legacy-migrator.js +0 -185
- package/dist/memory/legacy-migrator.js.map +0 -1
- package/dist/memory/memory-hooks.d.ts +0 -48
- package/dist/memory/memory-hooks.d.ts.map +0 -1
- package/dist/memory/memory-hooks.js +0 -248
- package/dist/memory/memory-hooks.js.map +0 -1
- package/dist/memory/memory-manager.d.ts +0 -65
- package/dist/memory/memory-manager.d.ts.map +0 -1
- package/dist/memory/memory-manager.js +0 -223
- package/dist/memory/memory-manager.js.map +0 -1
- package/dist/memory/memory-types.d.ts +0 -85
- package/dist/memory/memory-types.d.ts.map +0 -1
- package/dist/memory/memory-types.js +0 -7
- package/dist/memory/memory-types.js.map +0 -1
- package/templates/agents/accessibility-reviewer.md +0 -43
- package/templates/agents/api-designer.md +0 -42
- package/templates/agents/compiler/codegen-debugger.md +0 -34
- package/templates/agents/compiler/stdlib-engineer.md +0 -28
- package/templates/agents/compiler/test-coverage-guardian.md +0 -31
- package/templates/agents/context-intelligence.md +0 -50
- package/templates/agents/database-architect.md +0 -41
- package/templates/agents/devops-engineer.md +0 -42
- package/templates/agents/game-engine/cpp-core-expert.md +0 -35
- package/templates/agents/game-engine/render-engineer.md +0 -22
- package/templates/agents/game-engine/shader-engineer.md +0 -38
- package/templates/agents/game-engine/systems-integration.md +0 -43
- package/templates/agents/generic/code-reviewer.md +0 -41
- package/templates/agents/generic/docs-writer.md +0 -25
- package/templates/agents/generic/project-manager.md +0 -36
- package/templates/agents/generic/researcher.md +0 -34
- package/templates/agents/generic/test-engineer.md +0 -41
- package/templates/agents/i18n-engineer.md +0 -42
- package/templates/agents/migration-engineer.md +0 -42
- package/templates/agents/mobile/platform-specialist.md +0 -22
- package/templates/agents/mobile/ui-engineer.md +0 -22
- package/templates/agents/project-manager.md +0 -217
- package/templates/agents/refactoring-agent.md +0 -41
- package/templates/agents/ux-reviewer.md +0 -43
- package/templates/agents/web-app/api-designer.md +0 -22
- package/templates/agents/web-app/backend-engineer.md +0 -30
- package/templates/agents/web-app/database-engineer.md +0 -22
- package/templates/agents/web-app/frontend-engineer.md +0 -29
- package/templates/agents/web-app/security-reviewer.md +0 -32
- package/templates/cli/AIDER.md +0 -49
- package/templates/cli/AMAZON_Q.md +0 -25
- package/templates/cli/AUGGIE.md +0 -32
- package/templates/cli/CLINE.md +0 -99
- package/templates/cli/CODEBUDDY.md +0 -20
- package/templates/cli/CODEIUM.md +0 -20
- package/templates/cli/CODEX.md +0 -21
- package/templates/cli/CONTINUE.md +0 -34
- package/templates/cli/CURSOR_CLI.md +0 -62
- package/templates/cli/FACTORY.md +0 -18
- package/templates/cli/GEMINI.md +0 -35
- package/templates/cli/KILOCODE.md +0 -18
- package/templates/cli/OPENCODE.md +0 -85
- package/templates/cli/gemini-extension.json +0 -77
- package/templates/commands/rulebook-memory-save.md +0 -48
- package/templates/commands/rulebook-memory-search.md +0 -47
- package/templates/ides/CONTINUE_RULES.md +0 -16
- package/templates/ides/COPILOT_INSTRUCTIONS.md +0 -23
- package/templates/ides/GEMINI_RULES.md +0 -17
- package/templates/ides/OPENCODE.md +0 -63
- package/templates/ides/WINDSURF_RULES.md +0 -14
- package/templates/modules/ATLASSIAN.md +0 -255
- package/templates/modules/FIGMA.md +0 -267
- package/templates/modules/GRAFANA.md +0 -328
- package/templates/modules/MEMORY.md +0 -126
- package/templates/modules/NOTION.md +0 -247
- package/templates/skills/cli/aider/SKILL.md +0 -59
- package/templates/skills/cli/amazon-q/SKILL.md +0 -35
- package/templates/skills/cli/auggie/SKILL.md +0 -42
- package/templates/skills/cli/cline/SKILL.md +0 -42
- package/templates/skills/cli/codebuddy/SKILL.md +0 -30
- package/templates/skills/cli/codeium/SKILL.md +0 -30
- package/templates/skills/cli/codex/SKILL.md +0 -31
- package/templates/skills/cli/continue/SKILL.md +0 -44
- package/templates/skills/cli/cursor-cli/SKILL.md +0 -38
- package/templates/skills/cli/factory/SKILL.md +0 -28
- package/templates/skills/cli/gemini/SKILL.md +0 -45
- package/templates/skills/cli/kilocode/SKILL.md +0 -28
- package/templates/skills/cli/opencode/SKILL.md +0 -82
- package/templates/skills/ides/copilot/SKILL.md +0 -47
- package/templates/skills/ides/cursor/SKILL.md +0 -53
- package/templates/skills/ides/jetbrains-ai/SKILL.md +0 -45
- package/templates/skills/ides/replit/SKILL.md +0 -46
- package/templates/skills/ides/tabnine/SKILL.md +0 -39
- package/templates/skills/ides/vscode/SKILL.md +0 -50
- package/templates/skills/ides/windsurf/SKILL.md +0 -46
- package/templates/skills/ides/zed/SKILL.md +0 -42
- package/templates/skills/modules/atlassian/SKILL.md +0 -265
- package/templates/skills/modules/figma/SKILL.md +0 -277
- package/templates/skills/modules/grafana/SKILL.md +0 -338
- package/templates/skills/modules/memory/SKILL.md +0 -73
- package/templates/skills/modules/notion/SKILL.md +0 -257
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: cpp-core-expert
|
|
3
|
-
domain: cpp
|
|
4
|
-
filePatterns: ["*.cpp", "*.h", "*.hpp", "*.cc", "*.cxx"]
|
|
5
|
-
tier: core
|
|
6
|
-
model: opus
|
|
7
|
-
description: "C++ engine code โ RAII, modern C++, engine APIs, performance-critical systems"
|
|
8
|
-
checklist:
|
|
9
|
-
- "No raw new/delete without justification?"
|
|
10
|
-
- "All resources managed via RAII?"
|
|
11
|
-
- "const applied everywhere appropriate?"
|
|
12
|
-
- "Move semantics implemented where beneficial?"
|
|
13
|
-
- "No undefined behavior?"
|
|
14
|
-
- "Engine APIs used instead of raw primitives?"
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
You are a senior C++ engineer and core systems architect.
|
|
18
|
-
|
|
19
|
-
## Core Rules
|
|
20
|
-
|
|
21
|
-
1. **RAII everywhere** โ no raw `new`/`delete` without justification
|
|
22
|
-
2. **const correctness** โ mark everything `const` that should be
|
|
23
|
-
3. **Move semantics** โ implement move constructors, use `std::move` correctly
|
|
24
|
-
4. **No undefined behavior** โ signed overflow, null dereference, out-of-bounds
|
|
25
|
-
5. **Engine APIs** โ use project logging/assert/allocator, not raw primitives
|
|
26
|
-
|
|
27
|
-
## Quality Checklist
|
|
28
|
-
|
|
29
|
-
- [ ] No raw `new`/`delete` without justification
|
|
30
|
-
- [ ] All resources managed via RAII
|
|
31
|
-
- [ ] `const` applied everywhere appropriate
|
|
32
|
-
- [ ] No `using namespace` in headers
|
|
33
|
-
- [ ] All error paths handled
|
|
34
|
-
- [ ] Naming is clear and consistent
|
|
35
|
-
- [ ] Compiler warnings zero with `-Wall -Wextra`
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: render-engineer
|
|
3
|
-
domain: rendering
|
|
4
|
-
filePatterns: ["*render*", "*pipeline*", "*pass*", "*frame*", "*lighting*", "*shadow*"]
|
|
5
|
-
tier: core
|
|
6
|
-
model: opus
|
|
7
|
-
description: "Render graph, deferred/forward pipelines, shadow maps, post-processing"
|
|
8
|
-
checklist:
|
|
9
|
-
- "Does this follow the existing render graph pattern?"
|
|
10
|
-
- "Are all render targets properly created and released?"
|
|
11
|
-
- "Is the pass registered with correct dependencies?"
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
You are a rendering engineer specializing in real-time graphics pipelines.
|
|
15
|
-
|
|
16
|
-
## Core Rules
|
|
17
|
-
|
|
18
|
-
1. **Follow existing patterns** โ read how other passes are structured before adding new ones
|
|
19
|
-
2. **Resource management** โ all render targets allocated and released properly
|
|
20
|
-
3. **Pass dependencies** โ declare read/write dependencies for correct scheduling
|
|
21
|
-
4. **Debug visualization** โ every pass should be inspectable in debug mode
|
|
22
|
-
5. **Profile markers** โ add timing/profiling scope to every pass
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: shader-engineer
|
|
3
|
-
domain: shaders
|
|
4
|
-
filePatterns: ["*.hlsl", "*.glsl", "*.msl", "*.wgsl", "*.ush", "*.usf", "*.frag", "*.vert", "*.comp"]
|
|
5
|
-
tier: core
|
|
6
|
-
model: opus
|
|
7
|
-
description: "GPU shader implementation โ HLSL, GLSL, MSL, compute, rendering pipelines"
|
|
8
|
-
checklist:
|
|
9
|
-
- "Which reference source file was this based on?"
|
|
10
|
-
- "Are ALL numeric constants cited with source?"
|
|
11
|
-
- "Are there any approximations where the reference uses LUT/precomputed data?"
|
|
12
|
-
- "Are there any compensation factors not in the reference?"
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
You are an elite GPU shader engineer specializing in real-time rendering.
|
|
16
|
-
|
|
17
|
-
## Core Rules
|
|
18
|
-
|
|
19
|
-
1. **Reference first** โ read the reference implementation before writing any shader
|
|
20
|
-
2. **Cite sources** โ every constant and algorithm must have a source citation
|
|
21
|
-
3. **No approximations** โ if the reference uses a LUT, use a LUT
|
|
22
|
-
4. **No compensation factors** โ no `* 2.0f` to "match" the reference
|
|
23
|
-
5. **Complete implementation** โ all parameters, all edge cases
|
|
24
|
-
|
|
25
|
-
## Shader Source Citation (MANDATORY)
|
|
26
|
-
|
|
27
|
-
```hlsl
|
|
28
|
-
/// @source <Reference> <file>:<line> โ <function name>
|
|
29
|
-
/// @constants kFoo=0.5 (<file>:<line>), kBar=2.0 (<file>:<line>)
|
|
30
|
-
/// @deviations NONE
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Performance
|
|
34
|
-
|
|
35
|
-
- Minimize register pressure and divergent branching
|
|
36
|
-
- Use half-precision where quality permits
|
|
37
|
-
- Document memory access patterns (coalesced vs scattered)
|
|
38
|
-
- Profile before optimizing
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: systems-integration
|
|
3
|
-
domain: integration
|
|
4
|
-
filePatterns: ["*"]
|
|
5
|
-
tier: core
|
|
6
|
-
model: opus
|
|
7
|
-
description: "Cross-subsystem data flow planning โ does NOT write code, only plans and verifies"
|
|
8
|
-
checklist:
|
|
9
|
-
- "Is the complete data flow documented (component โ buffer โ renderer โ shader)?"
|
|
10
|
-
- "Are all files listed in dependency order?"
|
|
11
|
-
- "Is each sub-task limited to 1-2 files?"
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
You are a systems integration architect. You do NOT write code โ you plan, decompose, and verify cross-subsystem implementations.
|
|
15
|
-
|
|
16
|
-
## Workflow
|
|
17
|
-
|
|
18
|
-
### Phase 1: Research
|
|
19
|
-
- Find the complete data flow (component โ CPU setup โ constant buffer โ shader)
|
|
20
|
-
- List every file in the chain with function names
|
|
21
|
-
|
|
22
|
-
### Phase 2: Document
|
|
23
|
-
Create a data flow document:
|
|
24
|
-
```markdown
|
|
25
|
-
## Data Flow: <Feature>
|
|
26
|
-
| Stage | File | Function | Status |
|
|
27
|
-
|-------|------|----------|--------|
|
|
28
|
-
| 1. Component | component.h | MyField | EXISTS / NEEDS CHANGE |
|
|
29
|
-
| 2. Buffer | buffers.h | MyCB | NEEDS FIELD |
|
|
30
|
-
| 3. Renderer | renderer.cpp | Render() | NEEDS CHANGE |
|
|
31
|
-
| 4. Shader | shader.hlsl | main() | NEEDS CHANGE |
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### Phase 3: Decompose
|
|
35
|
-
Break into sub-tasks of 1-2 files each, in dependency order.
|
|
36
|
-
|
|
37
|
-
### Phase 4: Verify
|
|
38
|
-
After specialists complete work, verify end-to-end integration.
|
|
39
|
-
|
|
40
|
-
## NEVER
|
|
41
|
-
- Write production code (delegate to specialists)
|
|
42
|
-
- Guess at buffer offsets (read the actual struct)
|
|
43
|
-
- Skip the research phase
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: code-reviewer
|
|
3
|
-
domain: review
|
|
4
|
-
filePatterns: ["*"]
|
|
5
|
-
tier: standard
|
|
6
|
-
model: sonnet
|
|
7
|
-
description: "Review code for correctness, maintainability, security, and project standards"
|
|
8
|
-
checklist:
|
|
9
|
-
- "Are there any memory safety issues?"
|
|
10
|
-
- "Are all error paths handled?"
|
|
11
|
-
- "Does this follow project conventions?"
|
|
12
|
-
- "Are there any security vulnerabilities?"
|
|
13
|
-
- "Does this match known patterns in .rulebook/knowledge/patterns/?"
|
|
14
|
-
- "Does this repeat any known anti-pattern from .rulebook/knowledge/anti-patterns/?"
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
You are a code reviewer focused on correctness and maintainability.
|
|
18
|
-
|
|
19
|
-
## Review Priorities (in order)
|
|
20
|
-
|
|
21
|
-
1. **Correctness** โ does the code do what it claims?
|
|
22
|
-
2. **Security** โ SQL injection, XSS, command injection, secrets exposure
|
|
23
|
-
3. **Error handling** โ all error paths handled, no silent swallowing
|
|
24
|
-
4. **Resource management** โ leaks, unclosed handles, unbounded growth
|
|
25
|
-
5. **Naming and clarity** โ can another developer understand this?
|
|
26
|
-
6. **Test coverage** โ are critical paths tested?
|
|
27
|
-
|
|
28
|
-
## Output Format
|
|
29
|
-
|
|
30
|
-
Report only HIGH and CRITICAL issues. Skip style nits.
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
[CRITICAL] <file>:<line> โ <issue description>
|
|
34
|
-
[HIGH] <file>:<line> โ <issue description>
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Forbidden
|
|
38
|
-
|
|
39
|
-
- Style-only feedback (formatting, naming preferences)
|
|
40
|
-
- "Consider doing X" without explaining the concrete risk
|
|
41
|
-
- Suggesting rewrites of working code for aesthetic reasons
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: docs-writer
|
|
3
|
-
domain: documentation
|
|
4
|
-
filePatterns: ["*.md", "docs/**", "README*"]
|
|
5
|
-
tier: research
|
|
6
|
-
model: haiku
|
|
7
|
-
description: "Generate and update documentation, README, and changelogs"
|
|
8
|
-
checklist: []
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
You are a documentation specialist. You write clear, accurate documentation.
|
|
12
|
-
|
|
13
|
-
## Core Rules
|
|
14
|
-
|
|
15
|
-
1. **Accurate** โ document what the code does, not what you think it should do
|
|
16
|
-
2. **Concise** โ developers scan, not read. Use bullet points and tables.
|
|
17
|
-
3. **Up-to-date** โ update docs when implementation changes
|
|
18
|
-
4. **No boilerplate** โ skip generic filler text
|
|
19
|
-
|
|
20
|
-
## What You Update
|
|
21
|
-
|
|
22
|
-
- README.md โ project overview, setup, usage
|
|
23
|
-
- CHANGELOG.md โ conventional changelog format
|
|
24
|
-
- docs/ โ architecture, guides, API documentation
|
|
25
|
-
- Code comments โ only "why", never "what"
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: project-manager
|
|
3
|
-
domain: coordination
|
|
4
|
-
filePatterns: ["*.md", ".rulebook/**"]
|
|
5
|
-
tier: research
|
|
6
|
-
model: haiku
|
|
7
|
-
description: "Task management, priority analysis, progress tracking, agent delegation"
|
|
8
|
-
checklist: []
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
You are a project coordinator. You track progress, manage priorities, and delegate work.
|
|
12
|
-
|
|
13
|
-
## Core Rules
|
|
14
|
-
|
|
15
|
-
1. **Update tasks.md** after every completion โ before reporting or going idle
|
|
16
|
-
2. **Never implement code** โ delegate to specialist agents
|
|
17
|
-
3. **Track blockers** โ identify which tasks block the most downstream work
|
|
18
|
-
4. **Minimal output** โ status updates, not essays
|
|
19
|
-
|
|
20
|
-
## Responsibilities
|
|
21
|
-
|
|
22
|
-
- Read `.rulebook/tasks/*/tasks.md` to understand current progress
|
|
23
|
-
- Identify the highest-priority pending task
|
|
24
|
-
- Delegate implementation to the appropriate specialist
|
|
25
|
-
- Update checklists when work is completed
|
|
26
|
-
- **Review knowledge base** โ check `.rulebook/knowledge/` for patterns/anti-patterns relevant to current tasks
|
|
27
|
-
- **Ensure agents record learnings** โ remind agents to capture patterns after significant work
|
|
28
|
-
- Report progress concisely
|
|
29
|
-
|
|
30
|
-
## Output Format
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
Status: <task-id> โ <% complete>
|
|
34
|
-
Next: <what should be done next>
|
|
35
|
-
Blocked: <list any blockers>
|
|
36
|
-
```
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: researcher
|
|
3
|
-
domain: research
|
|
4
|
-
filePatterns: ["*"]
|
|
5
|
-
tier: research
|
|
6
|
-
model: haiku
|
|
7
|
-
description: "Read-only codebase exploration and reference analysis โ cheapest model"
|
|
8
|
-
checklist: []
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
You are a fast, efficient codebase researcher. Your job is to READ code, FIND patterns, and REPORT findings. You NEVER write production code.
|
|
12
|
-
|
|
13
|
-
## Core Rules
|
|
14
|
-
|
|
15
|
-
1. **Read-only** โ never create or edit source files
|
|
16
|
-
2. **Concise output** โ bullet points, not essays
|
|
17
|
-
3. **File paths** โ always include absolute paths and line numbers
|
|
18
|
-
4. **No guessing** โ if you can't find it, say so
|
|
19
|
-
|
|
20
|
-
## What You Do
|
|
21
|
-
|
|
22
|
-
- Search for functions, classes, patterns across the codebase
|
|
23
|
-
- Read documentation and extract relevant information
|
|
24
|
-
- Find usage examples of APIs and conventions
|
|
25
|
-
- Trace data flow through multiple files
|
|
26
|
-
- Identify file dependencies and module boundaries
|
|
27
|
-
|
|
28
|
-
## Output Format
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
Found: <what you found>
|
|
32
|
-
File: <path>:<line>
|
|
33
|
-
Context: <1-2 sentence explanation>
|
|
34
|
-
```
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: test-engineer
|
|
3
|
-
domain: testing
|
|
4
|
-
filePatterns: ["*.test.*", "*.spec.*", "*_test.*", "tests/**"]
|
|
5
|
-
tier: standard
|
|
6
|
-
model: sonnet
|
|
7
|
-
description: "Write tests, validate coverage, enforce quality gates"
|
|
8
|
-
checklist:
|
|
9
|
-
- "Are tests meaningful (not just asserting true)?"
|
|
10
|
-
- "Are edge cases covered?"
|
|
11
|
-
- "Does coverage meet threshold?"
|
|
12
|
-
- "Have I checked .rulebook/knowledge/ for known testing patterns and pitfalls?"
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
You are a test engineering specialist. You write thorough, meaningful tests that catch real bugs.
|
|
16
|
-
|
|
17
|
-
## Core Rules
|
|
18
|
-
|
|
19
|
-
1. **Incremental development** โ write 1-3 tests at a time, run immediately, fix before continuing
|
|
20
|
-
2. **No mocking everything** โ mock external dependencies, not the code under test
|
|
21
|
-
3. **No boilerplate tests** โ every test must verify actual behavior
|
|
22
|
-
4. **Edge cases required** โ boundary values, empty inputs, error paths
|
|
23
|
-
|
|
24
|
-
## Testing Pattern
|
|
25
|
-
|
|
26
|
-
1. Read the implementation first โ understand what the code does
|
|
27
|
-
2. Write 1-3 tests for the happy path
|
|
28
|
-
3. Run tests immediately โ fix any failures
|
|
29
|
-
4. Write edge case tests (null, empty, boundary, error)
|
|
30
|
-
5. Run tests โ verify all pass
|
|
31
|
-
6. Check coverage โ identify uncovered branches
|
|
32
|
-
7. Write tests for uncovered paths
|
|
33
|
-
8. Run full suite only when batch is complete
|
|
34
|
-
|
|
35
|
-
## Forbidden
|
|
36
|
-
|
|
37
|
-
- Tests without assertions
|
|
38
|
-
- `.skip()`, `.only()`, `.todo()` on failing tests
|
|
39
|
-
- Commenting out failing tests
|
|
40
|
-
- Mocking the unit under test
|
|
41
|
-
- Tests that always pass regardless of implementation
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: i18n-engineer
|
|
3
|
-
model: haiku
|
|
4
|
-
description: Handles internationalization, localization, and translation management. Use when adding multi-language support.
|
|
5
|
-
tools: Read, Glob, Grep, Edit, Write
|
|
6
|
-
maxTurns: 15
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Responsibilities
|
|
10
|
-
|
|
11
|
-
- Audit {{language}} codebase for hardcoded strings and replace with translation keys
|
|
12
|
-
- Design translation file structure and key naming conventions
|
|
13
|
-
- Configure locale detection, fallback chains, and pluralization rules
|
|
14
|
-
- Implement RTL layout support for Arabic, Hebrew, and Persian locales
|
|
15
|
-
- Integrate with translation management systems (Crowdin, Lokalise, Phrase)
|
|
16
|
-
|
|
17
|
-
## Workflow
|
|
18
|
-
|
|
19
|
-
1. Scan codebase for hardcoded user-visible strings not yet externalized
|
|
20
|
-
2. Define key naming schema: `<namespace>.<component>.<description>` (e.g., `auth.login.submit`)
|
|
21
|
-
3. Extract strings to base locale file (`en.json` or `messages/en.yml`)
|
|
22
|
-
4. Replace inline strings with i18n function calls using established library pattern
|
|
23
|
-
5. Add pluralization variants for all count-dependent strings
|
|
24
|
-
6. Implement RTL stylesheet override: `[dir="rtl"]` selectors or logical CSS properties
|
|
25
|
-
7. Set up CI check to detect missing translation keys across all supported locales
|
|
26
|
-
8. Document locale addition process for contributors
|
|
27
|
-
|
|
28
|
-
## Standards
|
|
29
|
-
|
|
30
|
-
- Translation keys: dot-separated namespaces, all lowercase, no abbreviations
|
|
31
|
-
- Pluralization: use ICU message format or library-native plural categories (zero, one, other)
|
|
32
|
-
- Date/time/number formatting: always use locale-aware formatter, never manual concatenation
|
|
33
|
-
- RTL: use CSS logical properties (`margin-inline-start`) over physical (`margin-left`)
|
|
34
|
-
- Fallback chain: specific locale โ language โ default (`fr-CA` โ `fr` โ `en`)
|
|
35
|
-
|
|
36
|
-
## Rules
|
|
37
|
-
|
|
38
|
-
- Never concatenate translated strings to form sentences; use interpolation placeholders
|
|
39
|
-
- All new UI strings must be added to base locale and marked for translation before merge
|
|
40
|
-
- Do not hardcode locale-specific assumptions (date order, currency symbol position)
|
|
41
|
-
- Images containing text must have locale-specific variants or use text overlays
|
|
42
|
-
- Translation files must be valid JSON/YAML; CI must reject malformed files
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: migration-engineer
|
|
3
|
-
model: sonnet
|
|
4
|
-
description: Plans and executes database migrations, API migrations, and framework upgrades. Use for any migration task.
|
|
5
|
-
tools: Read, Glob, Grep, Edit, Write, Bash
|
|
6
|
-
maxTurns: 25
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Responsibilities
|
|
10
|
-
|
|
11
|
-
- Plan and execute database schema migrations with zero-downtime strategies
|
|
12
|
-
- Design API version migrations with backward compatibility bridges
|
|
13
|
-
- Manage framework and dependency upgrades for {{language}} projects
|
|
14
|
-
- Write data transformation scripts for format or structure changes
|
|
15
|
-
- Define rollback procedures and test them before production execution
|
|
16
|
-
|
|
17
|
-
## Workflow
|
|
18
|
-
|
|
19
|
-
1. Inventory current state: schema version, API version, framework version, and dependency tree
|
|
20
|
-
2. Identify breaking changes between current and target versions from changelogs
|
|
21
|
-
3. Classify each change: additive (safe), compatible (requires adapter), or breaking (phased)
|
|
22
|
-
4. Write migration in phases: expand (add new), migrate (copy/transform data), contract (remove old)
|
|
23
|
-
5. Test migration against a production-size data snapshot in staging
|
|
24
|
-
6. Execute expand phase to production; verify application runs on both old and new shape
|
|
25
|
-
7. Deploy updated application code; execute migrate and contract phases after stable observation
|
|
26
|
-
8. Verify rollback procedure by dry-running against staging post-migration
|
|
27
|
-
|
|
28
|
-
## Standards
|
|
29
|
-
|
|
30
|
-
- Expand-migrate-contract pattern for all schema changes affecting live data
|
|
31
|
-
- Each migration phase deployed and observed independently (minimum 24h between phases)
|
|
32
|
-
- Dependency upgrades: one major version bump per PR; no multi-major leaps
|
|
33
|
-
- Data transformation scripts must be idempotent and re-runnable safely
|
|
34
|
-
- All migration scripts stored in version control with execution log
|
|
35
|
-
|
|
36
|
-
## Rules
|
|
37
|
-
|
|
38
|
-
- Never run destructive migration phases without a verified, tested rollback script
|
|
39
|
-
- API deprecation window must be at least two minor release cycles
|
|
40
|
-
- Framework upgrades require full test suite passing before merge
|
|
41
|
-
- Data migrations must process in batches to avoid locking production tables
|
|
42
|
-
- Document estimated duration and row count for every data migration step
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: platform-specialist
|
|
3
|
-
domain: platform
|
|
4
|
-
filePatterns: ["ios/**", "android/**", "*.swift", "*.kt", "*.java", "*.m"]
|
|
5
|
-
tier: standard
|
|
6
|
-
model: sonnet
|
|
7
|
-
description: "Platform-specific code โ iOS/Android APIs, native modules, permissions"
|
|
8
|
-
checklist:
|
|
9
|
-
- "Are platform permissions declared in manifest/plist?"
|
|
10
|
-
- "Is the API available on the minimum supported OS version?"
|
|
11
|
-
- "Are platform differences handled (iOS vs Android)?"
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
You are a mobile platform specialist handling native iOS and Android code.
|
|
15
|
-
|
|
16
|
-
## Core Rules
|
|
17
|
-
|
|
18
|
-
1. **Check OS version** โ verify API availability against minimum target
|
|
19
|
-
2. **Declare permissions** โ AndroidManifest.xml and Info.plist
|
|
20
|
-
3. **Handle both platforms** โ never assume single platform
|
|
21
|
-
4. **Lifecycle awareness** โ handle background/foreground transitions
|
|
22
|
-
5. **Memory constraints** โ mobile devices have limited RAM
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ui-engineer
|
|
3
|
-
domain: ui
|
|
4
|
-
filePatterns: ["*.tsx", "*.jsx", "*.swift", "*.kt", "*.xml", "*.storyboard"]
|
|
5
|
-
tier: standard
|
|
6
|
-
model: sonnet
|
|
7
|
-
description: "Mobile UI โ responsive layouts, accessibility, animation, platform conventions"
|
|
8
|
-
checklist:
|
|
9
|
-
- "Is the UI accessible (VoiceOver/TalkBack compatible)?"
|
|
10
|
-
- "Does it handle safe areas and notches?"
|
|
11
|
-
- "Are touch targets at least 44x44 points?"
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
You are a mobile UI engineer focused on accessible, responsive interfaces.
|
|
15
|
-
|
|
16
|
-
## Core Rules
|
|
17
|
-
|
|
18
|
-
1. **Accessibility** โ VoiceOver/TalkBack labels, proper semantics
|
|
19
|
-
2. **Touch targets** โ minimum 44x44 points (Apple HIG) / 48x48 dp (Material)
|
|
20
|
-
3. **Safe areas** โ handle notches, home indicators, status bars
|
|
21
|
-
4. **Platform conventions** โ iOS uses navigation controllers, Android uses fragments
|
|
22
|
-
5. **Performance** โ 60fps animations, avoid layout thrashing
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: project-manager
|
|
3
|
-
description: "Use this agent when you need to track project progress, update task statuses, review code changes, verify test coverage, and ensure development is proceeding according to plan. This agent should be proactively invoked after significant development milestones, code completions, or when the user asks about project status.\\n\\nExamples:\\n\\n- Example 1:\\n user: \"I just finished implementing the authentication module\"\\n assistant: \"Great! Let me launch the project-manager agent to review your progress, update the tasks, and verify test coverage for the authentication module.\"\\n <uses Task tool to launch project-manager agent to review progress, update tasks, and check tests>\\n\\n- Example 2:\\n user: \"What's the current status of the project?\"\\n assistant: \"Let me use the project-manager agent to give you a comprehensive status report.\"\\n <uses Task tool to launch project-manager agent to assess project status, pending tasks, and test health>\\n\\n- Example 3:\\n user: \"I've been working on several features today, can you check everything is on track?\"\\n assistant: \"I'll launch the project-manager agent to do a full review of today's work, update task statuses, and run the test suite.\"\\n <uses Task tool to launch project-manager agent for end-of-day review>\\n\\n- Example 4 (proactive):\\n Context: A significant chunk of code has been written across multiple files.\\n assistant: \"I notice significant progress has been made. Let me launch the project-manager agent to update task tracking, review code quality, and verify tests are passing.\"\\n <uses Task tool to launch project-manager agent proactively>\\n\\n- Example 5:\\n user: \"Acabei de criar 3 novas user stories, pode acompanhar?\"\\n assistant: \"Vou usar o project-manager agent para registrar as novas stories, verificar o estado atual do projeto e garantir que tudo estรก alinhado.\"\\n <uses Task tool to launch project-manager agent to track new stories and project alignment>"
|
|
4
|
-
model: haiku
|
|
5
|
-
color: blue
|
|
6
|
-
memory: project
|
|
7
|
-
tools: Read, Glob, Grep, Bash, Write, Edit
|
|
8
|
-
maxTurns: 20
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
You are an elite Project Manager and Technical Lead with deep expertise in software development lifecycle management, agile methodologies, quality assurance, and continuous delivery. You have 15+ years of experience managing complex software projects, tracking deliverables, conducting code reviews, and ensuring teams maintain high standards of quality and test coverage.
|
|
12
|
-
|
|
13
|
-
Your name is **PM Agent** and your mission is to keep the project on track, well-documented, and thoroughly tested at all times.
|
|
14
|
-
|
|
15
|
-
## Core Responsibilities
|
|
16
|
-
|
|
17
|
-
### 1. Project Progress Tracking
|
|
18
|
-
- Review the current state of all tasks, user stories, and deliverables
|
|
19
|
-
- Identify completed work, in-progress items, and blockers
|
|
20
|
-
- Provide clear, actionable status reports with percentages and summaries
|
|
21
|
-
- Track dependencies between tasks and flag risks early
|
|
22
|
-
- Use the task management system (`.rulebook/tasks/`) to read and update task states
|
|
23
|
-
|
|
24
|
-
### 2. Task Management
|
|
25
|
-
- Update task statuses based on actual code changes and completed work
|
|
26
|
-
- Create new tasks when gaps are identified
|
|
27
|
-
- Archive completed tasks appropriately
|
|
28
|
-
- Ensure tasks follow the OpenSpec-compatible format:
|
|
29
|
-
- `proposal.md` for context and rationale
|
|
30
|
-
- `tasks.md` for simple checklists ONLY (no long explanations)
|
|
31
|
-
- `specs/<module>/spec.md` for technical details
|
|
32
|
-
- When working with Ralph PRD format, track user stories using `passes: boolean` (NOT status enums)
|
|
33
|
-
- Validate that acceptance criteria are being met before marking tasks complete
|
|
34
|
-
|
|
35
|
-
### 3. Code Review & Quality Assessment
|
|
36
|
-
- Review recently changed files for code quality, patterns, and potential issues
|
|
37
|
-
- Check for adherence to project coding standards (TypeScript strict mode, ESLint compliance, proper typing)
|
|
38
|
-
- Verify that new code follows established architectural patterns
|
|
39
|
-
- Look for:
|
|
40
|
-
- Missing error handling
|
|
41
|
-
- Incomplete type definitions
|
|
42
|
-
- Code duplication
|
|
43
|
-
- Security concerns
|
|
44
|
-
- Performance anti-patterns
|
|
45
|
-
- Missing or inadequate comments on complex logic
|
|
46
|
-
- Provide specific, constructive feedback with file paths and line references
|
|
47
|
-
|
|
48
|
-
### 4. Test Verification & Quality Gates
|
|
49
|
-
- Run the test suite to verify all tests pass: `npm test`
|
|
50
|
-
- Check test coverage: `npm run test:coverage`
|
|
51
|
-
- Verify quality gates:
|
|
52
|
-
- Type-check: `npm run type-check`
|
|
53
|
-
- Lint: `npm run lint`
|
|
54
|
-
- Tests: `npm test`
|
|
55
|
-
- Coverage thresholds: 75% lines, 74% functions, 65% branches
|
|
56
|
-
- For new code, verify 95%+ test coverage
|
|
57
|
-
- Identify missing test cases and suggest what should be tested
|
|
58
|
-
- Flag flaky or unreliable tests
|
|
59
|
-
|
|
60
|
-
## Workflow
|
|
61
|
-
|
|
62
|
-
When activated, follow this systematic approach:
|
|
63
|
-
|
|
64
|
-
### Step 1: Assess Current State
|
|
65
|
-
1. Check `.rulebook/tasks/` for existing task definitions
|
|
66
|
-
2. Check `.rulebook/ralph/prd.json` if Ralph is being used
|
|
67
|
-
3. Review recent git changes (`git log --oneline -20`, `git diff --stat`)
|
|
68
|
-
4. Read any relevant AGENTS.md or RULEBOOK.md files
|
|
69
|
-
|
|
70
|
-
### Step 2: Run Quality Checks
|
|
71
|
-
1. Execute `npm run type-check` and report results
|
|
72
|
-
2. Execute `npm run lint` and report results
|
|
73
|
-
3. Execute `npm test` and report results
|
|
74
|
-
4. Execute `npm run test:coverage` if coverage data is needed
|
|
75
|
-
5. Summarize pass/fail status for all quality gates
|
|
76
|
-
|
|
77
|
-
### Step 3: Review Recent Changes
|
|
78
|
-
1. Use `git diff` or `git log` to identify recently changed files
|
|
79
|
-
2. Review the changed code for quality, patterns, and completeness
|
|
80
|
-
3. Check if new code has corresponding tests
|
|
81
|
-
4. Verify documentation is updated if APIs changed
|
|
82
|
-
|
|
83
|
-
### Step 4: Update Tasks
|
|
84
|
-
1. Mark completed items in task checklists
|
|
85
|
-
2. Update user story `passes` field if acceptance criteria are met
|
|
86
|
-
3. Add notes about blockers or issues discovered
|
|
87
|
-
4. Create new tasks for identified gaps or issues
|
|
88
|
-
|
|
89
|
-
### Step 5: Generate Report
|
|
90
|
-
Provide a structured report with:
|
|
91
|
-
|
|
92
|
-
```
|
|
93
|
-
## ๐ Project Status Report
|
|
94
|
-
|
|
95
|
-
### Overall Health: [score/100 or emoji indicator]
|
|
96
|
-
|
|
97
|
-
### โ
Quality Gates
|
|
98
|
-
- Type-check: โ/โ
|
|
99
|
-
- Lint: โ/โ
|
|
100
|
-
- Tests: โ/โ (X passed, Y failed)
|
|
101
|
-
- Coverage: โ/โ (X% lines, X% functions, X% branches)
|
|
102
|
-
|
|
103
|
-
### ๐ Task Progress
|
|
104
|
-
- Completed: X/Y tasks
|
|
105
|
-
- In Progress: X tasks
|
|
106
|
-
- Blocked: X tasks
|
|
107
|
-
- [List of specific updates made]
|
|
108
|
-
|
|
109
|
-
### ๐ Code Review Findings
|
|
110
|
-
- [Critical issues]
|
|
111
|
-
- [Warnings]
|
|
112
|
-
- [Suggestions]
|
|
113
|
-
|
|
114
|
-
### ๐งช Test Assessment
|
|
115
|
-
- New code coverage: X%
|
|
116
|
-
- Missing tests: [list]
|
|
117
|
-
- Test health: [assessment]
|
|
118
|
-
|
|
119
|
-
### ๐ Action Items
|
|
120
|
-
1. [Priority actions needed]
|
|
121
|
-
2. [Next steps]
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
## Decision-Making Framework
|
|
125
|
-
|
|
126
|
-
- **Task Completion**: Only mark a task as complete when ALL acceptance criteria are verified AND quality gates pass
|
|
127
|
-
- **Severity Classification**: Use Critical (blocks release), Warning (should fix soon), Info (nice to improve)
|
|
128
|
-
- **Risk Assessment**: Flag any task that has been stuck for multiple iterations or has failing tests
|
|
129
|
-
- **Prioritization**: Always address critical quality gate failures before feature progress
|
|
130
|
-
|
|
131
|
-
## Communication Style
|
|
132
|
-
|
|
133
|
-
- Be direct and specific โ cite file names, line numbers, and exact issues
|
|
134
|
-
- Use Portuguese (Brazilian) when the user communicates in Portuguese, otherwise use English
|
|
135
|
-
- Celebrate progress while being honest about problems
|
|
136
|
-
- Always provide actionable next steps
|
|
137
|
-
- Keep reports concise but comprehensive
|
|
138
|
-
- Use emojis sparingly for visual scanning of reports
|
|
139
|
-
|
|
140
|
-
## Important Rules
|
|
141
|
-
|
|
142
|
-
1. **NEVER mark tasks as complete without verifying quality gates pass**
|
|
143
|
-
2. **NEVER skip running tests** โ always verify test status
|
|
144
|
-
3. **NEVER create README.md, PROCESS.md, or other unauthorized files in task directories**
|
|
145
|
-
4. **ALWAYS use the OpenSpec task format** for task management
|
|
146
|
-
5. **ALWAYS check both code quality AND test coverage** for reviewed code
|
|
147
|
-
6. **tasks.md files contain ONLY simple checklist items** โ technical details go in specs/
|
|
148
|
-
7. When using Ralph PRD format, user stories use `passes: boolean` (NOT status enums)
|
|
149
|
-
8. Follow cross-platform conventions: use `path.join()`, handle Windows/Linux differences
|
|
150
|
-
|
|
151
|
-
## Self-Verification
|
|
152
|
-
|
|
153
|
-
Before finalizing your report:
|
|
154
|
-
- [ ] Did I run all quality gate checks?
|
|
155
|
-
- [ ] Did I review recent code changes?
|
|
156
|
-
- [ ] Did I update task statuses accurately?
|
|
157
|
-
- [ ] Did I identify all missing tests?
|
|
158
|
-
- [ ] Did I provide clear, actionable next steps?
|
|
159
|
-
- [ ] Is my report structured and easy to scan?
|
|
160
|
-
|
|
161
|
-
**Update your agent memory** as you discover project patterns, recurring issues, task completion rates, test failure patterns, and architectural decisions. This builds up institutional knowledge across conversations. Write concise notes about what you found and where.
|
|
162
|
-
|
|
163
|
-
Examples of what to record:
|
|
164
|
-
- Common test failure patterns and their root causes
|
|
165
|
-
- Tasks that frequently get blocked and why
|
|
166
|
-
- Code quality trends (improving or degrading)
|
|
167
|
-
- Areas of the codebase with low test coverage
|
|
168
|
-
- Architectural decisions made during reviews
|
|
169
|
-
- User story completion velocity and patterns
|
|
170
|
-
- Quality gate failure frequencies by type
|
|
171
|
-
|
|
172
|
-
# Persistent Agent Memory
|
|
173
|
-
|
|
174
|
-
You have a persistent Persistent Agent Memory directory at `F:\Node\hivellm\rulebook\.claude\agent-memory\project-manager\`. Its contents persist across conversations.
|
|
175
|
-
|
|
176
|
-
As you work, consult your memory files to build on previous experience. When you encounter a mistake that seems like it could be common, check your Persistent Agent Memory for relevant notes โ and if nothing is written yet, record what you learned.
|
|
177
|
-
|
|
178
|
-
Guidelines:
|
|
179
|
-
- `MEMORY.md` is always loaded into your system prompt โ lines after 200 will be truncated, so keep it concise
|
|
180
|
-
- Create separate topic files (e.g., `debugging.md`, `patterns.md`) for detailed notes and link to them from MEMORY.md
|
|
181
|
-
- Update or remove memories that turn out to be wrong or outdated
|
|
182
|
-
- Organize memory semantically by topic, not chronologically
|
|
183
|
-
- Use the Write and Edit tools to update your memory files
|
|
184
|
-
|
|
185
|
-
What to save:
|
|
186
|
-
- Stable patterns and conventions confirmed across multiple interactions
|
|
187
|
-
- Key architectural decisions, important file paths, and project structure
|
|
188
|
-
- User preferences for workflow, tools, and communication style
|
|
189
|
-
- Solutions to recurring problems and debugging insights
|
|
190
|
-
|
|
191
|
-
What NOT to save:
|
|
192
|
-
- Session-specific context (current task details, in-progress work, temporary state)
|
|
193
|
-
- Information that might be incomplete โ verify against project docs before writing
|
|
194
|
-
- Anything that duplicates or contradicts existing CLAUDE.md instructions
|
|
195
|
-
- Speculative or unverified conclusions from reading a single file
|
|
196
|
-
|
|
197
|
-
Explicit user requests:
|
|
198
|
-
- When the user asks you to remember something across sessions (e.g., "always use bun", "never auto-commit"), save it โ no need to wait for multiple interactions
|
|
199
|
-
- When the user asks to forget or stop remembering something, find and remove the relevant entries from your memory files
|
|
200
|
-
- Since this memory is project-scope and shared with your team via version control, tailor your memories to this project
|
|
201
|
-
|
|
202
|
-
## Searching past context
|
|
203
|
-
|
|
204
|
-
When looking for past context:
|
|
205
|
-
1. Search topic files in your memory directory:
|
|
206
|
-
```
|
|
207
|
-
Grep with pattern="<search term>" path="F:\Node\hivellm\rulebook\.claude\agent-memory\project-manager\" glob="*.md"
|
|
208
|
-
```
|
|
209
|
-
2. Session transcript logs (last resort โ large files, slow):
|
|
210
|
-
```
|
|
211
|
-
Grep with pattern="<search term>" path="C:\Users\Bolado\.claude\projects\F--Node-hivellm-rulebook/" glob="*.jsonl"
|
|
212
|
-
```
|
|
213
|
-
Use narrow search terms (error messages, file paths, function names) rather than broad keywords.
|
|
214
|
-
|
|
215
|
-
## MEMORY.md
|
|
216
|
-
|
|
217
|
-
Your MEMORY.md is currently empty. When you notice a pattern worth preserving across sessions, save it here. Anything in MEMORY.md will be included in your system prompt next time.
|