awesome-slash 3.9.0 → 4.0.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 (217) hide show
  1. package/.agnix.toml +42 -0
  2. package/.claude-plugin/marketplace.json +18 -11
  3. package/.claude-plugin/plugin.json +1 -1
  4. package/AGENTS.md +55 -154
  5. package/CHANGELOG.md +48 -0
  6. package/README.md +49 -2
  7. package/adapters/opencode/install.sh +1 -1
  8. package/bin/cli.js +11 -8
  9. package/lib/collectors/codebase.js +7 -1
  10. package/lib/cross-platform/index.js +21 -2
  11. package/lib/enhance/benchmark.js +4 -1
  12. package/lib/enhance/projectmemory-analyzer.js +3 -1
  13. package/lib/enhance/prompt-analyzer.js +3 -1
  14. package/lib/enhance/suppression.js +2 -0
  15. package/package.json +2 -4
  16. package/plugins/audit-project/.claude-plugin/plugin.json +1 -1
  17. package/plugins/audit-project/lib/collectors/codebase.js +7 -1
  18. package/plugins/audit-project/lib/cross-platform/index.js +21 -2
  19. package/plugins/audit-project/lib/enhance/benchmark.js +4 -1
  20. package/plugins/audit-project/lib/enhance/projectmemory-analyzer.js +3 -1
  21. package/plugins/audit-project/lib/enhance/prompt-analyzer.js +3 -1
  22. package/plugins/audit-project/lib/enhance/suppression.js +2 -0
  23. package/plugins/deslop/.claude-plugin/plugin.json +1 -1
  24. package/plugins/deslop/agents/deslop-agent.md +7 -1
  25. package/plugins/deslop/commands/deslop.md +1 -0
  26. package/plugins/deslop/lib/collectors/codebase.js +7 -1
  27. package/plugins/deslop/lib/cross-platform/index.js +21 -2
  28. package/plugins/deslop/lib/enhance/benchmark.js +4 -1
  29. package/plugins/deslop/lib/enhance/projectmemory-analyzer.js +3 -1
  30. package/plugins/deslop/lib/enhance/prompt-analyzer.js +3 -1
  31. package/plugins/deslop/lib/enhance/suppression.js +2 -0
  32. package/plugins/deslop/skills/deslop/SKILL.md +1 -1
  33. package/plugins/drift-detect/.claude-plugin/plugin.json +1 -1
  34. package/plugins/drift-detect/agents/plan-synthesizer.md +3 -1
  35. package/plugins/drift-detect/lib/collectors/codebase.js +7 -1
  36. package/plugins/drift-detect/lib/cross-platform/index.js +21 -2
  37. package/plugins/drift-detect/lib/enhance/benchmark.js +4 -1
  38. package/plugins/drift-detect/lib/enhance/projectmemory-analyzer.js +3 -1
  39. package/plugins/drift-detect/lib/enhance/prompt-analyzer.js +3 -1
  40. package/plugins/drift-detect/lib/enhance/suppression.js +2 -0
  41. package/plugins/drift-detect/skills/drift-analysis/SKILL.md +1 -1
  42. package/plugins/enhance/.claude-plugin/plugin.json +1 -1
  43. package/plugins/enhance/agents/agent-enhancer.md +6 -1
  44. package/plugins/enhance/agents/claudemd-enhancer.md +6 -1
  45. package/plugins/enhance/agents/cross-file-enhancer.md +7 -1
  46. package/plugins/enhance/agents/docs-enhancer.md +6 -1
  47. package/plugins/enhance/agents/hooks-enhancer.md +5 -1
  48. package/plugins/enhance/agents/plugin-enhancer.md +6 -1
  49. package/plugins/enhance/agents/prompt-enhancer.md +7 -1
  50. package/plugins/enhance/agents/skills-enhancer.md +5 -1
  51. package/plugins/enhance/commands/enhance.md +1 -1
  52. package/plugins/enhance/lib/collectors/codebase.js +7 -1
  53. package/plugins/enhance/lib/cross-platform/index.js +21 -2
  54. package/plugins/enhance/lib/enhance/benchmark.js +4 -1
  55. package/plugins/enhance/lib/enhance/projectmemory-analyzer.js +3 -1
  56. package/plugins/enhance/lib/enhance/prompt-analyzer.js +3 -1
  57. package/plugins/enhance/lib/enhance/suppression.js +2 -0
  58. package/plugins/enhance/skills/enhance-orchestrator/SKILL.md +6 -6
  59. package/plugins/learn/.claude-plugin/plugin.json +21 -0
  60. package/plugins/learn/agents/learn-agent.md +331 -0
  61. package/plugins/learn/commands/learn.md +189 -0
  62. package/plugins/learn/lib/collectors/codebase.js +392 -0
  63. package/plugins/learn/lib/collectors/docs-patterns.js +713 -0
  64. package/plugins/learn/lib/collectors/documentation.js +219 -0
  65. package/plugins/learn/lib/collectors/github.js +266 -0
  66. package/plugins/learn/lib/collectors/index.js +126 -0
  67. package/plugins/learn/lib/config/index.js +14 -0
  68. package/plugins/learn/lib/cross-platform/index.js +539 -0
  69. package/plugins/learn/lib/drift-detect/collectors.js +37 -0
  70. package/plugins/learn/lib/enhance/agent-analyzer.js +421 -0
  71. package/plugins/learn/lib/enhance/agent-patterns.js +571 -0
  72. package/plugins/learn/lib/enhance/auto-suppression.js +622 -0
  73. package/plugins/learn/lib/enhance/benchmark.js +417 -0
  74. package/plugins/learn/lib/enhance/cross-file-analyzer.js +930 -0
  75. package/plugins/learn/lib/enhance/cross-file-patterns.js +370 -0
  76. package/plugins/learn/lib/enhance/docs-analyzer.js +325 -0
  77. package/plugins/learn/lib/enhance/docs-patterns.js +671 -0
  78. package/plugins/learn/lib/enhance/fixer.js +696 -0
  79. package/plugins/learn/lib/enhance/hook-analyzer.js +135 -0
  80. package/plugins/learn/lib/enhance/hook-patterns.js +40 -0
  81. package/plugins/learn/lib/enhance/index.js +127 -0
  82. package/plugins/learn/lib/enhance/plugin-analyzer.js +402 -0
  83. package/plugins/learn/lib/enhance/plugin-patterns.js +326 -0
  84. package/plugins/learn/lib/enhance/projectmemory-analyzer.js +543 -0
  85. package/plugins/learn/lib/enhance/projectmemory-patterns.js +617 -0
  86. package/plugins/learn/lib/enhance/prompt-analyzer.js +457 -0
  87. package/plugins/learn/lib/enhance/prompt-patterns.js +1481 -0
  88. package/plugins/learn/lib/enhance/reporter.js +1348 -0
  89. package/plugins/learn/lib/enhance/security-patterns.js +284 -0
  90. package/plugins/learn/lib/enhance/skill-analyzer.js +182 -0
  91. package/plugins/learn/lib/enhance/skill-patterns.js +147 -0
  92. package/plugins/learn/lib/enhance/suppression.js +352 -0
  93. package/plugins/learn/lib/enhance/tool-patterns.js +373 -0
  94. package/plugins/learn/lib/index.js +250 -0
  95. package/plugins/learn/lib/patterns/cli-enhancers.js +611 -0
  96. package/plugins/learn/lib/patterns/pipeline.js +948 -0
  97. package/plugins/learn/lib/patterns/review-patterns.js +558 -0
  98. package/plugins/learn/lib/patterns/slop-analyzers.js +2305 -0
  99. package/plugins/learn/lib/patterns/slop-patterns.js +1187 -0
  100. package/plugins/learn/lib/perf/analyzer/index.js +22 -0
  101. package/plugins/learn/lib/perf/argument-parser.js +105 -0
  102. package/plugins/learn/lib/perf/baseline-comparator.js +50 -0
  103. package/plugins/learn/lib/perf/baseline-store.js +127 -0
  104. package/plugins/learn/lib/perf/benchmark-runner.js +399 -0
  105. package/plugins/learn/lib/perf/breaking-point-finder.js +52 -0
  106. package/plugins/learn/lib/perf/breaking-point-runner.js +60 -0
  107. package/plugins/learn/lib/perf/checkpoint.js +123 -0
  108. package/plugins/learn/lib/perf/code-paths.js +86 -0
  109. package/plugins/learn/lib/perf/consolidation.js +37 -0
  110. package/plugins/learn/lib/perf/constraint-runner.js +71 -0
  111. package/plugins/learn/lib/perf/experiment-runner.js +32 -0
  112. package/plugins/learn/lib/perf/index.js +41 -0
  113. package/plugins/learn/lib/perf/investigation-state.js +875 -0
  114. package/plugins/learn/lib/perf/optimization-runner.js +79 -0
  115. package/plugins/learn/lib/perf/profilers/go.js +22 -0
  116. package/plugins/learn/lib/perf/profilers/index.js +46 -0
  117. package/plugins/learn/lib/perf/profilers/java.js +23 -0
  118. package/plugins/learn/lib/perf/profilers/node.js +27 -0
  119. package/plugins/learn/lib/perf/profilers/python.js +23 -0
  120. package/plugins/learn/lib/perf/profilers/rust.js +23 -0
  121. package/plugins/learn/lib/perf/profiling-runner.js +56 -0
  122. package/plugins/learn/lib/perf/schemas.js +140 -0
  123. package/plugins/learn/lib/platform/detect-platform.js +413 -0
  124. package/plugins/learn/lib/platform/detection-configs.js +93 -0
  125. package/plugins/learn/lib/platform/state-dir.js +132 -0
  126. package/plugins/learn/lib/platform/verify-tools.js +182 -0
  127. package/plugins/learn/lib/repo-map/cache.js +152 -0
  128. package/plugins/learn/lib/repo-map/index.js +222 -0
  129. package/plugins/learn/lib/repo-map/installer.js +212 -0
  130. package/plugins/learn/lib/repo-map/queries/go.js +27 -0
  131. package/plugins/learn/lib/repo-map/queries/index.js +100 -0
  132. package/plugins/learn/lib/repo-map/queries/java.js +38 -0
  133. package/plugins/learn/lib/repo-map/queries/javascript.js +55 -0
  134. package/plugins/learn/lib/repo-map/queries/python.js +24 -0
  135. package/plugins/learn/lib/repo-map/queries/rust.js +73 -0
  136. package/plugins/learn/lib/repo-map/queries/typescript.js +38 -0
  137. package/plugins/learn/lib/repo-map/runner.js +1165 -0
  138. package/plugins/learn/lib/repo-map/updater.js +474 -0
  139. package/plugins/learn/lib/repo-map/usage-analyzer.js +407 -0
  140. package/plugins/learn/lib/schemas/plugin-manifest.schema.json +57 -0
  141. package/plugins/learn/lib/schemas/validator.js +247 -0
  142. package/plugins/learn/lib/sources/custom-handler.js +199 -0
  143. package/plugins/learn/lib/sources/policy-questions.js +246 -0
  144. package/plugins/learn/lib/sources/source-cache.js +165 -0
  145. package/plugins/learn/lib/state/workflow-state.js +575 -0
  146. package/plugins/learn/lib/types/agent-frontmatter.d.ts +134 -0
  147. package/plugins/learn/lib/types/command-frontmatter.d.ts +107 -0
  148. package/plugins/learn/lib/types/hook-frontmatter.d.ts +115 -0
  149. package/plugins/learn/lib/types/index.d.ts +84 -0
  150. package/plugins/learn/lib/types/plugin-manifest.d.ts +102 -0
  151. package/plugins/learn/lib/types/skill-frontmatter.d.ts +89 -0
  152. package/plugins/learn/lib/utils/atomic-write.js +94 -0
  153. package/plugins/learn/lib/utils/cache-manager.js +159 -0
  154. package/plugins/learn/lib/utils/context-optimizer.js +300 -0
  155. package/plugins/learn/lib/utils/deprecation.js +37 -0
  156. package/plugins/learn/lib/utils/shell-escape.js +88 -0
  157. package/plugins/learn/skills/learn/SKILL.md +341 -0
  158. package/plugins/next-task/.claude-plugin/plugin.json +1 -1
  159. package/plugins/next-task/agents/ci-fixer.md +7 -1
  160. package/plugins/next-task/agents/ci-monitor.md +5 -1
  161. package/plugins/next-task/agents/delivery-validator.md +7 -1
  162. package/plugins/next-task/agents/exploration-agent.md +7 -1
  163. package/plugins/next-task/agents/implementation-agent.md +11 -1
  164. package/plugins/next-task/agents/planning-agent.md +6 -1
  165. package/plugins/next-task/agents/simple-fixer.md +4 -1
  166. package/plugins/next-task/agents/task-discoverer.md +8 -1
  167. package/plugins/next-task/agents/test-coverage-checker.md +5 -1
  168. package/plugins/next-task/agents/worktree-manager.md +4 -1
  169. package/plugins/next-task/lib/collectors/codebase.js +7 -1
  170. package/plugins/next-task/lib/cross-platform/index.js +21 -2
  171. package/plugins/next-task/lib/enhance/benchmark.js +4 -1
  172. package/plugins/next-task/lib/enhance/projectmemory-analyzer.js +3 -1
  173. package/plugins/next-task/lib/enhance/prompt-analyzer.js +3 -1
  174. package/plugins/next-task/lib/enhance/suppression.js +2 -0
  175. package/plugins/perf/.claude-plugin/plugin.json +1 -1
  176. package/plugins/perf/agents/perf-analyzer.md +4 -1
  177. package/plugins/perf/agents/perf-code-paths.md +5 -1
  178. package/plugins/perf/agents/perf-investigation-logger.md +4 -1
  179. package/plugins/perf/agents/perf-orchestrator.md +16 -1
  180. package/plugins/perf/agents/perf-theory-gatherer.md +14 -1
  181. package/plugins/perf/agents/perf-theory-tester.md +16 -1
  182. package/plugins/perf/commands/perf.md +2 -2
  183. package/plugins/perf/lib/collectors/codebase.js +7 -1
  184. package/plugins/perf/lib/cross-platform/index.js +21 -2
  185. package/plugins/perf/lib/enhance/benchmark.js +4 -1
  186. package/plugins/perf/lib/enhance/projectmemory-analyzer.js +3 -1
  187. package/plugins/perf/lib/enhance/prompt-analyzer.js +3 -1
  188. package/plugins/perf/lib/enhance/suppression.js +2 -0
  189. package/plugins/perf/skills/perf-benchmarker/SKILL.md +2 -2
  190. package/plugins/perf/skills/perf-profiler/SKILL.md +2 -2
  191. package/plugins/repo-map/.claude-plugin/plugin.json +1 -1
  192. package/plugins/repo-map/agents/map-validator.md +2 -1
  193. package/plugins/repo-map/lib/collectors/codebase.js +7 -1
  194. package/plugins/repo-map/lib/cross-platform/index.js +21 -2
  195. package/plugins/repo-map/lib/enhance/benchmark.js +4 -1
  196. package/plugins/repo-map/lib/enhance/projectmemory-analyzer.js +3 -1
  197. package/plugins/repo-map/lib/enhance/prompt-analyzer.js +3 -1
  198. package/plugins/repo-map/lib/enhance/suppression.js +2 -0
  199. package/plugins/repo-map/skills/repo-mapping/SKILL.md +2 -2
  200. package/plugins/ship/.claude-plugin/plugin.json +1 -1
  201. package/plugins/ship/lib/collectors/codebase.js +7 -1
  202. package/plugins/ship/lib/cross-platform/index.js +21 -2
  203. package/plugins/ship/lib/enhance/benchmark.js +4 -1
  204. package/plugins/ship/lib/enhance/projectmemory-analyzer.js +3 -1
  205. package/plugins/ship/lib/enhance/prompt-analyzer.js +3 -1
  206. package/plugins/ship/lib/enhance/suppression.js +2 -0
  207. package/plugins/sync-docs/.claude-plugin/plugin.json +1 -1
  208. package/plugins/sync-docs/agents/sync-docs-agent.md +8 -1
  209. package/plugins/sync-docs/lib/collectors/codebase.js +7 -1
  210. package/plugins/sync-docs/lib/cross-platform/index.js +21 -2
  211. package/plugins/sync-docs/lib/enhance/benchmark.js +4 -1
  212. package/plugins/sync-docs/lib/enhance/projectmemory-analyzer.js +3 -1
  213. package/plugins/sync-docs/lib/enhance/prompt-analyzer.js +3 -1
  214. package/plugins/sync-docs/lib/enhance/suppression.js +2 -0
  215. package/scripts/dev-install.js +1 -1
  216. package/plugins/enhance/agents/enhancement-reporter.md +0 -358
  217. package/plugins/enhance/skills/enhance-reporter/SKILL.md +0 -167
