awesome-slash 2.4.3 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/.claude-plugin/marketplace.json +6 -6
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +99 -1
  4. package/README.md +173 -161
  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/verify-tools.js +10 -78
  14. package/lib/schemas/README.md +195 -0
  15. package/lib/schemas/validator.js +247 -0
  16. package/lib/sources/custom-handler.js +199 -0
  17. package/lib/sources/policy-questions.js +239 -0
  18. package/lib/sources/source-cache.js +149 -0
  19. package/lib/state/workflow-state.js +363 -665
  20. package/lib/types/README.md +292 -0
  21. package/lib/types/agent-frontmatter.d.ts +134 -0
  22. package/lib/types/command-frontmatter.d.ts +107 -0
  23. package/lib/types/hook-frontmatter.d.ts +115 -0
  24. package/lib/types/index.d.ts +84 -0
  25. package/lib/types/plugin-manifest.d.ts +102 -0
  26. package/lib/types/skill-frontmatter.d.ts +89 -0
  27. package/lib/utils/cache-manager.js +154 -0
  28. package/lib/utils/context-optimizer.js +5 -36
  29. package/lib/utils/deprecation.js +37 -0
  30. package/lib/utils/shell-escape.js +88 -0
  31. package/mcp-server/index.js +513 -18
  32. package/package.json +6 -2
  33. package/plugins/deslop-around/.claude-plugin/plugin.json +1 -1
  34. package/plugins/deslop-around/lib/index.js +170 -0
  35. package/plugins/deslop-around/lib/patterns/review-patterns.js +58 -11
  36. package/plugins/deslop-around/lib/patterns/slop-patterns.js +170 -129
  37. package/plugins/deslop-around/lib/platform/detect-platform.js +212 -123
  38. package/plugins/deslop-around/lib/platform/detection-configs.js +93 -0
  39. package/plugins/deslop-around/lib/platform/verify-tools.js +10 -1
  40. package/plugins/deslop-around/lib/schemas/README.md +195 -0
  41. package/plugins/deslop-around/lib/schemas/validator.js +205 -0
  42. package/plugins/deslop-around/lib/sources/custom-handler.js +199 -0
  43. package/plugins/deslop-around/lib/sources/policy-questions.js +239 -0
  44. package/plugins/deslop-around/lib/sources/source-cache.js +149 -0
  45. package/plugins/deslop-around/lib/state/workflow-state.js +382 -484
  46. package/plugins/deslop-around/lib/types/README.md +292 -0
  47. package/plugins/deslop-around/lib/types/agent-frontmatter.d.ts +134 -0
  48. package/plugins/deslop-around/lib/types/command-frontmatter.d.ts +107 -0
  49. package/plugins/deslop-around/lib/types/hook-frontmatter.d.ts +115 -0
  50. package/plugins/deslop-around/lib/types/index.d.ts +84 -0
  51. package/plugins/deslop-around/lib/types/plugin-manifest.d.ts +102 -0
  52. package/plugins/deslop-around/lib/types/skill-frontmatter.d.ts +89 -0
  53. package/plugins/deslop-around/lib/utils/cache-manager.js +154 -0
  54. package/plugins/deslop-around/lib/utils/context-optimizer.js +115 -37
  55. package/plugins/deslop-around/lib/utils/deprecation.js +37 -0
  56. package/plugins/deslop-around/lib/utils/shell-escape.js +88 -0
  57. package/plugins/next-task/.claude-plugin/plugin.json +1 -1
  58. package/plugins/next-task/agents/ci-monitor.md +19 -0
  59. package/plugins/next-task/agents/delivery-validator.md +2 -2
  60. package/plugins/next-task/agents/implementation-agent.md +3 -4
  61. package/plugins/next-task/agents/planning-agent.md +77 -19
  62. package/plugins/next-task/agents/review-orchestrator.md +21 -122
  63. package/plugins/next-task/agents/task-discoverer.md +164 -23
  64. package/plugins/next-task/commands/next-task.md +180 -14
  65. package/plugins/next-task/lib/index.js +170 -0
  66. package/plugins/next-task/lib/patterns/review-patterns.js +58 -11
  67. package/plugins/next-task/lib/patterns/slop-patterns.js +170 -129
  68. package/plugins/next-task/lib/platform/detect-platform.js +212 -123
  69. package/plugins/next-task/lib/platform/detection-configs.js +93 -0
  70. package/plugins/next-task/lib/platform/verify-tools.js +10 -1
  71. package/plugins/next-task/lib/schemas/README.md +195 -0
  72. package/plugins/next-task/lib/schemas/validator.js +205 -0
  73. package/plugins/next-task/lib/sources/custom-handler.js +199 -0
  74. package/plugins/next-task/lib/sources/policy-questions.js +239 -0
  75. package/plugins/next-task/lib/sources/source-cache.js +149 -0
  76. package/plugins/next-task/lib/state/workflow-state.js +382 -484
  77. package/plugins/next-task/lib/types/README.md +292 -0
  78. package/plugins/next-task/lib/types/agent-frontmatter.d.ts +134 -0
  79. package/plugins/next-task/lib/types/command-frontmatter.d.ts +107 -0
  80. package/plugins/next-task/lib/types/hook-frontmatter.d.ts +115 -0
  81. package/plugins/next-task/lib/types/index.d.ts +84 -0
  82. package/plugins/next-task/lib/types/plugin-manifest.d.ts +102 -0
  83. package/plugins/next-task/lib/types/skill-frontmatter.d.ts +89 -0
  84. package/plugins/next-task/lib/utils/cache-manager.js +154 -0
  85. package/plugins/next-task/lib/utils/context-optimizer.js +115 -37
  86. package/plugins/next-task/lib/utils/deprecation.js +37 -0
  87. package/plugins/next-task/lib/utils/shell-escape.js +88 -0
  88. package/plugins/project-review/.claude-plugin/plugin.json +1 -1
  89. package/plugins/project-review/lib/index.js +170 -0
  90. package/plugins/project-review/lib/patterns/review-patterns.js +58 -11
  91. package/plugins/project-review/lib/patterns/slop-patterns.js +170 -129
  92. package/plugins/project-review/lib/platform/detect-platform.js +212 -123
  93. package/plugins/project-review/lib/platform/detection-configs.js +93 -0
  94. package/plugins/project-review/lib/platform/verify-tools.js +10 -1
  95. package/plugins/project-review/lib/schemas/README.md +195 -0
  96. package/plugins/project-review/lib/schemas/validator.js +205 -0
  97. package/plugins/project-review/lib/sources/custom-handler.js +199 -0
  98. package/plugins/project-review/lib/sources/policy-questions.js +239 -0
  99. package/plugins/project-review/lib/sources/source-cache.js +149 -0
  100. package/plugins/project-review/lib/state/workflow-state.js +382 -484
  101. package/plugins/project-review/lib/types/README.md +292 -0
  102. package/plugins/project-review/lib/types/agent-frontmatter.d.ts +134 -0
  103. package/plugins/project-review/lib/types/command-frontmatter.d.ts +107 -0
  104. package/plugins/project-review/lib/types/hook-frontmatter.d.ts +115 -0
  105. package/plugins/project-review/lib/types/index.d.ts +84 -0
  106. package/plugins/project-review/lib/types/plugin-manifest.d.ts +102 -0
  107. package/plugins/project-review/lib/types/skill-frontmatter.d.ts +89 -0
  108. package/plugins/project-review/lib/utils/cache-manager.js +154 -0
  109. package/plugins/project-review/lib/utils/context-optimizer.js +115 -37
  110. package/plugins/project-review/lib/utils/deprecation.js +37 -0
  111. package/plugins/project-review/lib/utils/shell-escape.js +88 -0
  112. package/plugins/reality-check/.claude-plugin/plugin.json +1 -1
  113. package/plugins/reality-check/agents/code-explorer.md +1 -1
  114. package/plugins/ship/.claude-plugin/plugin.json +1 -1
  115. package/plugins/ship/commands/ship-ci-review-loop.md +19 -0
  116. package/plugins/ship/lib/index.js +170 -0
  117. package/plugins/ship/lib/patterns/review-patterns.js +58 -11
  118. package/plugins/ship/lib/patterns/slop-patterns.js +170 -129
  119. package/plugins/ship/lib/platform/detect-platform.js +212 -123
  120. package/plugins/ship/lib/platform/detection-configs.js +93 -0
  121. package/plugins/ship/lib/platform/verify-tools.js +10 -1
  122. package/plugins/ship/lib/schemas/README.md +195 -0
  123. package/plugins/ship/lib/schemas/validator.js +205 -0
  124. package/plugins/ship/lib/sources/custom-handler.js +199 -0
  125. package/plugins/ship/lib/sources/policy-questions.js +239 -0
  126. package/plugins/ship/lib/sources/source-cache.js +149 -0
  127. package/plugins/ship/lib/state/workflow-state.js +382 -484
  128. package/plugins/ship/lib/types/README.md +292 -0
  129. package/plugins/ship/lib/types/agent-frontmatter.d.ts +134 -0
  130. package/plugins/ship/lib/types/command-frontmatter.d.ts +107 -0
  131. package/plugins/ship/lib/types/hook-frontmatter.d.ts +115 -0
  132. package/plugins/ship/lib/types/index.d.ts +84 -0
  133. package/plugins/ship/lib/types/plugin-manifest.d.ts +102 -0
  134. package/plugins/ship/lib/types/skill-frontmatter.d.ts +89 -0
  135. package/plugins/ship/lib/utils/cache-manager.js +154 -0
  136. package/plugins/ship/lib/utils/context-optimizer.js +115 -37
  137. package/plugins/ship/lib/utils/deprecation.js +37 -0
  138. package/plugins/ship/lib/utils/shell-escape.js +88 -0
  139. package/lib/state/workflow-state.schema.json +0 -282
  140. package/plugins/deslop-around/lib/state/workflow-state.schema.json +0 -282
  141. package/plugins/next-task/agents/policy-selector.md +0 -248
  142. package/plugins/next-task/lib/state/tasks-registry.schema.json +0 -85
  143. package/plugins/next-task/lib/state/workflow-state.schema.json +0 -282
  144. package/plugins/next-task/lib/state/worktree-status.schema.json +0 -219
  145. package/plugins/project-review/lib/state/workflow-state.schema.json +0 -282
  146. package/plugins/ship/lib/state/workflow-state.schema.json +0 -282
