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,397 @@
1
+ # {{PROJECT_NAME}} - Full-Stack Project Plan
2
+
3
+ *Generated: {{CREATED_DATE}}*
4
+ *Last Updated: {{LAST_UPDATED}}*
5
+
6
+ ## Overview
7
+
8
+ **Project Name**: {{PROJECT_NAME}}
9
+
10
+ **Description**: {{DESCRIPTION}}
11
+
12
+ **Target Users**: {{TARGET_USERS}}
13
+
14
+ **Project Type**: Full-Stack Web Application
15
+
16
+ **Status**: {{STATUS}} ({{PROGRESS_PERCENT}}% complete)
17
+
18
+ ---
19
+
20
+ ## Problem Statement
21
+
22
+ **Current Pain Points:**
23
+ {{PAIN_POINTS}}
24
+
25
+ **Solution:**
26
+ {{SOLUTION}}
27
+
28
+ **Key Features:**
29
+ {{KEY_FEATURES}}
30
+
31
+ ---
32
+
33
+ ## Architecture
34
+
35
+ ### System Overview
36
+
37
+ ```mermaid
38
+ graph TB
39
+ subgraph "Client Layer"
40
+ A[Web Browser]
41
+ B[Mobile Browser]
42
+ end
43
+
44
+ subgraph "Frontend"
45
+ C[{{FRONTEND_FRAMEWORK}}]
46
+ D[State Management]
47
+ E[UI Components]
48
+ end
49
+
50
+ subgraph "Backend"
51
+ F[API Server<br/>{{BACKEND_FRAMEWORK}}]
52
+ G[Authentication]
53
+ H[Business Logic]
54
+ end
55
+
56
+ subgraph "Data Layer"
57
+ I[{{DATABASE}}]
58
+ J[Cache<br/>Redis]
59
+ K[File Storage]
60
+ end
61
+
62
+ subgraph "External Services"
63
+ L[Email Service]
64
+ M[Payment Gateway]
65
+ N[Third-party APIs]
66
+ end
67
+
68
+ A --> C
69
+ B --> C
70
+ C --> D
71
+ C --> E
72
+ E --> F
73
+ F --> G
74
+ F --> H
75
+ H --> I
76
+ H --> J
77
+ F --> K
78
+ F --> L
79
+ F --> M
80
+ F --> N
81
+ ```
82
+
83
+ ### Data Flow
84
+
85
+ ```mermaid
86
+ sequenceDiagram
87
+ participant User
88
+ participant Frontend
89
+ participant API
90
+ participant Database
91
+ participant Cache
92
+
93
+ User->>Frontend: Interact with UI
94
+ Frontend->>API: HTTP Request
95
+ API->>Cache: Check Cache
96
+ alt Cache Hit
97
+ Cache-->>API: Return Cached Data
98
+ else Cache Miss
99
+ API->>Database: Query Data
100
+ Database-->>API: Return Data
101
+ API->>Cache: Update Cache
102
+ end
103
+ API-->>Frontend: JSON Response
104
+ Frontend-->>User: Update UI
105
+ ```
106
+
107
+ ---
108
+
109
+ ## Tech Stack
110
+
111
+ ### Frontend
112
+ - **Framework**: {{FRONTEND_FRAMEWORK}} (React, Vue, Angular, Svelte)
113
+ - **Language**: TypeScript
114
+ - **State Management**: {{STATE_MANAGEMENT}} (Redux, Zustand, Pinia, etc.)
115
+ - **Styling**: {{STYLING}} (Tailwind CSS, Styled Components, CSS Modules)
116
+ - **Build Tool**: Vite / Webpack
117
+ - **UI Library**: {{UI_LIBRARY}} (Shadcn, MUI, Chakra UI, etc.)
118
+ - **Forms**: React Hook Form / Formik
119
+ - **Data Fetching**: TanStack Query / SWR / Apollo Client
120
+
121
+ ### Backend
122
+ - **Framework**: {{BACKEND_FRAMEWORK}} (Express.js, NestJS, Fastify, Django, Flask)
123
+ - **Language**: {{BACKEND_LANGUAGE}} (TypeScript, Python, Go)
124
+ - **Authentication**: JWT + OAuth 2.0
125
+ - **Validation**: Zod / Joi / Pydantic
126
+ - **ORM**: {{ORM}} (Prisma, TypeORM, Sequelize, SQLAlchemy)
127
+ - **API Style**: REST / GraphQL / tRPC
128
+
129
+ ### Database
130
+ - **Primary**: {{DATABASE}} (PostgreSQL, MySQL, MongoDB)
131
+ - **Cache**: Redis
132
+ - **Search**: {{SEARCH_ENGINE}} (Elasticsearch, Algolia - if needed)
133
+ - **File Storage**: {{STORAGE}} (AWS S3, Cloudinary, Local)
134
+
135
+ ### DevOps & Infrastructure
136
+ - **Hosting**: {{HOSTING}} (Vercel, AWS, DigitalOcean, Railway)
137
+ - **CI/CD**: GitHub Actions / GitLab CI
138
+ - **Containerization**: Docker + Docker Compose
139
+ - **Monitoring**: {{MONITORING}} (Sentry, LogRocket, Datadog)
140
+ - **Analytics**: {{ANALYTICS}} (Google Analytics, Mixpanel, PostHog)
141
+
142
+ ### Development Tools
143
+ - **Version Control**: Git + GitHub
144
+ - **Package Manager**: {{PACKAGE_MANAGER}} (npm, yarn, pnpm)
145
+ - **Code Quality**: ESLint + Prettier
146
+ - **API Testing**: Postman / Insomnia / Thunder Client
147
+ - **Database Client**: {{DB_CLIENT}} (pgAdmin, MongoDB Compass, DataGrip)
148
+
149
+ ### Testing
150
+ - **Unit Tests**: {{UNIT_TEST}} (Vitest, Jest, pytest)
151
+ - **Integration Tests**: Supertest / TestContainers
152
+ - **E2E Tests**: {{E2E_TEST}} (Playwright, Cypress)
153
+ - **API Testing**: Postman Collections / Newman
154
+
155
+ ---
156
+
157
+ ## Project Structure
158
+
159
+ ```
160
+ {{PROJECT_NAME}}/
161
+ ├── frontend/ # Frontend application
162
+ │ ├── src/
163
+ │ │ ├── components/ # Reusable UI components
164
+ │ │ ├── pages/ # Page components
165
+ │ │ ├── hooks/ # Custom React hooks
166
+ │ │ ├── store/ # State management
167
+ │ │ ├── services/ # API service layer
168
+ │ │ ├── utils/ # Helper functions
169
+ │ │ ├── types/ # TypeScript types
170
+ │ │ ├── assets/ # Static assets
171
+ │ │ └── App.tsx # Root component
172
+ │ ├── public/ # Public assets
173
+ │ ├── package.json
174
+ │ └── vite.config.ts
175
+
176
+ ├── backend/ # Backend application
177
+ │ ├── src/
178
+ │ │ ├── controllers/ # Request handlers
179
+ │ │ ├── services/ # Business logic
180
+ │ │ ├── models/ # Data models
181
+ │ │ ├── routes/ # API routes
182
+ │ │ ├── middleware/ # Custom middleware
183
+ │ │ ├── utils/ # Helper functions
184
+ │ │ ├── config/ # Configuration
185
+ │ │ └── index.ts # Entry point
186
+ │ ├── tests/ # Test files
187
+ │ ├── package.json
188
+ │ └── tsconfig.json
189
+
190
+ ├── shared/ # Shared code (types, constants)
191
+ │ └── types.ts
192
+
193
+ ├── docker-compose.yml # Local development setup
194
+ ├── .env.example # Environment variables template
195
+ ├── .gitignore
196
+ └── README.md
197
+ ```
198
+
199
+ ---
200
+
201
+ ## Tasks & Implementation Plan
202
+
203
+ ### Phase 1: Foundation (Est: {{PHASE1_ESTIMATE}})
204
+
205
+ #### T1.1: Project Setup
206
+ - [ ] **Status**: TODO
207
+ - **Complexity**: Low
208
+ - **Estimated**: 2 hours
209
+ - **Dependencies**: None
210
+ - **Description**:
211
+ - Initialize frontend project ({{FRONTEND_FRAMEWORK}})
212
+ - Initialize backend project ({{BACKEND_FRAMEWORK}})
213
+ - Setup monorepo structure (if applicable)
214
+ - Configure TypeScript
215
+ - Setup ESLint + Prettier
216
+ - Create .env.example files
217
+ - Initialize Git repository
218
+
219
+ #### T1.2: Database Setup
220
+ - [ ] **Status**: TODO
221
+ - **Complexity**: Low
222
+ - **Estimated**: 2 hours
223
+ - **Dependencies**: T1.1
224
+ - **Description**:
225
+ - Setup {{DATABASE}} database
226
+ - Configure ORM ({{ORM}})
227
+ - Create initial schema/models
228
+ - Setup migrations
229
+ - Create seed data scripts
230
+ - Configure Redis for caching
231
+
232
+ #### T1.3: Authentication System
233
+ - [ ] **Status**: TODO
234
+ - **Complexity**: High
235
+ - **Estimated**: 6 hours
236
+ - **Dependencies**: T1.2
237
+ - **Description**:
238
+ - Implement JWT authentication
239
+ - Create User model
240
+ - Setup password hashing
241
+ - Implement login/register endpoints
242
+ - Create auth middleware
243
+ - Add OAuth providers (Google, GitHub)
244
+ - Frontend login/register forms
245
+ - Protected route handling
246
+
247
+ #### T1.4: Basic API Structure
248
+ - [ ] **Status**: TODO
249
+ - **Complexity**: Medium
250
+ - **Estimated**: 4 hours
251
+ - **Dependencies**: T1.2
252
+ - **Description**:
253
+ - Setup Express router structure
254
+ - Create base CRUD endpoints
255
+ - Add request validation
256
+ - Implement error handling
257
+ - Add API documentation (Swagger/OpenAPI)
258
+ - Setup CORS configuration
259
+
260
+ ---
261
+
262
+ ### Phase 2: Core Features (Est: {{PHASE2_ESTIMATE}})
263
+
264
+ {{CORE_FEATURES_TASKS}}
265
+
266
+ ---
267
+
268
+ ### Phase 3: Advanced Features (Est: {{PHASE3_ESTIMATE}})
269
+
270
+ {{ADVANCED_FEATURES_TASKS}}
271
+
272
+ ---
273
+
274
+ ### Phase 4: Testing & Deployment (Est: {{PHASE4_ESTIMATE}})
275
+
276
+ #### T4.1: Testing Suite
277
+ - [ ] **Status**: TODO
278
+ - **Complexity**: High
279
+ - **Estimated**: 8 hours
280
+ - **Description**:
281
+ - Write unit tests for services
282
+ - Write integration tests for API
283
+ - Write E2E tests for critical flows
284
+ - Setup test coverage reporting
285
+ - Add tests to CI/CD pipeline
286
+
287
+ #### T4.2: Deployment Setup
288
+ - [ ] **Status**: TODO
289
+ - **Complexity**: Medium
290
+ - **Estimated**: 4 hours
291
+ - **Dependencies**: T4.1
292
+ - **Description**:
293
+ - Configure production environment
294
+ - Setup Docker containers
295
+ - Configure CI/CD pipeline
296
+ - Setup database backups
297
+ - Configure monitoring and logging
298
+ - Add error tracking (Sentry)
299
+ - Deploy to {{HOSTING}}
300
+
301
+ #### T4.3: Documentation & Polish
302
+ - [ ] **Status**: TODO
303
+ - **Complexity**: Medium
304
+ - **Estimated**: 3 hours
305
+ - **Dependencies**: T4.2
306
+ - **Description**:
307
+ - Write comprehensive README
308
+ - Add API documentation
309
+ - Create deployment guide
310
+ - Add contributing guidelines
311
+ - Write user documentation
312
+ - Record demo video
313
+
314
+ ---
315
+
316
+ ## Progress Tracking
317
+
318
+ ### Overall Status
319
+ **Total Tasks**: {{TOTAL_TASKS}}
320
+ **Completed**: {{COMPLETED_TASKS}} {{PROGRESS_BAR}} ({{PROGRESS_PERCENT}}%)
321
+ **In Progress**: {{IN_PROGRESS_TASKS}}
322
+ **Blocked**: {{BLOCKED_TASKS}}
323
+
324
+ ### Phase Progress
325
+ - Phase 1: Foundation → {{PHASE1_PROGRESS}}%
326
+ - Phase 2: Core Features → {{PHASE2_PROGRESS}}%
327
+ - Phase 3: Advanced Features → {{PHASE3_PROGRESS}}%
328
+ - Phase 4: Testing & Deployment → {{PHASE4_PROGRESS}}%
329
+
330
+ ### Current Focus
331
+ {{CURRENT_FOCUS}}
332
+
333
+ ---
334
+
335
+ ## Success Criteria
336
+
337
+ ### Minimum Viable Product (MVP)
338
+ - User authentication and authorization working
339
+ - Core CRUD operations functional
340
+ - Responsive UI on desktop and mobile
341
+ - Basic error handling and validation
342
+ - Deployed to production environment
343
+
344
+ ### Nice to Have (v1.1+)
345
+ {{NICE_TO_HAVE}}
346
+
347
+ ---
348
+
349
+ ## Technical Decisions & Notes
350
+
351
+ ### Why {{FRONTEND_FRAMEWORK}}?
352
+ {{FRONTEND_REASONING}}
353
+
354
+ ### Why {{BACKEND_FRAMEWORK}}?
355
+ {{BACKEND_REASONING}}
356
+
357
+ ### Why {{DATABASE}}?
358
+ {{DATABASE_REASONING}}
359
+
360
+ ### API Design Decisions
361
+ {{API_DECISIONS}}
362
+
363
+ ---
364
+
365
+ ## Resources & References
366
+
367
+ ### Documentation
368
+ - [{{FRONTEND_FRAMEWORK}} Docs]({{FRONTEND_DOCS_URL}})
369
+ - [{{BACKEND_FRAMEWORK}} Docs]({{BACKEND_DOCS_URL}})
370
+ - [{{DATABASE}} Docs]({{DATABASE_DOCS_URL}})
371
+
372
+ ### Tools & Libraries
373
+ {{TOOLS_LIBRARIES}}
374
+
375
+ ---
376
+
377
+ ## Risk Management
378
+
379
+ ### Potential Risks
380
+ 1. **Performance**: Database queries might be slow with large datasets
381
+ - **Mitigation**: Add database indexes, implement caching, use pagination
382
+ 2. **Security**: Authentication vulnerabilities
383
+ - **Mitigation**: Use established libraries, implement rate limiting, regular security audits
384
+ 3. **Scalability**: App might not scale with traffic
385
+ - **Mitigation**: Design with horizontal scaling in mind, use load balancing
386
+
387
+ {{ADDITIONAL_RISKS}}
388
+
389
+ ---
390
+
391
+ ## Future Enhancements
392
+
393
+ {{FUTURE_ENHANCEMENTS}}
394
+
395
+ ---
396
+
397
+ *Generated by plan-plugin v{{PLUGIN_VERSION}}*