package/.agnix.toml ADDED
@@ -0,0 +1,42 @@
1
+ severity = "Warning"
2
+ exclude = [
3
+ "node_modules/**",
4
+ ".git/**",
5
+ "target/**",
6
+ # Research/reference docs - external content, not our code
7
+ "agent-docs/**",
8
+ # Meta skills - reference/example content
9
+ "meta/**",
10
+ # Lib copies in plugins (source is lib/, avoid duplicate warnings)
11
+ "plugins/*/lib/**",
12
+ ]
13
+ target = "ClaudeCode"
14
+ tools = []
15
+
16
+ [rules]
17
+ skills = true
18
+ hooks = true
19
+ agents = true
20
+ memory = true
21
+ plugins = true
22
+ xml = true
23
+ mcp = true
24
+ imports = true
25
+ cross_platform = false # Intentional - we document all 3 platform paths
26
+ agents_md = true
27
+ copilot = false # Not targeting Copilot
28
+ cursor = false # Not targeting Cursor
29
+ prompt_engineering = true
30
+ generic_instructions = true
31
+ frontmatter_validation = true
32
+ xml_balance = true
33
+ import_references = true
34
+ disabled_rules = [
35
+ "hardcoded-claude-path", # Intentional - we document platform paths
36
+ "hardcoded-opencode-path", # Intentional - we document platform paths
37
+ "windows-path-separator", # False positives on regex escape sequences (\n, \s, \d)
38
+ ]
39
+
40
+ [tool_versions]
41
+
42
+ [spec_revisions]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "awesome-slash",
3
- "description": "9 specialized plugins for AI workflow automation - task orchestration, PR workflow, slop detection, code review, drift detection, enhancement analysis, documentation sync, repo mapping, and perf investigations",
4
- "version": "3.9.0",
3
+ "description": "10 specialized plugins for AI workflow automation - task orchestration, PR workflow, slop detection, code review, drift detection, enhancement analysis, documentation sync, repo mapping, perf investigations, and topic research",
4
+ "version": "4.0.0",
5
5
  "owner": {
6
6
  "name": "Avi Fenesh",
7
7
  "url": "https://github.com/avifenesh"
@@ -26,64 +26,71 @@
26
26
  "name": "next-task",
27
27
  "source": "./plugins/next-task",
28
28
  "description": "Master workflow orchestrator: autonomous workflow with model optimization (opus/sonnet/haiku), two-file state management, workflow enforcement gates, 14 specialist agents",
29
- "version": "3.9.0",
29
+ "version": "4.0.0",
30
30
  "category": "productivity"
31
31
  },
