@leejungkiin/awkit 1.0.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 (139) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +146 -0
  3. package/VERSION +1 -0
  4. package/bin/awf.js +549 -0
  5. package/bin/awk.js +1759 -0
  6. package/core/AGENTS.md +39 -0
  7. package/core/GEMINI.md +202 -0
  8. package/core/GEMINI.md.bak +244 -0
  9. package/core/orchestrator.md +58 -0
  10. package/package.json +46 -0
  11. package/schemas/brain.schema.json +342 -0
  12. package/schemas/preferences.schema.json +95 -0
  13. package/schemas/session.schema.json +112 -0
  14. package/skill-packs/neural-memory/README.md +111 -0
  15. package/skill-packs/neural-memory/pack.json +35 -0
  16. package/skill-packs/neural-memory/schemas/brain-snapshot.json +167 -0
  17. package/skill-packs/neural-memory/skills/nm-memory-audit/SKILL.md +157 -0
  18. package/skill-packs/neural-memory/skills/nm-memory-evolution/SKILL.md +202 -0
  19. package/skill-packs/neural-memory/skills/nm-memory-intake/SKILL.md +135 -0
  20. package/skill-packs/neural-memory/skills/nm-memory-sync/SKILL.md +184 -0
  21. package/skill-packs/neural-memory/workflows/nm-import.md +73 -0
  22. package/skill-packs/neural-memory/workflows/nm-recall.md +67 -0
  23. package/skill-packs/neural-memory/workflows/nm-snapshot.md +69 -0
  24. package/skills/adaptive-language/SKILL.md +189 -0
  25. package/skills/ambient-brain/SKILL.md +314 -0
  26. package/skills/ambient-brain/brain-router.md +185 -0
  27. package/skills/ambient-brain/brain-templates.md +201 -0
  28. package/skills/auto-save/SKILL.md +223 -0
  29. package/skills/awf-adaptive-language/SKILL.md +189 -0
  30. package/skills/awf-context-help/SKILL.md +180 -0
  31. package/skills/awf-error-translator/SKILL.md +153 -0
  32. package/skills/awf-session-restore/SKILL.md +270 -0
  33. package/skills/awf-version-tracker/SKILL.md +32 -0
  34. package/skills/awf-version-tracker/scripts/snapshot.sh +22 -0
  35. package/skills/beads-manager/SKILL.md +323 -0
  36. package/skills/brainstorm-agent/SKILL.md +295 -0
  37. package/skills/context-help/SKILL.md +180 -0
  38. package/skills/error-translator/SKILL.md +153 -0
  39. package/skills/ios-engineer/SKILL.md +101 -0
  40. package/skills/memory-sync/SKILL.md +378 -0
  41. package/skills/memory-sync/memory-router.md +185 -0
  42. package/skills/memory-sync/memory-templates.md +201 -0
  43. package/skills/orchestrator/SKILL.md +193 -0
  44. package/skills/session-restore/SKILL.md +240 -0
  45. package/templates/CODEBASE.md +80 -0
  46. package/templates/brain.example.json +321 -0
  47. package/templates/preferences.example.json +21 -0
  48. package/templates/project-identity/android.json +28 -0
  49. package/templates/project-identity/backend-nestjs.json +24 -0
  50. package/templates/project-identity/expo.json +27 -0
  51. package/templates/project-identity/ios.json +27 -0
  52. package/templates/project-identity/web-nextjs.json +24 -0
  53. package/templates/session.example.json +53 -0
  54. package/templates/specs/design-template.md +166 -0
  55. package/templates/specs/requirements-template.md +65 -0
  56. package/templates/specs/tasks-template.md +132 -0
  57. package/templates/structures/android.txt +10 -0
  58. package/templates/structures/backend-nestjs.txt +6 -0
  59. package/templates/structures/expo.txt +9 -0
  60. package/templates/structures/ios.txt +9 -0
  61. package/templates/structures/web-nextjs.txt +6 -0
  62. package/templates/workflow_dual_mode_template.md +87 -0
  63. package/workflows/_uncategorized/README.md +339 -0
  64. package/workflows/_uncategorized/ads-creative.md +357 -0
  65. package/workflows/_uncategorized/ads-full-optimization.md +308 -0
  66. package/workflows/_uncategorized/ads-plan.md +247 -0
  67. package/workflows/_uncategorized/ads-user-analysis.md +337 -0
  68. package/workflows/_uncategorized/skill-health.md +35 -0
  69. package/workflows/_uncategorized/skill-rollback.md +35 -0
  70. package/workflows/ads/admob.md +62 -0
  71. package/workflows/ads/ads-analyst.md +201 -0
  72. package/workflows/ads/ads-audit.md +106 -0
  73. package/workflows/ads/ads-optimize.md +97 -0
  74. package/workflows/ads/ads-targeting.md +241 -0
  75. package/workflows/ads/adsExpert.md +160 -0
  76. package/workflows/ads/smali-ads-config.md +400 -0
  77. package/workflows/ads/smali-ads-flow.md +331 -0
  78. package/workflows/ads/smali-ads-interstitial.md +377 -0
  79. package/workflows/ads/smali-ads-native.md +382 -0
  80. package/workflows/context/auto-execution-workflow.md +291 -0
  81. package/workflows/context/auto-implement.md +211 -0
  82. package/workflows/context/codebase-sync.md +163 -0
  83. package/workflows/context/logic-reasoning-workflow.md +260 -0
  84. package/workflows/context/next.md +195 -0
  85. package/workflows/context/recap.md +212 -0
  86. package/workflows/context/save-brain.md +285 -0
  87. package/workflows/context/user-intent-analysis-workflow.md +206 -0
  88. package/workflows/expert/codeExpert.md +126 -0
  89. package/workflows/expert/debugExpert.md +136 -0
  90. package/workflows/expert/planExpert.md +112 -0
  91. package/workflows/git/cloudflare-tunnel.md +135 -0
  92. package/workflows/git/git-commit-workflow.md +75 -0
  93. package/workflows/git/hotfix.md +357 -0
  94. package/workflows/git/release-notes.md +160 -0
  95. package/workflows/git/rollback.md +52 -0
  96. package/workflows/git/smart-git-ops.md +103 -0
  97. package/workflows/lifecycle/brainstorm.md +377 -0
  98. package/workflows/lifecycle/code.md +663 -0
  99. package/workflows/lifecycle/debug.md +116 -0
  100. package/workflows/lifecycle/deploy.md +95 -0
  101. package/workflows/lifecycle/init.md +152 -0
  102. package/workflows/lifecycle/master-code-workflow.md +300 -0
  103. package/workflows/lifecycle/migration.md +196 -0
  104. package/workflows/lifecycle/plan.md +91 -0
  105. package/workflows/lifecycle/refactor.md +165 -0
  106. package/workflows/lifecycle/run.md +52 -0
  107. package/workflows/lifecycle/test.md +91 -0
  108. package/workflows/meta/customize.md +346 -0
  109. package/workflows/meta/file-protection-rules.md +129 -0
  110. package/workflows/meta/help.html +350 -0
  111. package/workflows/meta/project-identity-enforcement.md +180 -0
  112. package/workflows/mobile/app-analysis.md +64 -0
  113. package/workflows/mobile/maestro-qa-workflow.md +470 -0
  114. package/workflows/mobile/maestro-test-workflow.md +84 -0
  115. package/workflows/mobile/structure-clean-architect.md +271 -0
  116. package/workflows/mobile/turbo-mobile-build.md +190 -0
  117. package/workflows/quality/accessibility-audit.md +311 -0
  118. package/workflows/quality/audit.md +217 -0
  119. package/workflows/quality/bug-hunter.md +243 -0
  120. package/workflows/quality/code-janitor.md +209 -0
  121. package/workflows/quality/code-quality-rules.md +132 -0
  122. package/workflows/quality/performance-audit.md +343 -0
  123. package/workflows/quality/project-audit.md +61 -0
  124. package/workflows/quality/self-healing-test.md +192 -0
  125. package/workflows/quality/ui-review.md +130 -0
  126. package/workflows/quality/ux-audit.md +213 -0
  127. package/workflows/quality/visual-debug.md +34 -0
  128. package/workflows/roles/oracle.md +267 -0
  129. package/workflows/roles/product-manager-workflow.md +52 -0
  130. package/workflows/roles/qa-engineer-workflow.md +41 -0
  131. package/workflows/roles/tech-lead-workflow.md +45 -0
  132. package/workflows/roles/ui-ux-designer-workflow.md +42 -0
  133. package/workflows/roles/vibe-coding-master-workflow.md +52 -0
  134. package/workflows/ui/app-screen-analyzer.md +152 -0
  135. package/workflows/ui/create-feature.md +332 -0
  136. package/workflows/ui/create-spec-architect.md +184 -0
  137. package/workflows/ui/design-to-ui.md +308 -0
  138. package/workflows/ui/ui-first-methodology.md +279 -0
  139. package/workflows/ui/visualize.md +298 -0
