@fro.bot/systematic 1.22.7 → 1.23.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 (40) hide show
  1. package/package.json +1 -1
  2. package/skills/agent-browser/SKILL.md +511 -170
  3. package/skills/agent-browser/references/authentication.md +303 -0
  4. package/skills/agent-browser/references/commands.md +266 -0
  5. package/skills/agent-browser/references/profiling.md +120 -0
  6. package/skills/agent-browser/references/proxy-support.md +194 -0
  7. package/skills/agent-browser/references/session-management.md +193 -0
  8. package/skills/agent-browser/references/snapshot-refs.md +194 -0
  9. package/skills/agent-browser/references/video-recording.md +173 -0
  10. package/skills/agent-browser/templates/authenticated-session.sh +105 -0
  11. package/skills/agent-browser/templates/capture-workflow.sh +69 -0
  12. package/skills/agent-browser/templates/form-automation.sh +62 -0
  13. package/skills/agent-native-audit/SKILL.md +279 -0
  14. package/skills/ce-brainstorm/SKILL.md +146 -0
  15. package/skills/ce-compound/SKILL.md +317 -0
  16. package/skills/ce-plan/SKILL.md +642 -0
  17. package/skills/ce-review/SKILL.md +559 -0
  18. package/skills/ce-work/SKILL.md +471 -0
  19. package/skills/changelog/SKILL.md +139 -0
  20. package/skills/create-agent-skill/SKILL.md +10 -0
  21. package/skills/create-agent-skills/SKILL.md +3 -14
  22. package/skills/deepen-plan/SKILL.md +545 -0
  23. package/skills/deploy-docs/SKILL.md +113 -0
  24. package/skills/feature-video/SKILL.md +352 -0
  25. package/skills/generate_command/SKILL.md +163 -0
  26. package/skills/heal-skill/SKILL.md +148 -0
  27. package/skills/lfg/SKILL.md +34 -0
  28. package/skills/report-bug/SKILL.md +151 -0
  29. package/skills/reproduce-bug/SKILL.md +101 -0
  30. package/skills/resolve_parallel/SKILL.md +35 -0
  31. package/skills/resolve_todo_parallel/SKILL.md +38 -0
  32. package/skills/slfg/SKILL.md +33 -0
  33. package/skills/test-browser/SKILL.md +394 -0
  34. package/skills/test-xcode/SKILL.md +333 -0
  35. package/skills/triage/SKILL.md +312 -0
  36. package/skills/workflows-brainstorm/SKILL.md +11 -0
  37. package/skills/workflows-compound/SKILL.md +10 -0
  38. package/skills/workflows-plan/SKILL.md +10 -0
  39. package/skills/workflows-review/SKILL.md +10 -0
  40. package/skills/workflows-work/SKILL.md +10 -0