32
32
  {
33
33
  "name": "ship",
34
34
  "source": "./plugins/ship",
35
35
  "description": "Complete PR workflow: commit to production, skips review when called from next-task, removes task from registry on cleanup, automatic rollback",
36
- "version": "3.9.0",
36
+ "version": "4.0.0",
37
37
  "category": "deployment"
38
38
  },
39
39
  {
40
40
  "name": "deslop",
41
41
  "source": "./plugins/deslop",
42
42
  "description": "3-phase AI slop detection: regex patterns (HIGH), multi-pass analyzers (MEDIUM), CLI tools (LOW)",
43
- "version": "3.9.0",
43
+ "version": "4.0.0",
44
44
  "category": "development"
45
45
  },
46
46
  {
47
47
  "name": "audit-project",
48
48
  "source": "./plugins/audit-project",
49
49
  "description": "Multi-agent iterative code review until zero issues remain",
50
- "version": "3.9.0",
50
+ "version": "4.0.0",
51
51
  "category": "development"
52
52
  },
53
53
  {
54
54
  "name": "drift-detect",
55
55
  "source": "./plugins/drift-detect",
56
56
  "description": "Deep repository analysis to realign project plans with code reality - detects drift, gaps, and creates prioritized reconstruction plans",
57
- "version": "3.9.0",
57
+ "version": "4.0.0",
58
58
  "category": "productivity"
59
59
  },
