awesome-slash 2.4.4 → 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 (144) hide show
  1. package/.claude-plugin/marketplace.json +6 -6
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +88 -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/delivery-validator.md +2 -2
  59. package/plugins/next-task/agents/implementation-agent.md +3 -4
  60. package/plugins/next-task/agents/planning-agent.md +77 -19
  61. package/plugins/next-task/agents/review-orchestrator.md +21 -122
  62. package/plugins/next-task/agents/task-discoverer.md +164 -23
  63. package/plugins/next-task/commands/next-task.md +180 -14
  64. package/plugins/next-task/lib/index.js +170 -0
  65. package/plugins/next-task/lib/patterns/review-patterns.js +58 -11
  66. package/plugins/next-task/lib/patterns/slop-patterns.js +170 -129
  67. package/plugins/next-task/lib/platform/detect-platform.js +212 -123
  68. package/plugins/next-task/lib/platform/detection-configs.js +93 -0
  69. package/plugins/next-task/lib/platform/verify-tools.js +10 -1
  70. package/plugins/next-task/lib/schemas/README.md +195 -0
  71. package/plugins/next-task/lib/schemas/validator.js +205 -0
  72. package/plugins/next-task/lib/sources/custom-handler.js +199 -0
  73. package/plugins/next-task/lib/sources/policy-questions.js +239 -0
  74. package/plugins/next-task/lib/sources/source-cache.js +149 -0
  75. package/plugins/next-task/lib/state/workflow-state.js +382 -484
  76. package/plugins/next-task/lib/types/README.md +292 -0
  77. package/plugins/next-task/lib/types/agent-frontmatter.d.ts +134 -0
  78. package/plugins/next-task/lib/types/command-frontmatter.d.ts +107 -0
  79. package/plugins/next-task/lib/types/hook-frontmatter.d.ts +115 -0
  80. package/plugins/next-task/lib/types/index.d.ts +84 -0
  81. package/plugins/next-task/lib/types/plugin-manifest.d.ts +102 -0
  82. package/plugins/next-task/lib/types/skill-frontmatter.d.ts +89 -0
  83. package/plugins/next-task/lib/utils/cache-manager.js +154 -0
  84. package/plugins/next-task/lib/utils/context-optimizer.js +115 -37
  85. package/plugins/next-task/lib/utils/deprecation.js +37 -0
  86. package/plugins/next-task/lib/utils/shell-escape.js +88 -0
  87. package/plugins/project-review/.claude-plugin/plugin.json +1 -1
  88. package/plugins/project-review/lib/index.js +170 -0
  89. package/plugins/project-review/lib/patterns/review-patterns.js +58 -11
  90. package/plugins/project-review/lib/patterns/slop-patterns.js +170 -129
  91. package/plugins/project-review/lib/platform/detect-platform.js +212 -123
  92. package/plugins/project-review/lib/platform/detection-configs.js +93 -0
  93. package/plugins/project-review/lib/platform/verify-tools.js +10 -1
  94. package/plugins/project-review/lib/schemas/README.md +195 -0
  95. package/plugins/project-review/lib/schemas/validator.js +205 -0
  96. package/plugins/project-review/lib/sources/custom-handler.js +199 -0
  97. package/plugins/project-review/lib/sources/policy-questions.js +239 -0
  98. package/plugins/project-review/lib/sources/source-cache.js +149 -0
  99. package/plugins/project-review/lib/state/workflow-state.js +382 -484
  100. package/plugins/project-review/lib/types/README.md +292 -0
  101. package/plugins/project-review/lib/types/agent-frontmatter.d.ts +134 -0
  102. package/plugins/project-review/lib/types/command-frontmatter.d.ts +107 -0
  103. package/plugins/project-review/lib/types/hook-frontmatter.d.ts +115 -0
  104. package/plugins/project-review/lib/types/index.d.ts +84 -0
  105. package/plugins/project-review/lib/types/plugin-manifest.d.ts +102 -0
  106. package/plugins/project-review/lib/types/skill-frontmatter.d.ts +89 -0
  107. package/plugins/project-review/lib/utils/cache-manager.js +154 -0
  108. package/plugins/project-review/lib/utils/context-optimizer.js +115 -37
  109. package/plugins/project-review/lib/utils/deprecation.js +37 -0
  110. package/plugins/project-review/lib/utils/shell-escape.js +88 -0
  111. package/plugins/reality-check/.claude-plugin/plugin.json +1 -1
  112. package/plugins/reality-check/agents/code-explorer.md +1 -1
  113. package/plugins/ship/.claude-plugin/plugin.json +1 -1
  114. package/plugins/ship/lib/index.js +170 -0
  115. package/plugins/ship/lib/patterns/review-patterns.js +58 -11
  116. package/plugins/ship/lib/patterns/slop-patterns.js +170 -129
  117. package/plugins/ship/lib/platform/detect-platform.js +212 -123
  118. package/plugins/ship/lib/platform/detection-configs.js +93 -0
  119. package/plugins/ship/lib/platform/verify-tools.js +10 -1
  120. package/plugins/ship/lib/schemas/README.md +195 -0
  121. package/plugins/ship/lib/schemas/validator.js +205 -0
  122. package/plugins/ship/lib/sources/custom-handler.js +199 -0
  123. package/plugins/ship/lib/sources/policy-questions.js +239 -0
  124. package/plugins/ship/lib/sources/source-cache.js +149 -0
  125. package/plugins/ship/lib/state/workflow-state.js +382 -484
  126. package/plugins/ship/lib/types/README.md +292 -0
  127. package/plugins/ship/lib/types/agent-frontmatter.d.ts +134 -0
  128. package/plugins/ship/lib/types/command-frontmatter.d.ts +107 -0
  129. package/plugins/ship/lib/types/hook-frontmatter.d.ts +115 -0
  130. package/plugins/ship/lib/types/index.d.ts +84 -0
  131. package/plugins/ship/lib/types/plugin-manifest.d.ts +102 -0
  132. package/plugins/ship/lib/types/skill-frontmatter.d.ts +89 -0
  133. package/plugins/ship/lib/utils/cache-manager.js +154 -0
  134. package/plugins/ship/lib/utils/context-optimizer.js +115 -37
  135. package/plugins/ship/lib/utils/deprecation.js +37 -0
  136. package/plugins/ship/lib/utils/shell-escape.js +88 -0
  137. package/lib/state/workflow-state.schema.json +0 -282
  138. package/plugins/deslop-around/lib/state/workflow-state.schema.json +0 -282
  139. package/plugins/next-task/agents/policy-selector.md +0 -248
  140. package/plugins/next-task/lib/state/tasks-registry.schema.json +0 -85
  141. package/plugins/next-task/lib/state/workflow-state.schema.json +0 -282
  142. package/plugins/next-task/lib/state/worktree-status.schema.json +0 -219
  143. package/plugins/project-review/lib/state/workflow-state.schema.json +0 -282
  144. package/plugins/ship/lib/state/workflow-state.schema.json +0 -282
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "awesome-slash",
3
3
  "description": "Professional-grade slash commands for Claude Code with cross-platform support (OpenCode, Codex CLI)",