@@ -0,0 +1,321 @@
1
+ {
2
+ "meta": {
3
+ "schemaVersion": "1.1.0",
4
+ "awfVersion": "3.4.0",
5
+ "createdAt": "2026-01-15T09:00:00Z",
6
+ "updatedAt": "2026-01-17T18:30:00Z"
7
+ },
8
+ "project": {
9
+ "name": "coffee-shop-manager",
10
+ "description": "Quản lý tiệm cà phê - đơn hàng, nhân viên, doanh thu",
11
+ "type": "fullstack",
12
+ "status": "development",
13
+ "repository": "https://github.com/user/coffee-shop-manager",
14
+ "urls": {
15
+ "local": "http://localhost:3000",
16
+ "staging": "https://staging.coffee-shop.com",
17
+ "production": "https://coffee-shop.com"
18
+ }
19
+ },
20
+ "techStack": {
21
+ "frontend": {
22
+ "framework": "Next.js 14",
23
+ "language": "TypeScript",
24
+ "uiLibrary": "shadcn/ui",
25
+ "stateManagement": "Zustand",
26
+ "styling": "TailwindCSS"
27
+ },
28
+ "backend": {
29
+ "framework": "Next.js API Routes",
30
+ "language": "TypeScript",
31
+ "runtime": "Node.js 20"
32
+ },
33
+ "database": {
34
+ "type": "PostgreSQL",
35
+ "orm": "Prisma",
36
+ "name": "coffee_shop_db"
37
+ },
38
+ "infrastructure": {
39
+ "hosting": "Vercel",
40
+ "cdn": "Vercel Edge",
41
+ "ciCd": "GitHub Actions"
42
+ },
43
+ "dependencies": [
44
+ { "name": "next-auth", "version": "^5.0.0", "purpose": "Authentication" },
45
+ { "name": "react-hook-form", "version": "^7.0.0", "purpose": "Form handling" },
46
+ { "name": "recharts", "version": "^2.0.0", "purpose": "Dashboard charts" },
47
+ { "name": "zod", "version": "^3.0.0", "purpose": "Validation" }
48
+ ]
49
+ },
50
+ "architecture": {
51
+ "pattern": "Feature-based modular",
52
+ "modules": [
53
+ {
54
+ "name": "auth",
55
+ "path": "src/features/auth",
56
+ "responsibility": "Authentication & authorization",
57
+ "dependencies": ["next-auth", "prisma"]
58
+ },
59
+ {
60
+ "name": "orders",
61
+ "path": "src/features/orders",
62
+ "responsibility": "Order management CRUD",
63
+ "dependencies": ["prisma", "zustand"]
64
+ },
65
+ {
66
+ "name": "menu",
67
+ "path": "src/features/menu",
68
+ "responsibility": "Menu items & categories",
69
+ "dependencies": ["prisma"]
70
+ },
71
+ {
72
+ "name": "reports",
73
+ "path": "src/features/reports",
74
+ "responsibility": "Revenue & analytics",
75
+ "dependencies": ["prisma", "recharts"]
76
+ }
77
+ ],
78
+ "externalServices": [
79
+ {
80
+ "name": "VNPay",
81
+ "purpose": "Payment processing",
82
+ "envVars": [
83
+ "VNPAY_TMN_CODE",
84
+ "VNPAY_HASH_SECRET"
85
+ ]
86
+ },
87
+ {
88
+ "name": "Resend",
89
+ "purpose": "Email notifications",
90
+ "envVars": [
91
+ "RESEND_API_KEY"
92
+ ]
93
+ }
94
+ ]
95
+ },
96
+ "databaseSchema": {
97
+ "tables": [
98
+ {
99
+ "name": "users",
100
+ "description": "Nhân viên & Admin",
101
+ "columns": [
102
+ { "name": "id", "type": "uuid", "primary": true },
103
+ { "name": "email", "type": "string", "nullable": false },
104
+ { "name": "name", "type": "string", "nullable": false },
105
+ { "name": "role", "type": "enum(ADMIN,STAFF)", "nullable": false },
106
+ {
107
+ "name": "createdAt",
108
+ "type": "datetime",
109
+ "nullable": false
110
+ }
111
+ ]
112
+ },
113
+ {
114
+ "name": "orders",
115
+ "description": "Đơn hàng",
116
+ "columns": [
117
+ { "name": "id", "type": "uuid", "primary": true },
118
+ {
119
+ "name": "userId",
120
+ "type": "uuid",
121
+ "foreignKey": "users.id"
122
+ },
123
+ { "name": "total", "type": "decimal", "nullable": false },
124
+ { "name": "status", "type": "enum(PENDING,COMPLETED,CANCELLED)", "nullable": false },
125
+ {
126
+ "name": "createdAt",
127
+ "type": "datetime",
128
+ "nullable": false
129
+ }
130
+ ]
131
+ },
132
+ {
133
+ "name": "order_items",
134
+ "description": "Chi tiết đơn hàng",
135
+ "columns": [
136
+ { "name": "id", "type": "uuid", "primary": true },
137
+ {
138
+ "name": "orderId",
139
+ "type": "uuid",
140
+ "foreignKey": "orders.id"
141
+ },
142
+ {
143
+ "name": "menuItemId",
144
+ "type": "uuid",
145
+ "foreignKey": "menu_items.id"
146
+ },
147
+ { "name": "quantity", "type": "int", "nullable": false },
148
+ { "name": "price", "type": "decimal", "nullable": false }
149
+ ]
150
+ },
151
+ {
152
+ "name": "menu_items",
153
+ "description": "Món trong menu",
154
+ "columns": [
155
+ { "name": "id", "type": "uuid", "primary": true },
156
+ { "name": "name", "type": "string", "nullable": false },
157
+ { "name": "price", "type": "decimal", "nullable": false },
158
+ { "name": "category", "type": "string", "nullable": false },
159
+ { "name": "available", "type": "boolean", "nullable": false }
160
+ ]
161
+ }
162
+ ],
163
+ "relationships": [
164
+ { "from": "orders", "to": "users", "type": "many-to-one", "description": "Mỗi order thuộc 1 user" },
165
+ { "from": "order_items", "to": "orders", "type": "many-to-one", "description": "Mỗi order có nhiều items" },
166
+ { "from": "order_items", "to": "menu_items", "type": "many-to-one", "description": "Mỗi item tham chiếu 1 menu item" }
167
+ ]
168
+ },
169
+ "apiEndpoints": [
170
+ {
171
+ "method": "POST",
172
+ "path": "/api/auth/login",
173
+ "description": "Đăng nhập",
174
+ "authRequired": false,
175
+ "requestBody": {
176
+ "email": "string",
177
+ "password": "string"
178
+ },
179
+ "response": { "token": "string", "user": "object" }
180
+ },
181
+ {
182
+ "method": "GET",
183
+ "path": "/api/orders",
184
+ "description": "Lấy danh sách orders",
185
+ "authRequired": true,
186
+ "roles": ["ADMIN", "STAFF"],
187
+ "response": { "orders": "array", "total": "number", "page": "number" }
188
+ },
189
+ {
190
+ "method": "POST",
191
+ "path": "/api/orders",
192
+ "description": "Tạo order mới",
193
+ "authRequired": true,
194
+ "roles": ["STAFF"],
195
+ "requestBody": {
196
+ "items": "array",
197
+ "note": "string?"
198
+ }
199
+ },
200
+ {
201
+ "method": "GET",
202
+ "path": "/api/reports/revenue",
203
+ "description": "Báo cáo doanh thu",
204
+ "authRequired": true,
205
+ "roles": ["ADMIN"],
206
+ "response": { "daily": "array", "total": "number" }
207
+ }
208
+ ],
209
+ "businessRules": [
210
+ {
211
+ "id": "BR001",
212
+ "domain": "orders",
213
+ "rule": "Đơn hàng > 500,000 VND được giảm 5%",
214
+ "implementation": "src/features/orders/utils/calculate-discount.ts",
215
+ "exceptions": ["Không áp dụng cho combo"]
216
+ },
217
+ {
218
+ "id": "BR002",
219
+ "domain": "orders",
220
+ "rule": "Không thể hủy đơn đã COMPLETED",
221
+ "implementation": "src/features/orders/actions/cancel-order.ts",
222
+ "exceptions": ["Admin có thể override"]
223
+ },
224
+ {
225
+ "id": "BR003",
226
+ "domain": "menu",
227
+ "rule": "Món hết hàng tự động ẩn khỏi menu",
228
+ "implementation": "src/features/menu/hooks/use-available-items.ts",
229
+ "exceptions": []
230
+ }
231
+ ],
232
+ "features": [
233
+ {
234
+ "name": "Authentication",
235
+ "status": "deployed",
236
+ "specFile": "docs/specs/auth_spec.md",
237
+ "files": ["src/features/auth/**"],
238
+ "notes": "NextAuth v5 với Credentials provider"
239
+ },
240
+ {
241
+ "name": "Order Management",
242
+ "status": "implemented",
243
+ "specFile": "docs/specs/orders_spec.md",
244
+ "files": ["src/features/orders/**"],
245
+ "notes": "CRUD hoàn chỉnh, đang test"
246
+ },
247
+ {
248
+ "name": "Revenue Reports",
249
+ "status": "in_progress",
250
+ "specFile": "docs/specs/reports_spec.md",
251
+ "files": ["src/features/reports/**"],
252
+ "notes": "Đang làm chart daily revenue"
253
+ },
254
+ {
255
+ "name": "VNPay Integration",
256
+ "status": "planned",
257
+ "specFile": null,
258
+ "files": [],
259
+ "notes": "Phase 2"
260
+ }
261
+ ],
262
+ "knowledgeItems": {
263
+ "patterns": [
264
+ {
265
+ "name": "Server Actions",
266
+ "description": "Dùng Next.js Server Actions cho mutations",
267
+ "exampleFile": "src/features/orders/actions/create-order.ts"
268
+ },
269
+ {
270
+ "name": "Optimistic Updates",
271
+ "description": "Zustand + optimistic UI cho UX mượt",
272
+ "exampleFile": "src/features/orders/stores/order-store.ts"
273
+ }
274
+ ],
275
+ "gotchas": [
276
+ {
277
+ "issue": "Prisma client not found in production",
278
+ "cause": "Vercel cần generate prisma client trong build",
279
+ "solution": "Thêm 'prisma generate' vào postinstall script",
280
+ "affectedFiles": [
281
+ "package.json"
282
+ ]
283
+ },
284
+ {
285
+ "issue": "NextAuth session null trên API routes",
286
+ "cause": "Cần wrap với auth() helper",
287
+ "solution": "Import auth từ @/lib/auth thay vì getServerSession",
288
+ "affectedFiles": [
289
+ "src/features/*/api/*.ts"
290
+ ]
291
+ }
292
+ ],
293
+ "conventions": [
294
+ {
295
+ "area": "file naming",
296
+ "convention": "kebab-case cho files, PascalCase cho components",
297
+ "example": "revenue-chart.tsx exports RevenueChart"
298
+ },
299
+ {
300
+ "area": "API responses",
301
+ "convention": "Luôn wrap trong { data, error, message }",
302
+ "example": "return { data: orders, error: null, message: 'Success' }"
303
+ }
304
+ ]
305
+ },
306
+ "environment": {
307
+ "variables": [
308
+ { "name": "DATABASE_URL", "description": "PostgreSQL connection string", "required": true, "example": "postgresql://user:pass@localhost:5432/db" },
309
+ { "name": "NEXTAUTH_SECRET", "description": "Secret for JWT signing", "required": true, "example": "random-32-char-string" },
310
+ { "name": "NEXTAUTH_URL", "description": "App URL for auth callbacks", "required": true, "example": "http://localhost:3000" },
311
+ { "name": "RESEND_API_KEY", "description": "Resend email API key", "required": false, "example": "re_xxxxx" }
312
+ ],
313
+ "scripts": {
314
+ "dev": "next dev",
315
+ "build": "prisma generate && next build",
316
+ "test": "vitest",
317
+ "lint": "eslint . --fix"
318
+ }
319
+ },
320
+ "updatedAt": "2026-01-17T18:30:00Z"
321
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "updatedAt": "2026-01-17T18:30:00Z",
3
+ "communication": {
4
+ "tone": "friendly",
5
+ "persona": "assistant"
6
+ },
7
+ "technical": {
8
+ "detailLevel": "simple",
9
+ "autonomy": "ask_often",
10
+ "quality": "production"
11
+ },
12
+ "workingStyle": {
13
+ "pace": "careful",
14
+ "feedback": "gentle"
15
+ },
16
+ "customRules": [
17
+ "Always use TypeScript instead of JavaScript",
18
+ "Include unit tests when writing code",
19
+ "Prefer performance over clean code"
20
+ ]
21
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "projectName": "MyAndroidApp",
3
+ "projectType": "android",
4
+ "packageName": "com.company.myandroidapp",
5
+ "primaryLanguage": "en",
6
+ "techStack": {
7
+ "platform": "Android",
8
+ "language": "Kotlin",
9
+ "minSdk": "24",
10
+ "targetSdk": "34",
11
+ "framework": "Jetpack Compose",
12
+ "architecture": "MVVM + Clean Architecture",
13
+ "dependencyInjection": "Hilt",
14
+ "networking": "Retrofit + Coroutines",
15
+ "storage": "Room",
16
+ "testing": "JUnit + Espresso",
17
+ "buildSystem": "Gradle (KTS)"
18
+ },
19
+ "projectStage": "planning",
20
+ "codingStandards": {
21
+ "language": "en",
22
+ "namingConvention": "camelCase",
23
+ "indentation": "spaces-4",
24
+ "lineLength": 120
25
+ },
26
+ "createdDate": "{{DATE}}",
27
+ "lastUpdated": "{{DATE}}"
28
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "projectName": "MyBackendAPI",
3
+ "projectType": "backend",
4
+ "primaryLanguage": "en",
5
+ "techStack": {
6
+ "platform": "Backend",
7
+ "language": "TypeScript",
8
+ "framework": "NestJS",
9
+ "database": "PostgreSQL + Prisma",
10
+ "auth": "JWT + Passport",
11
+ "validation": "class-validator",
12
+ "testing": "Jest",
13
+ "deployment": "Docker + Cloud Run"
14
+ },
15
+ "projectStage": "planning",
16
+ "codingStandards": {
17
+ "language": "en",
18
+ "namingConvention": "camelCase",
19
+ "indentation": "spaces-2",
20
+ "lineLength": 100
21
+ },
22
+ "createdDate": "{{DATE}}",
23
+ "lastUpdated": "{{DATE}}"
24
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "projectName": "MyExpoApp",
3
+ "projectType": "expo",
4
+ "bundleIdentifier": "com.company.myexpoapp",
5
+ "primaryLanguage": "en",
6
+ "techStack": {
7
+ "platform": "Expo",
8
+ "language": "TypeScript",
9
+ "framework": "Expo SDK 51+",
10
+ "router": "Expo Router",
11
+ "styling": "NativeWind (Tailwind)",
12
+ "stateManagement": "Zustand",
13
+ "networking": "TanStack Query",
14
+ "storage": "Expo SQLite",
15
+ "testing": "Jest + Detox",
16
+ "build": "EAS Build"
17
+ },
18
+ "projectStage": "planning",
19
+ "codingStandards": {
20
+ "language": "en",
21
+ "namingConvention": "camelCase",
22
+ "indentation": "spaces-2",
23
+ "lineLength": 100
24
+ },
25
+ "createdDate": "{{DATE}}",
26
+ "lastUpdated": "{{DATE}}"
27
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "projectName": "MyiOSApp",
3
+ "projectType": "ios",
4
+ "bundleIdentifier": "com.company.myiosapp",
5
+ "primaryLanguage": "en",
6
+ "techStack": {
7
+ "platform": "iOS",
8
+ "language": "Swift",
9
+ "minVersion": "iOS 17.0",
10
+ "framework": "SwiftUI",
11
+ "architecture": "MVVM + Clean Architecture",
12
+ "dependencyInjection": "Manual DI",
13
+ "networking": "URLSession + async/await",
14
+ "storage": "SwiftData",
15
+ "testing": "XCTest",
16
+ "packageManager": "SPM"
17
+ },
18
+ "projectStage": "planning",
19
+ "codingStandards": {
20
+ "language": "en",
21
+ "namingConvention": "camelCase",
22
+ "indentation": "spaces-4",
23
+ "lineLength": 120
24
+ },
25
+ "createdDate": "{{DATE}}",
26
+ "lastUpdated": "{{DATE}}"
27
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "projectName": "MyWebApp",
3
+ "projectType": "react_web",
4
+ "primaryLanguage": "en",
5
+ "techStack": {
6
+ "platform": "Web",
7
+ "language": "TypeScript",
8
+ "framework": "Next.js 14+ (App Router)",
9
+ "styling": "TailwindCSS",
10
+ "stateManagement": "Zustand",
11
+ "database": "PostgreSQL + Prisma",
12
+ "auth": "NextAuth.js",
13
+ "deployment": "Vercel"
14
+ },
15
+ "projectStage": "planning",
16
+ "codingStandards": {
17
+ "language": "en",
18
+ "namingConvention": "camelCase",
19
+ "indentation": "spaces-2",
20
+ "lineLength": 100
21
+ },
22
+ "createdDate": "{{DATE}}",
23
+ "lastUpdated": "{{DATE}}"
24
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "updatedAt": "2026-01-17T18:30:00Z",
3
+ "workingOn": {
4
+ "feature": "Revenue Reports",
5
+ "task": "Implement daily revenue chart",
6
+ "status": "coding",
7
+ "files": [
8
+ "src/features/reports/components/revenue-chart.tsx",
9
+ "src/features/reports/api/get-revenue.ts"
10
+ ],
11
+ "blockers": [],
12
+ "notes": "Using recharts for visualization"
13
+ },
14
+ "pendingTasks": [
15
+ {
16
+ "task": "Add date range filter to revenue chart",
17
+ "priority": "medium",
18
+ "notes": "User request from demo"
19
+ },
20
+ {
21
+ "task": "Fix timezone issue in report",
22
+ "priority": "high",
23
+ "notes": "Report shows UTC, need GMT+7"
24
+ }
25
+ ],
26
+ "recentChanges": [
27
+ {
28
+ "timestamp": "2026-01-17T15:00:00Z",
29
+ "type": "feature",
30
+ "description": "Added revenue API endpoint",
31
+ "files": ["src/features/reports/api/get-revenue.ts"]
32
+ },
33
+ {
34
+ "timestamp": "2026-01-16T10:00:00Z",
35
+ "type": "bugfix",
36
+ "description": "Fixed order total calculation",
37
+ "files": ["src/features/orders/utils/calculate-total.ts"]
38
+ }
39
+ ],
40
+ "errorsEncountered": [
41
+ {
42
+ "error": "Prisma client not found in production",
43
+ "solution": "Add 'prisma generate' to postinstall script",
44
+ "resolved": true
45
+ }
46
+ ],
47
+ "decisionsMade": [
48
+ {
49
+ "decision": "Use recharts instead of Chart.js",
50
+ "reason": "Better React integration, smaller bundle size"
51
+ }
52
+ ]
53
+ }