awesome-slash 2.4.4 → 2.5.1

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 (151) hide show
  1. package/.claude-plugin/marketplace.json +6 -6
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +123 -1
  4. package/README.md +186 -159
  5. package/SECURITY.md +25 -81
  6. package/adapters/codex/install.sh +58 -16
  7. package/adapters/opencode/install.sh +92 -23
  8. package/lib/index.js +47 -4
  9. package/lib/patterns/review-patterns.js +58 -11
  10. package/lib/patterns/slop-patterns.js +154 -147
  11. package/lib/platform/detect-platform.js +99 -350
  12. package/lib/platform/detection-configs.js +93 -0
  13. package/lib/platform/state-dir.js +122 -0
  14. package/lib/platform/verify-tools.js +10 -78
  15. package/lib/schemas/README.md +195 -0
  16. package/lib/schemas/validator.js +247 -0
  17. package/lib/sources/custom-handler.js +199 -0
  18. package/lib/sources/policy-questions.js +239 -0
  19. package/lib/sources/source-cache.js +164 -0
  20. package/lib/state/workflow-state.js +368 -665
  21. package/lib/types/README.md +292 -0
  22. package/lib/types/agent-frontmatter.d.ts +134 -0
  23. package/lib/types/command-frontmatter.d.ts +107 -0
  24. package/lib/types/hook-frontmatter.d.ts +115 -0
  25. package/lib/types/index.d.ts +84 -0
  26. package/lib/types/plugin-manifest.d.ts +102 -0
  27. package/lib/types/skill-frontmatter.d.ts +89 -0
  28. package/lib/utils/cache-manager.js +154 -0
  29. package/lib/utils/context-optimizer.js +5 -36
  30. package/lib/utils/deprecation.js +37 -0
  31. package/lib/utils/shell-escape.js +88 -0
  32. package/mcp-server/index.js +513 -22
  33. package/package.json +6 -2
  34. package/plugins/deslop-around/.claude-plugin/plugin.json +1 -1
  35. package/plugins/deslop-around/lib/index.js +170 -0
  36. package/plugins/deslop-around/lib/patterns/review-patterns.js +58 -11
  37. package/plugins/deslop-around/lib/patterns/slop-patterns.js +169 -129
  38. package/plugins/deslop-around/lib/platform/detect-platform.js +162 -316
  39. package/plugins/deslop-around/lib/platform/detection-configs.js +93 -0
  40. package/plugins/deslop-around/lib/platform/state-dir.js +122 -0
  41. package/plugins/deslop-around/lib/platform/verify-tools.js +10 -78
  42. package/plugins/deslop-around/lib/schemas/README.md +195 -0
  43. package/plugins/deslop-around/lib/schemas/validator.js +247 -0
  44. package/plugins/deslop-around/lib/sources/custom-handler.js +199 -0
  45. package/plugins/deslop-around/lib/sources/policy-questions.js +239 -0
  46. package/plugins/deslop-around/lib/sources/source-cache.js +164 -0
  47. package/plugins/deslop-around/lib/state/workflow-state.js +387 -484
  48. package/plugins/deslop-around/lib/types/README.md +292 -0
  49. package/plugins/deslop-around/lib/types/agent-frontmatter.d.ts +134 -0
  50. package/plugins/deslop-around/lib/types/command-frontmatter.d.ts +107 -0
  51. package/plugins/deslop-around/lib/types/hook-frontmatter.d.ts +115 -0
  52. package/plugins/deslop-around/lib/types/index.d.ts +84 -0
  53. package/plugins/deslop-around/lib/types/plugin-manifest.d.ts +102 -0
  54. package/plugins/deslop-around/lib/types/skill-frontmatter.d.ts +89 -0
  55. package/plugins/deslop-around/lib/utils/cache-manager.js +154 -0
  56. package/plugins/deslop-around/lib/utils/context-optimizer.js +115 -37
  57. package/plugins/deslop-around/lib/utils/deprecation.js +37 -0
  58. package/plugins/deslop-around/lib/utils/shell-escape.js +88 -0
  59. package/plugins/next-task/.claude-plugin/plugin.json +1 -1
  60. package/plugins/next-task/agents/delivery-validator.md +2 -2
  61. package/plugins/next-task/agents/implementation-agent.md +3 -4
  62. package/plugins/next-task/agents/planning-agent.md +77 -19
  63. package/plugins/next-task/agents/review-orchestrator.md +21 -122
  64. package/plugins/next-task/agents/task-discoverer.md +164 -23
  65. package/plugins/next-task/commands/next-task.md +180 -14
  66. package/plugins/next-task/lib/index.js +170 -0
  67. package/plugins/next-task/lib/patterns/review-patterns.js +58 -11
  68. package/plugins/next-task/lib/patterns/slop-patterns.js +169 -129
  69. package/plugins/next-task/lib/platform/detect-platform.js +162 -316
  70. package/plugins/next-task/lib/platform/detection-configs.js +93 -0
  71. package/plugins/next-task/lib/platform/state-dir.js +122 -0
  72. package/plugins/next-task/lib/platform/verify-tools.js +10 -78
  73. package/plugins/next-task/lib/schemas/README.md +195 -0
  74. package/plugins/next-task/lib/schemas/validator.js +247 -0
  75. package/plugins/next-task/lib/sources/custom-handler.js +199 -0
  76. package/plugins/next-task/lib/sources/policy-questions.js +239 -0
  77. package/plugins/next-task/lib/sources/source-cache.js +164 -0
  78. package/plugins/next-task/lib/state/workflow-state.js +387 -484
  79. package/plugins/next-task/lib/types/README.md +292 -0
  80. package/plugins/next-task/lib/types/agent-frontmatter.d.ts +134 -0
  81. package/plugins/next-task/lib/types/command-frontmatter.d.ts +107 -0
  82. package/plugins/next-task/lib/types/hook-frontmatter.d.ts +115 -0
  83. package/plugins/next-task/lib/types/index.d.ts +84 -0
  84. package/plugins/next-task/lib/types/plugin-manifest.d.ts +102 -0
  85. package/plugins/next-task/lib/types/skill-frontmatter.d.ts +89 -0
  86. package/plugins/next-task/lib/utils/cache-manager.js +154 -0
  87. package/plugins/next-task/lib/utils/context-optimizer.js +115 -37
  88. package/plugins/next-task/lib/utils/deprecation.js +37 -0
  89. package/plugins/next-task/lib/utils/shell-escape.js +88 -0
  90. package/plugins/project-review/.claude-plugin/plugin.json +1 -1
  91. package/plugins/project-review/lib/index.js +170 -0
  92. package/plugins/project-review/lib/patterns/review-patterns.js +58 -11
  93. package/plugins/project-review/lib/patterns/slop-patterns.js +169 -129
  94. package/plugins/project-review/lib/platform/detect-platform.js +162 -316
  95. package/plugins/project-review/lib/platform/detection-configs.js +93 -0
  96. package/plugins/project-review/lib/platform/state-dir.js +122 -0
  97. package/plugins/project-review/lib/platform/verify-tools.js +10 -78
  98. package/plugins/project-review/lib/schemas/README.md +195 -0
  99. package/plugins/project-review/lib/schemas/validator.js +247 -0
  100. package/plugins/project-review/lib/sources/custom-handler.js +199 -0
  101. package/plugins/project-review/lib/sources/policy-questions.js +239 -0
  102. package/plugins/project-review/lib/sources/source-cache.js +164 -0
  103. package/plugins/project-review/lib/state/workflow-state.js +387 -484
  104. package/plugins/project-review/lib/types/README.md +292 -0
  105. package/plugins/project-review/lib/types/agent-frontmatter.d.ts +134 -0
  106. package/plugins/project-review/lib/types/command-frontmatter.d.ts +107 -0
  107. package/plugins/project-review/lib/types/hook-frontmatter.d.ts +115 -0
  108. package/plugins/project-review/lib/types/index.d.ts +84 -0
  109. package/plugins/project-review/lib/types/plugin-manifest.d.ts +102 -0
  110. package/plugins/project-review/lib/types/skill-frontmatter.d.ts +89 -0
  111. package/plugins/project-review/lib/utils/cache-manager.js +154 -0
  112. package/plugins/project-review/lib/utils/context-optimizer.js +115 -37
  113. package/plugins/project-review/lib/utils/deprecation.js +37 -0
  114. package/plugins/project-review/lib/utils/shell-escape.js +88 -0
  115. package/plugins/reality-check/.claude-plugin/plugin.json +1 -1
  116. package/plugins/reality-check/agents/code-explorer.md +1 -1
  117. package/plugins/ship/.claude-plugin/plugin.json +1 -1
  118. package/plugins/ship/lib/index.js +170 -0
  119. package/plugins/ship/lib/patterns/review-patterns.js +58 -11
  120. package/plugins/ship/lib/patterns/slop-patterns.js +169 -129
  121. package/plugins/ship/lib/platform/detect-platform.js +162 -316
  122. package/plugins/ship/lib/platform/detection-configs.js +93 -0
  123. package/plugins/ship/lib/platform/state-dir.js +122 -0
  124. package/plugins/ship/lib/platform/verify-tools.js +10 -78
  125. package/plugins/ship/lib/schemas/README.md +195 -0
  126. package/plugins/ship/lib/schemas/validator.js +247 -0
  127. package/plugins/ship/lib/sources/custom-handler.js +199 -0
  128. package/plugins/ship/lib/sources/policy-questions.js +239 -0
  129. package/plugins/ship/lib/sources/source-cache.js +164 -0
  130. package/plugins/ship/lib/state/workflow-state.js +387 -484
  131. package/plugins/ship/lib/types/README.md +292 -0
  132. package/plugins/ship/lib/types/agent-frontmatter.d.ts +134 -0
  133. package/plugins/ship/lib/types/command-frontmatter.d.ts +107 -0
  134. package/plugins/ship/lib/types/hook-frontmatter.d.ts +115 -0
  135. package/plugins/ship/lib/types/index.d.ts +84 -0
  136. package/plugins/ship/lib/types/plugin-manifest.d.ts +102 -0
  137. package/plugins/ship/lib/types/skill-frontmatter.d.ts +89 -0
  138. package/plugins/ship/lib/utils/cache-manager.js +154 -0
  139. package/plugins/ship/lib/utils/context-optimizer.js +115 -37
  140. package/plugins/ship/lib/utils/deprecation.js +37 -0
  141. package/plugins/ship/lib/utils/shell-escape.js +88 -0
  142. package/scripts/install/codex.sh +216 -72
  143. package/scripts/install/opencode.sh +197 -21
  144. package/lib/state/workflow-state.schema.json +0 -282
  145. package/plugins/deslop-around/lib/state/workflow-state.schema.json +0 -282
  146. package/plugins/next-task/agents/policy-selector.md +0 -248
  147. package/plugins/next-task/lib/state/tasks-registry.schema.json +0 -85
  148. package/plugins/next-task/lib/state/workflow-state.schema.json +0 -282
  149. package/plugins/next-task/lib/state/worktree-status.schema.json +0 -219
  150. package/plugins/project-review/lib/state/workflow-state.schema.json +0 -282
  151. package/plugins/ship/lib/state/workflow-state.schema.json +0 -282
