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.
- package/.claude-plugin/marketplace.json +54 -0
- package/.claude-plugin/plugin.json +11 -0
- package/.mcp.json +8 -0
- package/CHANGELOG.md +261 -0
- package/LICENSE +21 -0
- package/README.md +363 -0
- package/SECURITY.md +101 -0
- package/adapters/README.md +256 -0
- package/adapters/codex/README.md +272 -0
- package/adapters/codex/install.sh +179 -0
- package/adapters/opencode/README.md +301 -0
- package/adapters/opencode/install.sh +223 -0
- package/lib/patterns/review-patterns.js +511 -0
- package/lib/patterns/slop-patterns.js +647 -0
- package/lib/platform/detect-platform.js +535 -0
- package/lib/platform/verify-tools.js +235 -0
- package/lib/state/workflow-state.js +635 -0
- package/lib/state/workflow-state.schema.json +282 -0
- package/lib/utils/context-optimizer.js +227 -0
- package/mcp-server/index.js +303 -0
- package/mcp-server/package.json +23 -0
- package/package.json +63 -0
- package/plugins/deslop-around/.claude-plugin/plugin.json +20 -0
- package/plugins/deslop-around/commands/deslop-around.md +220 -0
- package/plugins/deslop-around/lib/patterns/review-patterns.js +511 -0
- package/plugins/deslop-around/lib/patterns/slop-patterns.js +641 -0
- package/plugins/deslop-around/lib/platform/detect-platform.js +514 -0
- package/plugins/deslop-around/lib/platform/verify-tools.js +235 -0
- package/plugins/deslop-around/lib/state/workflow-state.js +635 -0
- package/plugins/deslop-around/lib/state/workflow-state.schema.json +282 -0
- package/plugins/deslop-around/lib/utils/context-optimizer.js +222 -0
- package/plugins/next-task/.claude-plugin/plugin.json +24 -0
- package/plugins/next-task/agents/ci-fixer.md +236 -0
- package/plugins/next-task/agents/ci-monitor.md +291 -0
- package/plugins/next-task/agents/delivery-validator.md +451 -0
- package/plugins/next-task/agents/deslop-work.md +272 -0
- package/plugins/next-task/agents/docs-updater.md +506 -0
- package/plugins/next-task/agents/exploration-agent.md +277 -0
- package/plugins/next-task/agents/implementation-agent.md +427 -0
- package/plugins/next-task/agents/planning-agent.md +236 -0
- package/plugins/next-task/agents/policy-selector.md +248 -0
- package/plugins/next-task/agents/review-orchestrator.md +521 -0
- package/plugins/next-task/agents/simple-fixer.md +136 -0
- package/plugins/next-task/agents/task-discoverer.md +357 -0
- package/plugins/next-task/agents/test-coverage-checker.md +447 -0
- package/plugins/next-task/agents/worktree-manager.md +419 -0
- package/plugins/next-task/commands/delivery-approval.md +331 -0
- package/plugins/next-task/commands/next-task.md +627 -0
- package/plugins/next-task/commands/update-docs-around.md +418 -0
- package/plugins/next-task/hooks/hooks.json +14 -0
- package/plugins/next-task/lib/patterns/review-patterns.js +511 -0
- package/plugins/next-task/lib/patterns/slop-patterns.js +641 -0
- package/plugins/next-task/lib/platform/detect-platform.js +514 -0
- package/plugins/next-task/lib/platform/verify-tools.js +235 -0
- package/plugins/next-task/lib/state/tasks-registry.schema.json +85 -0
- package/plugins/next-task/lib/state/workflow-state.js +635 -0
- package/plugins/next-task/lib/state/workflow-state.schema.json +282 -0
- package/plugins/next-task/lib/state/worktree-status.schema.json +219 -0
- package/plugins/next-task/lib/utils/context-optimizer.js +222 -0
- package/plugins/project-review/.claude-plugin/plugin.json +20 -0
- package/plugins/project-review/commands/project-review-agents.md +286 -0
- package/plugins/project-review/commands/project-review-github.md +142 -0
- package/plugins/project-review/commands/project-review.md +273 -0
- package/plugins/project-review/lib/patterns/review-patterns.js +511 -0
- package/plugins/project-review/lib/patterns/slop-patterns.js +641 -0
- package/plugins/project-review/lib/platform/detect-platform.js +514 -0
- package/plugins/project-review/lib/platform/verify-tools.js +235 -0
- package/plugins/project-review/lib/state/workflow-state.js +635 -0
- package/plugins/project-review/lib/state/workflow-state.schema.json +282 -0
- package/plugins/project-review/lib/utils/context-optimizer.js +222 -0
- package/plugins/reality-check/.claude-plugin/plugin.json +23 -0
- package/plugins/reality-check/README.md +156 -0
- package/plugins/reality-check/agents/code-explorer.md +353 -0
- package/plugins/reality-check/agents/doc-analyzer.md +337 -0
- package/plugins/reality-check/agents/issue-scanner.md +231 -0
- package/plugins/reality-check/agents/plan-synthesizer.md +479 -0
- package/plugins/reality-check/commands/scan.md +242 -0
- package/plugins/reality-check/commands/set.md +203 -0
- package/plugins/reality-check/lib/state/reality-check-state.js +509 -0
- package/plugins/reality-check/skills/reality-analysis/SKILL.md +317 -0
- package/plugins/ship/.claude-plugin/plugin.json +21 -0
- package/plugins/ship/commands/ship-ci-review-loop.md +443 -0
- package/plugins/ship/commands/ship-deployment.md +330 -0
- package/plugins/ship/commands/ship-error-handling.md +254 -0
- package/plugins/ship/commands/ship.md +370 -0
- package/plugins/ship/lib/patterns/review-patterns.js +511 -0
- package/plugins/ship/lib/patterns/slop-patterns.js +641 -0
- package/plugins/ship/lib/platform/detect-platform.js +514 -0
- package/plugins/ship/lib/platform/verify-tools.js +235 -0
- package/plugins/ship/lib/state/workflow-state.js +635 -0
- package/plugins/ship/lib/state/workflow-state.schema.json +282 -0
- package/plugins/ship/lib/utils/context-optimizer.js +222 -0
- package/scripts/install/claude.sh +50 -0
- package/scripts/install/codex.sh +181 -0
- package/scripts/install/opencode.sh +211 -0
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Reality Analysis
|
|
3
|
+
description: This skill should be used when the user asks about "plan drift", "reality check", "comparing docs to code", "project state analysis", "roadmap alignment", "implementation gaps", or needs guidance on identifying discrepancies between documented plans and actual implementation state.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Reality Analysis
|
|
8
|
+
|
|
9
|
+
Knowledge and patterns for analyzing project state, detecting plan drift, and creating prioritized reconstruction plans.
|
|
10
|
+
|
|
11
|
+
## Drift Detection Patterns
|
|
12
|
+
|
|
13
|
+
### Types of Drift
|
|
14
|
+
|
|
15
|
+
**Plan Drift**: When documented plans diverge from actual implementation
|
|
16
|
+
- PLAN.md items remain unchecked for extended periods
|
|
17
|
+
- Roadmap milestones slip without updates
|
|
18
|
+
- Sprint/phase goals not reflected in code changes
|
|
19
|
+
|
|
20
|
+
**Documentation Drift**: When documentation falls behind implementation
|
|
21
|
+
- New features exist without corresponding docs
|
|
22
|
+
- README describes features that don't exist
|
|
23
|
+
- API docs don't match actual endpoints
|
|
24
|
+
|
|
25
|
+
**Issue Drift**: When issue tracking diverges from reality
|
|
26
|
+
- Stale issues that no longer apply
|
|
27
|
+
- Completed work without closed issues
|
|
28
|
+
- High-priority items neglected
|
|
29
|
+
|
|
30
|
+
**Scope Drift**: When project scope expands beyond original plans
|
|
31
|
+
- More features documented than can be delivered
|
|
32
|
+
- Continuous addition without completion
|
|
33
|
+
- Ever-growing backlog with no pruning
|
|
34
|
+
|
|
35
|
+
### Detection Signals
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
HIGH-CONFIDENCE DRIFT INDICATORS:
|
|
39
|
+
- Milestone 30+ days overdue with open issues
|
|
40
|
+
- PLAN.md < 30% completion after 90 days
|
|
41
|
+
- 5+ high-priority issues stale > 60 days
|
|
42
|
+
- README features not found in codebase
|
|
43
|
+
|
|
44
|
+
MEDIUM-CONFIDENCE INDICATORS:
|
|
45
|
+
- Documentation files unchanged for 180+ days
|
|
46
|
+
- Draft PRs open > 30 days
|
|
47
|
+
- Issue themes don't match code activity
|
|
48
|
+
- Large gap between documented and implemented features
|
|
49
|
+
|
|
50
|
+
LOW-CONFIDENCE INDICATORS:
|
|
51
|
+
- Many TODOs in codebase
|
|
52
|
+
- Stale dependencies
|
|
53
|
+
- Old git branches not merged
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Prioritization Framework
|
|
57
|
+
|
|
58
|
+
### Priority Calculation
|
|
59
|
+
|
|
60
|
+
```javascript
|
|
61
|
+
function calculatePriority(item, weights) {
|
|
62
|
+
let score = 0;
|
|
63
|
+
|
|
64
|
+
// Severity base score
|
|
65
|
+
const severityScores = {
|
|
66
|
+
critical: 15,
|
|
67
|
+
high: 10,
|
|
68
|
+
medium: 5,
|
|
69
|
+
low: 2
|
|
70
|
+
};
|
|
71
|
+
score += severityScores[item.severity] || 5;
|
|
72
|
+
|
|
73
|
+
// Category multiplier
|
|
74
|
+
const categoryWeights = {
|
|
75
|
+
security: 2.0, // Security issues get 2x
|
|
76
|
+
bugs: 1.5, // Bugs get 1.5x
|
|
77
|
+
infrastructure: 1.3,
|
|
78
|
+
features: 1.0,
|
|
79
|
+
documentation: 0.8
|
|
80
|
+
};
|
|
81
|
+
score *= categoryWeights[item.category] || 1.0;
|
|
82
|
+
|
|
83
|
+
// Recency boost
|
|
84
|
+
if (item.createdRecently) score *= 1.2;
|
|
85
|
+
|
|
86
|
+
// Stale penalty (old items slightly deprioritized)
|
|
87
|
+
if (item.daysStale > 180) score *= 0.9;
|
|
88
|
+
|
|
89
|
+
return Math.round(score);
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Time Bucket Thresholds
|
|
94
|
+
|
|
95
|
+
| Bucket | Criteria | Max Items |
|
|
96
|
+
|--------|----------|-----------|
|
|
97
|
+
| Immediate | severity=critical OR priority >= 15 | 5 |
|
|
98
|
+
| Short-term | severity=high OR priority >= 10 | 10 |
|
|
99
|
+
| Medium-term | priority >= 5 | 15 |
|
|
100
|
+
| Backlog | everything else | 20 |
|
|
101
|
+
|
|
102
|
+
### Priority Weights (Default)
|
|
103
|
+
|
|
104
|
+
```yaml
|
|
105
|
+
security: 10 # Security issues always top priority
|
|
106
|
+
bugs: 8 # Bugs affect users directly
|
|
107
|
+
features: 5 # New functionality
|
|
108
|
+
documentation: 3 # Important but not urgent
|
|
109
|
+
tech-debt: 4 # Keeps codebase healthy
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Cross-Reference Patterns
|
|
113
|
+
|
|
114
|
+
### Document-to-Code Matching
|
|
115
|
+
|
|
116
|
+
```javascript
|
|
117
|
+
// Fuzzy matching for feature names
|
|
118
|
+
function featureMatch(docFeature, codeFeature) {
|
|
119
|
+
const normalize = s => s
|
|
120
|
+
.toLowerCase()
|
|
121
|
+
.replace(/[-_\s]+/g, '')
|
|
122
|
+
.replace(/s$/, ''); // Remove trailing 's'
|
|
123
|
+
|
|
124
|
+
const docNorm = normalize(docFeature);
|
|
125
|
+
const codeNorm = normalize(codeFeature);
|
|
126
|
+
|
|
127
|
+
return docNorm.includes(codeNorm) ||
|
|
128
|
+
codeNorm.includes(docNorm) ||
|
|
129
|
+
levenshteinDistance(docNorm, codeNorm) < 3;
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Common Mismatches
|
|
134
|
+
|
|
135
|
+
| Documented As | Implemented As |
|
|
136
|
+
|---------------|----------------|
|
|
137
|
+
| "user authentication" | auth/, login/, session/ |
|
|
138
|
+
| "API endpoints" | routes/, api/, handlers/ |
|
|
139
|
+
| "database models" | models/, entities/, schemas/ |
|
|
140
|
+
| "caching layer" | cache/, redis/, memcache/ |
|
|
141
|
+
| "logging system" | logger/, logs/, telemetry/ |
|
|
142
|
+
|
|
143
|
+
## Output Templates
|
|
144
|
+
|
|
145
|
+
### Drift Report Section
|
|
146
|
+
|
|
147
|
+
```markdown
|
|
148
|
+
## Drift Analysis
|
|
149
|
+
|
|
150
|
+
### {drift_type}
|
|
151
|
+
**Severity**: {severity}
|
|
152
|
+
**Detected In**: {source}
|
|
153
|
+
|
|
154
|
+
{description}
|
|
155
|
+
|
|
156
|
+
**Evidence**:
|
|
157
|
+
{evidence_items}
|
|
158
|
+
|
|
159
|
+
**Recommendation**: {recommendation}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Gap Report Section
|
|
163
|
+
|
|
164
|
+
```markdown
|
|
165
|
+
## Gap: {gap_title}
|
|
166
|
+
|
|
167
|
+
**Category**: {category}
|
|
168
|
+
**Severity**: {severity}
|
|
169
|
+
|
|
170
|
+
{description}
|
|
171
|
+
|
|
172
|
+
**Impact**: {impact_description}
|
|
173
|
+
|
|
174
|
+
**To Address**:
|
|
175
|
+
1. {action_item_1}
|
|
176
|
+
2. {action_item_2}
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### Reconstruction Plan Section
|
|
180
|
+
|
|
181
|
+
```markdown
|
|
182
|
+
## Reconstruction Plan
|
|
183
|
+
|
|
184
|
+
### Immediate Actions (This Week)
|
|
185
|
+
{immediate_items_numbered}
|
|
186
|
+
|
|
187
|
+
### Short-Term (This Month)
|
|
188
|
+
{short_term_items_numbered}
|
|
189
|
+
|
|
190
|
+
### Medium-Term (This Quarter)
|
|
191
|
+
{medium_term_items_numbered}
|
|
192
|
+
|
|
193
|
+
### Backlog
|
|
194
|
+
{backlog_items_numbered}
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## Best Practices
|
|
198
|
+
|
|
199
|
+
### When Analyzing Drift
|
|
200
|
+
|
|
201
|
+
1. **Compare timestamps, not just content**
|
|
202
|
+
- When was the doc last updated vs. last code change?
|
|
203
|
+
- Are milestones dated realistically?
|
|
204
|
+
|
|
205
|
+
2. **Look for patterns, not individual items**
|
|
206
|
+
- One stale issue isn't drift; 10 stale issues is a pattern
|
|
207
|
+
- One undocumented feature isn't drift; 5 undocumented features is
|
|
208
|
+
|
|
209
|
+
3. **Consider context**
|
|
210
|
+
- Active development naturally has some drift
|
|
211
|
+
- Mature projects should have minimal drift
|
|
212
|
+
- Post-launch projects often have documentation lag
|
|
213
|
+
|
|
214
|
+
4. **Weight by impact**
|
|
215
|
+
- User-facing drift matters more than internal
|
|
216
|
+
- Public API drift matters more than implementation details
|
|
217
|
+
|
|
218
|
+
### When Creating Plans
|
|
219
|
+
|
|
220
|
+
1. **Be actionable, not exhaustive**
|
|
221
|
+
- Top 5 immediate items, not top 50
|
|
222
|
+
- Each item should be completable in reasonable time
|
|
223
|
+
|
|
224
|
+
2. **Group related items**
|
|
225
|
+
- "Update authentication docs" not "Update login page docs" + "Update signup docs"
|
|
226
|
+
|
|
227
|
+
3. **Include success criteria**
|
|
228
|
+
- How do we know this drift item is resolved?
|
|
229
|
+
|
|
230
|
+
4. **Balance categories**
|
|
231
|
+
- All security first, but don't ignore everything else
|
|
232
|
+
- Mix quick wins with important work
|
|
233
|
+
|
|
234
|
+
## Integration Points
|
|
235
|
+
|
|
236
|
+
### With Issue Scanner
|
|
237
|
+
|
|
238
|
+
Issue scanner provides:
|
|
239
|
+
- Open issue counts and categories
|
|
240
|
+
- Stale issue identification
|
|
241
|
+
- Milestone status
|
|
242
|
+
- Theme analysis
|
|
243
|
+
|
|
244
|
+
Use this data to:
|
|
245
|
+
- Cross-reference with documented plans
|
|
246
|
+
- Identify priority neglect
|
|
247
|
+
- Detect scope creep
|
|
248
|
+
|
|
249
|
+
### With Doc Analyzer
|
|
250
|
+
|
|
251
|
+
Doc analyzer provides:
|
|
252
|
+
- Documented features list
|
|
253
|
+
- Plan completion status
|
|
254
|
+
- Documentation freshness
|
|
255
|
+
- Mentioned files/commands
|
|
256
|
+
|
|
257
|
+
Use this data to:
|
|
258
|
+
- Compare against implemented features
|
|
259
|
+
- Measure plan progress
|
|
260
|
+
- Identify documentation gaps
|
|
261
|
+
|
|
262
|
+
### With Code Explorer
|
|
263
|
+
|
|
264
|
+
Code explorer provides:
|
|
265
|
+
- Implemented features
|
|
266
|
+
- Public API surface
|
|
267
|
+
- Code health metrics
|
|
268
|
+
- Recent activity patterns
|
|
269
|
+
|
|
270
|
+
Use this data to:
|
|
271
|
+
- Verify documented features exist
|
|
272
|
+
- Find undocumented implementations
|
|
273
|
+
- Assess project maturity
|
|
274
|
+
|
|
275
|
+
## Example Analysis
|
|
276
|
+
|
|
277
|
+
### Input
|
|
278
|
+
|
|
279
|
+
```json
|
|
280
|
+
{
|
|
281
|
+
"issues": {
|
|
282
|
+
"openCount": 47,
|
|
283
|
+
"stalePriorityCount": 8,
|
|
284
|
+
"overdoeMilestones": 2
|
|
285
|
+
},
|
|
286
|
+
"docs": {
|
|
287
|
+
"planCompletion": 23,
|
|
288
|
+
"documentedFeatures": 12,
|
|
289
|
+
"lastUpdated": "2024-06-15"
|
|
290
|
+
},
|
|
291
|
+
"code": {
|
|
292
|
+
"implementedFeatures": 8,
|
|
293
|
+
"hasTests": false,
|
|
294
|
+
"todoCount": 34
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
### Output Assessment
|
|
300
|
+
|
|
301
|
+
```
|
|
302
|
+
DRIFT SCORE: HIGH
|
|
303
|
+
|
|
304
|
+
Primary Drift Areas:
|
|
305
|
+
1. Plan stagnation (23% completion)
|
|
306
|
+
2. Priority neglect (8 stale high-priority issues)
|
|
307
|
+
3. Milestone slippage (2 overdue)
|
|
308
|
+
|
|
309
|
+
Key Gaps:
|
|
310
|
+
1. No automated tests (critical)
|
|
311
|
+
2. 34 TODO comments (medium)
|
|
312
|
+
3. 4 features documented but not implemented
|
|
313
|
+
|
|
314
|
+
Recommendation:
|
|
315
|
+
Focus on stabilization before new features.
|
|
316
|
+
Address testing gap and stale priorities first.
|
|
317
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ship",
|
|
3
|
+
"version": "2.3.1",
|
|
4
|
+
"description": "Complete PR workflow from commit to production with validation",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Avi Fenesh",
|
|
7
|
+
"email": "[email protected]",
|
|
8
|
+
"url": "https://github.com/avifenesh"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/avifenesh/awesome-slash#ship",
|
|
11
|
+
"repository": "https://github.com/avifenesh/awesome-slash",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"ci-cd",
|
|
15
|
+
"deployment",
|
|
16
|
+
"pr-workflow",
|
|
17
|
+
"automation",
|
|
18
|
+
"railway",
|
|
19
|
+
"vercel"
|
|
20
|
+
]
|
|
21
|
+
}
|