4
- "version": "2.4.2",
4
+ "version": "2.5.0",
5
5
  "owner": {
6
6
  "name": "Avi Fenesh",
7
7
  "url": "https://github.com/avifenesh"
@@ -13,35 +13,35 @@
13
13
  "name": "next-task",
14
14
  "source": "./plugins/next-task",
15
15
  "description": "Master workflow orchestrator: autonomous workflow with model optimization (opus/sonnet/haiku), two-file state management, workflow enforcement gates, 14 specialist agents",
16
- "version": "2.3.1",
16
+ "version": "2.5.0",
17
17
  "category": "productivity"
18
18
  },
19
19
  {
20
20
  "name": "ship",
21
21
  "source": "./plugins/ship",
22
22
  "description": "Complete PR workflow: commit to production, skips review when called from next-task, removes task from registry on cleanup, automatic rollback",
23
- "version": "2.3.1",
23
+ "version": "2.5.0",
24
24
  "category": "deployment"
25
25
  },
26
26
  {
27
27
  "name": "deslop-around",
28
28
  "source": "./plugins/deslop-around",
29
29
  "description": "AI slop cleanup with minimal diffs and behavior preservation",
30
- "version": "2.3.1",
30
+ "version": "2.5.0",
31
31
  "category": "development"
32
32
  },
