awesome-slash 2.7.1 → 2.8.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 +256 -0
- package/README.md +147 -2
- package/bin/cli.js +4 -2
- package/lib/enhance/agent-analyzer.js +421 -0
- package/lib/enhance/agent-patterns.js +569 -0
- package/lib/enhance/docs-analyzer.js +325 -0
- package/lib/enhance/docs-patterns.js +671 -0
- package/lib/enhance/fixer.js +468 -0
- package/lib/enhance/index.js +78 -0
- package/lib/enhance/plugin-analyzer.js +402 -0
- package/lib/enhance/plugin-patterns.js +326 -0
- package/lib/enhance/projectmemory-analyzer.js +541 -0
- package/lib/enhance/projectmemory-patterns.js +470 -0
- package/lib/enhance/prompt-analyzer.js +429 -0
- package/lib/enhance/prompt-patterns.js +783 -0
- package/lib/enhance/reporter.js +1310 -0
- package/lib/enhance/security-patterns.js +284 -0
- package/lib/enhance/tool-patterns.js +373 -0
- package/lib/index.js +2 -0
- package/lib/reality-check/collectors.js +1 -0
- package/mcp-server/index.js +1 -1
- package/package.json +4 -1
- package/plugins/deslop-around/.claude-plugin/plugin.json +1 -1
- package/plugins/deslop-around/commands/deslop-around.md +1 -1
- package/plugins/enhance/.claude-plugin/plugin.json +20 -0
- package/plugins/enhance/README.md +163 -0
- package/plugins/enhance/agents/agent-enhancer.md +333 -0
- package/plugins/enhance/agents/claudemd-enhancer.md +288 -0
- package/plugins/enhance/agents/docs-enhancer.md +327 -0
- package/plugins/enhance/agents/enhancement-orchestrator.md +418 -0
- package/plugins/enhance/agents/enhancement-reporter.md +356 -0
- package/plugins/enhance/agents/plugin-enhancer.md +232 -0
- package/plugins/enhance/agents/prompt-enhancer.md +347 -0
- package/plugins/enhance/commands/enhance.md +941 -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/deslop-work.md +34 -206
- package/plugins/next-task/agents/docs-updater.md +4 -4
- package/plugins/next-task/agents/implementation-agent.md +3 -3
- package/plugins/next-task/agents/planning-agent.md +2 -2
- package/plugins/next-task/agents/task-discoverer.md +1 -1
- package/plugins/next-task/agents/worktree-manager.md +5 -5
- package/plugins/project-review/.claude-plugin/plugin.json +1 -1
- package/plugins/reality-check/.claude-plugin/plugin.json +1 -1
- package/plugins/ship/.claude-plugin/plugin.json +1 -1
- package/plugins/ship/commands/ship.md +1 -1
|
@@ -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
|
+
"version": "2.8.1",
|
|
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.
|
|
16
|
+
"version": "2.8.1",
|
|
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.
|
|
23
|
+
"version": "2.8.1",
|
|
24
24
|
"category": "deployment"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"name": "deslop-around",
|
|
28
28
|
"source": "./plugins/deslop-around",
|
|
29
29
|
"description": "3-phase AI slop detection: regex patterns (HIGH), multi-pass analyzers (MEDIUM), CLI tools (LOW)",
|
|
30
|
-
"version": "2.
|
|
30
|
+
"version": "2.8.1",
|
|
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.
|
|
37
|
+
"version": "2.8.1",
|
|
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": "2.
|
|
44
|
+
"version": "2.8.1",
|
|
45
45
|
"category": "productivity"
|
|
46
46
|
}
|
|
47
47
|
],
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,106 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [2.8.1] - 2025-01-23
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **CLI Installer** - Added missing `enhance` plugin to Claude Code installation
|
|
14
|
+
|
|
15
|
+
## [2.8.0] - 2025-01-23
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
- **Master /enhance Orchestrator** - New `/enhance` command runs all enhancers in parallel (#118)
|
|
19
|
+
- Orchestrates 5 enhancers: plugin, agent, claudemd, docs, prompt
|
|
20
|
+
- Parallel execution via Task() for efficiency
|
|
21
|
+
- Unified report with executive summary table
|
|
22
|
+
- Deduplication of overlapping findings
|
|
23
|
+
- Sorted by certainty (HIGH > MEDIUM > LOW)
|
|
24
|
+
- Auto-fix coordination with `--apply` flag
|
|
25
|
+
- Focus filtering with `--focus=TYPE` flag
|
|
26
|
+
- New agents: `enhancement-orchestrator.md` (opus), `enhancement-reporter.md` (sonnet)
|
|
27
|
+
- New lib functions: `generateOrchestratorReport()`, `deduplicateOrchestratorFindings()`
|
|
28
|
+
|
|
29
|
+
### Improved
|
|
30
|
+
- **Enhancer Agent XML Compatibility** - Added cross-model XML structure to all 4 enhancer agents
|
|
31
|
+
- `agent-enhancer.md`: Added `<constraints>`, `<examples>` sections (unrestricted Bash, missing role examples)
|
|
32
|
+
- `docs-enhancer.md`: Added `<constraints>`, `<examples>` sections (verbose phrases, RAG chunking examples)
|
|
33
|
+
- `plugin-enhancer.md`: Added `<constraints>`, `<examples>`, quality multiplier section
|
|
34
|
+
- `claudemd-enhancer.md`: Added `<examples>` section (WHY explanations, cross-platform paths examples)
|
|
35
|
+
- All agents now properly structured for cross-model compatibility (Claude, GPT, Gemini)
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
- **Cross-Platform Validation** - Internal tooling for Claude Code, OpenCode, Codex compatibility
|
|
39
|
+
- New `npm run validate:cross-platform` script scans all plugins for platform-specific code
|
|
40
|
+
- 4 new cross-platform patterns in agent-analyzer: hardcoded state dirs, plugin root paths, instruction file references
|
|
41
|
+
- Agents now use `${STATE_DIR}/` placeholder instead of hardcoded `.claude/` paths
|
|
42
|
+
- `scripts/validate-cross-platform.js` for CI integration
|
|
43
|
+
|
|
44
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
45
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
46
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
47
|
+
- Validates frontmatter (name, description, tools, model)
|
|
48
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
49
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
50
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
51
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
52
|
+
- Auto-fix capability for HIGH certainty issues (3 patterns)
|
|
53
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
54
|
+
- Comprehensive test suite (45 tests)
|
|
55
|
+
- Uses opus model for quality multiplier effect
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
- **Project Memory Optimizer** - New `/enhance:claudemd` command (#121)
|
|
59
|
+
- Analyzes CLAUDE.md/AGENTS.md project memory files for optimization opportunities
|
|
60
|
+
- 14 detection patterns across 5 categories: structure, reference, efficiency, quality, cross-platform
|
|
61
|
+
- Validates file and command references against filesystem
|
|
62
|
+
- Measures token efficiency and detects README duplication
|
|
63
|
+
- Checks for critical rules, architecture overview, key commands sections
|
|
64
|
+
- Detects hardcoded state directories and Claude-only terminology
|
|
65
|
+
- Validates WHY explanations for rules
|
|
66
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
67
|
+
- No auto-fix (requires human judgment for documentation)
|
|
68
|
+
- New lib/enhance/projectmemory-analyzer.js and projectmemory-patterns.js
|
|
69
|
+
- Comprehensive test suite (30+ tests)
|
|
70
|
+
- Extended reporter.js with generateProjectMemoryReport()
|
|
71
|
+
- Searches for CLAUDE.md, AGENTS.md, .github/CLAUDE.md, .github/AGENTS.md
|
|
72
|
+
- **Plugin Structure Analyzer** - New `/enhance:plugin` command (#119)
|
|
73
|
+
- Analyzes plugin.json structure and required fields
|
|
74
|
+
- Validates MCP tool definitions against best practices
|
|
75
|
+
- Detects security patterns in agent/command files
|
|
76
|
+
- HIGH/MEDIUM/LOW certainty levels following slop-patterns model
|
|
77
|
+
- Auto-fix capability for HIGH certainty issues
|
|
78
|
+
- New lib/enhance/ module with pattern matching, reporter, fixer
|
|
79
|
+
- Comprehensive test suite (21 tests)
|
|
80
|
+
|
|
81
|
+
- **Documentation Enhancement Analyzer** - New `/enhance:docs` command (#123)
|
|
82
|
+
- Analyzes documentation for readability and RAG optimization
|
|
83
|
+
- Two modes: `--ai` (AI-only, aggressive optimization) and `--both` (default, balanced)
|
|
84
|
+
- 14 documentation optimization patterns: links, structure, efficiency, RAG
|
|
85
|
+
- Categories: link validation, structure, token efficiency, RAG optimization, balance suggestions
|
|
86
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
87
|
+
- Auto-fix capability for 2 HIGH certainty issues (inconsistent headings, verbose explanations)
|
|
88
|
+
- New lib/enhance/docs-analyzer.js and docs-patterns.js modules
|
|
89
|
+
- New plugins/enhance/agents/docs-enhancer.md agent (opus model)
|
|
90
|
+
- Comprehensive test suite
|
|
91
|
+
|
|
92
|
+
- **General Prompt Analyzer** - New `/enhance:prompt` command (#122)
|
|
93
|
+
- Analyzes general prompts for prompt engineering best practices
|
|
94
|
+
- Differentiates from `/enhance:agent` (prompt quality vs agent config)
|
|
95
|
+
- 16 detection patterns across 6 categories: clarity, structure, examples, context, output, anti-patterns
|
|
96
|
+
- Clarity patterns: vague instructions, negative-only constraints, aggressive emphasis
|
|
97
|
+
- Structure patterns: missing XML structure, inconsistent sections, critical info buried
|
|
98
|
+
- Example patterns: missing examples, suboptimal count, lack of good/bad contrast
|
|
99
|
+
- Context patterns: missing WHY explanations, missing instruction priority
|
|
100
|
+
- Output patterns: missing format specification, JSON without schema
|
|
101
|
+
- Anti-patterns: redundant CoT, overly prescriptive, prompt bloat
|
|
102
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
103
|
+
- Auto-fix capability for 1 HIGH certainty issue (aggressive emphasis)
|
|
104
|
+
- New lib/enhance/prompt-analyzer.js and prompt-patterns.js modules
|
|
105
|
+
- New plugins/enhance/agents/prompt-enhancer.md agent (opus model)
|
|
106
|
+
- Comprehensive test suite (30+ tests)
|
|
107
|
+
- Extended reporter.js with generatePromptReport() and generatePromptSummaryReport()
|
|
8
108
|
## [2.7.1] - 2026-01-22
|
|
9
109
|
|
|
10
110
|
### Security
|
|
@@ -155,6 +255,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
155
255
|
|
|
156
256
|
### Added
|
|
157
257
|
- **CLI Installer** - `npm install -g awesome-slash@latest && awesome-slash`
|
|
258
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
259
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
260
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
261
|
+
- Validates frontmatter (name, description, tools, model)
|
|
262
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
263
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
264
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
265
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
266
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
267
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
268
|
+
- Comprehensive test suite (21 tests)
|
|
269
|
+
- Uses opus model for quality multiplier effect
|
|
158
270
|
- Multi-select: choose one or more platforms (Claude Code, OpenCode, Codex)
|
|
159
271
|
- Uses npm package files directly (no git clone)
|
|
160
272
|
- Claude Code: Uses GitHub marketplace for plugin installation
|
|
@@ -200,6 +312,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
200
312
|
|
|
201
313
|
### Added
|
|
202
314
|
- **Platform-Aware State Directories** - State files now stored in platform-specific directories
|
|
315
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
316
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
317
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
318
|
+
- Validates frontmatter (name, description, tools, model)
|
|
319
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
320
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
321
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
322
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
323
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
324
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
325
|
+
- Comprehensive test suite (21 tests)
|
|
326
|
+
- Uses opus model for quality multiplier effect
|
|
203
327
|
- Claude Code: `.claude/`
|
|
204
328
|
- OpenCode: `.opencode/`
|
|
205
329
|
- Codex CLI: `.codex/`
|
|
@@ -221,6 +345,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
221
345
|
|
|
222
346
|
### Added
|
|
223
347
|
- **Multi-Source Task Discovery** - Support for GitHub, GitLab, local files, custom CLI tools
|
|
348
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
349
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
350
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
351
|
+
- Validates frontmatter (name, description, tools, model)
|
|
352
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
353
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
354
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
355
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
356
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
357
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
358
|
+
- Comprehensive test suite (21 tests)
|
|
359
|
+
- Uses opus model for quality multiplier effect
|
|
224
360
|
- **Source Preference Caching** - Last-used source cached in `sources/preference.json`
|
|
225
361
|
- **Large Backlog Handling** - Pagination and priority filtering for repos with many issues
|
|
226
362
|
|
|
@@ -319,6 +455,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
319
455
|
|
|
320
456
|
### Added
|
|
321
457
|
- **PR Auto-Review Process** - Added mandatory workflow for 4 auto-reviewers (Copilot, Claude, Gemini, Codex)
|
|
458
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
459
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
460
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
461
|
+
- Validates frontmatter (name, description, tools, model)
|
|
462
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
463
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
464
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
465
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
466
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
467
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
468
|
+
- Comprehensive test suite (21 tests)
|
|
469
|
+
- Uses opus model for quality multiplier effect
|
|
322
470
|
- **Agent Responsibilities** - Documented required tools and MUST-CALL agents for /next-task and /ship
|
|
323
471
|
- **CLAUDE.md Enhancement** - Comprehensive agent workflow documentation with tool restrictions
|
|
324
472
|
|
|
@@ -330,6 +478,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
330
478
|
|
|
331
479
|
### Added
|
|
332
480
|
- **CLAUDE.md** - Project guidelines with release process and PR auto-review workflow
|
|
481
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
482
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
483
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
484
|
+
- Validates frontmatter (name, description, tools, model)
|
|
485
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
486
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
487
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
488
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
489
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
490
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
491
|
+
- Comprehensive test suite (21 tests)
|
|
492
|
+
- Uses opus model for quality multiplier effect
|
|
333
493
|
- **npm installation option** - Added npm as primary installation method to INSTALLATION.md
|
|
334
494
|
|
|
335
495
|
### Fixed
|
|
@@ -357,6 +517,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
357
517
|
|
|
358
518
|
### Added
|
|
359
519
|
- Published to npm as `awesome-slash` for easier installation
|
|
520
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
521
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
522
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
523
|
+
- Validates frontmatter (name, description, tools, model)
|
|
524
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
525
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
526
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
527
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
528
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
529
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
530
|
+
- Comprehensive test suite (21 tests)
|
|
531
|
+
- Uses opus model for quality multiplier effect
|
|
360
532
|
- Added `.npmignore` and `files` field for optimized package size (191KB → 143KB)
|
|
361
533
|
|
|
362
534
|
### Changed
|
|
@@ -367,6 +539,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
367
539
|
|
|
368
540
|
### Added
|
|
369
541
|
- **Reality Check Plugin**: Deep repository analysis to detect plan drift and gaps
|
|
542
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
543
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
544
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
545
|
+
- Validates frontmatter (name, description, tools, model)
|
|
546
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
547
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
548
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
549
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
550
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
551
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
552
|
+
- Comprehensive test suite (21 tests)
|
|
553
|
+
- Uses opus model for quality multiplier effect
|
|
370
554
|
- Multi-agent parallel scanning architecture (issue-scanner, doc-analyzer, code-explorer, plan-synthesizer)
|
|
371
555
|
- Detects drift: plan stagnation, priority neglect, documentation lag, scope overcommit
|
|
372
556
|
- Identifies gaps: missing tests, outdated docs, overdue milestones
|
|
@@ -403,6 +587,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
403
587
|
|
|
404
588
|
### Added
|
|
405
589
|
- **CI & Review Monitor Loop** for `/ship` command (#79)
|
|
590
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
591
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
592
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
593
|
+
- Validates frontmatter (name, description, tools, model)
|
|
594
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
595
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
596
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
597
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
598
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
599
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
600
|
+
- Comprehensive test suite (21 tests)
|
|
601
|
+
- Uses opus model for quality multiplier effect
|
|
406
602
|
- Continuous monitoring loop waits for CI AND addresses ALL PR feedback
|
|
407
603
|
- Auto-waits 3 minutes on first iteration for review bots (Gemini, CodeRabbit)
|
|
408
604
|
- Configurable via `SHIP_INITIAL_WAIT` environment variable
|
|
@@ -445,6 +641,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
445
641
|
|
|
446
642
|
### Added
|
|
447
643
|
- **Two-File State Management** to prevent workflow collisions
|
|
644
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
645
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
646
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
647
|
+
- Validates frontmatter (name, description, tools, model)
|
|
648
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
649
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
650
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
651
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
652
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
653
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
654
|
+
- Comprehensive test suite (21 tests)
|
|
655
|
+
- Uses opus model for quality multiplier effect
|
|
448
656
|
- `tasks.json` in main repo: Shared registry of claimed tasks
|
|
449
657
|
- `workflow-status.json` in worktree: Local step tracking with timestamps
|
|
450
658
|
- Resume by task ID, branch name, or worktree path
|
|
@@ -506,6 +714,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
506
714
|
|
|
507
715
|
### Added
|
|
508
716
|
- **Quality Gate Agents** for fully autonomous workflow after plan approval
|
|
717
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
718
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
719
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
720
|
+
- Validates frontmatter (name, description, tools, model)
|
|
721
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
722
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
723
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
724
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
725
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
726
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
727
|
+
- Comprehensive test suite (21 tests)
|
|
728
|
+
- Uses opus model for quality multiplier effect
|
|
509
729
|
- `deslop-work.md` - Clean AI slop from committed but unpushed changes
|
|
510
730
|
- `test-coverage-checker.md` - Validate new work has test coverage
|
|
511
731
|
- `delivery-validator.md` - Autonomous delivery validation (NOT manual approval)
|
|
@@ -533,6 +753,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
533
753
|
|
|
534
754
|
### Added
|
|
535
755
|
- **Master Workflow Orchestrator** - Complete task-to-production automation
|
|
756
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
757
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
758
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
759
|
+
- Validates frontmatter (name, description, tools, model)
|
|
760
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
761
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
762
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
763
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
764
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
765
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
766
|
+
- Comprehensive test suite (21 tests)
|
|
767
|
+
- Uses opus model for quality multiplier effect
|
|
536
768
|
- **State Management** - `.claude/workflow-state.json` for workflow persistence
|
|
537
769
|
- **8 Specialist Agents** - Opus for complex tasks, Sonnet for operations
|
|
538
770
|
- **Cross-Platform MCP Server** - Integration with OpenCode and Codex CLI
|
|
@@ -546,6 +778,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
546
778
|
|
|
547
779
|
### Added
|
|
548
780
|
- **Test Infrastructure**: Jest test suite with 103 unit tests covering all core modules
|
|
781
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
782
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
783
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
784
|
+
- Validates frontmatter (name, description, tools, model)
|
|
785
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
786
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
787
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
788
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
789
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
790
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
791
|
+
- Comprehensive test suite (21 tests)
|
|
792
|
+
- Uses opus model for quality multiplier effect
|
|
549
793
|
- `detect-platform.test.js` - Platform detection tests
|
|
550
794
|
- `verify-tools.test.js` - Tool verification tests
|
|
551
795
|
- `slop-patterns.test.js` - Pattern matching and secret detection tests
|
|
@@ -588,6 +832,18 @@ Initial release with full feature set.
|
|
|
588
832
|
|
|
589
833
|
### Added
|
|
590
834
|
- `/ship` command for complete PR workflow with deployment
|
|
835
|
+
- **Agent Prompt Optimizer** - New `/enhance:agent` command (#120)
|
|
836
|
+
- Analyzes agent prompt files for prompt engineering best practices
|
|
837
|
+
- 14 detection patterns across 6 categories: structure, tools, XML, CoT, examples, anti-patterns
|
|
838
|
+
- Validates frontmatter (name, description, tools, model)
|
|
839
|
+
- Checks tool restrictions (unrestricted Bash detection)
|
|
840
|
+
- Evaluates chain-of-thought appropriateness for task complexity
|
|
841
|
+
- Detects anti-patterns: vague language, prompt bloat, example count
|
|
842
|
+
- HIGH/MEDIUM/LOW certainty levels for findings
|
|
843
|
+
- Auto-fix capability for HIGH certainty issues (4 patterns)
|
|
844
|
+
- New lib/enhance/agent-analyzer.js and agent-patterns.js
|
|
845
|
+
- Comprehensive test suite (21 tests)
|
|
846
|
+
- Uses opus model for quality multiplier effect
|
|
591
847
|
- `/next-task` command for intelligent task prioritization
|
|
592
848
|
- `/deslop-around` command for AI slop cleanup
|
|
593
849
|
- `/project-review` command for multi-agent code review (with Phase 8 GitHub issue creation)
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ 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/releases)
|
|
10
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)
|
|
@@ -16,6 +16,13 @@ A cross-platform plugin providing powerful, zero-configuration slash commands fo
|
|
|
16
16
|
|
|
17
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.
|
|
18
18
|
|
|
19
|
+
## What's New in v2.8.0
|
|
20
|
+
|
|
21
|
+
- **Complete /enhance Suite** - 7 enhancement analyzers for plugins, agents, prompts, docs, and project memory
|
|
22
|
+
- **Master /enhance Orchestrator** - Run all enhancers in parallel with unified reporting and deduplication
|
|
23
|
+
- **Cross-Platform Validation** - New `npm run validate:cross-platform` for Claude Code, OpenCode, Codex compatibility
|
|
24
|
+
- **21 Specialist Agents** - Up from 16, including 7 new enhancement agents
|
|
25
|
+
|
|
19
26
|
## What's New in v2.7.0
|
|
20
27
|
|
|
21
28
|
- **GitHub Issue Progress Comments** - Workflow posts status updates to GitHub issues (start, plan, completion)
|
|
@@ -262,6 +269,132 @@ Deep repository analysis to identify where documented plans diverge from actual
|
|
|
262
269
|
- **Single Opus call** - Deep semantic analysis with full context
|
|
263
270
|
- **~77% token reduction** - Efficient compared to multi-agent approach
|
|
264
271
|
|
|
272
|
+
|
|
273
|
+
### `/enhance` - Master Enhancement Orchestrator
|
|
274
|
+
|
|
275
|
+
Run all enhancement analyzers in parallel and generate a unified report.
|
|
276
|
+
|
|
277
|
+
```bash
|
|
278
|
+
/enhance # Full analysis of current directory
|
|
279
|
+
/enhance --focus=agent # Run specific enhancer only
|
|
280
|
+
/enhance --apply # Apply auto-fixes for HIGH certainty issues
|
|
281
|
+
/enhance plugins/ --verbose # Analyze with all issues shown
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
**Enhancers:**
|
|
285
|
+
- plugin - Plugin structures, MCP tools, security patterns
|
|
286
|
+
- agent - Agent prompts, frontmatter, tool restrictions
|
|
287
|
+
- claudemd - CLAUDE.md/AGENTS.md project memory files
|
|
288
|
+
- docs - Documentation structure and RAG optimization
|
|
289
|
+
- prompt - General prompt quality and clarity
|
|
290
|
+
|
|
291
|
+
**Output:**
|
|
292
|
+
- Unified report with findings from all enhancers
|
|
293
|
+
- Deduplicated issues sorted by certainty level
|
|
294
|
+
- Auto-fixable issues highlighted
|
|
295
|
+
- Clear executive summary with counts
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
### Focused Enhancers
|
|
300
|
+
|
|
301
|
+
> **Note:** Individual enhancers can be run via `/enhance --focus=TYPE` or the shorthand `/enhance:TYPE`. Both are equivalent.
|
|
302
|
+
|
|
303
|
+
#### `/enhance:plugin` - Plugin Structure Analyzer
|
|
304
|
+
|
|
305
|
+
Analyze plugin structures, MCP tools, and security patterns against best practices.
|
|
306
|
+
|
|
307
|
+
```bash
|
|
308
|
+
/enhance --focus=plugin # Via master command (recommended)
|
|
309
|
+
/enhance:plugin # Shorthand syntax
|
|
310
|
+
/enhance:plugin next-task # Analyze specific plugin
|
|
311
|
+
/enhance:plugin --fix # Apply HIGH certainty auto-fixes
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
**Checks:**
|
|
315
|
+
- plugin.json structure and version consistency
|
|
316
|
+
- MCP tool definitions
|
|
317
|
+
- Security patterns
|
|
318
|
+
- Tool over-exposure
|
|
319
|
+
|
|
320
|
+
#### `/enhance:agent` - Agent Prompt Optimizer
|
|
321
|
+
|
|
322
|
+
Analyze agent prompt files for prompt engineering best practices.
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
/enhance --focus=agent # Via master command (recommended)
|
|
326
|
+
/enhance:agent # Shorthand syntax
|
|
327
|
+
/enhance:agent exploration-agent # Analyze specific agent
|
|
328
|
+
/enhance:agent --fix # Apply auto-fixes
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
**Detects:**
|
|
332
|
+
- Missing frontmatter (name, description, tools, model)
|
|
333
|
+
- Unrestricted tool access
|
|
334
|
+
- Chain-of-thought appropriateness
|
|
335
|
+
- Anti-patterns and prompt bloat
|
|
336
|
+
|
|
337
|
+
#### `/enhance:docs` - Documentation Optimizer
|
|
338
|
+
|
|
339
|
+
Analyze documentation for readability and RAG optimization.
|
|
340
|
+
|
|
341
|
+
```bash
|
|
342
|
+
/enhance --focus=docs # Via master command (recommended)
|
|
343
|
+
/enhance:docs # Shorthand syntax
|
|
344
|
+
/enhance:docs --ai # AI-only mode (aggressive RAG optimization)
|
|
345
|
+
/enhance:docs docs/ --fix # Apply fixes to docs directory
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
**Modes:**
|
|
349
|
+
- `--both` (default) - Balance readability with AI-friendliness
|
|
350
|
+
- `--ai` - Aggressive RAG optimization for agent-docs
|
|
351
|
+
|
|
352
|
+
**Checks:**
|
|
353
|
+
- Broken links and inconsistent headings
|
|
354
|
+
- RAG chunking (AI mode)
|
|
355
|
+
- Token efficiency (AI mode)
|
|
356
|
+
- Structure and organization
|
|
357
|
+
|
|
358
|
+
#### `/enhance:claudemd` - Project Memory Optimizer
|
|
359
|
+
|
|
360
|
+
Analyze CLAUDE.md/AGENTS.md for optimization opportunities.
|
|
361
|
+
|
|
362
|
+
```bash
|
|
363
|
+
/enhance --focus=claudemd # Via master command (recommended)
|
|
364
|
+
/enhance:claudemd # Shorthand syntax
|
|
365
|
+
/enhance:claudemd /path/to/proj # Analyze specific project
|
|
366
|
+
/enhance:claudemd --verbose # Show all issues
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
**Checks:**
|
|
370
|
+
- Critical rules, architecture, key commands sections
|
|
371
|
+
- File and command reference validation
|
|
372
|
+
- Token efficiency and README duplication
|
|
373
|
+
- Cross-platform compatibility
|
|
374
|
+
- WHY explanations for rules
|
|
375
|
+
|
|
376
|
+
#### `/enhance:prompt` - Prompt Quality Analyzer
|
|
377
|
+
|
|
378
|
+
Analyze general prompts for prompt engineering best practices.
|
|
379
|
+
|
|
380
|
+
```bash
|
|
381
|
+
/enhance --focus=prompt # Via master command (recommended)
|
|
382
|
+
/enhance:prompt # Shorthand syntax
|
|
383
|
+
/enhance:prompt my-prompt.md # Analyze specific prompt
|
|
384
|
+
/enhance:prompt prompts/ --fix # Apply fixes to prompts directory
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
**Differentiation:**
|
|
388
|
+
- Use `/enhance:prompt` for general prompts, system prompts, templates
|
|
389
|
+
- Use `/enhance:agent` for agent files with YAML frontmatter
|
|
390
|
+
|
|
391
|
+
**Detects:**
|
|
392
|
+
- Vague instructions and negative-only constraints
|
|
393
|
+
- Missing XML structure and examples
|
|
394
|
+
- Context gaps (WHY explanations, priority order)
|
|
395
|
+
- Output format issues
|
|
396
|
+
- Anti-patterns (redundant CoT, prompt bloat)
|
|
397
|
+
|
|
265
398
|
---
|
|
266
399
|
|
|
267
400
|
## Cross-Platform Integration
|
|
@@ -330,7 +463,7 @@ Override with `AI_STATE_DIR` environment variable.
|
|
|
330
463
|
}
|
|
331
464
|
```
|
|
332
465
|
|
|
333
|
-
### Specialist Agents (
|
|
466
|
+
### Specialist Agents (21 Total)
|
|
334
467
|
|
|
335
468
|
**Core Workflow (Opus - Complex Tasks):**
|
|
336
469
|
| Agent | Purpose |
|
|
@@ -364,6 +497,18 @@ Override with `AI_STATE_DIR` environment variable.
|
|
|
364
497
|
|
|
365
498
|
*Data collection handled by JavaScript collectors (lib/reality-check/collectors.js)*
|
|
366
499
|
|
|
500
|
+
**Enhancement (Mixed Models):**
|
|
501
|
+
| Agent | Model | Purpose |
|
|
502
|
+
|-------|-------|---------|
|
|
503
|
+
| enhancement-orchestrator | opus | Coordinate parallel enhancer execution and aggregate results |
|
|
504
|
+
| enhancement-reporter | sonnet | Generate unified reports with deduplication |
|
|
505
|
+
| plugin-enhancer | sonnet | Analyze plugin structures and MCP tools |
|
|
506
|
+
| agent-enhancer | opus | Analyze agent prompts and frontmatter |
|
|
507
|
+
| docs-enhancer | sonnet | Analyze documentation for RAG optimization |
|
|
508
|
+
| claudemd-enhancer | sonnet | Analyze CLAUDE.md/AGENTS.md files |
|
|
509
|
+
| prompt-enhancer | opus | Analyze general prompts for quality |
|
|
510
|
+
|
|
511
|
+
|
|
367
512
|
---
|
|
368
513
|
|
|
369
514
|
## Repository Structure
|
package/bin/cli.js
CHANGED
|
@@ -135,7 +135,7 @@ function installForClaude() {
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
// Install or update plugins
|
|
138
|
-
const plugins = ['next-task', 'ship', 'deslop-around', 'project-review', 'reality-check'];
|
|
138
|
+
const plugins = ['next-task', 'ship', 'deslop-around', 'project-review', 'reality-check', 'enhance'];
|
|
139
139
|
for (const plugin of plugins) {
|
|
140
140
|
console.log(` Installing ${plugin}...`);
|
|
141
141
|
try {
|
|
@@ -152,7 +152,7 @@ function installForClaude() {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
console.log('\n✅ Claude Code installation complete!\n');
|
|
155
|
-
console.log('Commands: /next-task, /ship, /deslop-around, /project-review, /reality-check:scan');
|
|
155
|
+
console.log('Commands: /next-task, /ship, /deslop-around, /project-review, /reality-check:scan, /enhance');
|
|
156
156
|
return true;
|
|
157
157
|
} catch (err) {
|
|
158
158
|
console.log('❌ Auto-install failed. Manual installation:');
|
|
@@ -217,6 +217,7 @@ function installForOpenCode(installDir) {
|
|
|
217
217
|
// Sync command files (matching install.sh mappings)
|
|
218
218
|
const commandMappings = [
|
|
219
219
|
['deslop-around.md', 'deslop-around', 'deslop-around.md'],
|
|
220
|
+
['enhance.md', 'enhance', 'enhance.md'],
|
|
220
221
|
['next-task.md', 'next-task', 'next-task.md'],
|
|
221
222
|
['delivery-approval.md', 'next-task', 'delivery-approval.md'],
|
|
222
223
|
['update-docs-around.md', 'next-task', 'update-docs-around.md'],
|
|
@@ -326,6 +327,7 @@ AI_STATE_DIR = ".codex"
|
|
|
326
327
|
// Skill mappings: [skillName, plugin, sourceFile, description]
|
|
327
328
|
// Codex skills require SKILL.md with name and description in YAML frontmatter
|
|
328
329
|
const skillMappings = [
|
|
330
|
+
['enhance', 'enhance', 'enhance.md', 'Master enhancement orchestrator with parallel analyzer execution'],
|
|
329
331
|
['next-task', 'next-task', 'next-task.md', 'Master workflow orchestrator with autonomous task-to-production automation'],
|
|
330
332
|
['ship', 'ship', 'ship.md', 'Complete PR workflow from commit to production with validation'],
|
|
331
333
|
['deslop-around', 'deslop-around', 'deslop-around.md', 'AI slop cleanup with minimal diffs and behavior preservation'],
|