@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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +4 -2
- package/CHANGELOG.md +395 -8
- package/INSTALL.md +554 -0
- package/README.md +311 -25
- package/agents/{Skill-Squad-Dev.md → _shared/Skill-Squad-Dev.md} +30 -3
- package/agents/{Skill-Squad-Review.md → _shared/Skill-Squad-Review.md} +70 -0
- package/agents/{PO.md → product-owner.md} +33 -1
- package/agents/{Senior-Architect.md → senior-architect.md} +33 -1
- package/agents/{Senior-DBA.md → senior-dba.md} +33 -1
- package/agents/senior-dev-reviewer.md +640 -0
- package/agents/{Senior-Dev-Security.md → senior-dev-security.md} +33 -1
- package/agents/{Senior-Developer.md → senior-developer.md} +33 -1
- package/agents/{Senior-QA.md → senior-qa.md} +33 -1
- package/agents/{TechLead-Consolidator.md → tech-lead-consolidator.md} +7 -1
- package/agents/{TechLead-Planner.md → tech-lead-planner.md} +7 -1
- package/commands/brainstorm.md +21 -0
- package/commands/commit-suggest.md +12 -0
- package/commands/squad-review.md +10 -58
- package/commands/squad.md +11 -70
- package/dist/config/ownership-matrix.d.ts +24 -2
- package/dist/config/ownership-matrix.js +466 -139
- package/dist/config/ownership-matrix.js.map +1 -1
- package/dist/config/squad-yaml.d.ts +242 -0
- package/dist/config/squad-yaml.js +403 -0
- package/dist/config/squad-yaml.js.map +1 -0
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/format/pr-review.d.ts +61 -0
- package/dist/format/pr-review.js +146 -0
- package/dist/format/pr-review.js.map +1 -0
- package/dist/index.js +19 -13
- package/dist/index.js.map +1 -1
- package/dist/learning/format.d.ts +29 -0
- package/dist/learning/format.js +55 -0
- package/dist/learning/format.js.map +1 -0
- package/dist/learning/store.d.ts +102 -0
- package/dist/learning/store.js +169 -0
- package/dist/learning/store.js.map +1 -0
- package/dist/resources/agent-loader.d.ts +14 -2
- package/dist/resources/agent-loader.js +235 -53
- package/dist/resources/agent-loader.js.map +1 -1
- package/dist/tasks/select.d.ts +64 -0
- package/dist/tasks/select.js +84 -0
- package/dist/tasks/select.js.map +1 -0
- package/dist/tasks/store.d.ts +338 -0
- package/dist/tasks/store.js +321 -0
- package/dist/tasks/store.js.map +1 -0
- package/dist/tools/agents.js +4 -1
- package/dist/tools/agents.js.map +1 -1
- package/dist/tools/compose-advisory-bundle.d.ts +5 -5
- package/dist/tools/compose-advisory-bundle.js +24 -12
- package/dist/tools/compose-advisory-bundle.js.map +1 -1
- package/dist/tools/compose-prd-parse.d.ts +53 -0
- package/dist/tools/compose-prd-parse.js +167 -0
- package/dist/tools/compose-prd-parse.js.map +1 -0
- package/dist/tools/compose-squad-workflow.d.ts +28 -10
- package/dist/tools/compose-squad-workflow.js +0 -0
- package/dist/tools/compose-squad-workflow.js.map +1 -1
- package/dist/tools/consolidate.d.ts +55 -4
- package/dist/tools/consolidate.js +87 -15
- package/dist/tools/consolidate.js.map +1 -1
- package/dist/tools/expand-task.d.ts +51 -0
- package/dist/tools/expand-task.js +35 -0
- package/dist/tools/expand-task.js.map +1 -0
- package/dist/tools/list-tasks.d.ts +31 -0
- package/dist/tools/list-tasks.js +50 -0
- package/dist/tools/list-tasks.js.map +1 -0
- package/dist/tools/next-task.d.ts +37 -0
- package/dist/tools/next-task.js +60 -0
- package/dist/tools/next-task.js.map +1 -0
- package/dist/tools/read-learnings.d.ts +53 -0
- package/dist/tools/read-learnings.js +72 -0
- package/dist/tools/read-learnings.js.map +1 -0
- package/dist/tools/read-squad-config.d.ts +23 -0
- package/dist/tools/read-squad-config.js +34 -0
- package/dist/tools/read-squad-config.js.map +1 -0
- package/dist/tools/record-learning.d.ts +62 -0
- package/dist/tools/record-learning.js +80 -0
- package/dist/tools/record-learning.js.map +1 -0
- package/dist/tools/record-tasks.d.ts +71 -0
- package/dist/tools/record-tasks.js +45 -0
- package/dist/tools/record-tasks.js.map +1 -0
- package/dist/tools/registry.d.ts +1 -1
- package/dist/tools/registry.js +71 -39
- package/dist/tools/registry.js.map +1 -1
- package/dist/tools/score-rubric.d.ts +74 -0
- package/dist/tools/score-rubric.js +140 -0
- package/dist/tools/score-rubric.js.map +1 -0
- package/dist/tools/slice-files-for-task.d.ts +31 -0
- package/dist/tools/slice-files-for-task.js +52 -0
- package/dist/tools/slice-files-for-task.js.map +1 -0
- package/dist/tools/update-task-status.d.ts +29 -0
- package/dist/tools/update-task-status.js +35 -0
- package/dist/tools/update-task-status.js.map +1 -0
- package/dist/util/override-allowlist.d.ts +63 -0
- package/dist/util/override-allowlist.js +191 -0
- package/dist/util/override-allowlist.js.map +1 -0
- package/dist/util/path-internal.d.ts +6 -0
- package/dist/util/path-internal.js +27 -0
- package/dist/util/path-internal.js.map +1 -0
- package/dist/util/path-safety.js +0 -0
- package/dist/util/path-safety.js.map +1 -1
- package/package.json +5 -1
- package/skills/brainstorm/SKILL.md +284 -0
- package/skills/commit-suggest/SKILL.md +255 -0
- package/skills/squad/SKILL.md +454 -0
- package/tools/post-review.mjs +212 -0
- package/agents/Senior-Dev-Reviewer.md +0 -104
- /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
|
|
File without changes
|