60
60
  {
61
61
  "name": "enhance",
62
62
  "source": "./plugins/enhance",
63
63
  "description": "Master enhancement orchestrator: parallel analyzer execution for plugins, agents, docs, CLAUDE.md, and prompts with unified reporting",
64
- "version": "3.9.0",
64
+ "version": "4.0.0",
65
65
  "category": "development"
66
66
  },
67
67
  {
68
68
  "name": "sync-docs",
69
69
  "source": "./plugins/sync-docs",
70
70
  "description": "Standalone documentation sync: find outdated refs, update CHANGELOG, flag stale examples based on code changes",
71
- "version": "3.9.0",
71
+ "version": "4.0.0",
72
72
  "category": "development"
73
73
  },
74
74
  {
75
75
  "name": "repo-map",
76
76
  "source": "./plugins/repo-map",
77
77
  "description": "AST-based repository map generation using ast-grep with incremental updates for faster drift analysis",
78
- "version": "3.9.0",
78
+ "version": "4.0.0",
79
79
  "category": "development"
80
80
  },
81
81
  {
82
82
  "name": "perf",
83
83
  "source": "./plugins/perf",
84
84
  "description": "Rigorous performance investigation workflow with baselines, profiling, hypotheses, and evidence-backed decisions",
85
- "version": "3.9.0",
85
+ "version": "4.0.0",
86
86
  "category": "development"
87
+ },
88
+ {
89
+ "name": "learn",
90
+ "source": "./plugins/learn",
91
+ "description": "Research topics online and create comprehensive learning guides with RAG-optimized indexes",
92
+ "version": "4.0.0",
93
+ "category": "productivity"
87
94
  }
88
95
  ]
89
96
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awesome-slash",
3
- "version": "3.9.0",
3
+ "version": "4.0.0",
4
4
  "description": "Professional-grade slash commands for Claude Code with cross-platform support",
