@mclawnet/agent 0.5.9 → 0.6.2

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 (81) hide show
  1. package/cli.js +168 -61
  2. package/dist/__tests__/cli.test.d.ts +2 -0
  3. package/dist/__tests__/cli.test.d.ts.map +1 -0
  4. package/dist/__tests__/service-config.test.d.ts +2 -0
  5. package/dist/__tests__/service-config.test.d.ts.map +1 -0
  6. package/dist/__tests__/service-linux.test.d.ts +2 -0
  7. package/dist/__tests__/service-linux.test.d.ts.map +1 -0
  8. package/dist/__tests__/service-macos.test.d.ts +2 -0
  9. package/dist/__tests__/service-macos.test.d.ts.map +1 -0
  10. package/dist/__tests__/service-windows.test.d.ts +2 -0
  11. package/dist/__tests__/service-windows.test.d.ts.map +1 -0
  12. package/dist/backend-adapter.d.ts +2 -0
  13. package/dist/backend-adapter.d.ts.map +1 -1
  14. package/dist/chunk-CBZIH6FY.js +93 -0
  15. package/dist/chunk-CBZIH6FY.js.map +1 -0
  16. package/dist/{chunk-KHPEQTWF.js → chunk-GLO5OZAY.js} +203 -213
  17. package/dist/chunk-GLO5OZAY.js.map +1 -0
  18. package/dist/chunk-RO47ET27.js +88 -0
  19. package/dist/chunk-RO47ET27.js.map +1 -0
  20. package/dist/hub-connection.d.ts.map +1 -1
  21. package/dist/index.js +5 -3
  22. package/dist/index.js.map +1 -1
  23. package/dist/linux-6AR7SXHW.js +176 -0
  24. package/dist/linux-6AR7SXHW.js.map +1 -0
  25. package/dist/macos-XVPWIH4C.js +174 -0
  26. package/dist/macos-XVPWIH4C.js.map +1 -0
  27. package/dist/service/config.d.ts +19 -0
  28. package/dist/service/config.d.ts.map +1 -0
  29. package/dist/service/index.d.ts +6 -0
  30. package/dist/service/index.d.ts.map +1 -0
  31. package/dist/service/index.js +47 -0
  32. package/dist/service/index.js.map +1 -0
  33. package/dist/service/linux.d.ts +18 -0
  34. package/dist/service/linux.d.ts.map +1 -0
  35. package/dist/service/macos.d.ts +18 -0
  36. package/dist/service/macos.d.ts.map +1 -0
  37. package/dist/service/types.d.ts +19 -0
  38. package/dist/service/types.d.ts.map +1 -0
  39. package/dist/service/windows.d.ts +18 -0
  40. package/dist/service/windows.d.ts.map +1 -0
  41. package/dist/session-manager.d.ts +4 -7
  42. package/dist/session-manager.d.ts.map +1 -1
  43. package/dist/skill-loader.d.ts +8 -0
  44. package/dist/skill-loader.d.ts.map +1 -0
  45. package/dist/start.d.ts.map +1 -1
  46. package/dist/start.js +2 -1
  47. package/dist/windows-NLONSCDA.js +165 -0
  48. package/dist/windows-NLONSCDA.js.map +1 -0
  49. package/package.json +7 -5
  50. package/skills/academic-search/SKILL.md +147 -0
  51. package/skills/architecture/SKILL.md +294 -0
  52. package/skills/changelog-generator/SKILL.md +112 -0
  53. package/skills/chart-visualization/SKILL.md +183 -0
  54. package/skills/code-review/SKILL.md +304 -0
  55. package/skills/codebase-health/SKILL.md +281 -0
  56. package/skills/consulting-analysis/SKILL.md +584 -0
  57. package/skills/content-research-writer/SKILL.md +546 -0
  58. package/skills/data-analysis/SKILL.md +194 -0
  59. package/skills/deep-research/SKILL.md +198 -0
  60. package/skills/docx/SKILL.md +211 -0
  61. package/skills/github-deep-research/SKILL.md +207 -0
  62. package/skills/image-generation/SKILL.md +209 -0
  63. package/skills/lead-research-assistant/SKILL.md +207 -0
  64. package/skills/mcp-builder/SKILL.md +304 -0
  65. package/skills/meeting-insights-analyzer/SKILL.md +335 -0
  66. package/skills/pair-programming/SKILL.md +196 -0
  67. package/skills/pdf/SKILL.md +309 -0
  68. package/skills/performance-analysis/SKILL.md +261 -0
  69. package/skills/podcast-generation/SKILL.md +224 -0
  70. package/skills/pptx/SKILL.md +497 -0
  71. package/skills/project-learnings/SKILL.md +280 -0
  72. package/skills/security-audit/SKILL.md +211 -0
  73. package/skills/skill-creator/SKILL.md +200 -0
  74. package/skills/technical-writing/SKILL.md +286 -0
  75. package/skills/testing/SKILL.md +363 -0
  76. package/skills/video-generation/SKILL.md +247 -0
  77. package/skills/web-design-guidelines/SKILL.md +203 -0
  78. package/skills/webapp-testing/SKILL.md +162 -0
  79. package/skills/workflow-automation/SKILL.md +299 -0
  80. package/skills/xlsx/SKILL.md +305 -0
  81. package/dist/chunk-KHPEQTWF.js.map +0 -1