package/README.md CHANGED
@@ -6,127 +6,134 @@ A cross-platform plugin providing powerful, zero-configuration slash commands fo
6
6
 
7
7
  [![npm](https://img.shields.io/npm/v/awesome-slash?color=red)](https://www.npmjs.com/package/awesome-slash)
8
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.4-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)
9
+ [![Version](https://img.shields.io/badge/version-2.5.1-blue)](https://github.com/avifenesh/awesome-slash/releases)
10
+ [![GitHub stars](https://img.shields.io/github/stars/avifenesh/awesome-slash?style=flat&color=yellow)](https://github.com/avifenesh/awesome-slash/stargazers)
11
11
  [![Claude Code](https://img.shields.io/badge/Claude-Code%20Plugin-blue)](https://docs.anthropic.com/en/docs/claude-code)
12
12
  [![Codex CLI](https://img.shields.io/badge/Codex-CLI%20Compatible-green)](https://developers.openai.com/codex/cli)
13
13
  [![OpenCode](https://img.shields.io/badge/OpenCode-Compatible-orange)](https://opencode.ai)
14
14
 
15
- ## What's New in v2.4.4
15
+ > **📋 Disclaimer**: This project originated from personal workflow needs and was made public due to its effective delivery. Usage is entirely at your own responsibility. The maintainers make no guarantees about fitness for any particular purpose. Context/token efficiency has not been formally benchmarked.
16
16
 
17
- - **PR Auto-Review Process** - Added mandatory workflow for 4 auto-reviewers (Copilot, Claude, Gemini, Codex)
18
- - **Agent Responsibilities** - Documented required tools and MUST-CALL agents for /next-task and /ship
19
- - **CLAUDE.md Enhancement** - Comprehensive agent workflow documentation
17
+ > **💡 Model Recommendation**: Using **Opus** as the main agent model produces significantly better results and follows workflow phases more tightly. While Sonnet works for simpler tasks, Opus is recommended for complex multi-step workflows.
20
18
 
21
- ---
22
-
23
- ## Installation
19
+ ## What's New in v2.5.1
24
20
 
25
- ### npm (Recommended)
21
+ - **Platform-Aware State Directories** - State now stored in `.opencode/` for OpenCode, `.codex/` for Codex
22
+ - **Fixed OpenCode/Codex Installers** - Correct config formats and Windows path handling
23
+ - **MCP Server Bug Fixes** - Fixed workflow state references and resume logic
24
+ - **Documentation Updates** - Added note that Codex uses `$` prefix instead of `/`
26
25
 
27
- ```bash
28
- npm install awesome-slash
29
- ```
26
+ ## What's New in v2.5.0
30
27
 
31
- ### Claude Code
28
+ - **Multi-Source Task Discovery** - Support for GitHub, GitLab, local files, custom CLI tools
29
+ - **Source Preference Caching** - Your last-used source appears first on subsequent runs
30
+ - **Security Hardening** - Fixed command injection and path traversal vulnerabilities
32
31
 
33
- ```bash
34
- # Option 1: npm (recommended)
35
- claude plugin add npm:awesome-slash
32
+ ## What's New in v2.4.7
36
33
 
37
- # Option 2: GitHub
38
- claude plugin add github:avifenesh/awesome-slash
34
+ - **Simplified State Management** - Rewrote workflow-state.js, removed 9,000+ lines of overengineered code
35
+ - **Removed Config System** - Deleted unused schemas and config system
36
+ - **Tasks Lifecycle Wiring** - tasks.json now auto-registers/clears with workflow lifecycle
37
+ - **Project Philosophy** - Added development guidelines to CLAUDE.md
38
+ - **Agent Model Updates** - task-discoverer and code-explorer upgraded to opus
39
39
 
40
- # Option 3: Local clone
41
- git clone https://github.com/avifenesh/awesome-slash.git
42
- ./scripts/install/claude.sh
43
- ```
40
+ ---
44
41
 
45
- ### OpenCode
42
+ ## Quick Install
46
43
 
47
44
  ```bash
45
+ # npm (recommended)
48
46
  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
47
 
55
- ### Codex CLI
48
+ # Claude Code
49
+ claude plugin add npm:awesome-slash
56
50
 
57
- ```bash
58
- npm install awesome-slash
59
- # or
51
+ # OpenCode / Codex CLI
60
52
  git clone https://github.com/avifenesh/awesome-slash.git
61
- cd awesome-slash
62
- ./scripts/install/codex.sh
53
+ ./scripts/install/opencode.sh # or codex.sh
63
54
  ```
64
55
 
56
+ **See [docs/INSTALLATION.md](./docs/INSTALLATION.md) for all options, prerequisites, and troubleshooting.**
57
+
65
58
  ---
66
59
 
67
60
  ## Available Commands
68
61
 
69
- ### 📋 `/next-task:next-task` - Master Workflow Orchestrator
62
+ > **Platform Note:** Commands use `/` prefix in Claude Code and OpenCode, but `$` prefix in Codex CLI (e.g., `$next-task` instead of `/next-task`).
63
+
64
+ ### `/next-task` - Master Workflow Orchestrator
70
65
 
71
66
  Complete task-to-production automation with state management and resume capability.
72
67
 
73
68
  ```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
69
+ /next-task # Start new workflow with policy selection
70
+ /next-task --status # Check current workflow state
71
+ /next-task --resume # Resume from last checkpoint
72
+ /next-task --abort # Cancel workflow and cleanup
73
+ /next-task bug # Filter by task type
79
74
  ```
80
75
 
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
- - 18 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
76
+ **Workflow phases (tracked in `.claude/flow.json`):**
77
+ - policy-selection
78
+ - task-discovery
79
+ - worktree-setup
80
+ - exploration
81
+ - planning
82
+ - user-approval
83
+ - implementation
84
+ - review-loop
85
+ - delivery-approval
86
+ - ship-prep
87
+ - create-pr
88
+ - ci-wait
89
+ - comment-fix
90
+ - merge
91
+ - production-ci
92
+ - deploy
93
+ - production-release
94
+ - complete
95
+
96
+ **Quality gates:**
97
+ - deslop-work
98
+ - test-coverage-checker
99
+ - review-orchestrator
100
+ - delivery-validator
101
+ - docs-updater
102
+
103
+ **Task Sources:**
104
+ - **GitHub Issues** - Uses `gh` CLI (handles large backlogs with priority filtering)
105
+ - **GitLab Issues** - Uses `glab` CLI
106
+ - **Local files** - Reads from PLAN.md, tasks.md, or TODO.md
107
+ - **Custom CLI** - Any CLI tool (tea, jira-cli, etc.) with auto-discovery
108
+ - **Other** - Describe your source and the agent figures it out
109
+
110
+ Your source preference is cached in `.claude/sources/preference.json` for fast subsequent runs.
111
+
112
+ **Notes:**
113
+ - Fully autonomous after plan approval
114
+ - Resume capability with `.claude/flow.json`
102
115
  - Policy-based stopping points (pr-created, merged, deployed, production)
116
+ - /ship handles PR creation, CI monitoring, merge, and cleanup
103
117
 
104
118
  ---
105
119
 
106
- ### 🚀 `/ship:ship` - Complete PR Workflow
120
+ ### `/ship` - Complete PR Workflow
107
121
 
108
122
  Ship your code from commit to production with full validation and state integration.
109
123
 
110
124
  ```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
125
+ /ship # Default workflow
126
+ /ship --strategy rebase # Rebase before merge
127
+ /ship --dry-run # Show plan without executing
128
+ /ship --state-file PATH # Integrate with next-task workflow
115
129
  ```
116
130
 
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
131
+ **Stages:**
132
+ - Pre-flight checks and platform detection
133
+ - Commit and PR creation
134
+ - CI wait and review loop
135
+ - Merge and (optional) deploy validation
136
+ - Cleanup and completion report
130
137
 
131
138
  **Platform Support:**
132
139
  - **CI:** GitHub Actions, GitLab CI, CircleCI, Jenkins, Travis CI
@@ -134,14 +141,14 @@ Ship your code from commit to production with full validation and state integrat
134
141
 
135
142
  ---
136
143
 
137
- ### 🧹 `/deslop-around:deslop-around` - AI Slop Cleanup
144
+ ### `/deslop-around` - AI Slop Cleanup
138
145
 
139
146
  Remove debugging code, old TODOs, and AI slop from your codebase.
140
147
 
141
148
  ```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/
149
+ /deslop-around # Report mode - analyze only
150
+ /deslop-around apply # Apply fixes with verification
151
+ /deslop-around apply src/ 10 # Fix up to 10 issues in src/
145
152
  ```
146
153
 
147
154
  **Detects:**
@@ -152,29 +159,29 @@ Remove debugging code, old TODOs, and AI slop from your codebase.
152
159
 
153
160
  ---
154
161
 
155
- ### 🔍 `/project-review:project-review` - Multi-Agent Code Review
162
+ ### `/project-review` - Multi-Agent Code Review
156
163
 
157
164
  Comprehensive code review with specialized agents that iterate until zero issues.
158
165
 
159
166
  ```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
167
+ /project-review # Full codebase review
168
+ /project-review --recent # Only recent changes
169
+ /project-review --domain security # Domain-focused review
163
170
  ```
164
171
 
165
- **8 Specialized Agents:**
166
- Security · Performance · Architecture · Testing · Error Handling · Code Quality · Type Safety · Documentation
172
+ **Review domains:**
173
+ Security, Performance, Architecture, Testing, Error Handling, Code Quality, Type Safety, Documentation
167
174
 
168
175
  ---
169
176
 
170
- ### 📝 `/next-task:update-docs-around` - Documentation Sync
177
+ ### `/update-docs-around` - Documentation Sync
171
178
 
172
- Sync documentation with actual code state across the entire repository.
179
+ Sync documentation with actual code state across the repository.
173
180
 
174
181
  ```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
182
+ /update-docs-around # Report mode - analyze only
183
+ /update-docs-around --apply # Apply safe fixes
184
+ /update-docs-around docs/ --apply # Sync specific directory
178
185
  ```
179
186
 
180
187
  **Checks:**
@@ -186,26 +193,26 @@ Sync documentation with actual code state across the entire repository.
186
193
 
187
194
  ---
188
195
 
189
- ### `/next-task:delivery-approval` - Delivery Validation
196
+ ### `/delivery-approval` - Delivery Validation
190
197
 
191
198
  Validate task completion and approve for shipping (standalone or part of workflow).
192
199
 
193
200
  ```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
201
+ /delivery-approval # Validate current work
202
+ /delivery-approval --task-id 142 # Validate specific task
203
+ /delivery-approval --verbose # Show detailed check output
197
204
  ```
198
205
 
199
- **Validation Checks:**
200
- - Tests pass (npm test)
201
- - Build passes (npm run build)
206
+ **Validation checks:**
207
+ - Tests pass
208
+ - Build passes
202
209
  - Lint passes
203
210
  - Type check passes
204
211
  - Task requirements met
205
212
 
206
213
  ---
207
214
 
208
- ### 🎯 `/reality-check:scan` - Plan Drift Detection
215
+ ### `/reality-check:scan` - Plan Drift Detection
209
216
 
210
217
  Deep repository analysis to identify where documented plans diverge from actual code reality.
211
218
 
@@ -214,30 +221,11 @@ Deep repository analysis to identify where documented plans diverge from actual
214
221
  /reality-check:set # Configure scan settings
215
222
  ```
216
223
 
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)
224
+ **Multi-agent parallel scan:**
225
+ 1. Issue scanner - analyzes GitHub issues, PRs, milestones
226
+ 2. Doc analyzer - examines README, PLAN.md, CLAUDE.md, docs/
227
+ 3. Code explorer - deep codebase structure and feature analysis
228
+ 4. Plan synthesizer - combines findings into prioritized plan
241
229
 
242
230
  ---
243
231
 
@@ -252,7 +240,7 @@ All platforms share the same workflow tools via MCP (Model Context Protocol):
252
240
  | `workflow_resume` | Resume from checkpoint |
253
241
  | `workflow_abort` | Cancel and cleanup |
254
242
  | `task_discover` | Find and prioritize tasks |
255
- | `review_code` | Run multi-agent review |
243
+ | `review_code` | Run pattern-based code review |
256
244
 
257
245
  See [docs/CROSS_PLATFORM.md](./docs/CROSS_PLATFORM.md) for details.
258
246
 
@@ -262,19 +250,52 @@ See [docs/CROSS_PLATFORM.md](./docs/CROSS_PLATFORM.md) for details.
262
250
 
263
251
  ### State Management
264
252
 
265
- Workflows persist state in `.claude/.workflow-state.json`:
253
+ Simple state tracking with platform-aware directories:
254
+
255
+ | Platform | State Directory |
256
+ |----------|-----------------|
257
+ | Claude Code | `.claude/` |
258
+ | OpenCode | `.opencode/` |
259
+ | Codex CLI | `.codex/` |
260
+
261
+ Override with `AI_STATE_DIR` environment variable.
262
+
263
+ **Main project: `{state-dir}/tasks.json`** - Tracks active worktree/task:
264
+ ```json
265
+ {
266
+ "active": {
267
+ "worktree": "../project-task-123",
268
+ "branch": "feature/123-fix-auth",
269
+ "taskId": "123",
270
+ "taskTitle": "Fix auth timeout"
271
+ }
272
+ }
273
+ ```
274
+
275
+ **Worktree: `{state-dir}/flow.json`** - Tracks workflow progress:
276
+ ```json
277
+ {
278
+ "task": { "id": "123", "title": "Fix auth timeout" },
279
+ "policy": { "stoppingPoint": "merged" },
280
+ "phase": "implementation",
281
+ "status": "in_progress",
282
+ "exploration": { "keyFiles": [...] },
283
+ "plan": { "steps": [...] },
284
+ "pr": { "number": 456, "url": "..." }
285
+ }
286
+ ```
266
287
 
288
+ **Source Preferences: `{state-dir}/sources/preference.json`** - Caches task source selection:
267
289
  ```json
268
290
  {
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" }
291
+ "source": "custom",
292
+ "type": "cli",
293
+ "tool": "tea",
294
+ "savedAt": "2025-01-19T08:00:00.000Z"
274
295
  }
275
296
  ```
276
297
 
277
- ### Specialist Agents (18 Total)
298
+ ### Specialist Agents (17 Total)
278
299
 
279
300
  **Core Workflow (Opus - Complex Tasks):**
280
301
  | Agent | Purpose |
@@ -289,16 +310,17 @@ Workflows persist state in `.claude/.workflow-state.json`:
289
310
  |-------|---------|
290
311
  | deslop-work | Clean AI slop from new work (committed but unpushed) |
291
312
  | test-coverage-checker | Validate new work has test coverage |
292
- | delivery-validator | Autonomous delivery validation (NOT manual) |
313
+ | delivery-validator | Autonomous delivery validation (not manual) |
293
314
  | docs-updater | Update docs related to changes |
294
315
 
295
316
  **Operational (Sonnet - Infrastructure):**
296
317
  | Agent | Purpose |
297
318
  |-------|---------|
298
- | policy-selector | Configure workflow policy |
299
- | task-discoverer | Find and prioritize tasks |
319
+ | task-discoverer | Find and prioritize tasks (multi-source) |
300
320
  | worktree-manager | Create isolated worktrees |
301
321
  | ci-monitor | Monitor CI/PR status with sleep loops |
322
+ | ci-fixer | Fix CI failures and review comments |
323
+ | simple-fixer | Execute predefined code fixes |
302
324
 
303
325
  **Reality Check (Sonnet + Opus - Plan Drift Detection):**
304
326
  | Agent | Purpose |
@@ -314,24 +336,27 @@ Workflows persist state in `.claude/.workflow-state.json`:
314
336
 
315
337
  ```
316
338
  awesome-slash/
317
- ├── .claude-plugin/
318
- └── marketplace.json # Claude Code marketplace manifest
319
- ├── plugins/
320
- ├── next-task/ # Master workflow orchestrator
321
- ├── commands/ # next-task, update-docs-around, delivery-approval
322
- ├── agents/ # 18 specialist agents
323
- └── hooks/ # SubagentStop hooks for workflow automation
324
- ├── ship/ # PR workflow
325
- ├── deslop-around/ # AI slop cleanup
326
- ├── project-review/ # Multi-agent review
327
- └── reality-check/ # Plan drift detection
328
- ├── lib/
329
- ├── state/ # Workflow state management
330
- ├── platform/ # Auto-detection
331
- └── patterns/ # Code analysis patterns
332
- ├── mcp-server/ # Cross-platform MCP server
333
- ├── scripts/install/ # Platform installers
334
- └── docs/
339
+ |-- .claude-plugin/
340
+ | |-- marketplace.json # Claude Code marketplace manifest
341
+ |-- plugins/
342
+ | |-- next-task/ # Master workflow orchestrator
343
+ | | |-- commands/ # next-task, update-docs-around, delivery-approval
344
+ | | |-- agents/ # Specialist agents
345
+ | | |-- hooks/ # SubagentStop hooks for workflow automation
346
+ | |-- ship/ # PR workflow
347
+ | |-- deslop-around/ # AI slop cleanup
348
+ | |-- project-review/ # Multi-agent review
349
+ | |-- reality-check/ # Plan drift detection
350
+ |-- lib/
351
+ | |-- config/ # Configuration management
352
+ | |-- state/ # Workflow state management
353
+ | |-- sources/ # Multi-source task discovery
354
+ | |-- platform/ # Auto-detection
355
+ | |-- patterns/ # Code analysis patterns
356
+ | |-- utils/ # Shell escaping and context optimization
357
+ |-- mcp-server/ # Cross-platform MCP server
358
+ |-- scripts/install/ # Platform installers
359
+ |-- docs/
335
360
  ```
336
361
 
337
362
  ---
@@ -341,6 +366,8 @@ awesome-slash/
341
366
  **Required:**
342
367
  - Git
343
368
  - Node.js 18+
369
+
370
+ **Required for GitHub-backed workflows:**
344
371
  - GitHub CLI (`gh`) with authentication
345
372
 
346
373
  **For Claude Code:**
@@ -356,11 +383,11 @@ awesome-slash/
356
383
 
357
384
  ## Contributing
358
385
 
359
- Contributions welcome! See [CONTRIBUTING.md](./CONTRIBUTING.md).
386
+ Contributions welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md).
360
387
 
361
388
  ## License
362
389
 
363
- MIT © [Avi Fenesh](https://github.com/avifenesh)
390
+ MIT - [Avi Fenesh](https://github.com/avifenesh)
364
391
 
365
392
  ## Support
366
393
 
@@ -369,4 +396,4 @@ MIT © [Avi Fenesh](https://github.com/avifenesh)
369
396
 
370
397
  ---
371
398
 
372
- Made with ❤️ for the AI coding community
399
+ Made with care for the AI coding community
package/SECURITY.md CHANGED
@@ -1,101 +1,45 @@
1
1
  # Security Policy
2
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: |
3
+ > **Disclaimer:** This plugin is provided as-is. Usage is entirely at your own responsibility. The maintainers make no guarantees about security or fitness for any particular purpose.
11
4
 
12
5
  ## Reporting a Vulnerability
13
6
 
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
7
+ If you discover a security vulnerability:
33
8
 
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
9
+ 1. **Do not** open a public issue
10
+ 2. Use [GitHub Security Advisories](https://github.com/avifenesh/awesome-slash/security/advisories) to report privately
11
+ 3. Include steps to reproduce and potential impact
40
12
 
41
- ## What to Expect
13
+ ## User Responsibility
42
14
 
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
15
+ **You are responsible for:**
16
+ - Reviewing all code changes made by agents before committing
17
+ - Never committing secrets, API keys, or credentials
18
+ - Validating deployments before shipping to production
19
+ - Understanding what commands do before running them
47
20
 
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
21
+ **Commands that modify your repository:**
22
+ - `/ship` - Commits, pushes, creates and merges PRs
69
23
  - `/next-task` - Full workflow automation including code changes
70
24
  - `/deslop-around --apply` - Modifies source files
71
25
 
72
26
  Always review changes with `git status` and `git diff` before running commands that commit or push.
73
27
 
74
- ## Scope
75
-
76
- This security policy covers:
77
- - Awesome Slash Commands plugin code
78
- - Platform detection scripts
79
- - Command implementations
80
- - Dependencies
28
+ ## Security Measures (v2.5.0+)
81
29
 
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.)
30
+ The plugin includes basic protections:
86
31
 
87
- ## Dependencies
32
+ - **Command Injection Prevention:** Uses `execFileSync` with input validation
33
+ - **Path Traversal Prevention:** Tool names validated with allowlist patterns
34
+ - **Input Validation:** User-provided values sanitized before use
88
35
 
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
36
+ These measures reduce risk but do not guarantee security.
93
37
 
94
- ## Recognition
38
+ ## Scope
95
39
 
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
40
+ This policy covers the awesome-slash plugin code only.
100
41
 
101
- Thank you for helping keep Awesome Slash Commands secure!
42
+ **Not covered:**
43
+ - Claude Code itself (report to Anthropic)
44
+ - External tools (gh, git, npm, etc.)
45
+ - Deployment platforms (Railway, Vercel, etc.)