5
5
  "keywords": [
6
6
  "workflow",
package/AGENTS.md CHANGED
@@ -7,13 +7,13 @@
7
7
  <critical-rules>
8
8
  ## Critical Rules (Priority Order)
9
9
 
10
- 1. **Production project** - Real users depend on this. Test thoroughly, don't break things.
10
+ 1. **Production project** - Real users depend on this. Test thoroughly and verify all edge cases before committing.
11
11
  *WHY: Breaking changes affect all plugin users immediately.*
12
12
 
13
13
  2. **Plugin for OTHER projects** - Optimize for plugin users, not internal dev convenience.
14
14
  *WHY: Every decision should improve the experience for developers using this in their repos.*
15
15
 
16
- 3. **No summary files** - No `*_AUDIT.md`, `*_SUMMARY.md`, `*_COMPLETION.md`. Use CHANGELOG.md.
16
+ 3. **Use CHANGELOG.md for completion tracking** - MUST use CHANGELOG.md for release notes. NEVER create `*_AUDIT.md`, `*_SUMMARY.md`, `*_COMPLETION.md` files.
17
17
  *WHY: Summary files clutter repos and add no value. Report completion verbally.*
18
18
 
19
19
  4. **Unless** it is a very small change of max few lines, or an urgent hotfix, **MUST create PRs for all changes** - No direct pushes to main.
@@ -27,6 +27,7 @@
27
27
  - Release → `checklists/release.md`
28
28
  - New command → `checklists/new-command.md`
29
29
  - New agent → `checklists/new-agent.md`
30
+ - New skill → `checklists/new-skill.md`
30
31
  - New lib module → `checklists/new-lib-module.md`
31
32
  - OpenCode plugin update → `checklists/update-opencode-plugin.md`
32
33
  - Repo map changes → `checklists/repo-map.md`
@@ -41,9 +42,8 @@
41
42
  - Don't mark complete until ALL checklist items are done
42
43
  *WHY: Checklists exist because we kept missing things. They are the definition of "done".*
43
44
 
44
- 8. **No emojis or ASCII art** - No emojis or decorative ASCII boxes in any files.
45
- - Save tokens - conciseness and clarity over decorations.
46
- - Use plain text: `[OK]`, `[ERROR]`, `[WARN]`, `[CRITICAL]`
45
+ 8. **Use plain text markers** - MUST use `[OK]`, `[ERROR]`, `[WARN]`, `[CRITICAL]` for status. NEVER use emojis or ASCII art boxes.
46
+ - Save tokens - conciseness and clarity over decorations
47
47
  - Use markdown formatting instead of decorative borders
48
48
  *WHY: Emojis and ASCII art waste tokens. AI models parse plain text better.*
49
49
 
@@ -52,79 +52,38 @@
52
52
  - Single quotes unreliable - use double quotes with escaped inner quotes
53
53
  *WHY: Windows shell interprets $ and ! differently. These cause silent failures.*
54
54
 
55
- 10. **NEVER use --no-verify** - Never skip git hooks with `--no-verify` or `ENHANCE_CONFIRMED=1`.
56
- - If pre-push hook blocks, fix the issue it reports
57
- - Hooks exist to catch problems before they reach the repo
58
- *WHY: Skipping hooks defeats their purpose. Fix the root cause instead.*
55
+ 10. **Always run git hooks** - Run all pre-commit and pre-push hooks. If a hook blocks, fix the reported issue.
56
+ - Hooks catch problems before they reach the repo
57
+ - Fix the root cause, then retry
58
+ *WHY: Hooks are safety nets. Bypassing them defeats their purpose.*
59
59
  </critical-rules>
60
60
 
61
61
  <architecture>
62
62
  ## Architecture
63
63
 
64
64
  ```
65
- lib/ # Shared library (canonical source)
66
- ├── config/ # Configuration utilities
67
- ├── cross-platform/ # Platform detection, MCP helpers
68
- ├── enhance/ # Enhancement analyzers and patterns
69
- ├── patterns/ # Slop detection pipeline
70
- ├── perf/ # Performance investigation tools
71
- ├── platform/ # Platform detection, state directory
72
- ├── repo-map/ # AST-based repo mapping
73
- ├── schemas/ # JSON schema validation
74
- ├── sources/ # Task source handlers
75
- ├── state/ # Workflow state management
76
- ├── utils/ # Utilities (cache, shell-escape)
77
- └── index.js # Main exports
78
-
79
- plugins/ # 9 plugins, 39 agents (29 file-based + 10 role-based), 24 skills
80
- ├── next-task/ # Master workflow (10 agents, 3 skills)
81
- ├── enhance/ # Enhancement analyzers (9 agents, 9 skills)
82
- ├── ship/ # PR workflow (4 commands)
83
- ├── perf/ # Performance investigation (6 agents, 8 skills)
84
- ├── audit-project/ # Multi-agent review (10 role-based agents, 3 commands)
85
- ├── deslop/ # AI slop cleanup (1 agent, 1 skill)
86
- ├── drift-detect/ # Plan drift detection (1 agent, 1 skill)
87
- ├── repo-map/ # AST repo mapping (1 agent, 1 skill)
88
- └── sync-docs/ # Documentation sync (1 agent, 1 skill)
89
-
90
- adapters/ # Platform-specific adapters
91
- ├── opencode-plugin/ # Native OpenCode plugin
92
- ├── opencode/ # OpenCode install script
93
- └── codex/ # Codex install script
94
-
95
- bin/cli.js # npm CLI installer
96
- checklists/ # Action checklists (8 files)
97
- agent-docs/ # Knowledge base
98
- docs/ # User documentation
65
+ lib/ Shared library (canonical source)
66
+ plugins/ 9 plugins, 39 agents (29 file-based + 10 role-based), 25 skills
67
+ adapters/ Platform adapters (opencode-plugin/, opencode/, codex/)
68
+ checklists/ Action checklists (9 files)
69
+ bin/cli.js → npm CLI installer
99
70
  ```
100
71
 
101
- ### Agent/Skill Pattern
102
-
103
- ```
104
- Command (orchestration) Agent (thin wrapper) Skill (implementation)
105
- ```
106
-
107
- - **Commands**: Orchestration, argument parsing, phase coordination
108
- - **Agents**: Invoke skills, handle output, manage state
109
- - **Skills**: Reusable implementation, patterns, detection logic, auto-fixes
72
+ | Plugin | Agents | Skills | Purpose |
73
+ |--------|--------|--------|---------|
74
+ | next-task | 10 | 3 | Master workflow orchestration |
75
+ | enhance | 9 | 9 | Code quality analyzers |
76
+ | ship | 0 | 0 | PR creation and deployment |
77
+ | perf | 6 | 8 | Performance investigation |
78
+ | audit-project | 10 | 0 | Multi-agent code review |
79
+ | deslop | 1 | 1 | AI slop cleanup |
80
+ | drift-detect | 1 | 1 | Plan drift detection |
81
+ | repo-map | 1 | 1 | AST repo mapping |
82
+ | sync-docs | 1 | 1 | Documentation sync |
83
+
84
+ **Pattern**: `Command → Agent → Skill` (orchestration → invocation → implementation)
110
85
  </architecture>
111
86
 
112
- <plugins>
113
- ## Plugins Overview
114
-
115
- | Plugin | Commands | Agents | Skills | Purpose |
116
- |--------|----------|--------|--------|---------|
117
- | next-task | 3 | 10 | 3 | Master workflow orchestration |
118
- | enhance | 1 | 9 | 9 | Code quality analyzers |
119
- | ship | 4 | 0 | 0 | PR creation and deployment |
120
- | perf | 1 | 6 | 8 | Performance investigation |
121
- | audit-project | 3 | 0 | 0 | Multi-agent code review |
122
- | deslop | 1 | 1 | 1 | AI slop cleanup |
123
- | drift-detect | 1 | 1 | 1 | Plan drift detection |
124
- | repo-map | 1 | 1 | 1 | AST-based repo mapping |
125
- | sync-docs | 1 | 1 | 1 | Documentation sync |
126
- </plugins>
127
-
128
87
  <commands>
129
88
  ## Commands
130
89
 
@@ -154,84 +113,32 @@ awesome-slash # Run installer
154
113
  </commands>
155
114
 
156
115
  <agents>
157
- ## Key Agents
158
-
159
- ### next-task (10 agents)
160
- | Agent | Model | Purpose |
161
- |-------|-------|---------|
162
- | task-discoverer | sonnet | Find and rank tasks from sources |
163
- | worktree-manager | haiku | Create isolated git worktrees |
164
- | exploration-agent | opus | Deep codebase analysis |
165
- | planning-agent | opus | Design implementation plans |
166
- | implementation-agent | opus | Execute approved plans |
167
- | test-coverage-checker | sonnet | Validate test coverage |
168
- | delivery-validator | sonnet | Autonomous completion validation |
169
- | ci-monitor | haiku | Monitor CI and PR comments |
170
- | ci-fixer | sonnet | Fix CI failures |
171
- | simple-fixer | haiku | Execute mechanical fixes |
172
-
173
- ### deslop (1 agent)
174
- | Agent | Model | Purpose |
175
- |-------|-------|---------|
176
- | deslop-agent | sonnet | Clean AI slop patterns from code |
177
-
178
- ### enhance (9 agents)
179
- | Agent | Model | Purpose |
180
- |-------|-------|---------|
181
- | enhancement-orchestrator | opus | Coordinate all enhancers |
182
- | enhancement-reporter | sonnet | Generate unified reports |
183
- | plugin-enhancer | sonnet | Analyze plugin structures |
184
- | agent-enhancer | opus | Analyze agent prompts |
185
- | docs-enhancer | sonnet | Analyze documentation |
186
- | claudemd-enhancer | sonnet | Analyze CLAUDE.md files |
187
- | prompt-enhancer | opus | Analyze prompt quality |
188
- | hooks-enhancer | opus | Analyze hook safety |
189
- | skills-enhancer | opus | Analyze skill triggers |
190
-
191
- ### perf (6 agents)
192
- | Agent | Model | Purpose |
193
- |-------|-------|---------|
194
- | perf-orchestrator | opus | Coordinate perf investigation |
195
- | perf-analyzer | opus | Synthesize findings |
196
- | perf-code-paths | sonnet | Map likely hot paths |
197
- | perf-theory-gatherer | opus | Generate hypotheses |
198
- | perf-theory-tester | opus | Run controlled experiments |
199
- | perf-investigation-logger | sonnet | Log evidence |
116
+ ## Agents
117
+
118
+ 39 agents across 9 plugins. Key agents by model:
119
+
120
+ | Model | Agents | Use Case |
121
+ |-------|--------|----------|
122
+ | **opus** | exploration, planning, implementation, perf-orchestrator | Complex reasoning, analysis |
123
+ | **sonnet** | task-discoverer, delivery-validator, ci-fixer, deslop-agent, reporters | Validation, pattern matching |
124
+ | **haiku** | worktree-manager, ci-monitor, simple-fixer | Mechanical execution |
125
+
126
+ See [README.md](./README.md#command-details) and [docs/reference/AGENTS.md](./docs/reference/AGENTS.md) for full agent list.
200
127
  </agents>
201
128
 
202
129
  <skills>
203
130
  ## Skills
204
131
 
205
- Skills contain reusable implementation. Agents invoke skills to perform work.
206
-
207
- ### next-task Skills
208
- - `orchestrate-review` - Phase 9 review loop logic
209
- - `discover-tasks` - Task discovery and scoring
210
- - `validate-delivery` - Completion validation checks
211
-
212
- ### enhance Skills
213
- - `enhance-orchestrator` - Enhancer coordination
214
- - `enhance-reporter` - Report generation
215
- - `enhance-plugins` - Plugin analysis patterns
216
- - `enhance-agent-prompts` - Agent analysis patterns
217
- - `enhance-docs` - Documentation patterns
218
- - `enhance-claude-memory` - CLAUDE.md patterns
219
- - `enhance-prompts` - Prompt quality patterns
220
- - `enhance-hooks` - Hook safety patterns
221
- - `enhance-skills` - Skill trigger patterns
222
-
223
- ### perf Skills
224
- - `baseline`, `benchmark`, `profile` - Measurement
225
- - `analyzer`, `code-paths`, `theory` - Analysis
226
- - `theory-tester`, `investigation-logger` - Testing
227
-
228
- ### deslop Skills
229
- - `deslop` - AI slop detection and cleanup
230
-
231
- ### Other Skills
232
- - `drift-analysis` - Plan drift detection
233
- - `repo-mapping` - AST repo map generation
234
- - `sync-docs` - Documentation sync with code
132
+ 25 skills across plugins. Agents invoke skills for reusable implementation.
133
+
134
+ | Category | Key Skills |
135
+ |----------|------------|
136
+ | Workflow | `orchestrate-review`, `discover-tasks`, `validate-delivery` |
137
+ | Enhancement | `enhance-*` (9 skills for plugins, agents, docs, prompts, hooks) |
138
+ | Performance | `baseline`, `benchmark`, `profile`, `theory-tester` |
139
+ | Cleanup | `deslop`, `sync-docs`, `drift-analysis`, `repo-mapping` |
140
+
141
+ See [README.md](./README.md#skills) for full skill list.
235
142
  </skills>
236
143
 
237
144
  <state-files>
@@ -242,11 +149,11 @@ Skills contain reusable implementation. Agents invoke skills to perform work.
242
149
  | `tasks.json` | `{stateDir}/` | Active task registry |
243
150
  | `flow.json` | `{stateDir}/` (worktree) | Workflow progress |
244
151
  | `preference.json` | `{stateDir}/sources/` | Cached task source |
245
- | `suppressions.json` | `~/.claude/enhance/` | Auto-learned suppressions |
152
+ | `suppressions.json` | `~/.<claude\|opencode\|codex>/enhance/` | Auto-learned suppressions |
246
153
 
247
154
  Platform-aware state directory:
248
155
  - Claude Code: `.claude/`
249
- - OpenCode: `.opencode/`
156
+ - OpenCode: `config/.opencode/`
250
157
  - Codex: `.codex/`
251
158
  </state-files>
252
159
 
@@ -274,19 +181,13 @@ Cannot skip in /next-task:
274
181
  </pr-auto-review>
275
182
 
276
183
  <model-selection>
277
- ## Model Selection Guidelines
184
+ ## Model Selection
278
185
 
279
186
  | Model | When to Use |
280
187
  |-------|-------------|
281
- | **Opus** | Complex reasoning, enhancers, analyzers where imperfection compounds |
282
- | **Sonnet** | Most agents, validation, pattern matching |
283
- | **Haiku** | Mechanical execution, simple operations, no judgment needed |
284
-
285
- **Examples**:
286
- - `exploration-agent` uses opus - codebase analysis requires deep reasoning
287
- - `delivery-validator` uses sonnet - validation is structured
288
- - `simple-fixer` uses haiku - mechanically applies pre-defined fixes
289
- - `worktree-manager` uses haiku - scripted git commands
188
+ | **Opus** | Complex reasoning, analysis where imperfection compounds |
189
+ | **Sonnet** | Validation, pattern matching, most agents |
190
+ | **Haiku** | Mechanical execution, no judgment needed |
290
191
  </model-selection>
291
192
 
292
193
  <priorities>
@@ -301,7 +202,7 @@ Cannot skip in /next-task:
301
202
 
302
203
  <end-reminder>
303
204
  **REMEMBER**:
304
- - No summary files (`*_AUDIT.md`, `*_SUMMARY.md`) - use CHANGELOG.md
205
+ - Use CHANGELOG.md for completion tracking (not summary files)
305
206
  - BEFORE starting → Read the relevant checklist (`checklists/*.md`)
306
207
  - BEFORE delivering any work, especially releases → Go through that checklist item by item
307
208
  - 3 platforms: Claude Code + OpenCode + Codex - ALL must work
package/CHANGELOG.md CHANGED
@@ -7,6 +7,54 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [4.0.0] - 2026-02-05
11
+
12
+ ### Added
13
+ - **New /learn Plugin** - Research any topic online and create comprehensive learning guides
14
+ - Gathers 10-40 online sources based on depth level (brief/medium/deep)
15
+ - Uses progressive query architecture (funnel approach: broad → specific → deep)
16
+ - Implements source quality scoring (authority, recency, depth, examples, uniqueness)
17
+ - Just-in-time retrieval to avoid context rot
18
+ - Creates topic-specific guides in `agent-knowledge/` directory
19
+ - Maintains CLAUDE.md/AGENTS.md as master RAG indexes
20
+ - Self-evaluation step for output quality assessment
21
+ - Integrates with enhance:enhance-docs and enhance:enhance-prompts
22
+ - Opus model for high-quality research synthesis
23
+
24
+ ### Changed
25
+ - **Agent Frontmatter Format** - Converted all 29 agents to YAML array format for tools field (Claude Code spec compliance)
26
+ - **Argument Hints** - Aligned all argument-hint fields to official `[placeholder]` format
27
+ - **Plugin Count** - Now 10 plugins total (added learn)
28
+
29
+ ### Fixed
30
+ - **Semver Sorting** - Fixed version comparison so "1.10.0" correctly > "1.9.9"
31
+ - **CodeQL Security** - Escape backslashes in glob pattern matching
32
+ - **Path Traversal** - Use `path.relative()` instead of `startsWith()` for Windows compatibility
33
+
34
+ ## [4.0.0-rc.1] - 2026-02-05
35
+
36
+ ### Added
37
+ - **New /learn Plugin** - Research any topic online and create comprehensive learning guides
38
+ - Gathers 10-40 online sources based on depth level (brief/medium/deep)
39
+ - Uses progressive query architecture (funnel approach: broad → specific → deep)
40
+ - Implements source quality scoring (authority, recency, depth, examples, uniqueness)
41
+ - Just-in-time retrieval to avoid context rot
42
+ - Creates topic-specific guides in `agent-knowledge/` directory
43
+ - Maintains CLAUDE.md/AGENTS.md as master RAG indexes
44
+ - Self-evaluation step for output quality assessment
45
+ - Integrates with enhance:enhance-docs and enhance:enhance-prompts
46
+ - Opus model for high-quality research synthesis
47
+
48
+ ### Changed
49
+ - **Agent Frontmatter Format** - Converted all 29 agents to YAML array format for tools field (Claude Code spec compliance)
50
+ - **Argument Hints** - Aligned all argument-hint fields to official `[placeholder]` format
51
+ - **Plugin Count** - Now 10 plugins total (added learn)
52
+
53
+ ### Fixed
54
+ - **Semver Sorting** - Fixed version comparison so "1.10.0" correctly > "1.9.9"
55
+ - **CodeQL Security** - Escape backslashes in glob pattern matching
56
+ - **Path Traversal** - Use `path.relative()` instead of `startsWith()` for Windows compatibility
57
+
10
58
  ## [3.9.0] - 2026-02-04
11
59
 
12
60
  ### Fixed
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  AI models can write code. That's not the hard part anymore. The hard part is everything else—picking what to work on, managing branches, reviewing output, cleaning up artifacts, handling CI, addressing comments, deploying. **awesome-slash automates the entire workflow**, not just the coding.
10
10
 
11
- **9 plugins · 39 agents · 25 skills · 26k lines of lib code · 3,357 tests · 3 platforms**
11
+ **10 plugins · 39 agents · 25 skills · 26k lines of lib code · 3,357 tests · 3 platforms**
12
12
 
13
13
  If you find this useful: [⭐ Star the repo](https://github.com/avifenesh/awesome-slash)
14
14
 
@@ -59,6 +59,7 @@ This came from testing on 1,000+ repositories.
59
59
  | [`/enhance`](#enhance) | Analyzes prompts, agents, plugins, docs, hooks, skills |
60
60
  | [`/repo-map`](#repo-map) | AST symbol and import mapping via ast-grep |
61
61
  | [`/sync-docs`](#sync-docs) | Finds outdated references, stale examples, missing CHANGELOG entries |
62
+ | [`/learn`](#learn) | Research any topic, gather online sources, create learning guide with RAG index |
62
63
 
63
64
  Each command works standalone. Together, they form complete workflows.
64
65
 
@@ -71,10 +72,11 @@ Each command works standalone. Together, they form complete workflows.
71
72
  | Category | Skills |
72
73
  |----------|--------|
73
74
  | **Performance** | `perf:analyzer`, `perf:baseline`, `perf:benchmark`, `perf:code-paths`, `perf:investigation-logger`, `perf:profile`, `perf:theory`, `perf:theory-tester` |
74
- | **Enhancement** | `enhance:agent-prompts`, `enhance:claude-memory`, `enhance:cross-file`, `enhance:docs`, `enhance:hooks`, `enhance:orchestrator`, `enhance:plugins`, `enhance:prompts`, `enhance:reporter`, `enhance:skills` |
75
+ | **Enhancement** | `enhance:agent-prompts`, `enhance:claude-memory`, `enhance:cross-file`, `enhance:docs`, `enhance:hooks`, `enhance:orchestrator`, `enhance:plugins`, `enhance:prompts`, `enhance:skills` |
75
76
  | **Workflow** | `next-task:orchestrate-review`, `next-task:discover-tasks`, `next-task:validate-delivery` |
76
77
  | **Cleanup** | `deslop:deslop`, `sync-docs:sync-docs` |
77
78
  | **Analysis** | `drift-detect:drift-analysis`, `repo-map:repo-mapping` |
79
+ | **Learning** | `learn:learn` |
78
80
 
79
81
  Skills give your agents specialized capabilities. When you install a plugin, its skills become available to all agents in that session.
80
82
 
@@ -468,6 +470,51 @@ You refactor `auth.js` into `auth/index.js`. Your README still says `import from
468
470
 
469
471
  ---
470
472
 
473
+ ### /learn
474
+
475
+ **Purpose:** Research any topic online and create a comprehensive learning guide with RAG-optimized indexes.
476
+
477
+ **What it does:**
478
+
479
+ 1. **Progressive Discovery** - Uses funnel approach (broad → specific → deep) to find quality sources
480
+ 2. **Quality Scoring** - Scores sources by authority, recency, depth, examples, uniqueness
481
+ 3. **Just-In-Time Extraction** - Fetches only high-scoring sources to save tokens
482
+ 4. **Synthesis** - Creates structured learning guide with examples and best practices
483
+ 5. **RAG Index** - Updates CLAUDE.md/AGENTS.md master index for future lookups
484
+ 6. **Enhancement** - Runs enhance:enhance-docs and enhance:enhance-prompts
485
+
486
+ **Depth levels:**
487
+
488
+ | Depth | Sources | Use Case |
489
+ |-------|---------|----------|
490
+ | brief | 10 | Quick overview |
491
+ | medium | 20 | Default, balanced |
492
+ | deep | 40 | Comprehensive |
493
+
494
+ **Output structure:**
495
+
496
+ ```
497
+ agent-knowledge/
498
+ CLAUDE.md # Master index (updated each run)
499
+ AGENTS.md # Index for OpenCode/Codex
500
+ recursion.md # Topic-specific guide
501
+ resources/
502
+ recursion-sources.json # Source metadata with quality scores
503
+ ```
504
+
505
+ **Usage:**
506
+
507
+ ```bash
508
+ /learn recursion # Default (20 sources)
509
+ /learn react hooks --depth=deep # Comprehensive (40 sources)
510
+ /learn kubernetes --depth=brief # Quick overview (10 sources)
511
+ /learn python async --no-enhance # Skip enhancement pass
512
+ ```
513
+
514
+ **Agent:** learn-agent (opus model for research quality)
515
+
516
+ ---
517
+
471
518
  ## How Commands Work Together
472
519
 
473
520
  **Standalone use:**
@@ -271,7 +271,7 @@ if [ -d "$LEGACY_AGENTS_DIR" ]; then
271
271
  known_agents=(
272
272
  'agent-enhancer.md' 'ci-fixer.md' 'ci-monitor.md' 'claudemd-enhancer.md'
273
273
  'delivery-validator.md' 'deslop-agent.md' 'docs-enhancer.md' 'enhancement-orchestrator.md'
274
- 'enhancement-reporter.md' 'exploration-agent.md' 'hooks-enhancer.md' 'implementation-agent.md'
274
+ 'exploration-agent.md' 'hooks-enhancer.md' 'implementation-agent.md' 'learn-agent.md'
275
275
  'map-validator.md' 'perf-analyzer.md' 'perf-code-paths.md' 'perf-investigation-logger.md'
276
276
  'perf-orchestrator.md' 'perf-theory-gatherer.md' 'perf-theory-tester.md' 'plan-synthesizer.md'
277
277
  'planning-agent.md' 'plugin-enhancer.md' 'prompt-enhancer.md' 'simple-fixer.md'
package/bin/cli.js CHANGED
@@ -220,7 +220,7 @@ function installForClaude() {
220
220
  }
221
221
 
222
222
  // PLUGINS_ARRAY - Install or update plugins
223
- const plugins = ['next-task', 'ship', 'deslop', 'audit-project', 'drift-detect', 'enhance', 'sync-docs', 'repo-map', 'perf'];
223
+ const plugins = ['next-task', 'ship', 'deslop', 'audit-project', 'drift-detect', 'enhance', 'sync-docs', 'repo-map', 'perf', 'learn'];
224
224
  for (const plugin of plugins) {
225
225
  console.log(` Installing ${plugin}...`);
226
226
  try {
@@ -237,7 +237,7 @@ function installForClaude() {
237
237
  }
238
238
 
239
239
  console.log('\n[OK] Claude Code installation complete!\n');
240
- console.log('Commands: /next-task, /ship, /deslop, /audit-project, /drift-detect, /enhance, /perf');
240
+ console.log('Commands: /next-task, /ship, /deslop, /audit-project, /drift-detect, /enhance, /perf, /learn');
241
241
  return true;
242
242
  } catch (err) {
243
243
  console.log('[ERROR] Auto-install failed. Manual installation:');
@@ -261,7 +261,7 @@ function installForClaudeDevelopment() {
261
261
  }
262
262
 
263
263
  const pluginsDir = getClaudePluginsDir();
264
- const plugins = ['next-task', 'ship', 'deslop', 'audit-project', 'drift-detect', 'enhance', 'sync-docs', 'repo-map', 'perf'];
264
+ const plugins = ['next-task', 'ship', 'deslop', 'audit-project', 'drift-detect', 'enhance', 'sync-docs', 'repo-map', 'perf', 'learn'];
265
265
 
266
266
  // Remove marketplace plugins first
267
267
  console.log('Removing marketplace plugins...');
@@ -310,7 +310,7 @@ function installForClaudeDevelopment() {
310
310
 
311
311
  console.log('\n[OK] Claude Code development installation complete!');
312
312
  console.log(' Plugins installed to: ' + pluginsDir);
313
- console.log(' Commands: /next-task, /ship, /deslop, /audit-project, /drift-detect, /enhance, /perf');
313
+ console.log(' Commands: /next-task, /ship, /deslop, /audit-project, /drift-detect, /enhance, /perf, /learn');
314
314
  console.log('\n[NOTE] To revert to marketplace version:');
315
315
  console.log(' rm -rf ~/.claude/plugins/*@awesome-slash');
316
316
  console.log(' awesome-slash --tool claude');
@@ -370,7 +370,8 @@ function installForOpenCode(installDir, options = {}) {
370
370
  ['ship.md', 'ship', 'ship.md'],
371
371
  ['drift-detect.md', 'drift-detect', 'drift-detect.md'],
372
372
  ['repo-map.md', 'repo-map', 'repo-map.md'],
373
- ['perf.md', 'perf', 'perf.md']
373
+ ['perf.md', 'perf', 'perf.md'],
374
+ ['learn.md', 'learn', 'learn.md']
374
375
  ];
375
376
 
376
377
  // Helper function to transform content for OpenCode
@@ -574,7 +575,7 @@ After user answers, proceed to Phase 2 with the selected policy.
574
575
  fs.mkdirSync(agentsDir, { recursive: true });
575
576
 
576
577
  console.log(' Installing agents for OpenCode...');
577
- const pluginDirs = ['next-task', 'enhance', 'audit-project', 'drift-detect', 'ship', 'deslop', 'repo-map', 'perf', 'sync-docs'];
578
+ const pluginDirs = ['next-task', 'enhance', 'audit-project', 'drift-detect', 'ship', 'deslop', 'repo-map', 'perf', 'sync-docs', 'learn'];
578
579
  let agentCount = 0;
579
580
 
580
581
  for (const pluginName of pluginDirs) {
@@ -686,7 +687,7 @@ After user answers, proceed to Phase 2 with the selected policy.
686
687
  console.log(` Commands: ${commandsDir}`);
687
688
  console.log(` Agents: ${agentsDir}`);
688
689
  console.log(` Plugin: ${pluginDir}`);
689
- console.log(' Access via: /next-task, /ship, /deslop, /audit-project, /drift-detect, /enhance, /sync-docs, /perf');
690
+ console.log(' Access via: /next-task, /ship, /deslop, /audit-project, /drift-detect, /enhance, /sync-docs, /perf, /learn');
690
691
  console.log(' Native features: Auto-thinking selection, workflow enforcement, session compaction\n');
691
692
  return true;
692
693
  }
@@ -749,7 +750,9 @@ function installForCodex(installDir) {
749
750
  ['delivery-approval', 'next-task', 'delivery-approval.md',
750
751
  'Use when user asks to "validate delivery", "approve for shipping", "check if ready to ship", "verify task completion". Autonomous validation that tests pass, build succeeds, and requirements are met.'],
751
752
  ['sync-docs', 'sync-docs', 'sync-docs.md',
752
- 'Use when user asks to "update docs", "sync documentation", "fix outdated docs", "refresh README". Compares documentation to actual code and fixes discrepancies.']
753
+ 'Use when user asks to "update docs", "sync documentation", "fix outdated docs", "refresh README". Compares documentation to actual code and fixes discrepancies.'],
754
+ ['learn', 'learn', 'learn.md',
755
+ 'Use when user asks to "learn about topic", "research subject", "create learning guide", "build knowledge base", "study topic". Gathers online sources and synthesizes comprehensive guide with RAG index.']
753
756
  ];
754
757
 
755
758
  for (const [skillName, plugin, sourceFile, description] of skillMappings) {