@@ -0,0 +1,546 @@
1
+ ---
2
+ name: content-research-writer
3
+ description: Research and write high-quality content with citations, structured outlines, and iterative feedback. Use when writing blog posts, articles, case studies, thought leadership pieces, or any content requiring research and proper sourcing.
4
+ disable-model-invocation: true
5
+ ---
6
+
7
+ # Content Research Writer
8
+
9
+ This skill acts as your writing partner, helping you research, outline, draft, and refine content while maintaining your unique voice and style.
10
+
11
+ ## When to Use This Skill
12
+
13
+ - Writing blog posts, articles, or newsletters
14
+ - Creating educational content or tutorials
15
+ - Drafting thought leadership pieces
16
+ - Researching and writing case studies
17
+ - Producing technical documentation with sources
18
+ - Writing with proper citations and references
19
+ - Improving hooks and introductions
20
+ - Getting section-by-section feedback while writing
21
+
22
+ ## When NOT to Use
23
+
24
+ - **Technical API documentation** — use the `technical-writing` skill
25
+ - **Consulting-grade research reports** — use the `consulting-analysis` skill
26
+ - **Academic papers** — use the `academic-search` skill for literature review
27
+ - **Video or podcast scripts** — use the `video-generation` or `podcast-generation` skill
28
+
29
+ ## What This Skill Does
30
+
31
+ 1. **Collaborative Outlining**: Helps you structure ideas into coherent outlines
32
+ 2. **Research Assistance**: Finds relevant information and adds citations
33
+ 3. **Hook Improvement**: Strengthens your opening to capture attention
34
+ 4. **Section Feedback**: Reviews each section as you write
35
+ 5. **Voice Preservation**: Maintains your writing style and tone
36
+ 6. **Citation Management**: Adds and formats references properly
37
+ 7. **Iterative Refinement**: Helps you improve through multiple drafts
38
+
39
+ ## How to Use
40
+
41
+ ### Setup Your Writing Environment
42
+
43
+ Create a dedicated folder for your article:
44
+ ```
45
+ mkdir ~/writing/my-article-title
46
+ cd ~/writing/my-article-title
47
+ ```
48
+
49
+ Create your draft file:
50
+ ```
51
+ touch article-draft.md
52
+ ```
53
+
54
+ Open Claude Code from this directory and start writing.
55
+
56
+ ### Basic Workflow
57
+
58
+ 1. **Start with an outline**:
59
+ ```
60
+ Help me create an outline for an article about [topic]
61
+ ```
62
+
63
+ 2. **Research and add citations**:
64
+ ```
65
+ Research [specific topic] and add citations to my outline
66
+ ```
67
+
68
+ 3. **Improve the hook**:
69
+ ```
70
+ Here's my introduction. Help me make the hook more compelling.
71
+ ```
72
+
73
+ 4. **Get section feedback**:
74
+ ```
75
+ I just finished the "Why This Matters" section. Review it and give feedback.
76
+ ```
77
+
78
+ 5. **Refine and polish**:
79
+ ```
80
+ Review the full draft for flow, clarity, and consistency.
81
+ ```
82
+
83
+ ## Instructions
84
+
85
+ When a user requests writing assistance:
86
+
87
+ 1. **Understand the Writing Project**
88
+
89
+ Ask clarifying questions:
90
+ - What's the topic and main argument?
91
+ - Who's the target audience?
92
+ - What's the desired length/format?
93
+ - What's your goal? (educate, persuade, entertain, explain)
94
+ - Any existing research or sources to include?
95
+ - What's your writing style? (formal, conversational, technical)
96
+
97
+ 2. **Collaborative Outlining**
98
+
99
+ Help structure the content:
100
+
101
+ ```markdown
102
+ # Article Outline: [Title]
103
+
104
+ ## Hook
105
+ - [Opening line/story/statistic]
106
+ - [Why reader should care]
107
+
108
+ ## Introduction
109
+ - Context and background
110
+ - Problem statement
111
+ - What this article covers
112
+
113
+ ## Main Sections
114
+
115
+ ### Section 1: [Title]
116
+ - Key point A
117
+ - Key point B
118
+ - Example/evidence
119
+ - [Research needed: specific topic]
120
+
121
+ ### Section 2: [Title]
122
+ - Key point C
123
+ - Key point D
124
+ - Data/citation needed
125
+
126
+ ### Section 3: [Title]
127
+ - Key point E
128
+ - Counter-arguments
129
+ - Resolution
130
+
131
+ ## Conclusion
132
+ - Summary of main points
133
+ - Call to action
134
+ - Final thought
135
+
136
+ ## Research To-Do
137
+ - [ ] Find data on [topic]
138
+ - [ ] Get examples of [concept]
139
+ - [ ] Source citation for [claim]
140
+ ```
141
+
142
+ **Iterate on outline**:
143
+ - Adjust based on feedback
144
+ - Ensure logical flow
145
+ - Identify research gaps
146
+ - Mark sections for deep dives
147
+
148
+ 3. **Conduct Research**
149
+
150
+ When user requests research on a topic:
151
+
152
+ - Search for relevant information
153
+ - Find credible sources
154
+ - Extract key facts, quotes, and data
155
+ - Add citations in requested format
156
+
157
+ Example output:
158
+ ```markdown
159
+ ## Research: AI Impact on Productivity
160
+
161
+ Key Findings:
162
+
163
+ 1. **Productivity Gains**: Studies show 40% time savings for
164
+ content creation tasks [1]
165
+
166
+ 2. **Adoption Rates**: 67% of knowledge workers use AI tools
167
+ weekly [2]
168
+
169
+ 3. **Expert Quote**: "AI augments rather than replaces human
170
+ creativity" - Dr. Jane Smith, MIT [3]
171
+
172
+ Citations:
173
+ [1] McKinsey Global Institute. (2024). "The Economic Potential
174
+ of Generative AI"
175
+ [2] Stack Overflow Developer Survey (2024)
176
+ [3] Smith, J. (2024). MIT Technology Review interview
177
+
178
+ Added to outline under Section 2.
179
+ ```
180
+
181
+ 4. **Improve Hooks**
182
+
183
+ When user shares an introduction, analyze and strengthen:
184
+
185
+ **Current Hook Analysis**:
186
+ - What works: [positive elements]
187
+ - What could be stronger: [areas for improvement]
188
+ - Emotional impact: [current vs. potential]
189
+
190
+ **Suggested Alternatives**:
191
+
192
+ Option 1: [Bold statement]
193
+ > [Example]
194
+ *Why it works: [explanation]*
195
+
196
+ Option 2: [Personal story]
197
+ > [Example]
198
+ *Why it works: [explanation]*
199
+
200
+ Option 3: [Surprising data]
201
+ > [Example]
202
+ *Why it works: [explanation]*
203
+
204
+ **Questions to hook**:
205
+ - Does it create curiosity?
206
+ - Does it promise value?
207
+ - Is it specific enough?
208
+ - Does it match the audience?
209
+
210
+ 5. **Provide Section-by-Section Feedback**
211
+
212
+ As user writes each section, review for:
213
+
214
+ ```markdown
215
+ # Feedback: [Section Name]
216
+
217
+ ## What Works Well ✓
218
+ - [Strength 1]
219
+ - [Strength 2]
220
+ - [Strength 3]
221
+
222
+ ## Suggestions for Improvement
223
+
224
+ ### Clarity
225
+ - [Specific issue] → [Suggested fix]
226
+ - [Complex sentence] → [Simpler alternative]
227
+
228
+ ### Flow
229
+ - [Transition issue] → [Better connection]
230
+ - [Paragraph order] → [Suggested reordering]
231
+
232
+ ### Evidence
233
+ - [Claim needing support] → [Add citation or example]
234
+ - [Generic statement] → [Make more specific]
235
+
236
+ ### Style
237
+ - [Tone inconsistency] → [Match your voice better]
238
+ - [Word choice] → [Stronger alternative]
239
+
240
+ ## Specific Line Edits
241
+
242
+ Original:
243
+ > [Exact quote from draft]
244
+
245
+ Suggested:
246
+ > [Improved version]
247
+
248
+ Why: [Explanation]
249
+
250
+ ## Questions to Consider
251
+ - [Thought-provoking question 1]
252
+ - [Thought-provoking question 2]
253
+
254
+ Ready to move to next section!
255
+ ```
256
+
257
+ 6. **Preserve Writer's Voice**
258
+
259
+ Important principles:
260
+
261
+ - **Learn their style**: Read existing writing samples
262
+ - **Suggest, don't replace**: Offer options, not directives
263
+ - **Match tone**: Formal, casual, technical, friendly
264
+ - **Respect choices**: If they prefer their version, support it
265
+ - **Enhance, don't override**: Make their writing better, not different
266
+
267
+ Ask periodically:
268
+ - "Does this sound like you?"
269
+ - "Is this the right tone?"
270
+ - "Should I be more/less [formal/casual/technical]?"
271
+
272
+ 7. **Citation Management**
273
+
274
+ Handle references based on user preference:
275
+
276
+ **Inline Citations**:
277
+ ```markdown
278
+ Studies show 40% productivity improvement (McKinsey, 2024).
279
+ ```
280
+
281
+ **Numbered References**:
282
+ ```markdown
283
+ Studies show 40% productivity improvement [1].
284
+
285
+ [1] McKinsey Global Institute. (2024)...
286
+ ```
287
+
288
+ **Footnote Style**:
289
+ ```markdown
290
+ Studies show 40% productivity improvement^1
291
+
292
+ ^1: McKinsey Global Institute. (2024)...
293
+ ```
294
+
295
+ Maintain a running citations list:
296
+ ```markdown
297
+ ## References
298
+
299
+ 1. Author. (Year). "Title". Publication.
300
+ 2. Author. (Year). "Title". Publication.
301
+ ...
302
+ ```
303
+
304
+ 8. **Final Review and Polish**
305
+
306
+ When draft is complete, provide comprehensive feedback:
307
+
308
+ ```markdown
309
+ # Full Draft Review
310
+
311
+ ## Overall Assessment
312
+
313
+ **Strengths**:
314
+ - [Major strength 1]
315
+ - [Major strength 2]
316
+ - [Major strength 3]
317
+
318
+ **Impact**: [Overall effectiveness assessment]
319
+
320
+ ## Structure & Flow
321
+ - [Comments on organization]
322
+ - [Transition quality]
323
+ - [Pacing assessment]
324
+
325
+ ## Content Quality
326
+ - [Argument strength]
327
+ - [Evidence sufficiency]
328
+ - [Example effectiveness]
329
+
330
+ ## Technical Quality
331
+ - Grammar and mechanics: [assessment]
332
+ - Consistency: [assessment]
333
+ - Citations: [completeness check]
334
+
335
+ ## Readability
336
+ - Clarity score: [evaluation]
337
+ - Sentence variety: [evaluation]
338
+ - Paragraph length: [evaluation]
339
+
340
+ ## Final Polish Suggestions
341
+
342
+ 1. **Introduction**: [Specific improvements]
343
+ 2. **Body**: [Specific improvements]
344
+ 3. **Conclusion**: [Specific improvements]
345
+ 4. **Title**: [Options if needed]
346
+
347
+ ## Pre-Publish Checklist
348
+ - [ ] All claims sourced
349
+ - [ ] Citations formatted
350
+ - [ ] Examples clear
351
+ - [ ] Transitions smooth
352
+ - [ ] Call to action present
353
+ - [ ] Proofread for typos
354
+
355
+ Ready to publish! 🚀
356
+ ```
357
+
358
+ ## Examples
359
+
360
+ ### Example 1: Teresa Torres's Workflow
361
+
362
+ **User**: "I'm writing an article about continuous discovery. Help me create an outline."
363
+
364
+ **Process**:
365
+ 1. Collaborates on outline structure
366
+ 2. Identifies research needs
367
+ 3. User starts writing introduction
368
+ 4. Reviews and improves the hook
369
+ 5. User writes each section
370
+ 6. Provides feedback after each section
371
+ 7. Conducts research and adds citations
372
+ 8. Final review of complete draft
373
+ 9. Polish and prep for publishing
374
+
375
+ **Result**: Well-researched, properly cited article written in Teresa's voice with strong structure and flow.
376
+
377
+ ### Example 2: Research-Heavy Article
378
+
379
+ **User**: "I'm writing about AI's impact on product management. Help me find current data and examples."
380
+
381
+ **Output**:
382
+ ```markdown
383
+ ## Research Compiled
384
+
385
+ ### Recent Data
386
+ - Gartner: 80% of PMs will use AI tools by 2025 [1]
387
+ - Survey: 45% report faster feature shipping [2]
388
+ - Case study: Airbnb's AI-assisted prioritization [3]
389
+
390
+ ### Expert Quotes
391
+ - "AI amplifies PM judgment, not replaces it" - Marty Cagan
392
+ - [Additional quotes with citations]
393
+
394
+ ### Real Examples
395
+ 1. **Company A**: Used AI for user research synthesis
396
+ - Result: 60% time savings
397
+ - Source: [citation]
398
+
399
+ 2. **Company B**: AI-powered roadmap analysis
400
+ - Result: Better stakeholder alignment
401
+ - Source: [citation]
402
+
403
+ All added to your outline with proper citations.
404
+ ```
405
+
406
+ ### Example 3: Hook Improvement
407
+
408
+ **User's Original Hook**:
409
+ > "Product management is changing because of AI. In this article, I'll discuss some ways AI affects product managers."
410
+
411
+ **Improved Options**:
412
+
413
+ **Option 1 (Data-driven)**:
414
+ > "Last month, I asked AI to analyze 500 customer interviews. It took 30 minutes instead of 3 weeks. Product management will never be the same."
415
+
416
+ **Option 2 (Question)**:
417
+ > "What if you could talk to every customer, read every review, and analyze every support ticket—all before your morning coffee?"
418
+
419
+ **Option 3 (Story)**:
420
+ > "Sarah spent two weeks building the wrong feature. Not because she didn't understand her users, but because she couldn't process the hundreds of interviews fast enough to spot the pattern."
421
+
422
+ ### Example 4: Section Feedback
423
+
424
+ **User**: "Just finished my 'Common Mistakes' section. Thoughts?"
425
+
426
+ **Response**:
427
+ ```markdown
428
+ # Feedback: Common Mistakes Section
429
+
430
+ ## What Works Well ✓
431
+ - Strong examples (the Slack notification story)
432
+ - Clear structure (3 mistakes, clean layout)
433
+ - Practical advice for each mistake
434
+
435
+ ## Suggestions
436
+
437
+ ### Make It More Specific
438
+ Your second point says "Bad prioritization" but could be stronger:
439
+
440
+ Current:
441
+ > "Many teams prioritize badly by focusing on features instead of outcomes."
442
+
443
+ Suggested:
444
+ > "I've watched teams ship 14 features in a quarter yet move none of their key metrics. They prioritized activity over progress."
445
+
446
+ ### Add Data
447
+ The third mistake would benefit from evidence:
448
+ > "[Add citation]: Studies show teams without regular user contact are 3x more likely to build unused features [needs source]"
449
+
450
+ ### Flow Improvement
451
+ Consider reordering: Mistake 3 → Mistake 2 → Mistake 1
452
+ This builds from small to big impact.
453
+
454
+ Ready for the next section!
455
+ ```
456
+
457
+ ## Writing Workflows
458
+
459
+ ### Blog Post Workflow
460
+ 1. Outline together
461
+ 2. Research key points
462
+ 3. Write introduction → get feedback
463
+ 4. Write body sections → feedback each
464
+ 5. Write conclusion → final review
465
+ 6. Polish and edit
466
+
467
+ ### Newsletter Workflow
468
+ 1. Discuss hook ideas
469
+ 2. Quick outline (shorter format)
470
+ 3. Draft in one session
471
+ 4. Review for clarity and links
472
+ 5. Quick polish
473
+
474
+ ### Technical Tutorial Workflow
475
+ 1. Outline steps
476
+ 2. Write code examples
477
+ 3. Add explanations
478
+ 4. Test instructions
479
+ 5. Add troubleshooting section
480
+ 6. Final review for accuracy
481
+
482
+ ### Thought Leadership Workflow
483
+ 1. Brainstorm unique angle
484
+ 2. Research existing perspectives
485
+ 3. Develop your thesis
486
+ 4. Write with strong POV
487
+ 5. Add supporting evidence
488
+ 6. Craft compelling conclusion
489
+
490
+ ## Pro Tips
491
+
492
+ 1. **Work in VS Code**: Better than web Claude for long-form writing
493
+ 2. **One section at a time**: Get feedback incrementally
494
+ 3. **Save research separately**: Keep a research.md file
495
+ 4. **Version your drafts**: article-v1.md, article-v2.md, etc.
496
+ 5. **Read aloud**: Use feedback to identify clunky sentences
497
+ 6. **Set deadlines**: "I want to finish the draft today"
498
+ 7. **Take breaks**: Write, get feedback, pause, revise
499
+
500
+ ## File Organization
501
+
502
+ Recommended structure for writing projects:
503
+
504
+ ```
505
+ ~/writing/article-name/
506
+ ├── outline.md # Your outline
507
+ ├── research.md # All research and citations
508
+ ├── draft-v1.md # First draft
509
+ ├── draft-v2.md # Revised draft
510
+ ├── final.md # Publication-ready
511
+ ├── feedback.md # Collected feedback
512
+ └── sources/ # Reference materials
513
+ ├── study1.pdf
514
+ └── article2.md
515
+ ```
516
+
517
+ ## Best Practices
518
+
519
+ ### For Research
520
+ - Verify sources before citing
521
+ - Use recent data when possible
522
+ - Balance different perspectives
523
+ - Link to original sources
524
+
525
+ ### For Feedback
526
+ - Be specific about what you want: "Is this too technical?"
527
+ - Share your concerns: "I'm worried this section drags"
528
+ - Ask questions: "Does this flow logically?"
529
+ - Request alternatives: "What's another way to explain this?"
530
+
531
+ ### For Voice
532
+ - Share examples of your writing
533
+ - Specify tone preferences
534
+ - Point out good matches: "That sounds like me!"
535
+ - Flag mismatches: "Too formal for my style"
536
+
537
+ ## Related Use Cases
538
+
539
+ - Creating social media posts from articles
540
+ - Adapting content for different audiences
541
+ - Writing email newsletters
542
+ - Drafting technical documentation
543
+ - Creating presentation content
544
+ - Writing case studies
545
+ - Developing course outlines
546
+