planflow-plugin 0.1.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 (66) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +93 -0
  3. package/bin/cli.js +169 -0
  4. package/bin/postinstall.js +87 -0
  5. package/commands/pfActivity/SKILL.md +725 -0
  6. package/commands/pfAssign/SKILL.md +623 -0
  7. package/commands/pfCloudLink/SKILL.md +192 -0
  8. package/commands/pfCloudList/SKILL.md +222 -0
  9. package/commands/pfCloudNew/SKILL.md +187 -0
  10. package/commands/pfCloudUnlink/SKILL.md +152 -0
  11. package/commands/pfComment/SKILL.md +227 -0
  12. package/commands/pfComments/SKILL.md +159 -0
  13. package/commands/pfConnectionStatus/SKILL.md +433 -0
  14. package/commands/pfDiscord/SKILL.md +740 -0
  15. package/commands/pfGithubBranch/SKILL.md +672 -0
  16. package/commands/pfGithubIssue/SKILL.md +963 -0
  17. package/commands/pfGithubLink/SKILL.md +859 -0
  18. package/commands/pfGithubPr/SKILL.md +1335 -0
  19. package/commands/pfGithubUnlink/SKILL.md +401 -0
  20. package/commands/pfLive/SKILL.md +185 -0
  21. package/commands/pfLogin/SKILL.md +249 -0
  22. package/commands/pfLogout/SKILL.md +155 -0
  23. package/commands/pfMyTasks/SKILL.md +198 -0
  24. package/commands/pfNotificationSettings/SKILL.md +619 -0
  25. package/commands/pfNotifications/SKILL.md +420 -0
  26. package/commands/pfNotificationsClear/SKILL.md +421 -0
  27. package/commands/pfReact/SKILL.md +232 -0
  28. package/commands/pfSlack/SKILL.md +659 -0
  29. package/commands/pfSyncPull/SKILL.md +210 -0
  30. package/commands/pfSyncPush/SKILL.md +299 -0
  31. package/commands/pfSyncStatus/SKILL.md +212 -0
  32. package/commands/pfTeamInvite/SKILL.md +161 -0
  33. package/commands/pfTeamList/SKILL.md +253 -0
  34. package/commands/pfTeamRemove/SKILL.md +115 -0
  35. package/commands/pfTeamRole/SKILL.md +160 -0
  36. package/commands/pfTestWebhooks/SKILL.md +722 -0
  37. package/commands/pfUnassign/SKILL.md +134 -0
  38. package/commands/pfWhoami/SKILL.md +258 -0
  39. package/commands/pfWorkload/SKILL.md +219 -0
  40. package/commands/planExportCsv/SKILL.md +106 -0
  41. package/commands/planExportGithub/SKILL.md +222 -0
  42. package/commands/planExportJson/SKILL.md +159 -0
  43. package/commands/planExportSummary/SKILL.md +158 -0
  44. package/commands/planNew/SKILL.md +641 -0
  45. package/commands/planNext/SKILL.md +1200 -0
  46. package/commands/planSettingsAutoSync/SKILL.md +199 -0
  47. package/commands/planSettingsLanguage/SKILL.md +201 -0
  48. package/commands/planSettingsReset/SKILL.md +237 -0
  49. package/commands/planSettingsShow/SKILL.md +482 -0
  50. package/commands/planSpec/SKILL.md +929 -0
  51. package/commands/planUpdate/SKILL.md +2518 -0
  52. package/commands/team/SKILL.md +740 -0
  53. package/locales/en.json +1499 -0
  54. package/locales/ka.json +1499 -0
  55. package/package.json +48 -0
  56. package/templates/PROJECT_PLAN.template.md +157 -0
  57. package/templates/backend-api.template.md +562 -0
  58. package/templates/frontend-spa.template.md +610 -0
  59. package/templates/fullstack.template.md +397 -0
  60. package/templates/ka/backend-api.template.md +562 -0
  61. package/templates/ka/frontend-spa.template.md +610 -0
  62. package/templates/ka/fullstack.template.md +397 -0
  63. package/templates/sections/architecture.md +21 -0
  64. package/templates/sections/overview.md +15 -0
  65. package/templates/sections/tasks.md +22 -0
  66. package/templates/sections/tech-stack.md +19 -0