package/README.md CHANGED
@@ -6,127 +6,127 @@ 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.3-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.0-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.3
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
- - **Documentation Sync** - Fixed outdated phase counts, agent lists, and install commands
18
- - **CLAUDE.md Guidelines** - Added project guidelines with release process and PR auto-review workflow
19
- - **npm Installation** - Added npm as primary installation option across all docs
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
24
-
25
- ### npm (Recommended)
26
-
27
- ```bash
28
- npm install awesome-slash
29
- ```
19
+ ## What's New in v2.5.0
30
20
 
31
- ### Claude Code
21
+ - **Multi-Source Task Discovery** - Support for GitHub, GitLab, local files, custom CLI tools, and ad-hoc sources
22
+ - **Source Preference Caching** - Your last-used source appears first on subsequent runs
23
+ - **Security Hardening** - Fixed command injection and path traversal vulnerabilities
24
+ - **Large Backlog Handling** - Intelligent pagination and priority filtering for repos with many issues
25
+ - **Streamlined Policy Selection** - Direct questions from orchestrator, removed separate agent
32
26
 
33
- ```bash
34
- # Option 1: npm (recommended)
35
- claude plugin add npm:awesome-slash
27
+ ## What's New in v2.4.7
36
28
 
37
- # Option 2: GitHub
38
- claude plugin add github:avifenesh/awesome-slash
29
+ - **Simplified State Management** - Rewrote workflow-state.js, removed 9,000+ lines of overengineered code
30
+ - **Removed Config System** - Deleted unused schemas and config system
31
+ - **Tasks Lifecycle Wiring** - tasks.json now auto-registers/clears with workflow lifecycle
32
+ - **Project Philosophy** - Added development guidelines to CLAUDE.md
33
+ - **Agent Model Updates** - task-discoverer and code-explorer upgraded to opus
39
34
 
40
- # Option 3: Local clone
41
- git clone https://github.com/avifenesh/awesome-slash.git
42
- ./scripts/install/claude.sh
43
- ```
35
+ ---
44
36
 
