liteagents 3.0.0 → 3.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 (154) hide show
  1. package/CHANGELOG.md +122 -1
  2. package/README.md +113 -169
  3. package/installer/cli.js +4 -2
  4. package/package.json +4 -3
  5. package/packages/ampcode/AGENT.md +10 -18
  6. package/packages/ampcode/agents/code-developer.md +11 -17
  7. package/packages/ampcode/agents/orchestrator.md +1 -1
  8. package/packages/ampcode/agents/quality-assurance.md +3 -1
  9. package/packages/ampcode/{commands/brainstorming.md → skills/brainstorming/SKILL.md} +2 -3
  10. package/packages/ampcode/{commands/branch-review.md → skills/branch-review/SKILL.md} +13 -13
  11. package/packages/{claude/commands/docs-builder.md → ampcode/skills/docs-builder/SKILL.md} +1 -1
  12. package/packages/ampcode/{commands/live-canvas.md → skills/live-canvas/SKILL.md} +8 -4
  13. package/packages/ampcode/{commands/refactor.md → skills/refactor/SKILL.md} +49 -7
  14. package/packages/ampcode/{commands/release.md → skills/release/SKILL.md} +4 -4
  15. package/packages/{claude/commands → ampcode/skills}/remember/AGENT_RULES.md +44 -84
  16. package/packages/ampcode/{commands/remember.md → skills/remember/SKILL.md} +11 -6
  17. package/packages/ampcode/{commands → skills}/remember/friction.cjs +0 -0
  18. package/packages/ampcode/{commands → skills}/remember/stub-check.cjs +28 -19
  19. package/packages/ampcode/{commands → skills}/remember/sync-rules.cjs +28 -19
  20. package/packages/{claude/commands → ampcode/skills}/remember/version-check.cjs +1 -1
  21. package/packages/ampcode/skills/root-cause/SKILL.md +220 -0
  22. package/packages/ampcode/{commands/trace-back → skills/root-cause}/find-polluter.sh +0 -0
  23. package/packages/{claude/commands/security.md → ampcode/skills/security/SKILL.md} +1 -1
  24. package/packages/{claude/commands/ship.md → ampcode/skills/ship/SKILL.md} +1 -1
  25. package/packages/ampcode/skills/skill-creator/LICENSE.txt +202 -0
  26. package/packages/ampcode/{commands/skill-creator.md → skills/skill-creator/SKILL.md} +1 -2
  27. package/packages/ampcode/{commands → skills}/skill-creator/scripts/init_skill.py +0 -0
  28. package/packages/ampcode/{commands → skills}/skill-creator/scripts/package_skill.py +0 -0
  29. package/packages/ampcode/{commands → skills}/skill-creator/scripts/quick_validate.py +0 -0
  30. package/packages/ampcode/{commands/stash.md → skills/stash/SKILL.md} +2 -1
  31. package/packages/{claude/commands/test-generate.md → ampcode/skills/test-generate/SKILL.md} +2 -2
  32. package/packages/ampcode/variants.json +2 -2
  33. package/packages/claude/CLAUDE.md +10 -17
  34. package/packages/claude/agents/code-developer.md +11 -17
  35. package/packages/claude/agents/orchestrator.md +2 -3
  36. package/packages/claude/agents/quality-assurance.md +3 -1
  37. package/packages/claude/skills/brainstorming/SKILL.md +1 -2
  38. package/packages/claude/{commands/branch-review.md → skills/branch-review/SKILL.md} +1 -1
  39. package/packages/{ampcode/commands/docs-builder.md → claude/skills/docs-builder/SKILL.md} +7 -7
  40. package/packages/claude/skills/live-canvas/SKILL.md +5 -1
  41. package/packages/claude/{commands/refactor.md → skills/refactor/SKILL.md} +45 -3
  42. package/packages/claude/{commands/release.md → skills/release/SKILL.md} +1 -1
  43. package/packages/{ampcode/commands → claude/skills}/remember/AGENT_RULES.md +38 -78
  44. package/packages/claude/{commands/remember.md → skills/remember/SKILL.md} +11 -6
  45. package/packages/claude/{commands → skills}/remember/friction.cjs +0 -0
  46. package/packages/claude/{commands → skills}/remember/stub-check.cjs +28 -19
  47. package/packages/claude/{commands → skills}/remember/sync-rules.cjs +28 -19
  48. package/packages/{ampcode/commands → claude/skills}/remember/version-check.cjs +3 -3
  49. package/packages/claude/skills/root-cause/SKILL.md +220 -0
  50. package/packages/{ampcode/commands/security.md → claude/skills/security/SKILL.md} +2 -2
  51. package/packages/{ampcode/commands/ship.md → claude/skills/ship/SKILL.md} +2 -2
  52. package/packages/claude/skills/skill-creator/SKILL.md +1 -2
  53. package/packages/claude/{commands/stash.md → skills/stash/SKILL.md} +2 -1
  54. package/packages/{ampcode/commands/test-generate.md → claude/skills/test-generate/SKILL.md} +3 -3
  55. package/packages/claude/variants.json +1 -2
  56. package/packages/droid/AGENTS.md +10 -15
  57. package/packages/droid/commands/brainstorming.md +1 -4
  58. package/packages/droid/commands/branch-review.md +11 -14
  59. package/packages/droid/commands/docs-builder.md +0 -3
  60. package/packages/droid/commands/live-canvas.md +7 -5
  61. package/packages/droid/commands/refactor.md +47 -8
  62. package/packages/droid/commands/release.md +2 -5
  63. package/packages/droid/commands/remember/AGENT_RULES.md +38 -78
  64. package/packages/droid/commands/remember/stub-check.cjs +28 -19
  65. package/packages/droid/commands/remember/sync-rules.cjs +28 -19
  66. package/packages/droid/commands/remember/version-check.cjs +1 -1
  67. package/packages/droid/commands/remember.md +6 -4
  68. package/packages/droid/commands/root-cause.md +218 -0
  69. package/packages/droid/commands/security.md +0 -3
  70. package/packages/droid/commands/ship.md +0 -3
  71. package/packages/droid/commands/skill-creator/LICENSE.txt +202 -0
  72. package/packages/droid/commands/skill-creator.md +0 -4
  73. package/packages/droid/commands/stash.md +0 -2
  74. package/packages/droid/commands/test-generate.md +1 -4
  75. package/packages/droid/droids/1-create-prd.md +6 -2
  76. package/packages/droid/droids/2-generate-tasks.md +1 -2
  77. package/packages/droid/droids/3-process-task-list.md +1 -2
  78. package/packages/droid/droids/code-developer.md +12 -19
  79. package/packages/droid/droids/feature-planner.md +1 -2
  80. package/packages/droid/droids/market-researcher.md +1 -2
  81. package/packages/droid/droids/orchestrator.md +1 -2
  82. package/packages/droid/droids/quality-assurance.md +4 -3
  83. package/packages/droid/droids/system-architect.md +1 -2
  84. package/packages/droid/droids/ui-designer.md +1 -2
  85. package/packages/opencode/AGENTS.md +10 -15
  86. package/packages/opencode/agent/code-developer.md +11 -17
  87. package/packages/opencode/agent/quality-assurance.md +3 -1
  88. package/packages/opencode/command/brainstorming.md +1 -4
  89. package/packages/opencode/command/branch-review.md +11 -15
  90. package/packages/opencode/command/docs-builder.md +0 -4
  91. package/packages/opencode/command/live-canvas.md +7 -5
  92. package/packages/opencode/command/refactor.md +47 -9
  93. package/packages/opencode/command/release.md +2 -5
  94. package/packages/opencode/command/remember/AGENT_RULES.md +38 -78
  95. package/packages/opencode/command/remember/stub-check.cjs +28 -19
  96. package/packages/opencode/command/remember/sync-rules.cjs +28 -19
  97. package/packages/opencode/command/remember/version-check.cjs +1 -1
  98. package/packages/opencode/command/remember.md +6 -4
  99. package/packages/opencode/command/root-cause.md +218 -0
  100. package/packages/opencode/command/security.md +0 -4
  101. package/packages/opencode/command/ship.md +0 -3
  102. package/packages/opencode/command/skill-creator/LICENSE.txt +202 -0
  103. package/packages/opencode/command/skill-creator.md +0 -4
  104. package/packages/opencode/command/stash.md +0 -3
  105. package/packages/opencode/command/test-generate.md +1 -5
  106. package/packages/opencode/opencode.jsonc +4 -24
  107. package/packages/subagentic-manual.md +147 -314
  108. package/packages/ampcode/commands/debug-method.md +0 -297
  109. package/packages/ampcode/commands/live-canvas/README.md +0 -264
  110. package/packages/ampcode/commands/optimize.md +0 -61
  111. package/packages/ampcode/commands/tdd-flow.md +0 -390
  112. package/packages/ampcode/commands/test-traps/example.ts +0 -158
  113. package/packages/ampcode/commands/test-traps.md +0 -378
  114. package/packages/ampcode/commands/trace-back.md +0 -176
  115. package/packages/ampcode/commands/verify-done.md +0 -152
  116. package/packages/claude/commands/optimize.md +0 -61
  117. package/packages/claude/plugins/live-canvas-marketplace/plugins/live-canvas-channel/README.md +0 -89
  118. package/packages/claude/skills/debug-method/CREATION-LOG.md +0 -119
  119. package/packages/claude/skills/debug-method/SKILL.md +0 -296
  120. package/packages/claude/skills/debug-method/test-academic.md +0 -14
  121. package/packages/claude/skills/debug-method/test-pressure-1.md +0 -58
  122. package/packages/claude/skills/debug-method/test-pressure-2.md +0 -68
  123. package/packages/claude/skills/debug-method/test-pressure-3.md +0 -69
  124. package/packages/claude/skills/live-canvas/README.md +0 -269
  125. package/packages/claude/skills/tdd-flow/SKILL.md +0 -392
  126. package/packages/claude/skills/test-traps/SKILL.md +0 -378
  127. package/packages/claude/skills/test-traps/example.ts +0 -158
  128. package/packages/claude/skills/trace-back/SKILL.md +0 -176
  129. package/packages/claude/skills/verify-done/SKILL.md +0 -152
  130. package/packages/droid/commands/debug-method.md +0 -297
  131. package/packages/droid/commands/live-canvas/README.md +0 -264
  132. package/packages/droid/commands/optimize.md +0 -61
  133. package/packages/droid/commands/tdd-flow.md +0 -390
  134. package/packages/droid/commands/test-traps/example.ts +0 -158
  135. package/packages/droid/commands/test-traps.md +0 -378
  136. package/packages/droid/commands/trace-back.md +0 -176
  137. package/packages/droid/commands/verify-done.md +0 -152
  138. package/packages/opencode/command/debug-method.md +0 -297
  139. package/packages/opencode/command/live-canvas/README.md +0 -264
  140. package/packages/opencode/command/optimize.md +0 -61
  141. package/packages/opencode/command/tdd-flow.md +0 -390
  142. package/packages/opencode/command/test-traps/example.ts +0 -158
  143. package/packages/opencode/command/test-traps.md +0 -378
  144. package/packages/opencode/command/trace-back.md +0 -176
  145. package/packages/opencode/command/verify-done.md +0 -152
  146. /package/packages/ampcode/{commands → skills}/docs-builder/docs-builder.cjs +0 -0
  147. /package/packages/ampcode/{commands → skills}/live-canvas/DESIGN_PRINCIPLES.md +0 -0
  148. /package/packages/ampcode/{commands → skills}/live-canvas/dev/post-variants.html +0 -0
  149. /package/packages/ampcode/{commands → skills}/live-canvas/templates/lab-banner.html +0 -0
  150. /package/packages/ampcode/{commands → skills}/live-canvas/templates/overlay-vanilla.js +0 -0
  151. /package/packages/claude/{commands → skills}/docs-builder/docs-builder.cjs +0 -0
  152. /package/packages/claude/skills/{trace-back → root-cause}/find-polluter.sh +0 -0
  153. /package/packages/droid/commands/{trace-back → root-cause}/find-polluter.sh +0 -0
  154. /package/packages/opencode/command/{trace-back → root-cause}/find-polluter.sh +0 -0