@@ -0,0 +1,146 @@
1
+ ---
2
+ name: ce-brainstorm
3
+ description: Explore requirements and approaches through collaborative dialogue before planning implementation
4
+ argument-hint: '[feature idea or problem to explore]'
5
+ ---
6
+
7
+ # Brainstorm a Feature or Improvement
8
+
9
+ **Note: The current year is 2026.** Use this when dating brainstorm documents.
10
+
11
+ Brainstorming helps answer **WHAT** to build through collaborative dialogue. It precedes `/ce:plan`, which answers **HOW** to build it.
12
+
13
+ **Process knowledge:** Load the `brainstorming` skill for detailed question techniques, approach exploration patterns, and YAGNI principles.
14
+
15
+ ## Feature Description
16
+
17
+ <feature_description> #$ARGUMENTS </feature_description>
18
+
19
+ **If the feature description above is empty, ask the user:** "What would you like to explore? Please describe the feature, problem, or improvement you're thinking about."
20
+
21
+ Do not proceed until you have a feature description from the user.
22
+
23
+ ## Execution Flow
24
+
25
+ ### Phase 0: Assess Requirements Clarity
26
+
27
+ Evaluate whether brainstorming is needed based on the feature description.
28
+
29
+ **Clear requirements indicators:**
30
+ - Specific acceptance criteria provided
31
+ - Referenced existing patterns to follow
32
+ - Described exact expected behavior
33
+ - Constrained, well-defined scope
34
+
35
+ **If requirements are already clear:**
36
+ Use **question tool** to suggest: "Your requirements seem detailed enough to proceed directly to planning. Should I run `/ce:plan` instead, or would you like to explore the idea further?"
37
+
38
+ ### Phase 1: Understand the Idea
39
+
40
+ #### 1.1 Repository Research (Lightweight)
41
+
42
+ Run a quick repo scan to understand existing patterns:
43
+
44
+ - task systematic:research:repo-research-analyst("Understand existing patterns related to: <feature_description>")
45
+
46
+ Focus on: similar features, established patterns, AGENTS.md guidance.
47
+
48
+ #### 1.2 Collaborative Dialogue
49
+
50
+ Use the **question tool** to ask questions **one at a time**.
51
+
52
+ **Guidelines (see `brainstorming` skill for detailed techniques):**
53
+ - Prefer multiple choice when natural options exist
54
+ - Start broad (purpose, users) then narrow (constraints, edge cases)
55
+ - Validate assumptions explicitly
56
+ - Ask about success criteria
57
+
58
+ **Exit condition:** Continue until the idea is clear OR user says "proceed"
59
+
60
+ ### Phase 2: Explore Approaches
61
+
62
+ Propose **2-3 concrete approaches** based on research and conversation.
63
+
64
+ For each approach, provide:
65
+ - Brief description (2-3 sentences)
66
+ - Pros and cons
67
+ - When it's best suited
68
+
69
+ Lead with your recommendation and explain why. Apply YAGNI—prefer simpler solutions.
70
+
71
+ Use **question tool** to ask which approach the user prefers.
72
+
73
+ ### Phase 3: Capture the Design
74
+
75
+ Write a brainstorm document to `docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md`.
76
+
77
+ **Document structure:** See the `brainstorming` skill for the template format. Key sections: What We're Building, Why This Approach, Key Decisions, Open Questions.
78
+
79
+ Ensure `docs/brainstorms/` directory exists before writing.
80
+
81
+ **IMPORTANT:** Before proceeding to Phase 4, check if there are any Open Questions listed in the brainstorm document. If there are open questions, YOU MUST ask the user about each one using question before offering to proceed to planning. Move resolved questions to a "Resolved Questions" section.
82
+
83
+ ### Phase 4: Handoff
84
+
85
+ Use **question tool** to present next steps:
86
+
87
+ **Question:** "Brainstorm captured. What would you like to do next?"
88
+
89
+ **Options:**
90
+ 1. **Review and refine** - Improve the document through structured self-review
91
+ 2. **Proceed to planning** - Run `/ce:plan` (will auto-detect this brainstorm)
92
+ 3. **Share to Proof** - Upload to Proof for collaborative review and sharing
93
+ 4. **Ask more questions** - I have more questions to clarify before moving on
94
+ 5. **Done for now** - Return later
95
+
96
+ **If user selects "Share to Proof":**
97
+
98
+ ```bash
99
+ CONTENT=$(cat docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md)
100
+ TITLE="Brainstorm: <topic title>"
101
+ RESPONSE=$(curl -s -X POST https://www.proofeditor.ai/share/markdown \
102
+ -H "Content-Type: application/json" \
103
+ -d "$(jq -n --arg title "$TITLE" --arg markdown "$CONTENT" --arg by "ai:compound" '{title: $title, markdown: $markdown, by: $by}')")
104
+ PROOF_URL=$(echo "$RESPONSE" | jq -r '.tokenUrl')
105
+ ```
106
+
107
+ Display the URL prominently: `View & collaborate in Proof: <PROOF_URL>`
108
+
109
+ If the curl fails, skip silently. Then return to the Phase 4 options.
110
+
111
+ **If user selects "Ask more questions":** YOU (Claude) return to Phase 1.2 (Collaborative Dialogue) and continue asking the USER questions one at a time to further refine the design. The user wants YOU to probe deeper - ask about edge cases, constraints, preferences, or areas not yet explored. Continue until the user is satisfied, then return to Phase 4.
112
+
113
+ **If user selects "Review and refine":**
114
+
115
+ Load the `document-review` skill and apply it to the brainstorm document.
116
+
117
+ When document-review returns "Review complete", present next steps:
118
+
119
+ 1. **Move to planning** - Continue to `/ce:plan` with this document
120
+ 2. **Done for now** - Brainstorming complete. To start planning later: `/ce:plan [document-path]`
121
+
122
+ ## Output Summary
123
+
124
+ When complete, display:
125
+
126
+ ```
127
+ Brainstorm complete!
128
+
129
+ Document: docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md
130
+
131
+ Key decisions:
132
+ - [Decision 1]
133
+ - [Decision 2]
134
+
135
+ Next: Run `/ce:plan` when ready to implement.
136
+ ```
137
+
138
+ ## Important Guidelines
139
+
140
+ - **Stay focused on WHAT, not HOW** - Implementation details belong in the plan
141
+ - **Ask one question at a time** - Don't overwhelm
142
+ - **Apply YAGNI** - Prefer simpler approaches
143
+ - **Keep outputs concise** - 200-300 words per section max
144
+
145
+ NEVER CODE! Just explore and document decisions.
146
+
@@ -0,0 +1,317 @@
1
+ ---
2
+ name: ce-compound
3
+ description: Document a recently solved problem to compound your team's knowledge
4
+ argument-hint: '[optional: brief context about the fix]'
5
+ ---
6
+
7
+ # /compound
8
+
9
+ Coordinate multiple subagents working in parallel to document a recently solved problem.
10
+
11
+ ## Purpose
12
+
13
+ Captures problem solutions while context is fresh, creating structured documentation in `docs/solutions/` with YAML frontmatter for searchability and future reference. Uses parallel subagents for maximum efficiency.
14
+
15
+ **Why "compound"?** Each documented solution compounds your team's knowledge. The first time you solve a problem takes research. Document it, and the next occurrence takes minutes. Knowledge compounds.
16
+
17
+ ## Usage
18
+
19
+ ```bash
20
+ /ce:compound # Document the most recent fix
21
+ /ce:compound [brief context] # Provide additional context hint
22
+ ```
23
+
24
+ ## Execution Strategy: Context-Aware Orchestration
25
+
26
+ ### Phase 0: Context Budget Check
27
+
28
+ <critical_requirement>
29
+ **Run this check BEFORE launching any subagents.**
30
+
31
+ The /compound command is token-heavy - it launches 5 parallel subagents that collectively consume ~10k tokens of context. Running near context limits risks compaction mid-compound, which degrades output quality significantly.
32
+ </critical_requirement>
33
+
34
+ Before proceeding, the orchestrator MUST:
35
+
36
+ 1. **Assess context usage**: Check how long the current conversation has been running. If there has been significant back-and-forth (many tool calls, large file reads, extensive debugging), context is likely constrained.
37
+
38
+ 2. **Warn the user**:
39
+ ```
40
+ ⚠️ Context Budget Check
41
+
42
+ /compound launches 5 parallel subagents (~10k tokens). Long conversations
43
+ risk compaction mid-compound, which degrades documentation quality.
44
+
45
+ Tip: For best results, run /compound early in a session - right after
46
+ verifying a fix, before continuing other work.
47
+ ```
48
+
49
+ 3. **Offer the user a choice**:
50
+ ```
51
+ How would you like to proceed?
52
+
53
+ 1. Full compound (5 parallel subagents, ~10k tokens) - best quality
54
+ 2. Compact-safe mode (single pass, ~2k tokens) - safe near context limits
55
+ ```
56
+
57
+ 4. **If the user picks option 1** (or confirms full mode): proceed to Phase 1 below.
58
+ 5. **If the user picks option 2** (or requests compact-safe): skip to the **Compact-Safe Mode** section below.
59
+
60
+ ---
61
+
62
+ ### Full Mode
63
+
64
+ <critical_requirement>
65
+ **Only ONE file gets written - the final documentation.**
66
+
67
+ Phase 1 subagents return TEXT DATA to the orchestrator. They must NOT use Write, Edit, or create any files. Only the orchestrator (Phase 2) writes the final documentation file.
68
+ </critical_requirement>
69
+
70
+ ### Phase 1: Parallel Research
71
+
72
+ <parallel_tasks>
73
+
74
+ Launch these subagents IN PARALLEL. Each returns text data to the orchestrator.
75
+
76
+ #### 1. **Context Analyzer**
77
+ - Extracts conversation history
78
+ - Identifies problem type, component, symptoms
79
+ - Validates against schema
80
+ - Returns: YAML frontmatter skeleton
81
+
82
+ #### 2. **Solution Extractor**
83
+ - Analyzes all investigation steps
84
+ - Identifies root cause
85
+ - Extracts working solution with code examples
86
+ - Returns: Solution content block
87
+
88
+ #### 3. **Related Docs Finder**
89
+ - Searches `docs/solutions/` for related documentation
90
+ - Identifies cross-references and links
91
+ - Finds related GitHub issues
92
+ - Returns: Links and relationships
93
+
94
+ #### 4. **Prevention Strategist**
95
+ - Develops prevention strategies
96
+ - Creates best practices guidance
97
+ - Generates test cases if applicable
98
+ - Returns: Prevention/testing content
99
+
100
+ #### 5. **Category Classifier**
101
+ - Determines optimal `docs/solutions/` category
102
+ - Validates category against schema
103
+ - Suggests filename based on slug
104
+ - Returns: Final path and filename
105
+
106
+ </parallel_tasks>
107
+
108
+ ### Phase 2: Assembly & Write
109
+
110
+ <sequential_tasks>
111
+
112
+ **WAIT for all Phase 1 subagents to complete before proceeding.**
113
+
114
+ The orchestrating agent (main conversation) performs these steps:
115
+
116
+ 1. Collect all text results from Phase 1 subagents
117
+ 2. Assemble complete markdown file from the collected pieces
118
+ 3. Validate YAML frontmatter against schema
119
+ 4. Create directory if needed: `mkdir -p docs/solutions/[category]/`
120
+ 5. Write the SINGLE final file: `docs/solutions/[category]/[filename].md`
121
+
122
+ </sequential_tasks>
123
+
124
+ ### Phase 3: Optional Enhancement
125
+
126
+ **WAIT for Phase 2 to complete before proceeding.**
127
+
128
+ <parallel_tasks>
129
+
130
+ Based on problem type, optionally invoke specialized agents to review the documentation:
131
+
132
+ - **performance_issue** → `performance-oracle`
133
+ - **security_issue** → `security-sentinel`
134
+ - **database_issue** → `data-integrity-guardian`
135
+ - **test_failure** → `cora-test-reviewer`
136
+ - Any code-heavy issue → `kieran-rails-reviewer` + `code-simplicity-reviewer`
137
+
138
+ </parallel_tasks>
139
+
140
+ ---
141
+
142
+ ### Compact-Safe Mode
143
+
144
+ <critical_requirement>
145
+ **Single-pass alternative for context-constrained sessions.**
146
+
147
+ When context budget is tight, this mode skips parallel subagents entirely. The orchestrator performs all work in a single pass, producing a minimal but complete solution document.
148
+ </critical_requirement>
149
+
150
+ The orchestrator (main conversation) performs ALL of the following in one sequential pass:
151
+
152
+ 1. **Extract from conversation**: Identify the problem, root cause, and solution from conversation history
153
+ 2. **Classify**: Determine category and filename (same categories as full mode)
154
+ 3. **Write minimal doc**: Create `docs/solutions/[category]/[filename].md` with:
155
+ - YAML frontmatter (title, category, date, tags)
156
+ - Problem description (1-2 sentences)
157
+ - Root cause (1-2 sentences)
158
+ - Solution with key code snippets
159
+ - One prevention tip
160
+ 4. **Skip specialized agent reviews** (Phase 3) to conserve context
161
+
162
+ **Compact-safe output:**
163
+ ```
164
+ ✓ Documentation complete (compact-safe mode)
165
+
166
+ File created:
167
+ - docs/solutions/[category]/[filename].md
168
+
169
+ Note: This was created in compact-safe mode. For richer documentation
170
+ (cross-references, detailed prevention strategies, specialized reviews),
171
+ re-run /compound in a fresh session.
172
+ ```
173
+
174
+ **No subagents are launched. No parallel tasks. One file written.**
175
+
176
+ ---
177
+
178
+ ## What It Captures
179
+
180
+ - **Problem symptom**: Exact error messages, observable behavior
181
+ - **Investigation steps tried**: What didn't work and why
182
+ - **Root cause analysis**: Technical explanation
183
+ - **Working solution**: Step-by-step fix with code examples
184
+ - **Prevention strategies**: How to avoid in future
185
+ - **Cross-references**: Links to related issues and docs
186
+
187
+ ## Preconditions
188
+
189
+ <preconditions enforcement="advisory">
190
+ <check condition="problem_solved">
191
+ Problem has been solved (not in-progress)
192
+ </check>
193
+ <check condition="solution_verified">
194
+ Solution has been verified working
195
+ </check>
196
+ <check condition="non_trivial">
197
+ Non-trivial problem (not simple typo or obvious error)
198
+ </check>
199
+ </preconditions>
200
+
201
+ ## What It Creates
202
+
203
+ **Organized documentation:**
204
+
205
+ - File: `docs/solutions/[category]/[filename].md`
206
+
207
+ **Categories auto-detected from problem:**
208
+
209
+ - build-errors/
210
+ - test-failures/
211
+ - runtime-errors/
212
+ - performance-issues/
213
+ - database-issues/
214
+ - security-issues/
215
+ - ui-bugs/
216
+ - integration-issues/
217
+ - logic-errors/
218
+
219
+ ## Common Mistakes to Avoid
220
+
221
+ | ❌ Wrong | ✅ Correct |
222
+ |----------|-----------|
223
+ | Subagents write files like `context-analysis.md`, `solution-draft.md` | Subagents return text data; orchestrator writes one final file |
224
+ | Research and assembly run in parallel | Research completes → then assembly runs |
225
+ | Multiple files created during workflow | Single file: `docs/solutions/[category]/[filename].md` |
226
+
227
+ ## Success Output
228
+
229
+ ```
230
+ ✓ Documentation complete
231
+
232
+ Subagent Results:
233
+ ✓ Context Analyzer: Identified performance_issue in brief_system
234
+ ✓ Solution Extractor: 3 code fixes
235
+ ✓ Related Docs Finder: 2 related issues
236
+ ✓ Prevention Strategist: Prevention strategies, test suggestions
237
+ ✓ Category Classifier: `performance-issues`
238
+
239
+ Specialized Agent Reviews (Auto-Triggered):
240
+ ✓ performance-oracle: Validated query optimization approach
241
+ ✓ kieran-rails-reviewer: Code examples meet Rails standards
242
+ ✓ code-simplicity-reviewer: Solution is appropriately minimal
243
+ ✓ every-style-editor: Documentation style verified
244
+
245
+ File created:
246
+ - docs/solutions/performance-issues/n-plus-one-brief-generation.md
247
+
248
+ This documentation will be searchable for future reference when similar
249
+ issues occur in the Email Processing or Brief System modules.
250
+
251
+ What's next?
252
+ 1. Continue workflow (recommended)
253
+ 2. Link related documentation
254
+ 3. Update other references
255
+ 4. View documentation
256
+ 5. Other
257
+ ```
258
+
259
+ ## The Compounding Philosophy
260
+
261
+ This creates a compounding knowledge system:
262
+
263
+ 1. First time you solve "N+1 query in brief generation" → Research (30 min)
264
+ 2. Document the solution → docs/solutions/performance-issues/n-plus-one-briefs.md (5 min)
265
+ 3. Next time similar issue occurs → Quick lookup (2 min)
266
+ 4. Knowledge compounds → Team gets smarter
267
+
268
+ The feedback loop:
269
+
270
+ ```
271
+ Build → Test → Find Issue → Research → Improve → Document → Validate → Deploy
272
+ ↑ ↓
273
+ └──────────────────────────────────────────────────────────────────────┘
274
+ ```
275
+
276
+ **Each unit of engineering work should make subsequent units of work easier—not harder.**
277
+
278
+ ## Auto-Invoke
279
+
280
+ <auto_invoke> <trigger_phrases> - "that worked" - "it's fixed" - "working now" - "problem solved" </trigger_phrases>
281
+
282
+ <manual_override> Use /ce:compound [context] to document immediately without waiting for auto-detection. </manual_override> </auto_invoke>
283
+
284
+ ## Routes To
285
+
286
+ `compound-docs` skill
287
+
288
+ ## Applicable Specialized Agents
289
+
290
+ Based on problem type, these agents can enhance documentation:
291
+
292
+ ### Code Quality & Review
293
+ - **kieran-rails-reviewer**: Reviews code examples for Rails best practices
294
+ - **code-simplicity-reviewer**: Ensures solution code is minimal and clear
295
+ - **pattern-recognition-specialist**: Identifies anti-patterns or repeating issues
296
+
297
+ ### Specific Domain Experts
298
+ - **performance-oracle**: Analyzes performance_issue category solutions
299
+ - **security-sentinel**: Reviews security_issue solutions for vulnerabilities
300
+ - **cora-test-reviewer**: Creates test cases for prevention strategies
301
+ - **data-integrity-guardian**: Reviews database_issue migrations and queries
302
+
303
+ ### Enhancement & Documentation
304
+ - **best-practices-researcher**: Enriches solution with industry best practices
305
+ - **every-style-editor**: Reviews documentation style and clarity
306
+ - **framework-docs-researcher**: Links to Rails/gem documentation references
307
+
308
+ ### When to Invoke
309
+ - **Auto-triggered** (optional): Agents can run post-documentation for enhancement
310
+ - **Manual trigger**: User can invoke agents after /ce:compound completes for deeper review
311
+ - **Customize agents**: Edit `compound-engineering.local.md` or invoke the `setup` skill to configure which review agents are used across all workflows
312
+
313
+ ## Related Commands
314
+
315
+ - `/research [topic]` - Deep investigation (searches docs/solutions/ for patterns)
316
+ - `/ce:plan` - Planning workflow (references documented solutions)
317
+