33
33
  {
34
34
  "name": "project-review",
35
35
  "source": "./plugins/project-review",
36
36
  "description": "Multi-agent iterative code review until zero issues remain",
37
- "version": "2.3.1",
37
+ "version": "2.5.0",
38
38
  "category": "development"
39
39
  },
40
40
  {
41
41
  "name": "reality-check",
42
42
  "source": "./plugins/reality-check",
43
43
  "description": "Deep repository analysis to realign project plans with code reality - detects drift, gaps, and creates prioritized reconstruction plans",
44
- "version": "1.0.0",
44
+ "version": "2.5.0",
45
45
  "category": "productivity"
46
46
  }
47
47
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awesome-slash",
3
- "version": "2.4.2",
3
+ "version": "2.5.0",
4
4
  "description": "Professional-grade slash commands for Claude Code with cross-platform support",
5
5
  "author": {
6
6
  "name": "Avi Fenesh",
package/CHANGELOG.md CHANGED
@@ -7,6 +7,92 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ No unreleased changes documented.
11
+
12
+ ## [2.4.7] - 2026-01-18
13
+
14
+ ### Changed
15
+ - **Simplified State Management** - Rewrote workflow-state.js (#90)
16
+ - Reduced from 922 to ~520 lines
17
+ - Removed overengineered config system (~10,000 lines deleted)
18
+ - Removed 13 unused JSON schema files
19
+ - Replaced complex nested state with simple two-file system:
20
+ - `tasks.json` in main project: tracks active worktree/task
21
+ - `flow.json` in worktree: tracks workflow progress
22
+ - Removed arbitrary maxReviewIterations (now runs until approved)
23
+ - Removed unused mergeStrategy option
24
+ - **Tasks Lifecycle Wiring** - tasks.json now auto-registers/clears with workflow lifecycle
25
+ - `createFlow()` automatically registers task in tasks.json
26
+ - `completeWorkflow()` and `abortWorkflow()` automatically clear active task
27
+ - **Agent Model Updates** - task-discoverer and code-explorer upgraded to opus
28
+ - **Project Philosophy** - Added development guidelines to CLAUDE.md
29
+ - Core priorities: User DX > worry-free automation > minimal tokens > quality > simplicity
30
+ - Plugin purpose clarification: for OTHER projects, not internal tooling
31
+
32
+ ### Fixed
33
+ - **Path Validation** - Added path validation to prevent traversal attacks in workflow-state.js
34
+ - **Error Logging** - Added critical error logging for corrupted JSON files
35
+ - **hasActiveTask** - Fixed false positive with legacy format (uses `!= null` instead of truthiness)
36
+ - **writeFlow** - Fixed mutation issues by cloning before modification
37
+ - **updateFlow** - Fixed null handling logic
38
+ - **completePhase** - Fixed to use updateFlow pattern consistently
39
+
40
+ ## [2.4.6] - 2026-01-18
41
+
42
+ ### Fixed
43
+ - **Documentation Accuracy** - Fixed all documentation inconsistencies (#91)
44
+ - Fixed config file name: `.claude.config.json` → `.awesomeslashrc.json` in INSTALLATION.md
45
+ - Fixed phase counts: Updated to 18 phases in USAGE.md, CROSS_PLATFORM.md
46
+ - Removed all time estimates from user-facing docs (policy compliance)
47
+ - Updated planning-agent tools in CLAUDE.md and CROSS_PLATFORM.md
48
+ - Fixed non-existent script references in migration guides
49
+ - **Auto-Resume Prevention** - Added mandatory gates to prevent automatic task resumption (#92)
50
+ - Added ⛔ NO AUTO-RESUME gate in next-task.md
51
+ - Added mandatory existing task check in policy-selector.md (Phase 1.5)
52
+ - User must explicitly choose: start new, resume, abort, or view status
53
+ - Warning for active tasks (< 1 hour old) that may be running elsewhere
54
+ - Default behavior: "Start New Task (Recommended)"
55
+
56
+ ### Changed
57
+ - **Planning Flow Architecture** - Improved planning workflow separation (#93)
58
+ - planning-agent now outputs structured JSON instead of entering plan mode
59
+ - Orchestrator receives JSON, formats to markdown, enters plan mode
60
+ - Context-efficient: JSON with `=== PLAN_START ===` markers
61
+ - Clean separation: agent creates, orchestrator presents
62
+ - Removed EnterPlanMode tool from planning-agent
63
+ - **Work Guidelines** - Added "No Summary Files" policy to CLAUDE.md
64
+ - Prohibited: `*_FIXES_APPLIED.md`, `*_AUDIT.md`, `*_SUMMARY.md`
65
+ - Summary info goes in CHANGELOG.md or commit messages only
66
+ - Focus on work, not documentation about work
67
+
68
+ ## [2.4.5] - 2026-01-18
69
+
70
+ ### Fixed
71
+ - **Agent Tool Enforcement** - Critical fixes for agent tool usage (#88)
72
+ - Fixed policy-selector agent not showing checkbox UI - Added AskUserQuestion to tools
73
+ - Fixed task-discoverer agent not showing task selection as checkboxes
74
+ - Fixed planning-agent not entering plan mode after creating plans
75
+ - Added CRITICAL REQUIREMENT sections to enforce proper tool usage
76
+ - **Schema Validator** - Fixed validation bugs
77
+ - Added string constraints (minLength, maxLength, pattern) to main validate() method
78
+ - Fixed null type checking to handle null separately from object type
79
+ - Added array constraints (minItems, maxItems, uniqueItems) to main validate() method
80
+ - **Cache Management** - Migrated to CacheManager abstraction
81
+ - Fixed unbounded state cache growth in workflow-state.js
82
+ - Replaced plain Map with CacheManager (maxSize: 50, ttl: 200ms)
83
+ - Removed custom cache management code for consistency
84
+
85
+ ### Changed
86
+ - **Documentation** - Simplified and clarified user-facing docs
87
+ - Streamlined MANUAL_TESTING.md - removed verbose explanations
88
+ - Made README.md more concise and professional
89
+ - Removed excessive formatting and emoji icons
90
+
91
+ ### Tests
92
+ - Fixed cache-manager test maxSize conflicts
93
+ - Skipped 3 MCP server integration tests (mocking complexity)
94
+ - All core tests passing: 513/516 passed, 3 skipped
95
+
10
96
  ## [2.4.4] - 2026-01-18
11
97
 
12
98
  ### Added
@@ -225,7 +311,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
225
311
 
226
312
  ### Added
227
313
  - **Master Workflow Orchestrator** - Complete task-to-production automation
228
- - **State Management** - `.claude/.workflow-state.json` for workflow persistence
314
+ - **State Management** - `.claude/workflow-state.json` for workflow persistence
229
315
  - **8 Specialist Agents** - Opus for complex tasks, Sonnet for operations
230
316
  - **Cross-Platform MCP Server** - Integration with OpenCode and Codex CLI
231
317
  - **Resume Capability** - `--status`, `--resume`, `--abort` flags
@@ -291,3 +377,4 @@ Initial release with full feature set.
291
377
  - MIT License
292
378
  - Security policy
293
379
  - Contributing guidelines
380
+
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.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.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.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
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