@@ -103,29 +103,13 @@
103
103
  }
104
104
  },
105
105
  "command": {
106
- "debug-method": {
107
- "template": "{file:./command/debug-method.md}",
108
- "description": "Systematic four-phase debugging framework - investigate root cause before any fixes"
109
- },
110
- "verify-done": {
111
- "template": "{file:./command/verify-done.md}",
112
- "description": "Verify work meets requirements before marking complete - prevents incomplete deliverables"
113
- },
114
106
  "skill-creator": {
115
107
  "template": "{file:./command/skill-creator.md}",
116
108
  "description": "Create reusable skills with proper structure, validation, and documentation"
117
109
  },
118
- "tdd-flow": {
119
- "template": "{file:./command/tdd-flow.md}",
120
- "description": "Write test first, watch it fail, write minimal code to pass - ensures tests actually verify behavior"
121
- },
122
- "test-traps": {
123
- "template": "{file:./command/test-traps.md}",
124
- "description": "Identify and avoid common testing anti-patterns that create fragile, useless tests"
125
- },
126
- "trace-back": {
127
- "template": "{file:./command/trace-back.md}",
128
- "description": "Trace issues to their root cause using systematic investigation techniques"
110
+ "root-cause": {
111
+ "template": "{file:./command/root-cause.md}",
112
+ "description": "Find the cause before changing code - evidence, backward trace, one hypothesis, fix at the source"
129
113
  },
130
114
  "brainstorming": {
131
115
  "template": "{file:./command/brainstorming.md}",
@@ -139,13 +123,9 @@
139
123
  "template": "{file:./command/live-canvas.md}",
140
124
  "description": "Design UI variations and collect click-to-annotate feedback from the browser (batch mode only on Opencode)"
141
125
  },
142
- "optimize": {
143
- "template": "{file:./command/optimize.md}",
144
- "description": "Analyze and optimize performance issues"
145
- },
146
126
  "refactor": {
147
127
  "template": "{file:./command/refactor.md}",
148
- "description": "Refactor code while maintaining behavior and tests"
128
+ "description": "Refactor and optimize code while maintaining behavior and tests"
149
129
  },
150
130
  "branch-review": {
151
131
  "template": "{file:./command/branch-review.md}",
@@ -1,384 +1,217 @@
1
1
  # Subagentic Manual
2
2
 
3
- Production-ready AI agent framework providing specialized subagents, workflow commands, and development skills for **Claude Code**, **OpenCode**, **Ampcode**, and **Droid**. Deploy expert AI personas instantly with zero configuration.
3
+ A quick reference for the agent kits: what ships, what each thing does, and where it lands.
4
4
 
5
- ---
6
-
7
- ## Why Subagentic?
8
-
9
- **The Challenge**: Generic AI assistants lack specialized expertise and systematic workflows, leading to inconsistent results and context overload.
5
+ Liteagents started as scaffolding for early LLMs that needed to be told everything. It isn't
6
+ that anymore. Models got smarter, so the toolkit got thinner: specialists you call by name or
7
+ that trigger themselves on domain, wide lanes instead of tight rails, constraints on *what*
8
+ rather than scripts for *how*.
10
9
 
11
- **The Solution**: Subagentic provides:
12
- - **Role-Specialized Agents** - Expert personas (architect, QA, product manager) with domain-specific knowledge
13
- - **Systematic Workflows** - Proven development patterns (PRD → Tasks → Implementation)
14
- - **Orchestrator-First Routing** - Automatic workflow matching based on user intent
15
- - **Frontmatter-Based Discovery** - All resources self-describe via YAML frontmatter
16
- - **Platform Agnostic** - Works across Claude Code, OpenCode, Ampcode, and Droid
17
-
18
- **The Result**: Predictable, high-quality outputs from specialized agents following best practices, without manually switching contexts or crafting complex prompts.
10
+ It is actively challenged, pruned and rewritten — things get renamed, added, and deleted as
11
+ models improve. That churn is the point.
19
12
 
20
13
  ---
21
14
 
22
15
  ## Quick Start
23
16
 
24
- Clone the toolkit:
25
17
  ```bash
26
- git clone https://github.com/hamr0/agentic-toolkit
27
- cd agentic-toolkit/ai/subagentic
18
+ npx liteagents # interactive installer, auto-updates
28
19
  ```
29
20
 
30
- Install for your platform:
31
-
32
- | Platform | Installation | What's Included |
33
- |----------|--------------|-----------------|
34
- | **Claude Code** | `cp -r claude/* ~/.claude/` | 10 subagents + 8 skills + 10 commands + live-canvas-channel plugin |
35
- | **Droid** | `cp -r droid/* ~/.factory/` | 10 subagents + 18 commands |
36
- | **Ampcode** | `cp -r ampcode/* ~/.config/amp/` | 10 subagents + 18 commands |
37
- | **OpenCode** | `cp -r opencode/* ~/.config/opencode/` | 10 subagents + 18 commands |
38
-
39
- **Key Difference**:
40
- - All four platforms ship the same 10 subagents and the same 18 capabilities
41
- - **Claude Code** splits them into 8 skills (3 auto-trigger) + 10 commands
42
- - **Droid / OpenCode / Ampcode** expose all 18 as commands — no auto-triggering
43
-
44
- ---
45
-
46
- ## What's Included
47
-
48
- ### Claude Code (skills + commands)
49
-
50
- **10 Subagents** - Expert personas with specialized knowledge
51
- - 3 Workflow Agents (PRD, Tasks, Implementation)
52
- - 8 Specialist Agents (UX, QA, Architecture, Product, Development, etc.)
53
-
54
- **8 Skills** - Auto-triggering + manual workflow components
55
- - tdd-flow, test-traps, verify-done (auto-trigger)
56
- - brainstorming, debug-method, live-canvas, skill-creator, trace-back
21
+ Or copy a kit manually:
57
22
 
58
- **10 Commands** - Workflow helpers
59
- - docs-builder, optimize, refactor, remember, branch-review, security, ship, release, stash, test-generate
23
+ | Platform | Installation | What lands there |
24
+ |----------|--------------|------------------|
25
+ | **Claude Code** | `cp -r packages/claude/* ~/.claude/` | 10 subagents + 13 skills + live-canvas-channel plugin |
26
+ | **Droid** | `cp -r packages/droid/* ~/.factory/` | 10 subagents + 13 commands |
27
+ | **Ampcode** | `cp -r packages/ampcode/* ~/.config/amp/` | 10 subagents + 13 skills |
28
+ | **OpenCode** | `cp -r packages/opencode/* ~/.config/opencode/` | 10 subagents + 13 commands |
60
29
 
61
- **Orchestration System**
62
- - Automatic intent matching to 9 workflow patterns
63
- - Conditional decision points with user approval gates
64
- - Selective context injection
65
-
66
- ### Droid / OpenCode / Ampcode (commands only)
67
-
68
- **10 Subagents** - the same personas, referenced from the platform's config file
69
-
70
- **18 Commands** - All workflow capabilities in command form
71
- - Combines Claude's skills + commands into one unified command set
72
- - Same functionality, different invocation model (no auto-triggering)
73
-
74
- **No Orchestrator** - Direct command invocation only
30
+ All four ship the same 10 subagents and the same 13 capabilities. Claude Code and
31
+ Amp ship all 13 as skills; Droid and OpenCode expose all 13 as commands.
75
32
 
76
33
  ---
77
34
 
78
35
  ## Subagents
79
36
 
80
- ### Workflow Agents (3)
37
+ Invoke with `@name` (Claude Code / OpenCode / Amp) or `invoke droid name`.
81
38
 
82
- | Agent | Purpose |
83
- |-------|---------|
84
- | **1-create-prd** | Define scope with structured Product Requirement Documents |
85
- | **2-generate-tasks** | Break PRDs into granular, actionable task lists |
86
- | **3-process-task-list** | Execute tasks iteratively with progress tracking and review checkpoints |
39
+ **Workflow agents (3)** the sequence: PRD → Tasks → Iterative implementation → Review.
87
40
 
88
- **Pattern**: PRD Tasks Iterative Implementation → Review → Complete
41
+ | Agent | What it's for |
42
+ |---|---|
43
+ | `1-create-prd` | Define scope as a PRD — a portal into the work, not a spec to obey |
44
+ | `2-generate-tasks` | Break a PRD into granular, actionable tasks |
45
+ | `3-process-task-list` | Execute tasks one at a time with review checkpoints |
89
46
 
90
- ### Specialist Agents (8)
47
+ **Specialist agents (7)**
91
48
 
92
- | Agent | Purpose |
93
- |-------|---------|
94
- | **orchestrator** | Analyze intent, coordinate workflows, route to optimal agent sequences |
95
- | **ui-designer** | UI/UX design, wireframes, prototypes, accessibility, design systems |
96
- | **code-developer** | Implementation, debugging, refactoring, code best practices |
97
- | **quality-assurance** | Test architecture, quality gates, requirements traceability, risk assessment |
98
- | **system-architect** | System design, technology selection, API design, scalability planning |
99
- | **feature-planner** | Epics, user stories, prioritization, backlog management, retrospectives |
100
- | **market-researcher** | Market analysis, competitive research, project discovery, brainstorming |
49
+ | Agent | What it's for |
50
+ |---|---|
51
+ | `orchestrator` | Read intent, route to the right agent sequence |
52
+ | `code-developer` | Implementation, debugging, refactoring |
53
+ | `quality-assurance` | Test architecture, quality gates, risk assessment |
54
+ | `feature-planner` | Epics, user stories, prioritization, backlog |
55
+ | `market-researcher` | Market and competitive analysis, project discovery |
56
+ | `system-architect` | System design, tech selection, API design, scale |
57
+ | `ui-designer` | UI/UX, wireframes, prototypes, design systems |
101
58
 
102
59
  ---
103
60
 
104
- ## Commands Reference
105
-
106
- ### Claude Code: 18 Total (8 Skills + 10 Commands)
107
-
108
- **Auto-Triggering Skills (3)**
109
- - `tdd-flow` - Write test first, watch fail, minimal passing code
110
- - `test-traps` - Prevent mocking anti-patterns and test pollution
111
- - `verify-done` - Run verification before claiming done
112
-
113
- **Manual Skills (5)**
114
- - `brainstorming` - Refine rough ideas through collaborative questioning
115
- - `live-canvas` - Design UI variations with click-to-annotate browser feedback. **Claude Code ships a companion MCP channel plugin (`live-canvas-channel`) that enables live mode — each overlay Save streams into the session in real time.** Other tools run in batch mode only. One-time setup required: see `packages/claude/skills/live-canvas/README.md`.
116
- - `trace-back` - Trace bugs backward through call stack
117
- - `skill-creator` - Guide for creating new skills
118
- - `debug-method` - Four-phase debugging framework
119
-
120
- **Commands (10)**
121
- - `docs-builder` - Reorg a docs corpus, split an oversized doc, search it, keep pages current, index them
122
- - `optimize` - Performance analysis
123
- - `refactor` - Maintain behavior while improving code
124
- - `remember` - Consolidate stashes + friction into project memory
125
- - `branch-review` - Review a branch + full security audit; verifies findings, reports without fixing
126
- - `security` - Vulnerability scanning
127
- - `ship` - Pre-deployment checklist
128
- - `release` - Prepare a release: verify → docs → bump → commit, then report the merge/tag/publish sequence for you to authorize
129
- - `stash` - Save session context for compaction recovery or handoffs
130
- - `test-generate` - Test suite generation
131
-
132
- ### Droid / OpenCode / Ampcode: 18 Commands
133
-
134
- Same functionality as skills+commands, but:
135
- - All invoked as commands (no auto-triggering)
136
- - Unified command set
137
- - `live-canvas` runs in batch mode only (no channel plugin — that's Claude Code specific)
138
-
139
- **Command Categories**:
140
- - **Development & Testing (6)**: tdd-flow, test-traps, test-generate, debug-method, trace-back, verify-done
141
- - **Code Operations (6)**: refactor, optimize, branch-review, security, ship, release
142
- - **Session & Memory (5)**: brainstorming, skill-creator, docs-builder, stash, remember
143
- - **Design (1)**: live-canvas
144
-
145
- ---
61
+ ## Commands & skills
146
62
 
147
- ## Hot Memory
63
+ 13 capabilities. On Claude Code and Amp all 13 are skills — Claude merged
64
+ commands into skills, Amp removed commands outright. On Droid and OpenCode all
65
+ 13 are commands.
148
66
 
149
- Lightweight session memory that learns from your usage patterns across sessions. **`/stash` is
150
- the only command you actively run — it drives the whole pipeline.** Once a few stashes pile up
151
- it nudges you to run `/remember`, which does everything else: friction analysis, consolidation,
152
- and wiring the memory into your agent config file.
67
+ | Command | What it's for |
68
+ |---|---|
69
+ | `/stash` | Snapshot this session's context before compaction or handoff |
70
+ | `/remember` | Fold stashes + friction into hot project memory |
71
+ | `/docs-builder` | Reorg, index, and split a docs corpus so search actually finds things |
72
+ | `/branch-review` | Full pre-merge review — blockers reported, nits to the fix ledger |
73
+ | `/release` | Docs sweep, version bump, local commit, then hand back the merge sequence |
74
+ | `/refactor` | Clear the fix ledger; with args, refactor and optimize a named area |
75
+ | `/security` | Standalone vulnerability audit (also stage 2 of `/branch-review`) |
76
+ | `/ship` | Mechanical pre-deploy gate — tests, build, tree state, pass/fail only |
77
+ | `/test-generate` | Generate a test suite and verify each test exercises real code |
78
+ | `/brainstorming` | Turn a rough idea into a formed design by questioning |
79
+ | `/root-cause` | Find the cause before changing code — evidence, backward trace, one hypothesis, fix at the source |
80
+ | `/live-canvas` | UI variations with click-to-annotate feedback in the browser |
81
+ | `/skill-creator` | Build a new skill |
153
82
 
154
- ```
155
- /stash (nudge at 5+ unprocessed) → /remember
156
- ```
83
+ <sub>`/live-canvas` runs in batch mode on Droid / OpenCode / Ampcode — the MCP channel
84
+ plugin is Claude Code specific.</sub>
157
85
 
158
- 1. **`/stash`** - Snapshot current session context to the tool's `…/stash/`. Use before
159
- compaction, handoffs, or ending complex work. The session drafts the raw content inline
160
- (only it holds conversation context), then a mid-tier-model subagent expands and writes the
161
- file dispatched in the background where the tool supports it, falling back to writing
162
- inline otherwise. Whichever actor wrote the file counts the unprocessed backlog
163
- (`stash files − .processed entries`) and, at 5+, nudges you to run `/remember`. No counter is
164
- stored; running `/remember` clears the backlog.
165
- 2. **`/remember`** - Runs friction analysis first (best-effort — scores sessions across *all* your
166
- projects from the tool's global sessions root, clusters failures into antigens), then
167
- consolidates stashes + antigens into `…/remember/MEMORY.md` and injects an explicit
168
- `@<tool-dir>/remember/MEMORY.md` include into the
169
- **per-tool agent config — `CLAUDE.md` (Claude Code), `AGENTS.md` (Droid / OpenCode), or
170
- `AGENT.md` (Ampcode)** — so every future session loads it. Each package writes to its own
171
- tool's config file; the global probe list only governs which logs friction *reads*. Per-stash
172
- extraction runs as concurrent subagent calls on a mid-tier model — no vendor-specific model
173
- name hardcoded, so it works with whatever your tool has configured.
174
- 3. **`AGENT_RULES.md` bootstrap** - On first `/remember` run, if `…/remember/AGENT_RULES.md`
175
- doesn't exist, it's copied from a bundled standards-guide template — never overwritten again
176
- after that, so local edits persist — and injected into the agent config via its own
177
- independent marker pair. It's a guide to consult when building something new, separate from
178
- the MEMORY.md hot-context block above.
179
-
180
- **Result:** Project-local memory that accumulates across sessions — no external dependencies, no databases, just markdown.
86
+ **By category** Development & testing (2): test-generate, root-cause ·
87
+ Code operations (5): refactor, branch-review, security, ship, release ·
88
+ Session & memory (5): brainstorming, skill-creator, docs-builder, stash, remember ·
89
+ Design (1): live-canvas.
181
90
 
182
91
  ---
183
92
 
184
- ## Usage Patterns
93
+ ## The ones that carry the load
185
94
 
186
- ### Claude Code / Ampcode: Orchestrator-First (Recommended)
95
+ ### `AGENT_RULES.md` the architect behind every project
187
96
 
188
- The orchestrator analyzes your request and routes to optimal workflows automatically.
97
+ One lightweight, generic, model-agnostic rules doc. It sets **what** matters and leaves
98
+ wide room on **how**: simple over clever, every line has a purpose, surgical changes,
99
+ exhaust the stdlib before reaching for a dependency, POC before you design.
189
100
 
190
- **How it works**:
191
- 1. Make natural requests: "Add login feature", "Review this PR", "Plan next sprint"
192
- 2. Orchestrator matches intent to workflow patterns
193
- 3. Conditional gates ask for approval before each phase
194
- 4. Specialists execute with domain expertise
101
+ With smarter models a PRD is a **portal, not a deliverable** — the start of a
102
+ conversation. You discover it module by module, reviewing, changing and deleting as
103
+ experience arrives, instead of pinning everything down up front.
195
104
 
196
- **Example Flow - Feature Development**:
197
- ```
198
- User: "Add authentication feature"
199
-
200
- Orchestrator: "Research competitive approaches first?" [Yes/No]
201
- ↓ Yes
202
- Market Researcher: [Gathers auth patterns, OAuth vs JWT tradeoffs]
203
-
204
- Orchestrator: "Create formal PRD?" [Yes/No]
205
- ↓ Yes
206
- 1-Create-PRD: [Structured requirements document]
207
-
208
- Orchestrator: "Generate implementation tasks?" [Yes/No]
209
- ↓ Yes
210
- 2-Generate-Tasks: [20 granular tasks with acceptance criteria]
211
-
212
- Orchestrator: "Start systematic implementation?" [Yes/No]
213
- ↓ Yes
214
- 3-Process-Task-List: [Iterative implementation with review gates]
215
- ```
105
+ It is loaded every session, linked from the agent config, and `/remember` keeps it fresh —
106
+ each run byte-compares your copy against the template that shipped with your install.
216
107
 
217
- **Bypass Options**:
218
- - Direct agent: `@quality-assurance review this code`
219
- - Role syntax: `As system-architect, design the API layer`
220
- - Skills: `/tdd-flow login-feature`
108
+ | your copy | what happens |
109
+ |---|---|
110
+ | identical | nothing — no write, no output |
111
+ | missing | copied in |
112
+ | different | moved to `AGENT_RULES.md.bak`, template copied in, both reported |
221
113
 
222
- ### 9 Pre-Defined Workflow Patterns
114
+ Edits are never destroyed, but they aren't preserved in place either. `.bak` is a
115
+ *single* file the next update overwrites — a customised body survives one release, not two.
223
116
 
224
- 1. **Feature Discovery Flow** - Research PRD Tasks Implementation
225
- 2. **Product Definition Flow** - Strategy → Epics/Stories → Technical Assessment
226
- 3. **Story Implementation Flow** - Validate → Implement → QA Gate
227
- 4. **Architecture Decision Flow** - Constraints → Analysis → Alignment
228
- 5. **UI Development Flow** - Design → PRD (optional) → Implement → Validate
229
- 6. **Bug Triage Flow** - Investigate → Severity Assessment → Fix/Backlog
230
- 7. **Brownfield Discovery Flow** - Context Building → Documentation → Assessment
231
- 8. **Quality Validation Flow** - Review → Pass/Concerns/Fail → Remediation
232
- 9. **Sprint Planning Flow** - Prioritize → Stories → Criteria → Tasks
117
+ ### `/stash``/remember` the daily driver
233
118
 
234
- Each pattern includes conditional decision points requiring user approval.
119
+ **`/stash`** is project-local: one session, one feature or scope or goal. Start fresh on
120
+ delivery, or when context hits ~30% (never past 40%). The stash is the clean handoff to the
121
+ next session.
235
122
 
236
- ### Droid/OpenCode: Direct Command Invocation
123
+ **`/remember`** fires on the nudge every 5 stashes. It folds those 5 in — and it also reads
124
+ across *all* your projects, mining session logs for where you and the model actually
125
+ collided: corrections, dead ends, abandoned flows. Those become rules, so the next session
126
+ is less wrong than this one.
237
127
 
238
- No orchestrator - invoke commands directly:
239
- - `/branch-review <file-or-branch> [level]`
240
- - `/refactor <code-section>`
241
- - `/tdd-flow <feature>`
128
+ Markdown files, no database, no RAG, always hot in context, and it keeps the nuances of
129
+ each project separate. Runs on a mid-tier model.
242
130
 
243
- Subagent workflows require manual coordination.
131
+ ### `/docs-builder` the other daily driver
244
132
 
245
- ---
133
+ Markdown gets out of hand, and a token-hungry agent then can't find the knowledge that
134
+ matters. It indexes everything under `/docs` in four buckets — `product/`, `logs/`,
135
+ `wiki/`, `archive/` — reorganizes, indexes, and splits oversized docs so you don't have to.
136
+ Mid-tier model.
246
137
 
247
- ## Value Proposition
138
+ ### `/live-canvas` — the UI every agent CLI was missing
248
139
 
249
- ### For Individual Developers
250
- - **Instant Expertise** - Access 10 specialist agents without hiring
251
- - **Consistent Quality** - Best practices built into every agent
252
- - **Faster Iteration** - Systematic workflows reduce trial-and-error
253
- - **Learning Tool** - Observe expert patterns and decision-making
140
+ A terminal agent can't see your screen, and you can't describe "that padding, on that card,
141
+ but only on mobile" in words without burning ten minutes.
254
142
 
255
- ### For Teams
256
- - **Standardized Processes** - Shared agent definitions ensure consistency
257
- - **Onboarding Acceleration** - New members learn patterns through agent interactions
258
- - **Documentation Culture** - docs-builder promotes knowledge capture
259
- - **Cross-Functional Collaboration** - Product, design, and engineering agents work together
143
+ `/live-canvas` spins up one lightweight localhost page with your UI on it. You **click the
144
+ thing that needs changing**, type what you want, and submit. Comment on as many elements as
145
+ you like, all in one pass, then send the batch to the agent.
260
146
 
261
- ### For Technical Leaders
262
- - **Scalable Expertise** - Multiply senior-level guidance across projects
263
- - **Quality Gates** - Built-in review and validation checkpoints
264
- - **Architectural Consistency** - system-architect ensures coherent design decisions
265
- - **Reduced Context Switching** - Specialists handle domain-specific work
147
+ - **JSON mode** — feedback lands in a file, you tell the agent to read it. Works in any tool.
148
+ - **Live mode** an MCP channel streams each comment straight into the session, so edits
149
+ land while you're still in the browser. Claude Code only.
266
150
 
267
- ---
151
+ It also ships with real UI direction baked in, so it can generate variations of a screen for
152
+ you to pick from — no more hours spent nudging divs to find out what you actually wanted.
268
153
 
269
- ## Platform Architecture
154
+ ### `/branch-review` → `/release` → `/refactor`
270
155
 
271
- ### Claude Code
272
- ```
273
- ~/.claude/
274
- ├── CLAUDE.md # Registry + orchestrator workflows
275
- ├── agents/ # 10 subagent implementations (*.md)
276
- ├── skills/ # 8 skills (subdirectories with SKILL.md)
277
- └── commands/ # 10 commands (*.md)
278
- ```
279
-
280
- **Features**:
281
- - Full subagent system with orchestrator
282
- - Auto-triggering skills
283
- - Workflow pattern matching
284
- - Progressive agent loading
285
-
286
- ### Ampcode
287
- ```
288
- ~/.config/amp/
289
- ├── AGENT.md # Reference doc (subagents + commands)
290
- ├── agents/ # 10 subagent implementations (*.md)
291
- └── commands/ # 18 commands (*.md)
292
- ```
156
+ - **`/branch-review`** — reviews every change on a branch, medium depth by default. Surfaces
157
+ confirmed blockers only: real bugs, dead and unused code, state-ownership breaks, plus a
158
+ full OWASP-shaped security pass (no leaked keys, no injection, trust boundaries checked)
159
+ that runs at full depth regardless of level. Everything non-blocking goes to the fix ledger.
160
+ - **`/release`** does the pre-release chores you'd otherwise do by hand: README, CHANGELOG,
161
+ PRD, findings, version bump, local commit. Then it tells you you're ready to merge, and
162
+ hands the sequence back. It never pushes.
163
+ - **`/refactor`** — with no arguments, works the fix ledger. Cumulative by design: nits pile
164
+ up until you choose to clear them, so review and release never drown in them.
293
165
 
294
- **Features**:
295
- - Full subagent system with orchestrator
296
- - All capabilities as commands (no auto-triggering)
297
-
298
- ### Droid
299
- ```
300
- ~/.factory/
301
- ├── AGENTS.md # Reference doc (subagents + commands)
302
- ├── droids/ # 10 subagent implementations (*.md)
303
- └── commands/ # 18 commands (*.md)
304
- ```
305
-
306
- **Features**:
307
- - Reference table for subagents
308
- - Direct command invocation (no auto-triggering)
309
-
310
- ### OpenCode
311
- ```
312
- ~/.config/opencode/
313
- ├── AGENTS.md # Reference doc (subagents + commands)
314
- ├── agent/ # 10 subagent implementations (*.md)
315
- └── command/ # 18 commands (*.md)
316
- ```
166
+ ---
317
167
 
318
- **Features**:
319
- - Reference table for subagents
320
- - Direct command invocation (no auto-triggering)
168
+ ## Workflow patterns
321
169
 
322
- ---
170
+ Predefined multi-agent sequences the orchestrator can run. Ask for one by name, or just
171
+ describe the work and let it route.
323
172
 
324
- ## Frontmatter Architecture
173
+ | Workflow | Sequence | When |
174
+ |---|---|---|
175
+ | **Greenfield** | market-researcher → feature-planner → 1-create-prd → 2-generate-tasks → 3-process-task-list | New product or feature from scratch |
176
+ | **Brownfield** | system-architect → feature-planner | Understand an existing codebase |
177
+ | **Feature** | feature-planner → 1-create-prd → 2-generate-tasks → 3-process-task-list | Add a feature to an existing product |
178
+ | **Bug Fix** | code-developer → quality-assurance | Fix and verify |
179
+ | **Sprint** | feature-planner (*sprint-plan) → 2-generate-tasks | Plan a sprint from the backlog |
325
180
 
326
- All resources are self-describing via YAML frontmatter for auto-discovery:
181
+ Each step is a decision point you approve before it runs. To skip the routing entirely,
182
+ call an agent directly (`@quality-assurance review this code`) or run a command
183
+ (`/test-generate src/auth.js`). Droid and OpenCode have no orchestrator — invoke commands directly.
327
184
 
328
- **Subagents** (`agents/*.md`):
329
- ```yaml
330
185
  ---
331
- id: code-developer
332
- title: Full Stack Developer
333
- description: Implement code, debug, refactor
334
- when_to_use: Use for code implementation, debugging, refactoring, and development best practices
335
- model: inherit
336
- color: purple
337
- ---
338
- ```
339
186
 
340
- **Skills** (`skills/*/SKILL.md`):
341
- ```yaml
342
- ---
343
- id: tdd-flow
344
- name: tdd-flow
345
- description: Write test first, watch it fail, write minimal code to pass
346
- usage: /tdd-flow <feature-or-behavior-to-test>
347
- auto_trigger: true
348
- ---
349
- ```
187
+ ## Where it lands
350
188
 
351
- **Commands** (`commands/*.md`):
352
- ```yaml
353
- ---
354
- id: refactor
355
- name: refactor
356
- description: Refactor code while maintaining behavior and tests
357
- usage: /refactor <code-section>
358
- argument-hint: [file-or-function]
359
- ---
360
- ```
189
+ | Platform | Root | Config file | Subagents | Commands / skills |
190
+ |---|---|---|---|---|
191
+ | **Claude Code** | `~/.claude/` | `CLAUDE.md` | `agents/` | `skills/` (13), plus `plugins/` |
192
+ | **Ampcode** | `~/.config/amp/` | `AGENT.md` | `agents/` | `skills/` (13) |
193
+ | **Droid** | `~/.factory/` | `AGENTS.md` | `droids/` | `commands/` |
194
+ | **OpenCode** | `~/.config/opencode/` | `AGENTS.md` | `agent/` | `command/` |
361
195
 
362
- This enables:
363
- - Dynamic registry building by CLIs
364
- - Single source of truth (no manual registries)
365
- - Consistent metadata across platforms
366
- - Easy extensibility
196
+ Each kit also carries a `variants.json` and the tool's own settings file. Droid
197
+ and OpenCode still use commands, so the mirror converts each skill's `SKILL.md`
198
+ into a flat `<name>.md` for them.
367
199
 
368
200
  ---
369
201
 
370
- ## Contributing
202
+ ## Going deeper
371
203
 
372
- Contributions welcome for:
373
- - New specialist agents for additional domains
374
- - Additional workflow patterns
375
- - Platform-specific optimizations
376
- - Documentation improvements
204
+ These live in the repo, not in the installed kit:
377
205
 
378
- See repository for contribution guidelines.
206
+ | Doc | What's in it |
207
+ |---|---|
208
+ | [Installer guide](https://github.com/hamr0/liteagents/blob/main/docs/product/INSTALLER_GUIDE.md) | Install, custom paths, uninstall, troubleshooting, FAQ — and the order of operations for changing a command, skill or subagent |
209
+ | [`/remember`](https://github.com/hamr0/liteagents/blob/main/docs/product/remember-README.md) | The `/stash` → `/remember` pipeline, friction sensor, antigen ledger |
210
+ | [`/docs-builder`](https://github.com/hamr0/liteagents/blob/main/docs/product/docs-builder-README.md) | Reorg and cleanup modes, measured cost, the drift ledger |
211
+ | [`/branch-review`](https://github.com/hamr0/liteagents/blob/main/docs/product/branch-review-README.md) | The three stages, what blocks, the fix-ledger loop |
212
+ | [`/live-canvas`](https://github.com/hamr0/liteagents/blob/main/docs/product/live-canvas-README.md) | Both modes, the click-to-annotate overlay, and setup |
213
+ | [live-canvas-channel](https://github.com/hamr0/liteagents/blob/main/docs/product/live-canvas-channel-README.md) | The Claude Code MCP channel plugin — install, protocol, debugging |
379
214
 
380
215
  ---
381
216
 
382
- **License**: [Specify license]
383
- **Repository**: https://github.com/hamr0/agentic-toolkit
384
- **Issues**: https://github.com/hamr0/agentic-toolkit/issues
217
+ **Repository**: https://github.com/hamr0/liteagents · **Issues**: https://github.com/hamr0/liteagents/issues · Apache-2.0