45
- ### OpenCode
37
+ ## Quick Install
46
38
 
47
39
  ```bash
40
+ # npm (recommended)
48
41
  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
42
 
55
- ### Codex CLI
43
+ # Claude Code
44
+ claude plugin add npm:awesome-slash
56
45
 
57
- ```bash
58
- npm install awesome-slash
59
- # or
46
+ # OpenCode / Codex CLI
60
47
  git clone https://github.com/avifenesh/awesome-slash.git
61
- cd awesome-slash
62
- ./scripts/install/codex.sh
48
+ ./scripts/install/opencode.sh # or codex.sh
63
49
  ```
64
50
 
51
+ **See [docs/INSTALLATION.md](./docs/INSTALLATION.md) for all options, prerequisites, and troubleshooting.**
52
+
65
53
  ---
66
54
 
67
55
  ## Available Commands
68
56
 
69
- ### 📋 `/next-task:next-task` - Master Workflow Orchestrator
57
+ ### `/next-task` - Master Workflow Orchestrator
70
58
 
71
59
  Complete task-to-production automation with state management and resume capability.
72
60
 
73
61
  ```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
62
+ /next-task # Start new workflow with policy selection
63
+ /next-task --status # Check current workflow state
64
+ /next-task --resume # Resume from last checkpoint
65
+ /next-task --abort # Cancel workflow and cleanup
66
+ /next-task bug # Filter by task type
79
67
  ```
80
68
 
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
69
+ **Workflow phases (tracked in `.claude/flow.json`):**
70
+ - policy-selection
71
+ - task-discovery
72
+ - worktree-setup
73
+ - exploration
74
+ - planning
75
+ - user-approval
76
+ - implementation
77
+ - review-loop
78
+ - delivery-approval
79
+ - ship-prep
80
+ - create-pr
81
+ - ci-wait
82
+ - comment-fix
83
+ - merge
84
+ - production-ci
85
+ - deploy
86
+ - production-release
87
+ - complete
88
+
89
+ **Quality gates:**
90
+ - deslop-work
91
+ - test-coverage-checker
92
+ - review-orchestrator
93
+ - delivery-validator
94
+ - docs-updater
95
+
96
+ **Task Sources:**
97
+ - **GitHub Issues** - Uses `gh` CLI (handles large backlogs with priority filtering)
98
+ - **GitLab Issues** - Uses `glab` CLI
99
+ - **Local files** - Reads from PLAN.md, tasks.md, or TODO.md
100
+ - **Custom CLI** - Any CLI tool (tea, jira-cli, etc.) with auto-discovery
101
+ - **Other** - Describe your source and the agent figures it out
102
+
103
+ Your source preference is cached in `.claude/sources/preference.json` for fast subsequent runs.
104
+
105
+ **Notes:**
106
+ - Fully autonomous after plan approval
107
+ - Resume capability with `.claude/flow.json`
102
108
  - Policy-based stopping points (pr-created, merged, deployed, production)
109
+ - /ship handles PR creation, CI monitoring, merge, and cleanup
103
110
 
104
111
  ---
105
112
 
106
- ### 🚀 `/ship:ship` - Complete PR Workflow
113
+ ### `/ship` - Complete PR Workflow
107
114
 
108
115
  Ship your code from commit to production with full validation and state integration.
109
116
 
110
117
  ```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
