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.
- package/.claude-plugin/marketplace.json +6 -6
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +123 -1
- package/README.md +186 -159
- package/SECURITY.md +25 -81
- package/adapters/codex/install.sh +58 -16
- package/adapters/opencode/install.sh +92 -23
- package/lib/index.js +47 -4
- package/lib/patterns/review-patterns.js +58 -11
- package/lib/patterns/slop-patterns.js +154 -147
- package/lib/platform/detect-platform.js +99 -350
- package/lib/platform/detection-configs.js +93 -0
- package/lib/platform/state-dir.js +122 -0
- package/lib/platform/verify-tools.js +10 -78
- package/lib/schemas/README.md +195 -0
- package/lib/schemas/validator.js +247 -0
- package/lib/sources/custom-handler.js +199 -0
- package/lib/sources/policy-questions.js +239 -0
- package/lib/sources/source-cache.js +164 -0
- package/lib/state/workflow-state.js +368 -665
- package/lib/types/README.md +292 -0
- package/lib/types/agent-frontmatter.d.ts +134 -0
- package/lib/types/command-frontmatter.d.ts +107 -0
- package/lib/types/hook-frontmatter.d.ts +115 -0
- package/lib/types/index.d.ts +84 -0
- package/lib/types/plugin-manifest.d.ts +102 -0
- package/lib/types/skill-frontmatter.d.ts +89 -0
- package/lib/utils/cache-manager.js +154 -0
- package/lib/utils/context-optimizer.js +5 -36
- package/lib/utils/deprecation.js +37 -0
- package/lib/utils/shell-escape.js +88 -0
- package/mcp-server/index.js +513 -22
- package/package.json +6 -2
- package/plugins/deslop-around/.claude-plugin/plugin.json +1 -1
- package/plugins/deslop-around/lib/index.js +170 -0
- package/plugins/deslop-around/lib/patterns/review-patterns.js +58 -11
- package/plugins/deslop-around/lib/patterns/slop-patterns.js +169 -129
- package/plugins/deslop-around/lib/platform/detect-platform.js +162 -316
- package/plugins/deslop-around/lib/platform/detection-configs.js +93 -0
- package/plugins/deslop-around/lib/platform/state-dir.js +122 -0
- package/plugins/deslop-around/lib/platform/verify-tools.js +10 -78
- package/plugins/deslop-around/lib/schemas/README.md +195 -0
- package/plugins/deslop-around/lib/schemas/validator.js +247 -0
- package/plugins/deslop-around/lib/sources/custom-handler.js +199 -0
- package/plugins/deslop-around/lib/sources/policy-questions.js +239 -0
- package/plugins/deslop-around/lib/sources/source-cache.js +164 -0
- package/plugins/deslop-around/lib/state/workflow-state.js +387 -484
- package/plugins/deslop-around/lib/types/README.md +292 -0
- package/plugins/deslop-around/lib/types/agent-frontmatter.d.ts +134 -0
- package/plugins/deslop-around/lib/types/command-frontmatter.d.ts +107 -0
- package/plugins/deslop-around/lib/types/hook-frontmatter.d.ts +115 -0
- package/plugins/deslop-around/lib/types/index.d.ts +84 -0
- package/plugins/deslop-around/lib/types/plugin-manifest.d.ts +102 -0
- package/plugins/deslop-around/lib/types/skill-frontmatter.d.ts +89 -0
- package/plugins/deslop-around/lib/utils/cache-manager.js +154 -0
- package/plugins/deslop-around/lib/utils/context-optimizer.js +115 -37
- package/plugins/deslop-around/lib/utils/deprecation.js +37 -0
- package/plugins/deslop-around/lib/utils/shell-escape.js +88 -0
- package/plugins/next-task/.claude-plugin/plugin.json +1 -1
- package/plugins/next-task/agents/delivery-validator.md +2 -2
- package/plugins/next-task/agents/implementation-agent.md +3 -4
- package/plugins/next-task/agents/planning-agent.md +77 -19
- package/plugins/next-task/agents/review-orchestrator.md +21 -122
- package/plugins/next-task/agents/task-discoverer.md +164 -23
- package/plugins/next-task/commands/next-task.md +180 -14
- package/plugins/next-task/lib/index.js +170 -0
- package/plugins/next-task/lib/patterns/review-patterns.js +58 -11
- package/plugins/next-task/lib/patterns/slop-patterns.js +169 -129
- package/plugins/next-task/lib/platform/detect-platform.js +162 -316
- package/plugins/next-task/lib/platform/detection-configs.js +93 -0
- package/plugins/next-task/lib/platform/state-dir.js +122 -0
- package/plugins/next-task/lib/platform/verify-tools.js +10 -78
- package/plugins/next-task/lib/schemas/README.md +195 -0
- package/plugins/next-task/lib/schemas/validator.js +247 -0
- package/plugins/next-task/lib/sources/custom-handler.js +199 -0
- package/plugins/next-task/lib/sources/policy-questions.js +239 -0
- package/plugins/next-task/lib/sources/source-cache.js +164 -0
- package/plugins/next-task/lib/state/workflow-state.js +387 -484
- package/plugins/next-task/lib/types/README.md +292 -0
- package/plugins/next-task/lib/types/agent-frontmatter.d.ts +134 -0
- package/plugins/next-task/lib/types/command-frontmatter.d.ts +107 -0
- package/plugins/next-task/lib/types/hook-frontmatter.d.ts +115 -0
- package/plugins/next-task/lib/types/index.d.ts +84 -0
- package/plugins/next-task/lib/types/plugin-manifest.d.ts +102 -0
- package/plugins/next-task/lib/types/skill-frontmatter.d.ts +89 -0
- package/plugins/next-task/lib/utils/cache-manager.js +154 -0
- package/plugins/next-task/lib/utils/context-optimizer.js +115 -37
- package/plugins/next-task/lib/utils/deprecation.js +37 -0
- package/plugins/next-task/lib/utils/shell-escape.js +88 -0
- package/plugins/project-review/.claude-plugin/plugin.json +1 -1
- package/plugins/project-review/lib/index.js +170 -0
- package/plugins/project-review/lib/patterns/review-patterns.js +58 -11
- package/plugins/project-review/lib/patterns/slop-patterns.js +169 -129
- package/plugins/project-review/lib/platform/detect-platform.js +162 -316
- package/plugins/project-review/lib/platform/detection-configs.js +93 -0
- package/plugins/project-review/lib/platform/state-dir.js +122 -0
- package/plugins/project-review/lib/platform/verify-tools.js +10 -78
- package/plugins/project-review/lib/schemas/README.md +195 -0
- package/plugins/project-review/lib/schemas/validator.js +247 -0
- package/plugins/project-review/lib/sources/custom-handler.js +199 -0
- package/plugins/project-review/lib/sources/policy-questions.js +239 -0
- package/plugins/project-review/lib/sources/source-cache.js +164 -0
- package/plugins/project-review/lib/state/workflow-state.js +387 -484
- package/plugins/project-review/lib/types/README.md +292 -0
- package/plugins/project-review/lib/types/agent-frontmatter.d.ts +134 -0
- package/plugins/project-review/lib/types/command-frontmatter.d.ts +107 -0
- package/plugins/project-review/lib/types/hook-frontmatter.d.ts +115 -0
- package/plugins/project-review/lib/types/index.d.ts +84 -0
- package/plugins/project-review/lib/types/plugin-manifest.d.ts +102 -0
- package/plugins/project-review/lib/types/skill-frontmatter.d.ts +89 -0
- package/plugins/project-review/lib/utils/cache-manager.js +154 -0
- package/plugins/project-review/lib/utils/context-optimizer.js +115 -37
- package/plugins/project-review/lib/utils/deprecation.js +37 -0
- package/plugins/project-review/lib/utils/shell-escape.js +88 -0
- package/plugins/reality-check/.claude-plugin/plugin.json +1 -1
- package/plugins/reality-check/agents/code-explorer.md +1 -1
- package/plugins/ship/.claude-plugin/plugin.json +1 -1
- package/plugins/ship/lib/index.js +170 -0
- package/plugins/ship/lib/patterns/review-patterns.js +58 -11
- package/plugins/ship/lib/patterns/slop-patterns.js +169 -129
- package/plugins/ship/lib/platform/detect-platform.js +162 -316
- package/plugins/ship/lib/platform/detection-configs.js +93 -0
- package/plugins/ship/lib/platform/state-dir.js +122 -0
- package/plugins/ship/lib/platform/verify-tools.js +10 -78
- package/plugins/ship/lib/schemas/README.md +195 -0
- package/plugins/ship/lib/schemas/validator.js +247 -0
- package/plugins/ship/lib/sources/custom-handler.js +199 -0
- package/plugins/ship/lib/sources/policy-questions.js +239 -0
- package/plugins/ship/lib/sources/source-cache.js +164 -0
- package/plugins/ship/lib/state/workflow-state.js +387 -484
- package/plugins/ship/lib/types/README.md +292 -0
- package/plugins/ship/lib/types/agent-frontmatter.d.ts +134 -0
- package/plugins/ship/lib/types/command-frontmatter.d.ts +107 -0
- package/plugins/ship/lib/types/hook-frontmatter.d.ts +115 -0
- package/plugins/ship/lib/types/index.d.ts +84 -0
- package/plugins/ship/lib/types/plugin-manifest.d.ts +102 -0
- package/plugins/ship/lib/types/skill-frontmatter.d.ts +89 -0
- package/plugins/ship/lib/utils/cache-manager.js +154 -0
- package/plugins/ship/lib/utils/context-optimizer.js +115 -37
- package/plugins/ship/lib/utils/deprecation.js +37 -0
- package/plugins/ship/lib/utils/shell-escape.js +88 -0
- package/scripts/install/codex.sh +216 -72
- package/scripts/install/opencode.sh +197 -21
- package/lib/state/workflow-state.schema.json +0 -282
- package/plugins/deslop-around/lib/state/workflow-state.schema.json +0 -282
- package/plugins/next-task/agents/policy-selector.md +0 -248
- package/plugins/next-task/lib/state/tasks-registry.schema.json +0 -85
- package/plugins/next-task/lib/state/workflow-state.schema.json +0 -282
- package/plugins/next-task/lib/state/worktree-status.schema.json +0 -219
- package/plugins/project-review/lib/state/workflow-state.schema.json +0 -282
- 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
|
[](https://www.npmjs.com/package/awesome-slash)
|
|
8
8
|
[](https://opensource.org/licenses/MIT)
|
|
9
|
-
[](https://github.com/avifenesh/awesome-slash/stargazers)
|
|
9
|
+
[](https://github.com/avifenesh/awesome-slash/releases)
|
|
10
|
+
[](https://github.com/avifenesh/awesome-slash/stargazers)
|
|
11
11
|
[](https://docs.anthropic.com/en/docs/claude-code)
|
|
12
12
|
[](https://developers.openai.com/codex/cli)
|
|
13
13
|
[](https://opencode.ai)
|
|
14
14
|
|
|
15
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
28
|
-
npm install awesome-slash
|
|
29
|
-
```
|
|
26
|
+
## What's New in v2.5.0
|
|
30
27
|
|
|
31
|
-
|
|
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
|
-
|
|
34
|
-
# Option 1: npm (recommended)
|
|
35
|
-
claude plugin add npm:awesome-slash
|
|
32
|
+
## What's New in v2.4.7
|
|
36
33
|
|
|
37
|
-
|
|
38
|
-
|
|
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
|
-
|
|
41
|
-
git clone https://github.com/avifenesh/awesome-slash.git
|
|
42
|
-
./scripts/install/claude.sh
|
|
43
|
-
```
|
|
40
|
+
---
|
|
44
41
|
|
|
45
|
-
|
|
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
|
-
|
|
48
|
+
# Claude Code
|
|
49
|
+
claude plugin add npm:awesome-slash
|
|
56
50
|
|
|
57
|
-
|
|
58
|
-
npm install awesome-slash
|
|
59
|
-
# or
|
|
51
|
+
# OpenCode / Codex CLI
|
|
60
52
|
git clone https://github.com/avifenesh/awesome-slash.git
|
|
61
|
-
|
|
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
|
-
|
|
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
|
|
75
|
-
/next-task
|
|
76
|
-
/next-task
|
|
77
|
-
/next-task
|
|
78
|
-
/next-task
|
|
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
|
-
**
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
|
|
101
|
-
|
|
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
|
-
###
|
|
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
|
|
112
|
-
/ship
|
|
113
|
-
/ship
|
|
114
|
-
/ship
|
|
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
|
-
**
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
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
|
-
###
|
|
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
|
|
143
|
-
/deslop-around
|
|
144
|
-
/deslop-around
|
|
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
|
-
###
|
|
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
|
|
161
|
-
/project-review
|
|
162
|
-
/project-review
|
|
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
|
-
**
|
|
166
|
-
Security
|
|
172
|
+
**Review domains:**
|
|
173
|
+
Security, Performance, Architecture, Testing, Error Handling, Code Quality, Type Safety, Documentation
|
|
167
174
|
|
|
168
175
|
---
|
|
169
176
|
|
|
170
|
-
###
|
|
177
|
+
### `/update-docs-around` - Documentation Sync
|
|
171
178
|
|
|
172
|
-
Sync documentation with actual code state across the
|
|
179
|
+
Sync documentation with actual code state across the repository.
|
|
173
180
|
|
|
174
181
|
```bash
|
|
175
|
-
/
|
|
176
|
-
/
|
|
177
|
-
/
|
|
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
|
-
###
|
|
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
|
-
/
|
|
195
|
-
/
|
|
196
|
-
/
|
|
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
|
|
200
|
-
- Tests pass
|
|
201
|
-
- Build passes
|
|
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
|
-
###
|
|
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-
|
|
218
|
-
1.
|
|
219
|
-
2.
|
|
220
|
-
3.
|
|
221
|
-
4.
|
|
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
|
|
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
|
-
|
|
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
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
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 (
|
|
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 (
|
|
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
|
-
|
|
|
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
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
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
|
|
386
|
+
Contributions welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
360
387
|
|
|
361
388
|
## License
|
|
362
389
|
|
|
363
|
-
MIT
|
|
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
|
|
399
|
+
Made with care for the AI coding community
|
package/SECURITY.md
CHANGED
|
@@ -1,101 +1,45 @@
|
|
|
1
1
|
# Security Policy
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
|
|
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
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
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
|
-
##
|
|
13
|
+
## User Responsibility
|
|
42
14
|
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
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
|
-
|
|
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
|
-
##
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
38
|
+
## Scope
|
|
95
39
|
|
|
96
|
-
|
|
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
|
-
|
|
42
|
+
**Not covered:**
|
|
43
|
+
- Claude Code itself (report to Anthropic)
|
|
44
|
+
- External tools (gh, git, npm, etc.)
|
|
45
|
+
- Deployment platforms (Railway, Vercel, etc.)
|