daemora 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +663 -0
- package/README.md +69 -19
- package/SOUL.md +29 -26
- package/config/mcp.json +126 -66
- package/daemora-ui/README.md +11 -0
- package/package.json +12 -2
- package/skills/api-development.md +35 -0
- package/skills/artifacts-builder/SKILL.md +74 -0
- package/skills/artifacts-builder/scripts/bundle-artifact.sh +54 -0
- package/skills/artifacts-builder/scripts/init-artifact.sh +322 -0
- package/skills/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- package/skills/brand-guidelines.md +73 -0
- package/skills/browser.md +77 -0
- package/skills/changelog-generator.md +104 -0
- package/skills/coding.md +26 -10
- package/skills/content-research-writer.md +538 -0
- package/skills/data-analysis.md +27 -0
- package/skills/debugging.md +33 -0
- package/skills/devops.md +37 -0
- package/skills/document-docx.md +197 -0
- package/skills/document-pdf.md +294 -0
- package/skills/document-pptx.md +484 -0
- package/skills/document-xlsx.md +289 -0
- package/skills/domain-name-brainstormer.md +212 -0
- package/skills/file-organizer.md +433 -0
- package/skills/frontend-design.md +42 -0
- package/skills/image-enhancer.md +99 -0
- package/skills/invoice-organizer.md +446 -0
- package/skills/lead-research-assistant.md +199 -0
- package/skills/mcp-builder/SKILL.md +328 -0
- package/skills/mcp-builder/reference/evaluation.md +602 -0
- package/skills/mcp-builder/reference/mcp_best_practices.md +915 -0
- package/skills/mcp-builder/reference/node_mcp_server.md +916 -0
- package/skills/mcp-builder/reference/python_mcp_server.md +752 -0
- package/skills/mcp-builder/scripts/connections.py +151 -0
- package/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/skills/meeting-insights-analyzer.md +327 -0
- package/skills/orchestration.md +93 -0
- package/skills/raffle-winner-picker.md +159 -0
- package/skills/slack-gif-creator/SKILL.md +646 -0
- package/skills/slack-gif-creator/core/color_palettes.py +302 -0
- package/skills/slack-gif-creator/core/easing.py +230 -0
- package/skills/slack-gif-creator/core/frame_composer.py +469 -0
- package/skills/slack-gif-creator/core/gif_builder.py +246 -0
- package/skills/slack-gif-creator/core/typography.py +357 -0
- package/skills/slack-gif-creator/core/validators.py +264 -0
- package/skills/slack-gif-creator/core/visual_effects.py +494 -0
- package/skills/slack-gif-creator/requirements.txt +4 -0
- package/skills/slack-gif-creator/templates/bounce.py +106 -0
- package/skills/slack-gif-creator/templates/explode.py +331 -0
- package/skills/slack-gif-creator/templates/fade.py +329 -0
- package/skills/slack-gif-creator/templates/flip.py +291 -0
- package/skills/slack-gif-creator/templates/kaleidoscope.py +211 -0
- package/skills/slack-gif-creator/templates/morph.py +329 -0
- package/skills/slack-gif-creator/templates/move.py +293 -0
- package/skills/slack-gif-creator/templates/pulse.py +268 -0
- package/skills/slack-gif-creator/templates/shake.py +127 -0
- package/skills/slack-gif-creator/templates/slide.py +291 -0
- package/skills/slack-gif-creator/templates/spin.py +269 -0
- package/skills/slack-gif-creator/templates/wiggle.py +300 -0
- package/skills/slack-gif-creator/templates/zoom.py +312 -0
- package/skills/system-admin.md +44 -0
- package/skills/tailored-resume-generator.md +345 -0
- package/skills/theme-factory/SKILL.md +59 -0
- package/skills/theme-factory/theme-showcase.pdf +0 -0
- package/skills/theme-factory/themes/arctic-frost.md +19 -0
- package/skills/theme-factory/themes/botanical-garden.md +19 -0
- package/skills/theme-factory/themes/desert-rose.md +19 -0
- package/skills/theme-factory/themes/forest-canopy.md +19 -0
- package/skills/theme-factory/themes/golden-hour.md +19 -0
- package/skills/theme-factory/themes/midnight-galaxy.md +19 -0
- package/skills/theme-factory/themes/modern-minimalist.md +19 -0
- package/skills/theme-factory/themes/ocean-depths.md +19 -0
- package/skills/theme-factory/themes/sunset-boulevard.md +19 -0
- package/skills/theme-factory/themes/tech-innovation.md +19 -0
- package/skills/video-downloader.md +99 -0
- package/skills/web-development.md +32 -0
- package/skills/webapp-testing/SKILL.md +96 -0
- package/skills/webapp-testing/examples/console_logging.py +35 -0
- package/skills/webapp-testing/examples/element_discovery.py +40 -0
- package/skills/webapp-testing/examples/static_html_automation.py +33 -0
- package/skills/webapp-testing/scripts/with_server.py +106 -0
- package/src/agents/SubAgentManager.js +134 -16
- package/src/agents/systemPrompt.js +427 -0
- package/src/api/openai-compat.js +212 -0
- package/src/channels/TelegramChannel.js +5 -2
- package/src/channels/index.js +7 -10
- package/src/cli.js +281 -55
- package/src/config/agentProfiles.js +1 -0
- package/src/config/default.js +15 -1
- package/src/config/models.js +314 -78
- package/src/config/permissions.js +12 -0
- package/src/core/AgentLoop.js +70 -50
- package/src/core/Compaction.js +111 -11
- package/src/core/MessageQueue.js +90 -0
- package/src/core/Task.js +13 -0
- package/src/core/TaskQueue.js +1 -1
- package/src/core/TaskRunner.js +81 -6
- package/src/index.js +725 -59
- package/src/mcp/MCPAgentRunner.js +48 -11
- package/src/mcp/MCPManager.js +40 -2
- package/src/models/ModelRouter.js +74 -4
- package/src/safety/DockerSandbox.js +212 -0
- package/src/safety/ExecApproval.js +118 -0
- package/src/scheduler/Heartbeat.js +56 -21
- package/src/services/cleanup.js +106 -0
- package/src/services/sessions.js +39 -1
- package/src/setup/wizard.js +125 -75
- package/src/skills/SkillLoader.js +132 -17
- package/src/storage/TaskStore.js +19 -1
- package/src/tools/browserAutomation.js +615 -104
- package/src/tools/executeCommand.js +19 -1
- package/src/tools/index.js +7 -1
- package/src/tools/manageAgents.js +55 -4
- package/src/tools/replyWithFile.js +62 -0
- package/src/tools/screenCapture.js +12 -1
- package/src/tools/taskManager.js +164 -0
- package/src/tools/useMCP.js +3 -1
- package/src/utils/Embeddings.js +236 -12
- package/src/webhooks/WebhookHandler.js +107 -0
- package/src/systemPrompt.js +0 -528
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: changelog-generator
|
|
3
|
+
description: Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Changelog Generator
|
|
7
|
+
|
|
8
|
+
This skill transforms technical git commits into polished, user-friendly changelogs that your customers and users will actually understand and appreciate.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
- Preparing release notes for a new version
|
|
13
|
+
- Creating weekly or monthly product update summaries
|
|
14
|
+
- Documenting changes for customers
|
|
15
|
+
- Writing changelog entries for app store submissions
|
|
16
|
+
- Generating update notifications
|
|
17
|
+
- Creating internal release documentation
|
|
18
|
+
- Maintaining a public changelog/product updates page
|
|
19
|
+
|
|
20
|
+
## What This Skill Does
|
|
21
|
+
|
|
22
|
+
1. **Scans Git History**: Analyzes commits from a specific time period or between versions
|
|
23
|
+
2. **Categorizes Changes**: Groups commits into logical categories (features, improvements, bug fixes, breaking changes, security)
|
|
24
|
+
3. **Translates Technical → User-Friendly**: Converts developer commits into customer language
|
|
25
|
+
4. **Formats Professionally**: Creates clean, structured changelog entries
|
|
26
|
+
5. **Filters Noise**: Excludes internal commits (refactoring, tests, etc.)
|
|
27
|
+
6. **Follows Best Practices**: Applies changelog guidelines and your brand voice
|
|
28
|
+
|
|
29
|
+
## How to Use
|
|
30
|
+
|
|
31
|
+
### Basic Usage
|
|
32
|
+
|
|
33
|
+
From your project repository:
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
Create a changelog from commits since last release
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
Generate changelog for all commits from the past week
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
Create release notes for version 2.5.0
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### With Specific Date Range
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
Create a changelog for all commits between March 1 and March 15
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### With Custom Guidelines
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
Create a changelog for commits since v2.4.0, using my changelog
|
|
57
|
+
guidelines from CHANGELOG_STYLE.md
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Example
|
|
61
|
+
|
|
62
|
+
**User**: "Create a changelog for commits from the past 7 days"
|
|
63
|
+
|
|
64
|
+
**Output**:
|
|
65
|
+
```markdown
|
|
66
|
+
# Updates - Week of March 10, 2024
|
|
67
|
+
|
|
68
|
+
## ✨ New Features
|
|
69
|
+
|
|
70
|
+
- **Team Workspaces**: Create separate workspaces for different
|
|
71
|
+
projects. Invite team members and keep everything organized.
|
|
72
|
+
|
|
73
|
+
- **Keyboard Shortcuts**: Press ? to see all available shortcuts.
|
|
74
|
+
Navigate faster without touching your mouse.
|
|
75
|
+
|
|
76
|
+
## 🔧 Improvements
|
|
77
|
+
|
|
78
|
+
- **Faster Sync**: Files now sync 2x faster across devices
|
|
79
|
+
- **Better Search**: Search now includes file contents, not just titles
|
|
80
|
+
|
|
81
|
+
## 🐛 Fixes
|
|
82
|
+
|
|
83
|
+
- Fixed issue where large images wouldn't upload
|
|
84
|
+
- Resolved timezone confusion in scheduled posts
|
|
85
|
+
- Corrected notification badge count
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Inspired by:** Manik Aggarwal's use case from Lenny's Newsletter
|
|
89
|
+
|
|
90
|
+
## Tips
|
|
91
|
+
|
|
92
|
+
- Run from your git repository root
|
|
93
|
+
- Specify date ranges for focused changelogs
|
|
94
|
+
- Use your CHANGELOG_STYLE.md for consistent formatting
|
|
95
|
+
- Review and adjust the generated changelog before publishing
|
|
96
|
+
- Save output directly to CHANGELOG.md
|
|
97
|
+
|
|
98
|
+
## Related Use Cases
|
|
99
|
+
|
|
100
|
+
- Creating GitHub release notes
|
|
101
|
+
- Writing app store update descriptions
|
|
102
|
+
- Generating email updates for users
|
|
103
|
+
- Creating social media announcement posts
|
|
104
|
+
|
package/skills/coding.md
CHANGED
|
@@ -1,14 +1,30 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: coding
|
|
3
3
|
description: Use when writing, debugging, or reviewing code
|
|
4
|
-
triggers: code, function, bug, error, refactor, implement, class, module, typescript, javascript, python, api, endpoint, test, debug
|
|
4
|
+
triggers: code, function, bug, error, refactor, implement, class, module, typescript, javascript, python, api, endpoint, test, debug, fix, PR, pull request, commit, git
|
|
5
5
|
---
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
1. **Read
|
|
9
|
-
2. **
|
|
10
|
-
3. **
|
|
11
|
-
4. **
|
|
12
|
-
5. **
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
## Workflow: Read → Understand → Change → Verify → Test
|
|
7
|
+
|
|
8
|
+
1. **Read** — readFile every file you'll touch. Check imports, patterns, conventions.
|
|
9
|
+
2. **Understand** — trace data flow. Find callers. Check tests.
|
|
10
|
+
3. **Change** — editFile for surgical fixes. writeFile only for new files or full rewrites.
|
|
11
|
+
4. **Verify** — readFile after every edit. Check the diff is what you intended.
|
|
12
|
+
5. **Test** — run build + tests. If they fail, fix and re-run. Don't finalize with failing tests.
|
|
13
|
+
|
|
14
|
+
## Rules
|
|
15
|
+
- Match existing code style (naming, indentation, patterns)
|
|
16
|
+
- Don't add comments, docstrings, or type annotations to code you didn't change
|
|
17
|
+
- Don't refactor code you weren't asked to refactor
|
|
18
|
+
- Don't add error handling for impossible scenarios
|
|
19
|
+
- Security: no injection, XSS, hardcoded secrets, path traversal
|
|
20
|
+
|
|
21
|
+
## Git Workflow
|
|
22
|
+
- Read the diff before committing: `git diff`
|
|
23
|
+
- Write clear commit messages: imperative, present tense, explain WHY
|
|
24
|
+
- One logical change per commit
|
|
25
|
+
|
|
26
|
+
## Code Review
|
|
27
|
+
- Check for bugs, security issues, performance problems
|
|
28
|
+
- Verify edge cases and error handling
|
|
29
|
+
- Ensure tests cover the change
|
|
30
|
+
- Flag over-engineering and unnecessary complexity
|
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: content-research-writer
|
|
3
|
+
description: Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Content Research Writer
|
|
7
|
+
|
|
8
|
+
This skill acts as your writing partner, helping you research, outline, draft, and refine content while maintaining your unique voice and style.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
- Writing blog posts, articles, or newsletters
|
|
13
|
+
- Creating educational content or tutorials
|
|
14
|
+
- Drafting thought leadership pieces
|
|
15
|
+
- Researching and writing case studies
|
|
16
|
+
- Producing technical documentation with sources
|
|
17
|
+
- Writing with proper citations and references
|
|
18
|
+
- Improving hooks and introductions
|
|
19
|
+
- Getting section-by-section feedback while writing
|
|
20
|
+
|
|
21
|
+
## What This Skill Does
|
|
22
|
+
|
|
23
|
+
1. **Collaborative Outlining**: Helps you structure ideas into coherent outlines
|
|
24
|
+
2. **Research Assistance**: Finds relevant information and adds citations
|
|
25
|
+
3. **Hook Improvement**: Strengthens your opening to capture attention
|
|
26
|
+
4. **Section Feedback**: Reviews each section as you write
|
|
27
|
+
5. **Voice Preservation**: Maintains your writing style and tone
|
|
28
|
+
6. **Citation Management**: Adds and formats references properly
|
|
29
|
+
7. **Iterative Refinement**: Helps you improve through multiple drafts
|
|
30
|
+
|
|
31
|
+
## How to Use
|
|
32
|
+
|
|
33
|
+
### Setup Your Writing Environment
|
|
34
|
+
|
|
35
|
+
Create a dedicated folder for your article:
|
|
36
|
+
```
|
|
37
|
+
mkdir ~/writing/my-article-title
|
|
38
|
+
cd ~/writing/my-article-title
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Create your draft file:
|
|
42
|
+
```
|
|
43
|
+
touch article-draft.md
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Open Claude Code from this directory and start writing.
|
|
47
|
+
|
|
48
|
+
### Basic Workflow
|
|
49
|
+
|
|
50
|
+
1. **Start with an outline**:
|
|
51
|
+
```
|
|
52
|
+
Help me create an outline for an article about [topic]
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
2. **Research and add citations**:
|
|
56
|
+
```
|
|
57
|
+
Research [specific topic] and add citations to my outline
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
3. **Improve the hook**:
|
|
61
|
+
```
|
|
62
|
+
Here's my introduction. Help me make the hook more compelling.
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
4. **Get section feedback**:
|
|
66
|
+
```
|
|
67
|
+
I just finished the "Why This Matters" section. Review it and give feedback.
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
5. **Refine and polish**:
|
|
71
|
+
```
|
|
72
|
+
Review the full draft for flow, clarity, and consistency.
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Instructions
|
|
76
|
+
|
|
77
|
+
When a user requests writing assistance:
|
|
78
|
+
|
|
79
|
+
1. **Understand the Writing Project**
|
|
80
|
+
|
|
81
|
+
Ask clarifying questions:
|
|
82
|
+
- What's the topic and main argument?
|
|
83
|
+
- Who's the target audience?
|
|
84
|
+
- What's the desired length/format?
|
|
85
|
+
- What's your goal? (educate, persuade, entertain, explain)
|
|
86
|
+
- Any existing research or sources to include?
|
|
87
|
+
- What's your writing style? (formal, conversational, technical)
|
|
88
|
+
|
|
89
|
+
2. **Collaborative Outlining**
|
|
90
|
+
|
|
91
|
+
Help structure the content:
|
|
92
|
+
|
|
93
|
+
```markdown
|
|
94
|
+
# Article Outline: [Title]
|
|
95
|
+
|
|
96
|
+
## Hook
|
|
97
|
+
- [Opening line/story/statistic]
|
|
98
|
+
- [Why reader should care]
|
|
99
|
+
|
|
100
|
+
## Introduction
|
|
101
|
+
- Context and background
|
|
102
|
+
- Problem statement
|
|
103
|
+
- What this article covers
|
|
104
|
+
|
|
105
|
+
## Main Sections
|
|
106
|
+
|
|
107
|
+
### Section 1: [Title]
|
|
108
|
+
- Key point A
|
|
109
|
+
- Key point B
|
|
110
|
+
- Example/evidence
|
|
111
|
+
- [Research needed: specific topic]
|
|
112
|
+
|
|
113
|
+
### Section 2: [Title]
|
|
114
|
+
- Key point C
|
|
115
|
+
- Key point D
|
|
116
|
+
- Data/citation needed
|
|
117
|
+
|
|
118
|
+
### Section 3: [Title]
|
|
119
|
+
- Key point E
|
|
120
|
+
- Counter-arguments
|
|
121
|
+
- Resolution
|
|
122
|
+
|
|
123
|
+
## Conclusion
|
|
124
|
+
- Summary of main points
|
|
125
|
+
- Call to action
|
|
126
|
+
- Final thought
|
|
127
|
+
|
|
128
|
+
## Research To-Do
|
|
129
|
+
- [ ] Find data on [topic]
|
|
130
|
+
- [ ] Get examples of [concept]
|
|
131
|
+
- [ ] Source citation for [claim]
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**Iterate on outline**:
|
|
135
|
+
- Adjust based on feedback
|
|
136
|
+
- Ensure logical flow
|
|
137
|
+
- Identify research gaps
|
|
138
|
+
- Mark sections for deep dives
|
|
139
|
+
|
|
140
|
+
3. **Conduct Research**
|
|
141
|
+
|
|
142
|
+
When user requests research on a topic:
|
|
143
|
+
|
|
144
|
+
- Search for relevant information
|
|
145
|
+
- Find credible sources
|
|
146
|
+
- Extract key facts, quotes, and data
|
|
147
|
+
- Add citations in requested format
|
|
148
|
+
|
|
149
|
+
Example output:
|
|
150
|
+
```markdown
|
|
151
|
+
## Research: AI Impact on Productivity
|
|
152
|
+
|
|
153
|
+
Key Findings:
|
|
154
|
+
|
|
155
|
+
1. **Productivity Gains**: Studies show 40% time savings for
|
|
156
|
+
content creation tasks [1]
|
|
157
|
+
|
|
158
|
+
2. **Adoption Rates**: 67% of knowledge workers use AI tools
|
|
159
|
+
weekly [2]
|
|
160
|
+
|
|
161
|
+
3. **Expert Quote**: "AI augments rather than replaces human
|
|
162
|
+
creativity" - Dr. Jane Smith, MIT [3]
|
|
163
|
+
|
|
164
|
+
Citations:
|
|
165
|
+
[1] McKinsey Global Institute. (2024). "The Economic Potential
|
|
166
|
+
of Generative AI"
|
|
167
|
+
[2] Stack Overflow Developer Survey (2024)
|
|
168
|
+
[3] Smith, J. (2024). MIT Technology Review interview
|
|
169
|
+
|
|
170
|
+
Added to outline under Section 2.
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
4. **Improve Hooks**
|
|
174
|
+
|
|
175
|
+
When user shares an introduction, analyze and strengthen:
|
|
176
|
+
|
|
177
|
+
**Current Hook Analysis**:
|
|
178
|
+
- What works: [positive elements]
|
|
179
|
+
- What could be stronger: [areas for improvement]
|
|
180
|
+
- Emotional impact: [current vs. potential]
|
|
181
|
+
|
|
182
|
+
**Suggested Alternatives**:
|
|
183
|
+
|
|
184
|
+
Option 1: [Bold statement]
|
|
185
|
+
> [Example]
|
|
186
|
+
*Why it works: [explanation]*
|
|
187
|
+
|
|
188
|
+
Option 2: [Personal story]
|
|
189
|
+
> [Example]
|
|
190
|
+
*Why it works: [explanation]*
|
|
191
|
+
|
|
192
|
+
Option 3: [Surprising data]
|
|
193
|
+
> [Example]
|
|
194
|
+
*Why it works: [explanation]*
|
|
195
|
+
|
|
196
|
+
**Questions to hook**:
|
|
197
|
+
- Does it create curiosity?
|
|
198
|
+
- Does it promise value?
|
|
199
|
+
- Is it specific enough?
|
|
200
|
+
- Does it match the audience?
|
|
201
|
+
|
|
202
|
+
5. **Provide Section-by-Section Feedback**
|
|
203
|
+
|
|
204
|
+
As user writes each section, review for:
|
|
205
|
+
|
|
206
|
+
```markdown
|
|
207
|
+
# Feedback: [Section Name]
|
|
208
|
+
|
|
209
|
+
## What Works Well ✓
|
|
210
|
+
- [Strength 1]
|
|
211
|
+
- [Strength 2]
|
|
212
|
+
- [Strength 3]
|
|
213
|
+
|
|
214
|
+
## Suggestions for Improvement
|
|
215
|
+
|
|
216
|
+
### Clarity
|
|
217
|
+
- [Specific issue] → [Suggested fix]
|
|
218
|
+
- [Complex sentence] → [Simpler alternative]
|
|
219
|
+
|
|
220
|
+
### Flow
|
|
221
|
+
- [Transition issue] → [Better connection]
|
|
222
|
+
- [Paragraph order] → [Suggested reordering]
|
|
223
|
+
|
|
224
|
+
### Evidence
|
|
225
|
+
- [Claim needing support] → [Add citation or example]
|
|
226
|
+
- [Generic statement] → [Make more specific]
|
|
227
|
+
|
|
228
|
+
### Style
|
|
229
|
+
- [Tone inconsistency] → [Match your voice better]
|
|
230
|
+
- [Word choice] → [Stronger alternative]
|
|
231
|
+
|
|
232
|
+
## Specific Line Edits
|
|
233
|
+
|
|
234
|
+
Original:
|
|
235
|
+
> [Exact quote from draft]
|
|
236
|
+
|
|
237
|
+
Suggested:
|
|
238
|
+
> [Improved version]
|
|
239
|
+
|
|
240
|
+
Why: [Explanation]
|
|
241
|
+
|
|
242
|
+
## Questions to Consider
|
|
243
|
+
- [Thought-provoking question 1]
|
|
244
|
+
- [Thought-provoking question 2]
|
|
245
|
+
|
|
246
|
+
Ready to move to next section!
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
6. **Preserve Writer's Voice**
|
|
250
|
+
|
|
251
|
+
Important principles:
|
|
252
|
+
|
|
253
|
+
- **Learn their style**: Read existing writing samples
|
|
254
|
+
- **Suggest, don't replace**: Offer options, not directives
|
|
255
|
+
- **Match tone**: Formal, casual, technical, friendly
|
|
256
|
+
- **Respect choices**: If they prefer their version, support it
|
|
257
|
+
- **Enhance, don't override**: Make their writing better, not different
|
|
258
|
+
|
|
259
|
+
Ask periodically:
|
|
260
|
+
- "Does this sound like you?"
|
|
261
|
+
- "Is this the right tone?"
|
|
262
|
+
- "Should I be more/less [formal/casual/technical]?"
|
|
263
|
+
|
|
264
|
+
7. **Citation Management**
|
|
265
|
+
|
|
266
|
+
Handle references based on user preference:
|
|
267
|
+
|
|
268
|
+
**Inline Citations**:
|
|
269
|
+
```markdown
|
|
270
|
+
Studies show 40% productivity improvement (McKinsey, 2024).
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
**Numbered References**:
|
|
274
|
+
```markdown
|
|
275
|
+
Studies show 40% productivity improvement [1].
|
|
276
|
+
|
|
277
|
+
[1] McKinsey Global Institute. (2024)...
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
**Footnote Style**:
|
|
281
|
+
```markdown
|
|
282
|
+
Studies show 40% productivity improvement^1
|
|
283
|
+
|
|
284
|
+
^1: McKinsey Global Institute. (2024)...
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
Maintain a running citations list:
|
|
288
|
+
```markdown
|
|
289
|
+
## References
|
|
290
|
+
|
|
291
|
+
1. Author. (Year). "Title". Publication.
|
|
292
|
+
2. Author. (Year). "Title". Publication.
|
|
293
|
+
...
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
8. **Final Review and Polish**
|
|
297
|
+
|
|
298
|
+
When draft is complete, provide comprehensive feedback:
|
|
299
|
+
|
|
300
|
+
```markdown
|
|
301
|
+
# Full Draft Review
|
|
302
|
+
|
|
303
|
+
## Overall Assessment
|
|
304
|
+
|
|
305
|
+
**Strengths**:
|
|
306
|
+
- [Major strength 1]
|
|
307
|
+
- [Major strength 2]
|
|
308
|
+
- [Major strength 3]
|
|
309
|
+
|
|
310
|
+
**Impact**: [Overall effectiveness assessment]
|
|
311
|
+
|
|
312
|
+
## Structure & Flow
|
|
313
|
+
- [Comments on organization]
|
|
314
|
+
- [Transition quality]
|
|
315
|
+
- [Pacing assessment]
|
|
316
|
+
|
|
317
|
+
## Content Quality
|
|
318
|
+
- [Argument strength]
|
|
319
|
+
- [Evidence sufficiency]
|
|
320
|
+
- [Example effectiveness]
|
|
321
|
+
|
|
322
|
+
## Technical Quality
|
|
323
|
+
- Grammar and mechanics: [assessment]
|
|
324
|
+
- Consistency: [assessment]
|
|
325
|
+
- Citations: [completeness check]
|
|
326
|
+
|
|
327
|
+
## Readability
|
|
328
|
+
- Clarity score: [evaluation]
|
|
329
|
+
- Sentence variety: [evaluation]
|
|
330
|
+
- Paragraph length: [evaluation]
|
|
331
|
+
|
|
332
|
+
## Final Polish Suggestions
|
|
333
|
+
|
|
334
|
+
1. **Introduction**: [Specific improvements]
|
|
335
|
+
2. **Body**: [Specific improvements]
|
|
336
|
+
3. **Conclusion**: [Specific improvements]
|
|
337
|
+
4. **Title**: [Options if needed]
|
|
338
|
+
|
|
339
|
+
## Pre-Publish Checklist
|
|
340
|
+
- [ ] All claims sourced
|
|
341
|
+
- [ ] Citations formatted
|
|
342
|
+
- [ ] Examples clear
|
|
343
|
+
- [ ] Transitions smooth
|
|
344
|
+
- [ ] Call to action present
|
|
345
|
+
- [ ] Proofread for typos
|
|
346
|
+
|
|
347
|
+
Ready to publish! 🚀
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
## Examples
|
|
351
|
+
|
|
352
|
+
### Example 1: Teresa Torres's Workflow
|
|
353
|
+
|
|
354
|
+
**User**: "I'm writing an article about continuous discovery. Help me create an outline."
|
|
355
|
+
|
|
356
|
+
**Process**:
|
|
357
|
+
1. Collaborates on outline structure
|
|
358
|
+
2. Identifies research needs
|
|
359
|
+
3. User starts writing introduction
|
|
360
|
+
4. Reviews and improves the hook
|
|
361
|
+
5. User writes each section
|
|
362
|
+
6. Provides feedback after each section
|
|
363
|
+
7. Conducts research and adds citations
|
|
364
|
+
8. Final review of complete draft
|
|
365
|
+
9. Polish and prep for publishing
|
|
366
|
+
|
|
367
|
+
**Result**: Well-researched, properly cited article written in Teresa's voice with strong structure and flow.
|
|
368
|
+
|
|
369
|
+
### Example 2: Research-Heavy Article
|
|
370
|
+
|
|
371
|
+
**User**: "I'm writing about AI's impact on product management. Help me find current data and examples."
|
|
372
|
+
|
|
373
|
+
**Output**:
|
|
374
|
+
```markdown
|
|
375
|
+
## Research Compiled
|
|
376
|
+
|
|
377
|
+
### Recent Data
|
|
378
|
+
- Gartner: 80% of PMs will use AI tools by 2025 [1]
|
|
379
|
+
- Survey: 45% report faster feature shipping [2]
|
|
380
|
+
- Case study: Airbnb's AI-assisted prioritization [3]
|
|
381
|
+
|
|
382
|
+
### Expert Quotes
|
|
383
|
+
- "AI amplifies PM judgment, not replaces it" - Marty Cagan
|
|
384
|
+
- [Additional quotes with citations]
|
|
385
|
+
|
|
386
|
+
### Real Examples
|
|
387
|
+
1. **Company A**: Used AI for user research synthesis
|
|
388
|
+
- Result: 60% time savings
|
|
389
|
+
- Source: [citation]
|
|
390
|
+
|
|
391
|
+
2. **Company B**: AI-powered roadmap analysis
|
|
392
|
+
- Result: Better stakeholder alignment
|
|
393
|
+
- Source: [citation]
|
|
394
|
+
|
|
395
|
+
All added to your outline with proper citations.
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
### Example 3: Hook Improvement
|
|
399
|
+
|
|
400
|
+
**User's Original Hook**:
|
|
401
|
+
> "Product management is changing because of AI. In this article, I'll discuss some ways AI affects product managers."
|
|
402
|
+
|
|
403
|
+
**Improved Options**:
|
|
404
|
+
|
|
405
|
+
**Option 1 (Data-driven)**:
|
|
406
|
+
> "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."
|
|
407
|
+
|
|
408
|
+
**Option 2 (Question)**:
|
|
409
|
+
> "What if you could talk to every customer, read every review, and analyze every support ticket—all before your morning coffee?"
|
|
410
|
+
|
|
411
|
+
**Option 3 (Story)**:
|
|
412
|
+
> "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."
|
|
413
|
+
|
|
414
|
+
### Example 4: Section Feedback
|
|
415
|
+
|
|
416
|
+
**User**: "Just finished my 'Common Mistakes' section. Thoughts?"
|
|
417
|
+
|
|
418
|
+
**Response**:
|
|
419
|
+
```markdown
|
|
420
|
+
# Feedback: Common Mistakes Section
|
|
421
|
+
|
|
422
|
+
## What Works Well ✓
|
|
423
|
+
- Strong examples (the Slack notification story)
|
|
424
|
+
- Clear structure (3 mistakes, clean layout)
|
|
425
|
+
- Practical advice for each mistake
|
|
426
|
+
|
|
427
|
+
## Suggestions
|
|
428
|
+
|
|
429
|
+
### Make It More Specific
|
|
430
|
+
Your second point says "Bad prioritization" but could be stronger:
|
|
431
|
+
|
|
432
|
+
Current:
|
|
433
|
+
> "Many teams prioritize badly by focusing on features instead of outcomes."
|
|
434
|
+
|
|
435
|
+
Suggested:
|
|
436
|
+
> "I've watched teams ship 14 features in a quarter yet move none of their key metrics. They prioritized activity over progress."
|
|
437
|
+
|
|
438
|
+
### Add Data
|
|
439
|
+
The third mistake would benefit from evidence:
|
|
440
|
+
> "[Add citation]: Studies show teams without regular user contact are 3x more likely to build unused features [needs source]"
|
|
441
|
+
|
|
442
|
+
### Flow Improvement
|
|
443
|
+
Consider reordering: Mistake 3 → Mistake 2 → Mistake 1
|
|
444
|
+
This builds from small to big impact.
|
|
445
|
+
|
|
446
|
+
Ready for the next section!
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
## Writing Workflows
|
|
450
|
+
|
|
451
|
+
### Blog Post Workflow
|
|
452
|
+
1. Outline together
|
|
453
|
+
2. Research key points
|
|
454
|
+
3. Write introduction → get feedback
|
|
455
|
+
4. Write body sections → feedback each
|
|
456
|
+
5. Write conclusion → final review
|
|
457
|
+
6. Polish and edit
|
|
458
|
+
|
|
459
|
+
### Newsletter Workflow
|
|
460
|
+
1. Discuss hook ideas
|
|
461
|
+
2. Quick outline (shorter format)
|
|
462
|
+
3. Draft in one session
|
|
463
|
+
4. Review for clarity and links
|
|
464
|
+
5. Quick polish
|
|
465
|
+
|
|
466
|
+
### Technical Tutorial Workflow
|
|
467
|
+
1. Outline steps
|
|
468
|
+
2. Write code examples
|
|
469
|
+
3. Add explanations
|
|
470
|
+
4. Test instructions
|
|
471
|
+
5. Add troubleshooting section
|
|
472
|
+
6. Final review for accuracy
|
|
473
|
+
|
|
474
|
+
### Thought Leadership Workflow
|
|
475
|
+
1. Brainstorm unique angle
|
|
476
|
+
2. Research existing perspectives
|
|
477
|
+
3. Develop your thesis
|
|
478
|
+
4. Write with strong POV
|
|
479
|
+
5. Add supporting evidence
|
|
480
|
+
6. Craft compelling conclusion
|
|
481
|
+
|
|
482
|
+
## Pro Tips
|
|
483
|
+
|
|
484
|
+
1. **Work in VS Code**: Better than web Claude for long-form writing
|
|
485
|
+
2. **One section at a time**: Get feedback incrementally
|
|
486
|
+
3. **Save research separately**: Keep a research.md file
|
|
487
|
+
4. **Version your drafts**: article-v1.md, article-v2.md, etc.
|
|
488
|
+
5. **Read aloud**: Use feedback to identify clunky sentences
|
|
489
|
+
6. **Set deadlines**: "I want to finish the draft today"
|
|
490
|
+
7. **Take breaks**: Write, get feedback, pause, revise
|
|
491
|
+
|
|
492
|
+
## File Organization
|
|
493
|
+
|
|
494
|
+
Recommended structure for writing projects:
|
|
495
|
+
|
|
496
|
+
```
|
|
497
|
+
~/writing/article-name/
|
|
498
|
+
├── outline.md # Your outline
|
|
499
|
+
├── research.md # All research and citations
|
|
500
|
+
├── draft-v1.md # First draft
|
|
501
|
+
├── draft-v2.md # Revised draft
|
|
502
|
+
├── final.md # Publication-ready
|
|
503
|
+
├── feedback.md # Collected feedback
|
|
504
|
+
└── sources/ # Reference materials
|
|
505
|
+
├── study1.pdf
|
|
506
|
+
└── article2.md
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
## Best Practices
|
|
510
|
+
|
|
511
|
+
### For Research
|
|
512
|
+
- Verify sources before citing
|
|
513
|
+
- Use recent data when possible
|
|
514
|
+
- Balance different perspectives
|
|
515
|
+
- Link to original sources
|
|
516
|
+
|
|
517
|
+
### For Feedback
|
|
518
|
+
- Be specific about what you want: "Is this too technical?"
|
|
519
|
+
- Share your concerns: "I'm worried this section drags"
|
|
520
|
+
- Ask questions: "Does this flow logically?"
|
|
521
|
+
- Request alternatives: "What's another way to explain this?"
|
|
522
|
+
|
|
523
|
+
### For Voice
|
|
524
|
+
- Share examples of your writing
|
|
525
|
+
- Specify tone preferences
|
|
526
|
+
- Point out good matches: "That sounds like me!"
|
|
527
|
+
- Flag mismatches: "Too formal for my style"
|
|
528
|
+
|
|
529
|
+
## Related Use Cases
|
|
530
|
+
|
|
531
|
+
- Creating social media posts from articles
|
|
532
|
+
- Adapting content for different audiences
|
|
533
|
+
- Writing email newsletters
|
|
534
|
+
- Drafting technical documentation
|
|
535
|
+
- Creating presentation content
|
|
536
|
+
- Writing case studies
|
|
537
|
+
- Developing course outlines
|
|
538
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: data-analysis
|
|
3
|
+
description: CSV/JSON data processing, transformation, analysis, and visualization
|
|
4
|
+
triggers: csv, json, data, analysis, chart, graph, plot, statistics, transform, aggregate, filter, sort, dataset, spreadsheet, excel, pandas, table
|
|
5
|
+
---
|
|
6
|
+
## Workflow: Load → Explore → Transform → Analyze → Report
|
|
7
|
+
|
|
8
|
+
1. **Load** — read the data file. Check format, encoding, delimiters.
|
|
9
|
+
2. **Explore** — check shape (rows × columns), column names, data types, missing values, sample rows.
|
|
10
|
+
3. **Transform** — filter, sort, group, pivot, join as needed. Use shell tools or write a script.
|
|
11
|
+
4. **Analyze** — compute statistics, find patterns, answer the question.
|
|
12
|
+
5. **Report** — present findings clearly. Tables for data, bullet points for insights.
|
|
13
|
+
|
|
14
|
+
## Tools
|
|
15
|
+
- Small CSV/JSON: `executeCommand` with `jq`, `awk`, `sort`, `uniq -c`, `cut`
|
|
16
|
+
- Complex analysis: write a Node.js or Python script, execute it
|
|
17
|
+
- Charts: generate with a script, save as image, send via replyWithFile
|
|
18
|
+
|
|
19
|
+
## Patterns
|
|
20
|
+
- Column stats: `cat data.csv | awk -F',' '{print $3}' | sort | uniq -c | sort -rn`
|
|
21
|
+
- JSON query: `cat data.json | jq '.items[] | select(.price > 100) | .name'`
|
|
22
|
+
- Group by: write a script if shell one-liners get too complex
|
|
23
|
+
|
|
24
|
+
## Don't
|
|
25
|
+
- Don't load entire large files into memory if you can stream/filter
|
|
26
|
+
- Don't guess data format — read a sample first
|
|
27
|
+
- Don't present raw data dumps — summarize and highlight key findings
|