118
+ /ship # Default workflow
119
+ /ship --strategy rebase # Rebase before merge
120
+ /ship --dry-run # Show plan without executing
121
+ /ship --state-file PATH # Integrate with next-task workflow
115
122
  ```
116
123
 
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
124
+ **Stages:**
125
+ - Pre-flight checks and platform detection
126
+ - Commit and PR creation
127
+ - CI wait and review loop
128
+ - Merge and (optional) deploy validation
129
+ - Cleanup and completion report
130
130
 
131
131
  **Platform Support:**
132
132
  - **CI:** GitHub Actions, GitLab CI, CircleCI, Jenkins, Travis CI
@@ -134,14 +134,14 @@ Ship your code from commit to production with full validation and state integrat
134
134
 
135
135
  ---
136
136
 
137
- ### 🧹 `/deslop-around:deslop-around` - AI Slop Cleanup
137
+ ### `/deslop-around` - AI Slop Cleanup
138
138
 
139
139
  Remove debugging code, old TODOs, and AI slop from your codebase.
140
140
 
141
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/
142
+ /deslop-around # Report mode - analyze only
143
+ /deslop-around apply # Apply fixes with verification
144
+ /deslop-around apply src/ 10 # Fix up to 10 issues in src/
145
145
  ```
146
146
 
147
147
  **Detects:**
@@ -152,29 +152,29 @@ Remove debugging code, old TODOs, and AI slop from your codebase.
152
152
 
153
153
  ---
154
154
 