@@ -0,0 +1,232 @@
1
+ ---
2
+ name: pfReact
3
+ description: Add emoji reaction to a task in the current PlanFlow project
4
+ ---
5
+
6
+ # PlanFlow Task Reaction
7
+
8
+ Add an emoji reaction to a task in the linked cloud project with reaction card.
9
+
10
+ ## Usage
11
+
12
+ ```bash
13
+ /pfReact <task-id> <emoji> # Add reaction to task
14
+ /pfReact T2.1 👍 # Thumbs up
15
+ /pfReact T2.1 ✅ # Check mark
16
+ /pfReact T2.1 🎉 # Celebration
17
+ /pfReact T2.1 remove <emoji> # Remove own reaction
18
+ ```
19
+
20
+ ## Step 0: Load Configuration
21
+
22
+ ```javascript
23
+ // ... standard config loading ...
24
+ ```
25
+
26
+ ## Step 1: Show Usage Card (if no arguments)
27
+
28
+ ```
29
+ ╭──────────────────────────────────────────────────────────────────────────────╮
30
+ │ 😄 Task Reaction │
31
+ ├──────────────────────────────────────────────────────────────────────────────┤
32
+ │ │
33
+ │ ── Usage ─────────────────────────────────────────────────────────────── │
34
+ │ │
35
+ │ /pfReact <task-id> <emoji> Add emoji reaction to task │
36
+ │ /pfReact <task-id> remove <emoji> Remove your reaction from task │
37
+ │ │
38
+ │ ── Examples ──────────────────────────────────────────────────────────── │
39
+ │ │
40
+ │ /pfReact T2.1 👍 │
41
+ │ /pfReact T2.1 🎉 │
42
+ │ /pfReact T2.1 remove 👍 │
43
+ │ │
44
+ ╰──────────────────────────────────────────────────────────────────────────────╯
45
+ ```
46
+
47
+ ## Step 2: Display Success Card (Add Reaction)
48
+
49
+ ```
50
+ ╭──────────────────────────────────────────────────────────────────────────────╮
51
+ │ ✅ SUCCESS │
52
+ ├──────────────────────────────────────────────────────────────────────────────┤
53
+ │ │
54
+ │ Reaction added! │
55
+ │ │
56
+ │ ── Reaction Details ─────────────────────────────────────────────────── │
57
+ │ │
58
+ │ 📋 Task: T2.1: Implement login API │
59
+ │ 😄 Emoji: 👍 │
60
+ │ 📁 Project: Planflow Plugin │
61
+ │ │
62
+ │ ── Current Reactions ────────────────────────────────────────────────── │
63
+ │ │
64
+ │ 👍 3 (Beka, Jane, Bob) │
65
+ │ ✅ 1 (Jane) │
66
+ │ │
67
+ ├──────────────────────────────────────────────────────────────────────────────┤
68
+ │ │
69
+ │ 💡 View comments: │
70
+ │ • /pfComments T2.1 │
71
+ │ │
72
+ ╰──────────────────────────────────────────────────────────────────────────────╯
73
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
74
+ ```
75
+
76
+ ## Step 3: Display Success Card (Remove Reaction)
77
+
78
+ ```
79
+ ╭──────────────────────────────────────────────────────────────────────────────╮
80
+ │ ✅ SUCCESS │
81
+ ├──────────────────────────────────────────────────────────────────────────────┤
82
+ │ │
83
+ │ Reaction removed! │
84
+ │ │
85
+ │ ── Reaction Details ─────────────────────────────────────────────────── │
86
+ │ │
87
+ │ 📋 Task: T2.1: Implement login API │
88
+ │ 😄 Emoji: 👍 │
89
+ │ 📁 Project: Planflow Plugin │
90
+ │ │
91
+ │ ── Current Reactions ────────────────────────────────────────────────── │
92
+ │ │
93
+ │ 👍 2 (Jane, Bob) │
94
+ │ ✅ 1 (Jane) │
95
+ │ │
96
+ ├──────────────────────────────────────────────────────────────────────────────┤
97
+ │ │
98
+ │ 💡 View comments: │
99
+ │ • /pfComments T2.1 │
100
+ │ │
101
+ ╰──────────────────────────────────────────────────────────────────────────────╯
102
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
103
+ ```
104
+
105
+ ## Step 4: No Reactions Card
106
+
107
+ ```
108
+ ╭──────────────────────────────────────────────────────────────────────────────╮
109
+ │ ✅ SUCCESS │
110
+ ├──────────────────────────────────────────────────────────────────────────────┤
111
+ │ │
112
+ │ Reaction added! │
113
+ │ │
114
+ │ ── Reaction Details ─────────────────────────────────────────────────── │
115
+ │ │
116
+ │ 📋 Task: T2.1: Implement login API │
117
+ │ 😄 Emoji: 👍 │
118
+ │ 📁 Project: Planflow Plugin │
119
+ │ │
120
+ │ ── Current Reactions ────────────────────────────────────────────────── │
121
+ │ │
122
+ │ 👍 1 (You) │
123
+ │ │
124
+ │ You're the first to react! │
125
+ │ │
126
+ ├──────────────────────────────────────────────────────────────────────────────┤
127
+ │ │
128
+ │ 💡 View comments: │
129
+ │ • /pfComments T2.1 │
130
+ │ │
131
+ ╰──────────────────────────────────────────────────────────────────────────────╯
132
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
133
+ ```
134
+
135
+ ## Error Handling
136
+
137
+ **Invalid Task ID Card:**
138
+
139
+ ```
140
+ ╭──────────────────────────────────────────────────────────────────────────────╮
141
+ │ ❌ ERROR │
142
+ ├──────────────────────────────────────────────────────────────────────────────┤
143
+ │ │
144
+ │ Invalid task ID format. │
145
+ │ │
146
+ │ Task ID should be like: T1.1, T2.3, T10.5 │
147
+ │ │
148
+ ╰──────────────────────────────────────────────────────────────────────────────╯
149
+ ```
150
+
151
+ **Invalid Emoji Card:**
152
+
153
+ ```
154
+ ╭──────────────────────────────────────────────────────────────────────────────╮
155
+ │ ❌ ERROR │
156
+ ├──────────────────────────────────────────────────────────────────────────────┤
157
+ │ │
158
+ │ Please provide an emoji to react with. │
159
+ │ │
160
+ │ Emoji is required. │
161
+ │ │
162
+ ╰──────────────────────────────────────────────────────────────────────────────╯
163
+ ```
164
+
165
+ **Task Not Found Card (404):**
166
+
167
+ ```
168
+ ╭──────────────────────────────────────────────────────────────────────────────╮
169
+ │ ❌ ERROR │
170
+ ├──────────────────────────────────────────────────────────────────────────────┤
171
+ │ │
172
+ │ Task not found: T2.1 │
173
+ │ │
174
+ │ Make sure the task exists in the cloud project. │
175
+ │ │
176
+ │ 💡 Run /pfSyncPush to sync your local tasks first. │
177
+ │ │
178
+ ╰──────────────────────────────────────────────────────────────────────────────╯
179
+ ```
180
+
181
+ **Already Reacted Card (409):**
182
+
183
+ ```
184
+ ╭──────────────────────────────────────────────────────────────────────────────╮
185
+ │ ⚠️ WARNING │
186
+ ├──────────────────────────────────────────────────────────────────────────────┤
187
+ │ │
188
+ │ You already reacted with this emoji. │
189
+ │ │
190
+ │ 💡 To remove your reaction: │
191
+ │ • /pfReact T2.1 remove 👍 │
192
+ │ │
193
+ ╰──────────────────────────────────────────────────────────────────────────────╯
194
+ ```
195
+
196
+ **Not Reacted Card (400 on remove):**
197
+
198
+ ```
199
+ ╭──────────────────────────────────────────────────────────────────────────────╮
200
+ │ ⚠️ WARNING │
201
+ ├──────────────────────────────────────────────────────────────────────────────┤
202
+ │ │
203
+ │ You haven't reacted with this emoji. │
204
+ │ │
205
+ │ 💡 To add a reaction: │
206
+ │ • /pfReact T2.1 👍 │
207
+ │ │
208
+ ╰──────────────────────────────────────────────────────────────────────────────╯
209
+ ```
210
+
211
+ **Permission Denied Card (403):**
212
+
213
+ ```
214
+ ╭──────────────────────────────────────────────────────────────────────────────╮
215
+ │ ❌ ERROR │
216
+ ├──────────────────────────────────────────────────────────────────────────────┤
217
+ │ │
218
+ │ You don't have permission to react. │
219
+ │ │
220
+ │ Only project members can add reactions. │
221
+ │ │
222
+ ╰──────────────────────────────────────────────────────────────────────────────╯
223
+ ```
224
+
225
+ ## Notes
226
+
227
+ - Task IDs are case-insensitive (t2.1 becomes T2.1)
228
+ - Only project members can add reactions
229
+ - Each user can only react once per emoji per task
230
+ - The `remove` action only removes your own reaction
231
+ - View task comments with /pfComments <task-id>
232
+