@gempack/squad-mcp 0.3.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +4 -2
  3. package/CHANGELOG.md +395 -8
  4. package/INSTALL.md +554 -0
  5. package/README.md +311 -25
  6. package/agents/{Skill-Squad-Dev.md → _shared/Skill-Squad-Dev.md} +30 -3
  7. package/agents/{Skill-Squad-Review.md → _shared/Skill-Squad-Review.md} +70 -0
  8. package/agents/{PO.md → product-owner.md} +33 -1
  9. package/agents/{Senior-Architect.md → senior-architect.md} +33 -1
  10. package/agents/{Senior-DBA.md → senior-dba.md} +33 -1
  11. package/agents/senior-dev-reviewer.md +640 -0
  12. package/agents/{Senior-Dev-Security.md → senior-dev-security.md} +33 -1
  13. package/agents/{Senior-Developer.md → senior-developer.md} +33 -1
  14. package/agents/{Senior-QA.md → senior-qa.md} +33 -1
  15. package/agents/{TechLead-Consolidator.md → tech-lead-consolidator.md} +7 -1
  16. package/agents/{TechLead-Planner.md → tech-lead-planner.md} +7 -1
  17. package/commands/brainstorm.md +21 -0
  18. package/commands/commit-suggest.md +12 -0
  19. package/commands/squad-review.md +10 -58
  20. package/commands/squad.md +11 -70
  21. package/dist/config/ownership-matrix.d.ts +24 -2
  22. package/dist/config/ownership-matrix.js +466 -139
  23. package/dist/config/ownership-matrix.js.map +1 -1
  24. package/dist/config/squad-yaml.d.ts +242 -0
  25. package/dist/config/squad-yaml.js +403 -0
  26. package/dist/config/squad-yaml.js.map +1 -0
  27. package/dist/errors.d.ts +1 -1
  28. package/dist/errors.js +1 -1
  29. package/dist/errors.js.map +1 -1
  30. package/dist/format/pr-review.d.ts +61 -0
  31. package/dist/format/pr-review.js +146 -0
  32. package/dist/format/pr-review.js.map +1 -0
  33. package/dist/index.js +19 -13
  34. package/dist/index.js.map +1 -1
  35. package/dist/learning/format.d.ts +29 -0
  36. package/dist/learning/format.js +55 -0
  37. package/dist/learning/format.js.map +1 -0
  38. package/dist/learning/store.d.ts +102 -0
  39. package/dist/learning/store.js +169 -0
  40. package/dist/learning/store.js.map +1 -0
  41. package/dist/resources/agent-loader.d.ts +14 -2
  42. package/dist/resources/agent-loader.js +235 -53
  43. package/dist/resources/agent-loader.js.map +1 -1
  44. package/dist/tasks/select.d.ts +64 -0
  45. package/dist/tasks/select.js +84 -0
  46. package/dist/tasks/select.js.map +1 -0
  47. package/dist/tasks/store.d.ts +338 -0
  48. package/dist/tasks/store.js +321 -0
  49. package/dist/tasks/store.js.map +1 -0
  50. package/dist/tools/agents.js +4 -1
  51. package/dist/tools/agents.js.map +1 -1
  52. package/dist/tools/compose-advisory-bundle.d.ts +5 -5
  53. package/dist/tools/compose-advisory-bundle.js +24 -12
  54. package/dist/tools/compose-advisory-bundle.js.map +1 -1
  55. package/dist/tools/compose-prd-parse.d.ts +53 -0
  56. package/dist/tools/compose-prd-parse.js +167 -0
  57. package/dist/tools/compose-prd-parse.js.map +1 -0
  58. package/dist/tools/compose-squad-workflow.d.ts +28 -10
  59. package/dist/tools/compose-squad-workflow.js +0 -0
  60. package/dist/tools/compose-squad-workflow.js.map +1 -1
  61. package/dist/tools/consolidate.d.ts +55 -4
  62. package/dist/tools/consolidate.js +87 -15
  63. package/dist/tools/consolidate.js.map +1 -1
  64. package/dist/tools/expand-task.d.ts +51 -0
  65. package/dist/tools/expand-task.js +35 -0
  66. package/dist/tools/expand-task.js.map +1 -0
  67. package/dist/tools/list-tasks.d.ts +31 -0
  68. package/dist/tools/list-tasks.js +50 -0
  69. package/dist/tools/list-tasks.js.map +1 -0
  70. package/dist/tools/next-task.d.ts +37 -0
  71. package/dist/tools/next-task.js +60 -0
  72. package/dist/tools/next-task.js.map +1 -0
  73. package/dist/tools/read-learnings.d.ts +53 -0
  74. package/dist/tools/read-learnings.js +72 -0
  75. package/dist/tools/read-learnings.js.map +1 -0
  76. package/dist/tools/read-squad-config.d.ts +23 -0
  77. package/dist/tools/read-squad-config.js +34 -0
  78. package/dist/tools/read-squad-config.js.map +1 -0
  79. package/dist/tools/record-learning.d.ts +62 -0
  80. package/dist/tools/record-learning.js +80 -0
  81. package/dist/tools/record-learning.js.map +1 -0
  82. package/dist/tools/record-tasks.d.ts +71 -0
  83. package/dist/tools/record-tasks.js +45 -0
  84. package/dist/tools/record-tasks.js.map +1 -0
  85. package/dist/tools/registry.d.ts +1 -1
  86. package/dist/tools/registry.js +71 -39
  87. package/dist/tools/registry.js.map +1 -1
  88. package/dist/tools/score-rubric.d.ts +74 -0
  89. package/dist/tools/score-rubric.js +140 -0
  90. package/dist/tools/score-rubric.js.map +1 -0
  91. package/dist/tools/slice-files-for-task.d.ts +31 -0
  92. package/dist/tools/slice-files-for-task.js +52 -0
  93. package/dist/tools/slice-files-for-task.js.map +1 -0
  94. package/dist/tools/update-task-status.d.ts +29 -0
  95. package/dist/tools/update-task-status.js +35 -0
  96. package/dist/tools/update-task-status.js.map +1 -0
  97. package/dist/util/override-allowlist.d.ts +63 -0
  98. package/dist/util/override-allowlist.js +191 -0
  99. package/dist/util/override-allowlist.js.map +1 -0
  100. package/dist/util/path-internal.d.ts +6 -0
  101. package/dist/util/path-internal.js +27 -0
  102. package/dist/util/path-internal.js.map +1 -0
  103. package/dist/util/path-safety.js +0 -0
  104. package/dist/util/path-safety.js.map +1 -1
  105. package/package.json +5 -1
  106. package/skills/brainstorm/SKILL.md +284 -0
  107. package/skills/commit-suggest/SKILL.md +255 -0
  108. package/skills/squad/SKILL.md +454 -0
  109. package/tools/post-review.mjs +212 -0
  110. package/agents/Senior-Dev-Reviewer.md +0 -104
  111. /package/agents/{_Severity-and-Ownership.md → _shared/_Severity-and-Ownership.md} +0 -0