155
- ### 🔍 `/project-review:project-review` - Multi-Agent Code Review
155
+ ### `/project-review` - Multi-Agent Code Review
156
156
 
157
157
  Comprehensive code review with specialized agents that iterate until zero issues.
158
158
 
159
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
160
+ /project-review # Full codebase review
161
+ /project-review --recent # Only recent changes
162
+ /project-review --domain security # Domain-focused review
163
163
  ```
164
164
 
165
- **8 Specialized Agents:**
166
- Security · Performance · Architecture · Testing · Error Handling · Code Quality · Type Safety · Documentation
165
+ **Review domains:**
166
+ Security, Performance, Architecture, Testing, Error Handling, Code Quality, Type Safety, Documentation
167
167
 
168
168
  ---
169
169
 
170
- ### 📝 `/next-task:update-docs-around` - Documentation Sync
170
+ ### `/update-docs-around` - Documentation Sync
171
171
 
172
- Sync documentation with actual code state across the entire repository.
172
+ Sync documentation with actual code state across the repository.
173
173
 
174
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
175
+ /update-docs-around # Report mode - analyze only
176
+ /update-docs-around --apply # Apply safe fixes
177
+ /update-docs-around docs/ --apply # Sync specific directory
178
178
  ```
179
179
 
180
180
  **Checks:**
@@ -186,26 +186,26 @@ Sync documentation with actual code state across the entire repository.
186
186
 
187
187
  ---
188
188
 
189
- ### `/next-task:delivery-approval` - Delivery Validation
189
+ ### `/delivery-approval` - Delivery Validation
190
190
 
191
191
  Validate task completion and approve for shipping (standalone or part of workflow).
192
192
 
193
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
194
+ /delivery-approval # Validate current work
195
+ /delivery-approval --task-id 142 # Validate specific task
196
+ /delivery-approval --verbose # Show detailed check output
197
197
  ```
198
198
 
199
- **Validation Checks:**
200
- - Tests pass (npm test)
201
- - Build passes (npm run build)
199
+ **Validation checks:**
200
+ - Tests pass
201
+ - Build passes
202
202
  - Lint passes
203
203
  - Type check passes
204
204
  - Task requirements met
205
205
 
206
206
  ---
207
207
 
208
- ### 🎯 `/reality-check:scan` - Plan Drift Detection
208
+ ### `/reality-check:scan` - Plan Drift Detection
209
209
 
210
210
  Deep repository analysis to identify where documented plans diverge from actual code reality.
211
211
 
@@ -214,30 +214,11 @@ Deep repository analysis to identify where documented plans diverge from actual
214
214
  /reality-check:set # Configure scan settings
215
215
  ```
216
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)
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 into prioritized plan
241
222
 
242
223
  ---
243
224
 
@@ -252,7 +233,7 @@ All platforms share the same workflow tools via MCP (Model Context Protocol):
252
233
  | `workflow_resume` | Resume from checkpoint |
253
234
  | `workflow_abort` | Cancel and cleanup |
254
235
  | `task_discover` | Find and prioritize tasks |
255
- | `review_code` | Run multi-agent review |
236
+ | `review_code` | Run pattern-based code review |
256
237
 
257
238
  See [docs/CROSS_PLATFORM.md](./docs/CROSS_PLATFORM.md) for details.
258
239
 
@@ -262,19 +243,44 @@ See [docs/CROSS_PLATFORM.md](./docs/CROSS_PLATFORM.md) for details.
262
243
 
263
244
  ### State Management
264
245
 
265
- Workflows persist state in `.claude/.workflow-state.json`:
246
+ Simple state tracking with three locations:
266
247
 
248
+ **Main project: `.claude/tasks.json`** - Tracks active worktree/task:
267
249
  ```json
268
250
  {
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" }
251
+ "active": {
252
+ "worktree": "../project-task-123",
253
+ "branch": "feature/123-fix-auth",
254
+ "taskId": "123",
255
+ "taskTitle": "Fix auth timeout"
256
+ }
274
257
  }
275
258
  ```
276
259
 
