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
package/README.md ADDED
@@ -0,0 +1,363 @@
1
+ # Awesome Slash Commands
2
+
3
+ > Professional-grade workflow automation for AI coding assistants
4
+
5
+ A cross-platform plugin providing powerful, zero-configuration slash commands for development workflows. Works with **Claude Code**, **Codex CLI**, and **OpenCode**.
6
+
7
+ [![npm](https://img.shields.io/npm/v/awesome-slash?color=red)](https://www.npmjs.com/package/awesome-slash)
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9
+ [![Version](https://img.shields.io/badge/version-2.4.2-blue)](https://github.com/avifenesh/awesome-slash/releases)
10
+ [![GitHub stars](https://img.shields.io/github/stars/awesome-slash?style=flat&color=yellow)](https://github.com/avifenesh/awesome-slash/stargazers)
11
+ [![Claude Code](https://img.shields.io/badge/Claude-Code%20Plugin-blue)](https://docs.anthropic.com/en/docs/claude-code)
12
+ [![Codex CLI](https://img.shields.io/badge/Codex-CLI%20Compatible-green)](https://developers.openai.com/codex/cli)
13
+ [![OpenCode](https://img.shields.io/badge/OpenCode-Compatible-orange)](https://opencode.ai)
14
+
15
+ ## What's New in v2.4.0
16
+
17
+ - **Reality Check Plugin** - Deep repository analysis to detect plan drift and gaps
18
+ - **Multi-Agent Parallel Scanning** - Issue scanner, doc analyzer, code explorer run simultaneously
19
+ - **Prioritized Reconstruction Plans** - Automated drift detection with priority-weighted action items
20
+
21
+ ---
22
+
23
+ ## Installation
24
+
25
+ ### npm (Recommended)
26
+
27
+ ```bash
28
+ npm install awesome-slash
29
+ ```
30
+
31
+ ### Claude Code
32
+
33
+ ```bash
34
+ # Option 1: npm (recommended)
35
+ claude plugin add npm:awesome-slash
36
+
37
+ # Option 2: GitHub
38
+ claude plugin add github:avifenesh/awesome-slash
39
+
40
+ # Option 3: Local clone
41
+ git clone https://github.com/avifenesh/awesome-slash.git
42
+ ./scripts/install/claude.sh
43
+ ```
44
+
45
+ ### OpenCode
46
+
47
+ ```bash
48
+ npm install awesome-slash
49
+ # or
50
+ git clone https://github.com/avifenesh/awesome-slash.git
51
+ cd awesome-slash
52
+ ./scripts/install/opencode.sh
53
+ ```
54
+
55
+ ### Codex CLI
56
+
57
+ ```bash
58
+ npm install awesome-slash
59
+ # or
60
+ git clone https://github.com/avifenesh/awesome-slash.git
61
+ cd awesome-slash
62
+ ./scripts/install/codex.sh
63
+ ```
64
+
65
+ ---
66
+
67
+ ## Available Commands
68
+
69
+ ### 📋 `/next-task:next-task` - Master Workflow Orchestrator
70
+
71
+ Complete task-to-production automation with state management and resume capability.
72
+
73
+ ```bash
74
+ /next-task:next-task # Start new workflow with policy selection
75
+ /next-task:next-task --status # Check current workflow state
76
+ /next-task:next-task --resume # Resume from last checkpoint
77
+ /next-task:next-task --abort # Cancel workflow and cleanup
78
+ /next-task:next-task bug # Filter by task type
79
+ ```
80
+
81
+ **13-Phase Autonomous Workflow:**
82
+ 1. Policy Selection → Ask user preferences via checkboxes
83
+ 2. Task Discovery → Find and prioritize tasks from GitHub/Linear/PLAN.md
84
+ 3. Worktree Setup → Create isolated development environment [sonnet]
85
+ 4. Exploration → Deep codebase analysis [opus]
86
+ 5. Planning → Design implementation plan [opus]
87
+ 6. **User Approval → Get plan approval (LAST human interaction)**
88
+ 7. Implementation → Execute the plan [opus]
89
+ 8. **Pre-Review Gates → deslop-work + test-coverage-checker [sonnet]**
90
+ 9. Review Loop → Multi-agent review until approved [opus]
91
+ 10. **Delivery Validation → Autonomous task completion check [sonnet]**
92
+ 11. **Docs Update → Auto-update related documentation [sonnet]**
93
+ 12. Ship → PR creation, CI monitoring, merge
94
+ 13. Cleanup → Remove worktree, update state
95
+
96
+ **Features:**
97
+ - **Fully autonomous** after plan approval - no human in the loop
98
+ - Resume capability with `.claude/.workflow-state.json`
99
+ - 14 specialist agents with model optimization (opus/sonnet)
100
+ - Quality gates: deslop-work, test-coverage-checker, delivery-validator, docs-updater
101
+ - SubagentStop hooks for automatic workflow transitions
102
+ - Policy-based stopping points (pr-created, merged, deployed, production)
103
+
104
+ ---
105
+
106
+ ### 🚀 `/ship:ship` - Complete PR Workflow
107
+
108
+ Ship your code from commit to production with full validation and state integration.
109
+
110
+ ```bash
111
+ /ship:ship # Default workflow
112
+ /ship:ship --strategy rebase # Rebase before merge
113
+ /ship:ship --dry-run # Show plan without executing
114
+ /ship:ship --state-file PATH # Integrate with next-task workflow
115
+ ```
116
+
117
+ **12-Phase Workflow:**
118
+ 1. Pre-flight checks and platform detection
119
+ 2. Commit with AI-generated message
120
+ 3. Create PR with context
121
+ 4. Wait for CI
122
+ 5. Multi-agent review (code quality, silent failures, test coverage)
123
+ 6. Merge PR
124
+ 7. Deploy to development (if multi-branch)
125
+ 8. Validate development
126
+ 9. Deploy to production
127
+ 10. Validate production
128
+ 11. Cleanup
129
+ 12. Completion report
130
+
131
+ **Platform Support:**
132
+ - **CI:** GitHub Actions, GitLab CI, CircleCI, Jenkins, Travis CI
133
+ - **Deployment:** Railway, Vercel, Netlify, Fly.io, Platform.sh, Render
134
+
135
+ ---
136
+
137
+ ### 🧹 `/deslop-around:deslop-around` - AI Slop Cleanup
138
+
139
+ Remove debugging code, old TODOs, and AI slop from your codebase.
140
+
141
+ ```bash
142
+ /deslop-around:deslop-around # Report mode - analyze only
143
+ /deslop-around:deslop-around apply # Apply fixes with verification
144
+ /deslop-around:deslop-around apply src/ 10 # Fix up to 10 issues in src/
145
+ ```
146
+
147
+ **Detects:**
148
+ - Console debugging (`console.log`, `print()`, `dbg!()`)
149
+ - Old TODOs and commented code
150
+ - Placeholder text, magic numbers
151
+ - Empty catch blocks, disabled linters
152
+
153
+ ---
154
+
155
+ ### 🔍 `/project-review:project-review` - Multi-Agent Code Review
156
+
157
+ Comprehensive code review with specialized agents that iterate until zero issues.
158
+
159
+ ```bash
160
+ /project-review:project-review # Full codebase review
161
+ /project-review:project-review --recent # Only recent changes
162
+ /project-review:project-review --domain security
163
+ ```
164
+
165
+ **8 Specialized Agents:**
166
+ Security · Performance · Architecture · Testing · Error Handling · Code Quality · Type Safety · Documentation
167
+
168
+ ---
169
+
170
+ ### 📝 `/next-task:update-docs-around` - Documentation Sync
171
+
172
+ Sync documentation with actual code state across the entire repository.
173
+
174
+ ```bash
175
+ /next-task:update-docs-around # Report mode - analyze only
176
+ /next-task:update-docs-around --apply # Apply safe fixes
177
+ /next-task:update-docs-around docs/ --apply # Sync specific directory
178
+ ```
179
+
180
+ **Checks:**
181
+ - Outdated code references in documentation
182
+ - Invalid syntax in code examples
183
+ - Missing CHANGELOG entries
184
+ - Version mismatches
185
+ - Broken file/import paths
186
+
187
+ ---
188
+
189
+ ### ✅ `/next-task:delivery-approval` - Delivery Validation
190
+
191
+ Validate task completion and approve for shipping (standalone or part of workflow).
192
+
193
+ ```bash
194
+ /next-task:delivery-approval # Validate current work
195
+ /next-task:delivery-approval --task-id 142 # Validate specific task
196
+ /next-task:delivery-approval --verbose # Show detailed check output
197
+ ```
198
+
199
+ **Validation Checks:**
200
+ - Tests pass (npm test)
201
+ - Build passes (npm run build)
202
+ - Lint passes
203
+ - Type check passes
204
+ - Task requirements met
205
+
206
+ ---
207
+
208
+ ### 🎯 `/reality-check:scan` - Plan Drift Detection
209
+
210
+ Deep repository analysis to identify where documented plans diverge from actual code reality.
211
+
212
+ ```bash
213
+ /reality-check:scan # Full reality check scan
214
+ /reality-check:set # Configure scan settings
215
+ ```
216
+
217
+ **Multi-Agent Parallel Scan:**
218
+ 1. **Issue Scanner** - Analyzes GitHub issues, PRs, milestones
219
+ 2. **Doc Analyzer** - Examines README, PLAN.md, CLAUDE.md, docs/
220
+ 3. **Code Explorer** - Deep codebase structure and feature analysis
221
+ 4. **Plan Synthesizer** - Combines findings and creates prioritized plan
222
+
223
+ **Detects:**
224
+ - Plan stagnation (low completion rates)
225
+ - Priority neglect (stale high-priority issues)
226
+ - Documentation lag (features not documented)
227
+ - Scope overcommit (documented but not implemented)
228
+ - Missing tests, outdated docs, overdue milestones
229
+
230
+ **Output:**
231
+ - Drift analysis with severity ratings
232
+ - Gap identification (missing tests, docs, CI)
233
+ - Cross-reference: documented vs implemented features
234
+ - Prioritized reconstruction plan (immediate, short-term, medium-term)
235
+
236
+ **First-Run Setup:**
237
+ Interactive checkboxes configure:
238
+ - Data sources (GitHub, Linear, docs, code)
239
+ - Scan depth (quick, medium, thorough)
240
+ - Output format (file, display, both)
241
+
242
+ ---
243
+
244
+ ## Cross-Platform Integration
245
+
246
+ All platforms share the same workflow tools via MCP (Model Context Protocol):
247
+
248
+ | Tool | Description |
249
+ |------|-------------|
250
+ | `workflow_status` | Get current workflow state |
251
+ | `workflow_start` | Start a new workflow |
252
+ | `workflow_resume` | Resume from checkpoint |
253
+ | `workflow_abort` | Cancel and cleanup |
254
+ | `task_discover` | Find and prioritize tasks |
255
+ | `review_code` | Run multi-agent review |
256
+
257
+ See [docs/CROSS_PLATFORM.md](./docs/CROSS_PLATFORM.md) for details.
258
+
259
+ ---
260
+
261
+ ## Architecture
262
+
263
+ ### State Management
264
+
265
+ Workflows persist state in `.claude/.workflow-state.json`:
266
+
267
+ ```json
268
+ {
269
+ "workflow": { "id": "...", "status": "in_progress" },
270
+ "policy": { "taskSource": "gh-issues", "stoppingPoint": "merged" },
271
+ "task": { "id": "142", "title": "Fix auth timeout" },
272
+ "phases": { "current": "implementation", "history": [...] },
273
+ "checkpoints": { "canResume": true, "resumeFrom": "implementation" }
274
+ }
275
+ ```
276
+
277
+ ### Specialist Agents (12 Total)
278
+
279
+ **Core Workflow (Opus - Complex Tasks):**
280
+ | Agent | Purpose |
281
+ |-------|---------|
282
+ | exploration-agent | Deep codebase analysis |
283
+ | planning-agent | Design implementation plans |
284
+ | implementation-agent | Execute plans with quality code |
285
+ | review-orchestrator | Multi-agent code review with iteration |
286
+
287
+ **Quality Gates (Sonnet - Side Reviewers):**
288
+ | Agent | Purpose |
289
+ |-------|---------|
290
+ | deslop-work | Clean AI slop from new work (committed but unpushed) |
291
+ | test-coverage-checker | Validate new work has test coverage |
292
+ | delivery-validator | Autonomous delivery validation (NOT manual) |
293
+ | docs-updater | Update docs related to changes |
294
+
295
+ **Operational (Sonnet - Infrastructure):**
296
+ | Agent | Purpose |
297
+ |-------|---------|
298
+ | policy-selector | Configure workflow policy |
299
+ | task-discoverer | Find and prioritize tasks |
300
+ | worktree-manager | Create isolated worktrees |
301
+ | ci-monitor | Monitor CI/PR status with sleep loops |
302
+
303
+ ---
304
+
305
+ ## Repository Structure
306
+
307
+ ```
308
+ awesome-slash/
309
+ ├── .claude-plugin/
310
+ │ └── marketplace.json # Claude Code marketplace manifest
311
+ ├── plugins/
312
+ │ ├── next-task/ # Master workflow orchestrator
313
+ │ │ ├── commands/ # next-task, update-docs-around, delivery-approval
314
+ │ │ ├── agents/ # 14 specialist agents
315
+ │ │ └── hooks/ # SubagentStop hooks for workflow automation
316
+ │ ├── ship/ # PR workflow
317
+ │ ├── deslop-around/ # AI slop cleanup
318
+ │ └── project-review/ # Multi-agent review
319
+ ├── lib/
320
+ │ ├── state/ # Workflow state management
321
+ │ ├── platform/ # Auto-detection
322
+ │ └── patterns/ # Code analysis patterns
323
+ ├── mcp-server/ # Cross-platform MCP server
324
+ ├── scripts/install/ # Platform installers
325
+ └── docs/
326
+ ```
327
+
328
+ ---
329
+
330
+ ## Requirements
331
+
332
+ **Required:**
333
+ - Git
334
+ - Node.js 18+
335
+ - GitHub CLI (`gh`) with authentication
336
+
337
+ **For Claude Code:**
338
+ - Claude Code CLI
339
+
340
+ **For OpenCode:**
341
+ - OpenCode CLI (`opencode`)
342
+
343
+ **For Codex CLI:**
344
+ - Codex CLI (`codex`)
345
+
346
+ ---
347
+
348
+ ## Contributing
349
+
350
+ Contributions welcome! See [CONTRIBUTING.md](./CONTRIBUTING.md).
351
+
352
+ ## License
353
+
354
+ MIT © [Avi Fenesh](https://github.com/avifenesh)
355
+
356
+ ## Support
357
+
358
+ - **Issues:** https://github.com/avifenesh/awesome-slash/issues
359
+ - **Discussions:** https://github.com/avifenesh/awesome-slash/discussions
360
+
361
+ ---
362
+
363
+ Made with ❤️ for the AI coding community
package/SECURITY.md ADDED
@@ -0,0 +1,101 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ We release patches for security vulnerabilities. Currently supported versions:
6
+
7
+ | Version | Supported |
8
+ | ------- | ------------------ |
9
+ | 1.x.x | :white_check_mark: |
10
+ | < 1.0 | :x: |
11
+
12
+ ## Reporting a Vulnerability
13
+
14
+ We take security seriously. If you discover a security vulnerability, please follow these steps:
15
+
16
+ ### 1. Do Not Publicly Disclose
17
+
18
+ Please **do not** open a public issue. Security vulnerabilities should be reported privately.
19
+
20
+ ### 2. Report Via GitHub Security Advisories
21
+
22
+ Use GitHub's Security Advisory feature:
23
+ 1. Go to the [Security tab](https://github.com/avifenesh/awesome-slash/security/advisories)
24
+ 2. Click "Report a vulnerability"
25
+ 3. Provide detailed information about the vulnerability
26
+
27
+ ### 3. Or Email Directly
28
+
29
+ If you prefer, you can email security reports to:
30
+ - **Email:** Create a private security advisory on GitHub instead (preferred method)
31
+
32
+ ### 4. Include in Your Report
33
+
34
+ Please include:
35
+ - Description of the vulnerability
36
+ - Steps to reproduce
37
+ - Potential impact
38
+ - Suggested fix (if you have one)
39
+ - Your contact information
40
+
41
+ ## What to Expect
42
+
43
+ - **Acknowledgment:** Within 48 hours
44
+ - **Initial Assessment:** Within 1 week
45
+ - **Status Updates:** We'll keep you informed of our progress
46
+ - **Disclosure:** We'll coordinate disclosure timing with you
47
+
48
+ ## Security Best Practices for Users
49
+
50
+ ### When Using Commands
51
+
52
+ 1. **Review Generated Code:** Always review code changes made by agents before committing
53
+ 2. **Check Credentials:** Never commit secrets, API keys, or credentials
54
+ 3. **Deployment Caution:** Validate deployments before shipping to production
55
+ 4. **PR Reviews:** Use `/project-review` quality gates to catch security issues
56
+
57
+ ### Platform Detection Scripts
58
+
59
+ The platform detection scripts in `lib/` execute shell commands. They:
60
+ - Do not execute arbitrary user input
61
+ - Only read configuration files
62
+ - Do not modify system files
63
+ - Run in the project directory only
64
+
65
+ ### Command Safety
66
+
67
+ Commands that modify your repository:
68
+ - `/ship` - Commits, pushes code, creates and merges PRs
69
+ - `/next-task` - Full workflow automation including code changes
70
+ - `/deslop-around --apply` - Modifies source files
71
+
72
+ Always review changes with `git status` and `git diff` before running commands that commit or push.
73
+
74
+ ## Scope
75
+
76
+ This security policy covers:
77
+ - Awesome Slash Commands plugin code
78
+ - Platform detection scripts
79
+ - Command implementations
80
+ - Dependencies
81
+
82
+ Does not cover:
83
+ - Vulnerabilities in Claude Code itself (report to Anthropic)
84
+ - Vulnerabilities in external tools (gh, git, npm, etc.)
85
+ - Issues with deployment platforms (Railway, Vercel, etc.)
86
+
87
+ ## Dependencies
88
+
89
+ We regularly update dependencies to patch security vulnerabilities. If you find a vulnerability in one of our dependencies:
90
+ 1. Check if we're using the latest version
91
+ 2. If not, please report it
92
+ 3. If we are, please report to the dependency maintainer
93
+
94
+ ## Recognition
95
+
96
+ We appreciate security researchers who responsibly disclose vulnerabilities. With your permission, we'll acknowledge your contribution in:
97
+ - Our CHANGELOG.md
98
+ - The security advisory
99
+ - This SECURITY.md file
100
+
101
+ Thank you for helping keep Awesome Slash Commands secure!
@@ -0,0 +1,256 @@
1
+ # Multi-Tool Adapters
2
+
3
+ This directory contains adapters for using awesome-slash commands with different AI coding tools.
4
+
5
+ ## Supported Tools
6
+
7
+ ### ✅ Claude Code (Native)
8
+ The primary target. Install via marketplace:
9
+ ```bash
10
+ claude plugin marketplace add avifenesh/awesome-slash
11
+ claude plugin install deslop-around@awesome-slash
12
+ ```
13
+
14
+ See main [README.md](../README.md) for details.
15
+
16
+ ---
17
+
18
+ ### 🤖 Codex CLI
19
+ OpenAI's Codex command-line interface.
20
+
21
+ **Installation:**
22
+ ```bash
23
+ git clone https://github.com/avifenesh/awesome-slash.git
24
+ cd awesome-slash
25
+ ./adapters/codex/install.sh
26
+ ```
27
+
28
+ **Usage:**
29
+ ```bash
30
+ codex
31
+ > /deslop-around
32
+ > /next-task
33
+ > /ship
34
+ ```
35
+
36
+ **Documentation**: [adapters/codex/README.md](./codex/README.md)
37
+
38
+ ---
39
+
40
+ ### 🔓 OpenCode
41
+ Open-source AI coding assistant.
42
+
43
+ **Installation:**
44
+ ```bash
45
+ git clone https://github.com/avifenesh/awesome-slash.git
46
+ cd awesome-slash
47
+ ./adapters/opencode/install.sh
48
+ ```
49
+
50
+ **Usage:**
51
+ ```bash
52
+ opencode
53
+ > /deslop-around
54
+ > /next-task bug
55
+ > /ship --strategy rebase
56
+ ```
57
+
58
+ **Documentation**: [adapters/opencode/README.md](./opencode/README.md)
59
+
60
+ ---
61
+
62
+ ## Architecture
63
+
64
+ All three tools use **markdown-based slash commands**, making adaptation straightforward:
65
+
66
+ ```
67
+ Source: plugins/*/commands/*.md
68
+
69
+ Adapters: Copy + path variable substitution
70
+
71
+ Install: Tool-specific command directory
72
+ ```
73
+
74
+ ### Path Variable Substitution
75
+
76
+ Commands reference shared libraries using path variables:
77
+
78
+ **Claude Code:**
79
+ ```bash
80
+ node ${CLAUDE_PLUGIN_ROOT}/lib/platform/detect-platform.js
81
+ ```
82
+
83
+ **Codex CLI:**
84
+ ```bash
85
+ node ~/.codex/prompts/awesome-slash/lib/platform/detect-platform.js
86
+ ```
87
+
88
+ **OpenCode:**
89
+ ```bash
90
+ node ~/.opencode/commands/awesome-slash/lib/platform/detect-platform.js
91
+ ```
92
+
93
+ Installers automatically handle these substitutions.
94
+
95
+ ---
96
+
97
+ ## Feature Compatibility
98
+
99
+ | Feature | Claude Code | Codex CLI | OpenCode |
100
+ |---------|-------------|-----------|----------|
101
+ | Platform Detection | ✅ | ✅ | ✅ |
102
+ | Git Operations | ✅ | ✅ | ✅ |
103
+ | CI/CD Detection | ✅ | ✅ | ✅ |
104
+ | GitHub CLI Integration | ✅ | ✅ | ✅ |
105
+ | Multi-agent Workflows | ✅ | ⚠️ Varies | ⚠️ Varies |
106
+ | File Includes | ✅ | ✅ | ✅ (@filename) |
107
+ | Bash Command Output | ✅ | ✅ | ✅ (!command) |
108
+
109
+ **Legend:**
110
+ - ✅ Full support
111
+ - ⚠️ Partial support (may vary by tool version)
112
+ - ❌ Not supported
113
+
114
+ ---
115
+
116
+ ## Commands Compatibility
117
+
118
+ | Command | Claude Code | Codex CLI | OpenCode | Notes |
119
+ |---------|-------------|-----------|----------|-------|
120
+ | `/deslop-around` | ✅ Full | ✅ Full | ✅ Full | Pure bash, 100% compatible |
121
+ | `/next-task` | ✅ Full | ✅ Full | ✅ Full | Requires `gh` CLI |
122
+ | `/project-review` | ✅ Full | ⚠️ Partial | ⚠️ Partial | Multi-agent may differ |
123
+ | `/ship` | ✅ Full | ⚠️ Partial | ⚠️ Partial | CI/CD works, agents may vary |
124
+
125
+ ---
126
+
127
+ ## Installation Comparison
128
+
129
+ ### Claude Code
130
+ ```bash
131
+ # Via marketplace (easiest)
132
+ claude plugin marketplace add avifenesh/awesome-slash
133
+ claude plugin install deslop-around@awesome-slash
134
+ ```
135
+
136
+ **Pros:**
137
+ - Official marketplace
138
+ - Automatic updates
139
+ - Per-plugin installation
140
+
141
+ **Cons:**
142
+ - Claude-only
143
+
144
+ ### Codex CLI
145
+ ```bash
146
+ # Via installer script
147
+ ./adapters/codex/install.sh
148
+ ```
149
+
150
+ **Pros:**
151
+ - One-command installation
152
+ - All commands at once
153
+ - Easy updates (re-run installer)
154
+
155
+ **Cons:**
156
+ - Requires git clone first
157
+ - Manual updates
158
+
159
+ ### OpenCode
160
+ ```bash
161
+ # Via installer script
162
+ ./adapters/opencode/install.sh
163
+ ```
164
+
165
+ **Pros:**
166
+ - One-command installation
167
+ - OpenCode-specific features (@, !)
168
+ - Easy updates (re-run installer)
169
+
170
+ **Cons:**
171
+ - Requires git clone first
172
+ - Manual updates
173
+
174
+ ---
175
+
176
+ ## Prerequisites
177
+
178
+ All tools require:
179
+ - **Git** - Version control
180
+ - **Node.js 18+** - For platform detection scripts
181
+ - **GitHub CLI (`gh`)** - For PR-related commands (`/ship`)
182
+
183
+ Optional (enables additional features):
184
+ - Railway CLI, Vercel CLI, Netlify CLI - For deployment detection
185
+ - Linear integration - For `/next-task`
186
+
187
+ ---
188
+
189
+ ## Updating Commands
190
+
191
+ ### Claude Code
192
+ Automatic via marketplace updates.
193
+
194
+ ### Codex CLI & OpenCode
195
+ ```bash
196
+ cd /path/to/awesome-slash
197
+ git pull origin main
198
+ ./adapters/codex/install.sh # Or ./adapters/opencode/install.sh
199
+ ```
200
+
201
+ ---
202
+
203
+ ## Troubleshooting
204
+
205
+ ### Command not found
206
+ **Codex CLI:**
207
+ - Check `~/.codex/prompts/awesome-slash/commands/`
208
+ - Restart Codex CLI
209
+
210
+ **OpenCode:**
211
+ - Check `~/.opencode/commands/awesome-slash/`
212
+ - Restart OpenCode TUI
213
+
214
+ ### Path errors in commands
215
+ Re-run the installer to fix path substitutions:
216
+ ```bash
217
+ ./adapters/[tool]/install.sh
218
+ ```
219
+
220
+ ### Node.js errors
221
+ Ensure Node.js 18+ is installed:
222
+ ```bash
223
+ node --version # Should be v18.0.0 or higher
224
+ ```
225
+
226
+ ### GitHub CLI errors
227
+ Install and authenticate:
228
+ ```bash
229
+ gh auth login
230
+ ```
231
+
232
+ ---
233
+
234
+ ## Contributing
235
+
236
+ Found a bug or want to add support for another tool?
237
+
238
+ 1. Open an issue: https://github.com/avifenesh/awesome-slash/issues
239
+ 2. Submit a PR with:
240
+ - New adapter directory: `adapters/[tool-name]/`
241
+ - Installation script: `install.sh`
242
+ - Documentation: `README.md`
243
+ - Update this file
244
+
245
+ ---
246
+
247
+ ## Resources
248
+
249
+ - [Claude Code Documentation](https://code.claude.com/docs)
250
+ - [Codex CLI Documentation](https://developers.openai.com/codex/cli)
251
+ - [OpenCode Documentation](https://opencode.ai/docs)
252
+ - [awesome-slash Repository](https://github.com/avifenesh/awesome-slash)
253
+
254
+ ---
255
+
256
+ Made with ❤️ for the AI coding tools community