awesome-slash 2.4.2

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 (95) hide show
  1. package/.claude-plugin/marketplace.json +54 -0
  2. package/.claude-plugin/plugin.json +11 -0
  3. package/.mcp.json +8 -0
  4. package/CHANGELOG.md +261 -0
  5. package/LICENSE +21 -0
  6. package/README.md +363 -0
  7. package/SECURITY.md +101 -0
  8. package/adapters/README.md +256 -0
  9. package/adapters/codex/README.md +272 -0
  10. package/adapters/codex/install.sh +179 -0
  11. package/adapters/opencode/README.md +301 -0
  12. package/adapters/opencode/install.sh +223 -0
  13. package/lib/patterns/review-patterns.js +511 -0
  14. package/lib/patterns/slop-patterns.js +647 -0
  15. package/lib/platform/detect-platform.js +535 -0
  16. package/lib/platform/verify-tools.js +235 -0
  17. package/lib/state/workflow-state.js +635 -0
  18. package/lib/state/workflow-state.schema.json +282 -0
  19. package/lib/utils/context-optimizer.js +227 -0
  20. package/mcp-server/index.js +303 -0
  21. package/mcp-server/package.json +23 -0
  22. package/package.json +63 -0
  23. package/plugins/deslop-around/.claude-plugin/plugin.json +20 -0
  24. package/plugins/deslop-around/commands/deslop-around.md +220 -0
  25. package/plugins/deslop-around/lib/patterns/review-patterns.js +511 -0
  26. package/plugins/deslop-around/lib/patterns/slop-patterns.js +641 -0
  27. package/plugins/deslop-around/lib/platform/detect-platform.js +514 -0
  28. package/plugins/deslop-around/lib/platform/verify-tools.js +235 -0
  29. package/plugins/deslop-around/lib/state/workflow-state.js +635 -0
  30. package/plugins/deslop-around/lib/state/workflow-state.schema.json +282 -0
  31. package/plugins/deslop-around/lib/utils/context-optimizer.js +222 -0
  32. package/plugins/next-task/.claude-plugin/plugin.json +24 -0
  33. package/plugins/next-task/agents/ci-fixer.md +236 -0
  34. package/plugins/next-task/agents/ci-monitor.md +291 -0
  35. package/plugins/next-task/agents/delivery-validator.md +451 -0
  36. package/plugins/next-task/agents/deslop-work.md +272 -0
  37. package/plugins/next-task/agents/docs-updater.md +506 -0
  38. package/plugins/next-task/agents/exploration-agent.md +277 -0
  39. package/plugins/next-task/agents/implementation-agent.md +427 -0
  40. package/plugins/next-task/agents/planning-agent.md +236 -0
  41. package/plugins/next-task/agents/policy-selector.md +248 -0
  42. package/plugins/next-task/agents/review-orchestrator.md +521 -0
  43. package/plugins/next-task/agents/simple-fixer.md +136 -0
  44. package/plugins/next-task/agents/task-discoverer.md +357 -0
  45. package/plugins/next-task/agents/test-coverage-checker.md +447 -0
  46. package/plugins/next-task/agents/worktree-manager.md +419 -0
  47. package/plugins/next-task/commands/delivery-approval.md +331 -0
  48. package/plugins/next-task/commands/next-task.md +627 -0
  49. package/plugins/next-task/commands/update-docs-around.md +418 -0
  50. package/plugins/next-task/hooks/hooks.json +14 -0
  51. package/plugins/next-task/lib/patterns/review-patterns.js +511 -0
  52. package/plugins/next-task/lib/patterns/slop-patterns.js +641 -0
  53. package/plugins/next-task/lib/platform/detect-platform.js +514 -0
  54. package/plugins/next-task/lib/platform/verify-tools.js +235 -0
  55. package/plugins/next-task/lib/state/tasks-registry.schema.json +85 -0
  56. package/plugins/next-task/lib/state/workflow-state.js +635 -0
  57. package/plugins/next-task/lib/state/workflow-state.schema.json +282 -0
  58. package/plugins/next-task/lib/state/worktree-status.schema.json +219 -0
  59. package/plugins/next-task/lib/utils/context-optimizer.js +222 -0
  60. package/plugins/project-review/.claude-plugin/plugin.json +20 -0
  61. package/plugins/project-review/commands/project-review-agents.md +286 -0
  62. package/plugins/project-review/commands/project-review-github.md +142 -0
  63. package/plugins/project-review/commands/project-review.md +273 -0
  64. package/plugins/project-review/lib/patterns/review-patterns.js +511 -0
  65. package/plugins/project-review/lib/patterns/slop-patterns.js +641 -0
  66. package/plugins/project-review/lib/platform/detect-platform.js +514 -0
  67. package/plugins/project-review/lib/platform/verify-tools.js +235 -0
  68. package/plugins/project-review/lib/state/workflow-state.js +635 -0
  69. package/plugins/project-review/lib/state/workflow-state.schema.json +282 -0
  70. package/plugins/project-review/lib/utils/context-optimizer.js +222 -0
  71. package/plugins/reality-check/.claude-plugin/plugin.json +23 -0
  72. package/plugins/reality-check/README.md +156 -0
  73. package/plugins/reality-check/agents/code-explorer.md +353 -0
  74. package/plugins/reality-check/agents/doc-analyzer.md +337 -0
  75. package/plugins/reality-check/agents/issue-scanner.md +231 -0
  76. package/plugins/reality-check/agents/plan-synthesizer.md +479 -0
  77. package/plugins/reality-check/commands/scan.md +242 -0
  78. package/plugins/reality-check/commands/set.md +203 -0
  79. package/plugins/reality-check/lib/state/reality-check-state.js +509 -0
  80. package/plugins/reality-check/skills/reality-analysis/SKILL.md +317 -0
  81. package/plugins/ship/.claude-plugin/plugin.json +21 -0
  82. package/plugins/ship/commands/ship-ci-review-loop.md +443 -0
  83. package/plugins/ship/commands/ship-deployment.md +330 -0
  84. package/plugins/ship/commands/ship-error-handling.md +254 -0
  85. package/plugins/ship/commands/ship.md +370 -0
  86. package/plugins/ship/lib/patterns/review-patterns.js +511 -0
  87. package/plugins/ship/lib/patterns/slop-patterns.js +641 -0
  88. package/plugins/ship/lib/platform/detect-platform.js +514 -0
  89. package/plugins/ship/lib/platform/verify-tools.js +235 -0
  90. package/plugins/ship/lib/state/workflow-state.js +635 -0
  91. package/plugins/ship/lib/state/workflow-state.schema.json +282 -0
  92. package/plugins/ship/lib/utils/context-optimizer.js +222 -0
  93. package/scripts/install/claude.sh +50 -0
  94. package/scripts/install/codex.sh +181 -0
  95. package/scripts/install/opencode.sh +211 -0