277
- ### Specialist Agents (18 Total)
260
+ **Worktree: `.claude/flow.json`** - Tracks workflow progress:
261
+ ```json
262
+ {
263
+ "task": { "id": "123", "title": "Fix auth timeout" },
264
+ "policy": { "stoppingPoint": "merged" },
265
+ "phase": "implementation",
266
+ "status": "in_progress",
267
+ "exploration": { "keyFiles": [...] },
268
+ "plan": { "steps": [...] },
269
+ "pr": { "number": 456, "url": "..." }
270
+ }
271
+ ```
272
+
273
+ **Source Preferences: `.claude/sources/preference.json`** - Caches task source selection:
274
+ ```json
275
+ {
276
+ "source": "custom",
277
+ "type": "cli",
278
+ "tool": "tea",
279
+ "savedAt": "2025-01-19T08:00:00.000Z"
280
+ }
281
+ ```
282
+
283
+ ### Specialist Agents (17 Total)
278
284
 
279
285
  **Core Workflow (Opus - Complex Tasks):**
280
286
  | Agent | Purpose |
@@ -289,16 +295,17 @@ Workflows persist state in `.claude/.workflow-state.json`:
289
295
  |-------|---------|
290
296
  | deslop-work | Clean AI slop from new work (committed but unpushed) |
291
297
  | test-coverage-checker | Validate new work has test coverage |
292
- | delivery-validator | Autonomous delivery validation (NOT manual) |
298
+ | delivery-validator | Autonomous delivery validation (not manual) |
293
299
  | docs-updater | Update docs related to changes |
294
300
 
295
301
  **Operational (Sonnet - Infrastructure):**
296
302
  | Agent | Purpose |
297
303
  |-------|---------|
298
- | policy-selector | Configure workflow policy |
299
- | task-discoverer | Find and prioritize tasks |
304
+ | task-discoverer | Find and prioritize tasks (multi-source) |
300
305
  | worktree-manager | Create isolated worktrees |
301
306
  | ci-monitor | Monitor CI/PR status with sleep loops |
307
+ | ci-fixer | Fix CI failures and review comments |
308
+ | simple-fixer | Execute predefined code fixes |
302
309
 
303
310
  **Reality Check (Sonnet + Opus - Plan Drift Detection):**
304
311
  | Agent | Purpose |
@@ -314,24 +321,27 @@ Workflows persist state in `.claude/.workflow-state.json`:
314
321
 
315
322
  ```
316
323
  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/
324
+ |-- .claude-plugin/
325
+ | |-- marketplace.json # Claude Code marketplace manifest
326
+ |-- plugins/
327
+ | |-- next-task/ # Master workflow orchestrator
328
+ | | |-- commands/ # next-task, update-docs-around, delivery-approval
329
+ | | |-- agents/ # Specialist agents
330
+ | | |-- hooks/ # SubagentStop hooks for workflow automation
331
+ | |-- ship/ # PR workflow
332
+ | |-- deslop-around/ # AI slop cleanup
333
+ | |-- project-review/ # Multi-agent review
334
+ | |-- reality-check/ # Plan drift detection
335
+ |-- lib/
336
+ | |-- config/ # Configuration management
337
+ | |-- state/ # Workflow state management
338
+ | |-- sources/ # Multi-source task discovery
339
+ | |-- platform/ # Auto-detection
340
+ | |-- patterns/ # Code analysis patterns
341
+ | |-- utils/ # Shell escaping and context optimization
342
+ |-- mcp-server/ # Cross-platform MCP server
343
+ |-- scripts/install/ # Platform installers
344
+ |-- docs/
335
345
  ```
336
346
 
337
347
  ---
@@ -341,6 +351,8 @@ awesome-slash/
341
351
  **Required:**
342
352
  - Git
343
353
  - Node.js 18+
354
+
355
+ **Required for GitHub-backed workflows:**
344
356
  - GitHub CLI (`gh`) with authentication
345
357
 
346
358
  **For Claude Code:**
@@ -356,11 +368,11 @@ awesome-slash/
356
368
 
357
369
  ## Contributing
358
370
 
359
- Contributions welcome! See [CONTRIBUTING.md](./CONTRIBUTING.md).
371
+ Contributions welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md).
360
372
 
361
373
  ## License
362
374
 
363
- MIT © [Avi Fenesh](https://github.com/avifenesh)
375
+ MIT - [Avi Fenesh](https://github.com/avifenesh)
364
376
 
365
377
  ## Support
366
378
 
@@ -369,4 +381,4 @@ MIT © [Avi Fenesh](https://github.com/avifenesh)
369
381
 
370
382
  ---
371
383
 
372
- Made with ❤️ for the AI coding community
384
+ 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.)