@@ -1,104 +0,0 @@
1
- # Senior-Dev-Reviewer
2
-
3
- > Reference: [Severity and Ownership Matrix](_Severity-and-Ownership.md)
4
-
5
- ## Role
6
- Senior code reviewer focused on quality, readability, and maintainability. Does detailed code review at the line level.
7
-
8
- ## Primary Focus
9
- Ensure the code is clean, readable, consistent, and maintainable. Any dev on the team should understand it without extra explanation.
10
-
11
- ## Ownership
12
- - Readability and code smells
13
- - C#/.NET best practices (syntax level)
14
- - Naming conventions (methods in English, PascalCase)
15
- - Code formatting and organization
16
- - Error handling (code path and logging, not client-facing response)
17
-
18
- ## Boundaries
19
- - Do not evaluate query performance (Senior-DBA)
20
- - Do not evaluate LINQ performance (only LINQ readability)
21
- - Do not evaluate security vulnerabilities (Senior-Dev-Security) — forward anything suspicious
22
- - Do not evaluate HTTP response correctness for clients (Senior-Developer)
23
- - Do not evaluate test coverage (Senior-QA) — you may comment on test-code quality itself
24
- - Do not evaluate architectural patterns (Senior-Architect)
25
-
26
- ## Responsibilities
27
-
28
- ### Code Quality
29
- - Review readability and clarity
30
- - Identify code smells (long methods, god classes, feature envy, etc.)
31
- - Assess cyclomatic and cognitive complexity
32
- - Check DRY without falling into premature abstraction
33
- - Validate the code does what the name says (no hidden side effects)
34
-
35
- ### C#/.NET Best Practices
36
- - Verify correct async/await usage (no `async void`, no `.Result`, no `.Wait()`)
37
- - Validate dispose patterns and use of `using` / `await using`
38
- - Check null handling (null checks, null-conditional, null-coalescing)
39
- - Assess LINQ usage (readability, not performance)
40
- - Verify immutability where applicable (records, readonly, init)
41
-
42
- ### Error Handling
43
- - Validate exceptions are handled at the right level
44
- - Verify custom exceptions are used appropriately
45
- - Check errors are logged with enough context for debugging
46
- - Identify generic `catch (Exception)` without justification
47
-
48
- ### Consistency
49
- - Validate new code is consistent with the existing codebase
50
- - Verify naming conventions (methods in English, PascalCase)
51
- - Check formatting and organization (usings, member order)
52
- - Comments should be rare and useful — the code should be self-explanatory
53
-
54
- ## Output Format
55
-
56
- ```
57
- ## Code Review
58
-
59
- ### Status: [APPROVED | CHANGES REQUIRED | REJECTED]
60
-
61
- ### Summary
62
- Overview of the quality of the reviewed code.
63
-
64
- ### Comments by File
65
-
66
- #### path/to/file.cs
67
- | Line | Severity | Comment |
68
- |------|------------|---------|
69
- | 42 | Blocker | Description and suggested fix |
70
- | 78 | Major | ... |
71
- | 103 | Minor | ... |
72
- | 150 | Suggestion | ... |
73
-
74
- ### Quality Standards
75
- | Aspect | Status | Note |
76
- |--------|--------|------|
77
- | Readability | OK / NOK | ... |
78
- | Async/Await | OK / NOK | ... |
79
- | Error handling | OK / NOK | ... |
80
- | Naming | OK / NOK | ... |
81
- | Consistency | OK / NOK | ... |
82
-
83
- ### Highlights
84
- - Good author decisions worth calling out
85
-
86
- ### Forwarded Items
87
- - [Senior-Dev-Security] Possible vulnerability at line X (if applicable)
88
- - [Senior-DBA] Query with potential performance issue (if applicable)
89
-
90
- ### Assumptions and Limitations
91
- - What was assumed due to missing context
92
- - What could not be validated from the diff alone
93
-
94
- ### Final Verdict
95
- Summary and decision.
96
- ```
97
-
98
- ## Guidelines
99
- - Be constructive: always suggest the fix, not just point the problem
100
- - Distinguish personal preference from project standard
101
- - Do not ask for changes in code outside the PR
102
- - Acknowledge good author decisions — review is not only about defects
103
- - Be specific: always reference file and line
104
- - Remember: the goal is that the author learns, not just that they fix