@@ -0,0 +1,273 @@
1
+ ---
2
+ description: Multi-agent code review with iterative improvement
3
+ argument-hint: "[scope] [--recent] [--domain AGENT] [--quick] [--create-tech-debt]"
4
+ ---
5
+
6
+ # /project-review - Multi-Agent Code Review
7
+
8
+ Comprehensive code review using specialized AI agents with iterative improvement.
9
+
10
+ ## Quick Reference
11
+
12
+ | Phase | Description | Details |
13
+ |-------|-------------|---------|
14
+ | 1 | Context & Agent Selection | This file |
15
+ | 2 | Multi-Agent Review | See `project-review-agents.md` |
16
+ | 3-4 | Tech Debt & Fixes | This file |
17
+ | 5-6 | Verification & Iteration | This file |
18
+ | 7 | Completion Report | This file |
19
+ | 8 | GitHub Issues | See `project-review-github.md` |
20
+
21
+ ## Arguments
22
+
23
+ Parse from $ARGUMENTS:
24
+ - **Scope**: Path to review (default: `.`) or `--recent` (last 5 commits only)
25
+ - **--domain AGENT**: Review with specific agent only (e.g., `--domain security`)
26
+ - **--quick**: Single pass, no iteration (fast feedback)
27
+ - **--create-tech-debt**: Force create/update TECHNICAL_DEBT.md
28
+
29
+ ## Phase 1: Context Gathering
30
+
31
+ ### Platform Detection
32
+
33
+ ```bash
34
+ PLATFORM=$(node ${CLAUDE_PLUGIN_ROOT}/lib/platform/detect-platform.js)
35
+ TOOLS=$(node ${CLAUDE_PLUGIN_ROOT}/lib/platform/verify-tools.js)
36
+
37
+ PROJECT_TYPE=$(echo $PLATFORM | jq -r '.projectType')
38
+ PACKAGE_MGR=$(echo $PLATFORM | jq -r '.packageManager')
39
+
40
+ # Detect framework
41
+ FRAMEWORK="unknown"
42
+ if [ "$PROJECT_TYPE" = "nodejs" ]; then
43
+ [ -n "$(jq -e '.dependencies.react' package.json 2>/dev/null)" ] && FRAMEWORK="react"
44
+ [ -n "$(jq -e '.dependencies.express' package.json 2>/dev/null)" ] && FRAMEWORK="express"
45
+ elif [ "$PROJECT_TYPE" = "python" ]; then
46
+ grep -q "django" requirements.txt 2>/dev/null && FRAMEWORK="django"
47
+ grep -q "fastapi" requirements.txt 2>/dev/null && FRAMEWORK="fastapi"
48
+ fi
49
+ ```
50
+
51
+ ### Project Analysis
52
+
53
+ ```bash
54
+ FILE_COUNT=$(git ls-files | wc -l)
55
+ TEST_FILES=$(git ls-files | grep -E '(test|spec)\.' | wc -l)
56
+ HAS_TESTS=$( [ "$TEST_FILES" -gt 0 ] && echo "true" || echo "false" )
57
+ HAS_DB=$(grep -rq -E "(Sequelize|Prisma|TypeORM)" . 2>/dev/null && echo "true" || echo "false")
58
+ HAS_API=$(grep -rq -E "(express|fastify|@nestjs)" . 2>/dev/null && echo "true" || echo "false")
59
+ HAS_CICD=$([ -d ".github/workflows" ] && echo "true" || echo "false")
60
+ ```
61
+
62
+ ### Agent Selection
63
+
64
+ **Always Active:**
65
+ - `security-expert`: Security vulnerabilities, auth, input validation
66
+ - `performance-engineer`: Performance bottlenecks, algorithms, memory
67
+
68
+ **Conditional:**
69
+ - `test-quality-guardian`: Test coverage and quality (if `HAS_TESTS=true`)
70
+ - `architecture-reviewer`: Design patterns (if `FILE_COUNT > 50`)
71
+ - `database-specialist`: Query optimization (if `HAS_DB=true`)
72
+ - `api-designer`: REST best practices (if `HAS_API=true`)
73
+ - `frontend-specialist`: Component design (if React/Vue/Angular)
74
+ - `devops-reviewer`: CI/CD config (if `HAS_CICD=true`)
75
+
76
+ ## Phase 2: Multi-Agent Review
77
+
78
+ See `project-review-agents.md` for detailed agent coordination.
79
+
80
+ ### Finding Format (Required)
81
+
82
+ Every finding MUST include:
83
+ - **File:Line**: Exact location (e.g., `src/auth/session.ts:42`)
84
+ - **Severity**: critical | high | medium | low
85
+ - **Category**: From agent domain
86
+ - **Description**: What's wrong and why
87
+ - **Code Quote**: 1-3 lines showing issue
88
+ - **Suggested Fix**: Specific remediation
89
+ - **Effort**: small | medium | large
90
+
91
+ ### Example Finding
92
+
93
+ ```markdown
94
+ ### Finding: Unsafe SQL Query
95
+ **Agent**: security-expert
96
+ **File**: src/api/users.ts:87
97
+ **Severity**: critical
98
+ **Code**:
99
+ ```typescript
100
+ const query = `SELECT * FROM users WHERE id = ${userId}`;
101
+ ```
102
+ **Fix**: Use parameterized queries.
103
+ **Effort**: small
104
+ ```
105
+
106
+ ## Phase 3: Tech Debt Documentation
107
+
108
+ If TECHNICAL_DEBT.md exists or `--create-tech-debt`:
109
+
110
+ ```markdown
111
+ # Technical Debt
112
+
113
+ Last updated: $(date -I)
114
+
115
+ ## Summary
116
+ **Total Issues**: X | Critical: Y | High: Z | Medium: A | Low: B
117
+
118
+ ## Critical Issues
119
+ [Grouped by severity with file:line, description, fix, effort]
120
+
121
+ ## Progress Tracking
122
+ - [ ] Issue 1
123
+ - [ ] Issue 2
124
+ ```
125
+
126
+ ## Phase 4: Automated Fixes
127
+
128
+ ### Fix Strategy
129
+
130
+ 1. **Auto-fixable** (lint, formatting): Apply directly
131
+ 2. **Manual fix** (code logic): Implement suggested fix
132
+ 3. **Design decision required**: Document in tech debt
133
+ 4. **False positive**: Remove from list
134
+
135
+ ### Fix Order
136
+
137
+ 1. Critical severity first
138
+ 2. Then by effort (small → large)
139
+ 3. Then batch by file
140
+
141
+ ## Phase 5: Verification
142
+
143
+ ```bash
144
+ # Run tests
145
+ [ -n "$TEST_CMD" ] && $TEST_CMD
146
+ TEST_STATUS=$?
147
+
148
+ # Run linter
149
+ [ -n "$LINT_CMD" ] && $LINT_CMD
150
+ LINT_STATUS=$?
151
+
152
+ # Run build
153
+ [ -n "$BUILD_CMD" ] && $BUILD_CMD
154
+ BUILD_STATUS=$?
155
+
156
+ # Overall status
157
+ VERIFICATION_PASSED=$([ $TEST_STATUS -eq 0 ] && [ $LINT_STATUS -eq 0 ] && [ $BUILD_STATUS -eq 0 ] && echo "true" || echo "false")
158
+ ```
159
+
160
+ ### Handle Failures
161
+
162
+ If verification fails:
163
+ 1. Review recent changes (`git diff`)
164
+ 2. Identify breaking fix
165
+ 3. Rollback: `git restore <file>`
166
+ 4. Document as "fix caused regression"
167
+
168
+ ## Phase 6: Iteration
169
+
170
+ ```javascript
171
+ const MAX_ITERATIONS = 5;
172
+ let iteration = 1;
173
+
174
+ while (iteration <= MAX_ITERATIONS) {
175
+ const fixResult = applyFixes(remainingIssues);
176
+
177
+ const verifyResult = runVerification();
178
+ if (!verifyResult.passed) {
179
+ rollbackFailed(fixResult);
180
+ }
181
+
182
+ const reReviewResult = reReview(fixResult.changedFiles);
183
+ remainingIssues = reReviewResult.issues;
184
+
185
+ if (remainingIssues.length === 0) {
186
+ console.log("✓ Zero issues remaining!");
187
+ break;
188
+ }
189
+
190
+ iteration++;
191
+ }
192
+ ```
193
+
194
+ ### Quick Mode
195
+
196
+ If `--quick` flag: Single pass, findings only, no fixes.
197
+
198
+ ## Phase 7: Completion Report
199
+
200
+ ```markdown
201
+ # Project Review Complete
202
+
203
+ **Scope**: ${SCOPE} | **Framework**: ${FRAMEWORK}
204
+ **Iterations**: ${iteration} | **Duration**: ${duration}
205
+
206
+ ## Summary
207
+ **Issues Found**: ${initialCount}
208
+ **Issues Fixed**: ${fixedCount}
209
+ **Remaining**: ${remainingCount}
210
+
211
+ ## By Severity
212
+ - Critical: ${criticalFound} → ${criticalRemaining}
213
+ - High: ${highFound} → ${highRemaining}
214
+ - Medium: ${mediumFound} → ${mediumRemaining}
215
+ - Low: ${lowFound} → ${lowRemaining}
216
+
217
+ ## Verification
218
+ - Tests: ✓/✗
219
+ - Linter: ✓/✗
220
+ - Build: ✓/✗
221
+
222
+ ## Files Changed
223
+ ${FILE_COUNT} files modified
224
+
225
+ ## Remaining Issues
226
+ [List of issues needing attention]
227
+ ```
228
+
229
+ ## Phase 8: GitHub Issue Creation
230
+
231
+ See `project-review-github.md` for:
232
+ - Creating GitHub issues for deferred items
233
+ - Security issue handling (no public issues)
234
+ - TECHNICAL_DEBT.md cleanup
235
+
236
+ ## Error Handling
237
+
238
+ ### No Framework Detected
239
+ ```
240
+ Framework detection failed, using generic patterns.
241
+ ```
242
+
243
+ ### No Tests Available
244
+ ```
245
+ No test suite detected. Skipping test-quality-guardian.
246
+ ```
247
+
248
+ ### All Agents Failed
249
+ ```
250
+ ERROR: All review agents failed.
251
+ Try: --recent or specific path for smaller scope.
252
+ ```
253
+
254
+ ## Usage Examples
255
+
256
+ ```bash
257
+ /project-review # Full review
258
+ /project-review --recent # Last 5 commits only
259
+ /project-review src/api # Specific path
260
+ /project-review --domain security # Security audit only
261
+ /project-review --quick # Fast feedback, no fixes
262
+ /project-review --create-tech-debt # Force tech debt file
263
+ ```
264
+
265
+ ## Success Criteria
266
+
267
+ - ✓ All agents completed review
268
+ - ✓ Evidence-based findings (file:line provided)
269
+ - ✓ Critical issues fixed or documented
270
+ - ✓ Verification passes
271
+ - ✓ TECHNICAL_DEBT.md updated (if enabled)
272
+
273
+ Begin Phase 1 now.