codingbuddy-rules 4.0.1 → 4.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 (34) hide show
  1. package/.ai-rules/CHANGELOG.md +42 -0
  2. package/.ai-rules/adapters/antigravity.md +1 -1
  3. package/.ai-rules/adapters/claude-code.md +79 -43
  4. package/.ai-rules/adapters/codex.md +1 -1
  5. package/.ai-rules/adapters/cursor.md +1 -1
  6. package/.ai-rules/adapters/kiro.md +1 -1
  7. package/.ai-rules/adapters/opencode.md +3 -3
  8. package/.ai-rules/adapters/q.md +1 -1
  9. package/.ai-rules/agents/README.md +1 -1
  10. package/.ai-rules/agents/accessibility-specialist.json +3 -13
  11. package/.ai-rules/agents/ai-ml-engineer.json +4 -23
  12. package/.ai-rules/agents/architecture-specialist.json +2 -9
  13. package/.ai-rules/agents/auto-mode.json +106 -0
  14. package/.ai-rules/agents/code-reviewer.json +2 -9
  15. package/.ai-rules/agents/data-engineer.json +3 -17
  16. package/.ai-rules/agents/eval-mode.json +1 -4
  17. package/.ai-rules/agents/event-architecture-specialist.json +1 -5
  18. package/.ai-rules/agents/i18n-specialist.json +1 -5
  19. package/.ai-rules/agents/migration-specialist.json +3 -15
  20. package/.ai-rules/agents/mobile-developer.json +5 -28
  21. package/.ai-rules/agents/observability-specialist.json +8 -53
  22. package/.ai-rules/agents/performance-specialist.json +3 -15
  23. package/.ai-rules/agents/plan-mode.json +1 -4
  24. package/.ai-rules/agents/platform-engineer.json +3 -13
  25. package/.ai-rules/agents/security-specialist.json +2 -8
  26. package/.ai-rules/agents/technical-planner.json +1 -4
  27. package/.ai-rules/agents/test-strategy-specialist.json +6 -36
  28. package/.ai-rules/agents/tooling-engineer.json +1 -1
  29. package/.ai-rules/checklists/accessibility.json +2 -13
  30. package/.ai-rules/checklists/security.json +2 -16
  31. package/.ai-rules/keyword-modes.json +2 -10
  32. package/.ai-rules/skills/README.md +3 -0
  33. package/.ai-rules/skills/widget-slot-architecture/SKILL.md +740 -0
  34. package/package.json +1 -1
@@ -16,14 +16,8 @@
16
16
  ],
17
17
  "supported_platforms": {
18
18
  "note": "This agent supports multiple mobile platforms. See project.md 'Tech Stack' for your project's specific platform.",
19
- "cross_platform": [
20
- "React Native (with Expo or bare workflow)",
21
- "Flutter"
22
- ],
23
- "native": [
24
- "iOS (Swift, SwiftUI, UIKit)",
25
- "Android (Kotlin, Jetpack Compose, XML Views)"
26
- ]
19
+ "cross_platform": ["React Native (with Expo or bare workflow)", "Flutter"],
20
+ "native": ["iOS (Swift, SwiftUI, UIKit)", "Android (Kotlin, Jetpack Compose, XML Views)"]
27
21
  },
28
22
  "tech_stack_reference": "See project.md 'Tech Stack' section for your project's mobile framework and version information",
29
23
  "responsibilities": [
@@ -52,11 +46,7 @@
52
46
  ],
53
47
  "flutter": ["pubspec\\.yaml$", "\\.dart$"],
54
48
  "ios": ["\\.xcodeproj", "\\.xcworkspace", "Podfile$", "\\.swift$"],
55
- "android": [
56
- "build\\.gradle(\\.kts)?$",
57
- "AndroidManifest\\.xml$",
58
- "\\.kt$"
59
- ]
49
+ "android": ["build\\.gradle(\\.kts)?$", "AndroidManifest\\.xml$", "\\.kt$"]
60
50
  },
61
51
  "intent_patterns": {
62
52
  "korean": [
@@ -69,16 +59,7 @@
69
59
  "스위프트",
70
60
  "코틀린"
71
61
  ],
72
- "english": [
73
- "mobile",
74
- "app",
75
- "react native",
76
- "flutter",
77
- "iOS",
78
- "android",
79
- "swift",
80
- "kotlin"
81
- ]
62
+ "english": ["mobile", "app", "react native", "flutter", "iOS", "android", "swift", "kotlin"]
82
63
  },
83
64
  "mandatory_checklist": {
84
65
  "🔴 language": {
@@ -222,11 +203,7 @@
222
203
  "platform_channels": "MethodChannel for native code"
223
204
  },
224
205
  "ios_native": {
225
- "architecture": [
226
- "MVVM",
227
- "Clean Architecture",
228
- "TCA (Composable Architecture)"
229
- ],
206
+ "architecture": ["MVVM", "Clean Architecture", "TCA (Composable Architecture)"],
230
207
  "ui": ["SwiftUI", "UIKit"],
231
208
  "async": ["async/await", "Combine"],
232
209
  "testing": ["XCTest", "Quick/Nimble"],
@@ -164,13 +164,7 @@
164
164
  "Sampling strategy",
165
165
  "Span attributes"
166
166
  ],
167
- "backends": [
168
- "Jaeger",
169
- "Zipkin",
170
- "Tempo",
171
- "AWS X-Ray",
172
- "Datadog APM"
173
- ]
167
+ "backends": ["Jaeger", "Zipkin", "Tempo", "AWS X-Ray", "Datadog APM"]
174
168
  },
175
169
  "metrics": {
176
170
  "description": "Quantitative measurements for system health",
@@ -179,29 +173,12 @@
179
173
  "Labels/dimensions",
180
174
  "Aggregation"
181
175
  ],
182
- "backends": [
183
- "Prometheus",
184
- "Grafana",
185
- "InfluxDB",
186
- "Victoria Metrics",
187
- "Datadog"
188
- ]
176
+ "backends": ["Prometheus", "Grafana", "InfluxDB", "Victoria Metrics", "Datadog"]
189
177
  },
190
178
  "logs": {
191
179
  "description": "Structured event records with context",
192
- "components": [
193
- "JSON format",
194
- "Log levels",
195
- "Context injection",
196
- "PII masking"
197
- ],
198
- "backends": [
199
- "ELK Stack",
200
- "Loki",
201
- "Splunk",
202
- "CloudWatch Logs",
203
- "Datadog Logs"
204
- ]
180
+ "components": ["JSON format", "Log levels", "Context injection", "PII masking"],
181
+ "backends": ["ELK Stack", "Loki", "Splunk", "CloudWatch Logs", "Datadog Logs"]
205
182
  }
206
183
  },
207
184
  "sli_slo_framework": {
@@ -341,17 +318,8 @@
341
318
  "service.namespace (optional)",
342
319
  "host.name (optional)"
343
320
  ],
344
- "propagators": [
345
- "W3C Trace Context (default)",
346
- "W3C Baggage",
347
- "B3 (for Zipkin)"
348
- ],
349
- "exporters": [
350
- "OTLP (recommended)",
351
- "Jaeger",
352
- "Zipkin",
353
- "Console (dev only)"
354
- ]
321
+ "propagators": ["W3C Trace Context (default)", "W3C Baggage", "B3 (for Zipkin)"],
322
+ "exporters": ["OTLP (recommended)", "Jaeger", "Zipkin", "Console (dev only)"]
355
323
  },
356
324
  "structured_logging_setup": {
357
325
  "required_fields": {
@@ -571,11 +539,7 @@
571
539
  "Dashboard gaps for key metrics",
572
540
  "Alert runbooks incomplete"
573
541
  ],
574
- "low": [
575
- "Minor coverage gaps",
576
- "Optional improvements",
577
- "Documentation updates needed"
578
- ]
542
+ "low": ["Minor coverage gaps", "Optional improvements", "Documentation updates needed"]
579
543
  }
580
544
  }
581
545
  }
@@ -583,16 +547,7 @@
583
547
  "shared_framework": {
584
548
  "opentelemetry": {
585
549
  "description": "Vendor-neutral observability framework",
586
- "sdk_languages": [
587
- "Node.js",
588
- "Python",
589
- "Go",
590
- "Java",
591
- ".NET",
592
- "Ruby",
593
- "PHP",
594
- "Rust"
595
- ],
550
+ "sdk_languages": ["Node.js", "Python", "Go", "Java", ".NET", "Ruby", "PHP", "Rust"],
596
551
  "components": {
597
552
  "api": "Stable interfaces for instrumentation",
598
553
  "sdk": "Reference implementation for telemetry collection",
@@ -166,11 +166,7 @@
166
166
  },
167
167
  "cls": {
168
168
  "target": "< 0.1",
169
- "strategies": [
170
- "Plan image dimensions",
171
- "Plan font loading",
172
- "Plan layout stability"
173
- ]
169
+ "strategies": ["Plan image dimensions", "Plan font loading", "Plan layout stability"]
174
170
  }
175
171
  },
176
172
  "planning_risks": {
@@ -314,11 +310,7 @@
314
310
  },
315
311
  "cls": {
316
312
  "target": "< 0.1",
317
- "checks": [
318
- "Verify image dimensions",
319
- "Verify font loading",
320
- "Verify layout stability"
321
- ]
313
+ "checks": ["Verify image dimensions", "Verify font loading", "Verify layout stability"]
322
314
  }
323
315
  },
324
316
  "implementation_risks": {
@@ -339,11 +331,7 @@
339
331
  "Some optimization opportunities",
340
332
  "Minor performance improvements needed"
341
333
  ],
342
- "low": [
343
- "Bundle size < 1.5MB",
344
- "Minor optimizations possible",
345
- "Optional enhancements"
346
- ]
334
+ "low": ["Bundle size < 1.5MB", "Minor optimizations possible", "Optional enhancements"]
347
335
  }
348
336
  }
349
337
  },
@@ -23,10 +23,7 @@
23
23
  "Plan file structure and naming conventions"
24
24
  ]
25
25
  },
26
- "context_files": [
27
- ".ai-rules/rules/core.md",
28
- ".ai-rules/rules/augmented-coding.md"
29
- ],
26
+ "context_files": [".ai-rules/rules/core.md", ".ai-rules/rules/augmented-coding.md"],
30
27
  "activation": {
31
28
  "trigger": "🔴 **STRICT**: When user types 'PLAN' or equivalent (Korean: 계획, Japanese: 計画, Chinese: 计划, Spanish: PLANIFICAR)",
32
29
  "rule": "🔴 **STRICT**: PLAN MODE request must activate this Agent automatically",
@@ -271,11 +271,7 @@
271
271
  "No GitOps workflow",
272
272
  "Insufficient monitoring"
273
273
  ],
274
- "medium": [
275
- "Suboptimal module structure",
276
- "Missing documentation",
277
- "No drift detection"
278
- ],
274
+ "medium": ["Suboptimal module structure", "Missing documentation", "No drift detection"],
279
275
  "low": ["Minor optimization opportunities", "Code style improvements"]
280
276
  }
281
277
  }
@@ -347,11 +343,7 @@
347
343
  "Missing health checks",
348
344
  "Insufficient testing"
349
345
  ],
350
- "medium": [
351
- "Suboptimal resource sizing",
352
- "Missing cost tags",
353
- "Incomplete documentation"
354
- ],
346
+ "medium": ["Suboptimal resource sizing", "Missing cost tags", "Incomplete documentation"],
355
347
  "low": ["Code style issues", "Minor optimizations"]
356
348
  }
357
349
  }
@@ -909,9 +901,7 @@
909
901
  },
910
902
  "metadata_check": {
911
903
  "command": "curl -H 'Metadata-Flavor: Google' http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/email",
912
- "success_indicators": [
913
- "Returns GSA email, not node service account"
914
- ]
904
+ "success_indicators": ["Returns GSA email, not node service account"]
915
905
  },
916
906
  "failure_indicators": [
917
907
  "Shows compute-developer.gserviceaccount.com (node SA)",
@@ -165,10 +165,7 @@
165
165
  "Additional validation could help",
166
166
  "Minor security enhancements"
167
167
  ],
168
- "low": [
169
- "Minor security improvements",
170
- "Optional security enhancements"
171
- ]
168
+ "low": ["Minor security improvements", "Optional security enhancements"]
172
169
  }
173
170
  }
174
171
  },
@@ -285,10 +282,7 @@
285
282
  "Additional validation could help",
286
283
  "Minor security enhancements"
287
284
  ],
288
- "low": [
289
- "Minor security improvements",
290
- "Optional security enhancements"
291
- ]
285
+ "low": ["Minor security improvements", "Optional security enhancements"]
292
286
  }
293
287
  }
294
288
  },
@@ -19,10 +19,7 @@
19
19
  "Ensure plans are context-complete for engineers"
20
20
  ]
21
21
  },
22
- "context_files": [
23
- ".ai-rules/rules/core.md",
24
- ".ai-rules/rules/augmented-coding.md"
25
- ],
22
+ "context_files": [".ai-rules/rules/core.md", ".ai-rules/rules/augmented-coding.md"],
26
23
  "skills": {
27
24
  "required": [
28
25
  {
@@ -146,12 +146,7 @@
146
146
  "coverage_planning": {
147
147
  "core_logic": {
148
148
  "target": "90%+ coverage",
149
- "locations": [
150
- "entities/apis/",
151
- "entities/models/",
152
- "shared/utils/",
153
- "shared/hooks/"
154
- ],
149
+ "locations": ["entities/apis/", "entities/models/", "shared/utils/", "shared/hooks/"],
155
150
  "plan": "Plan test cases for all code paths, edge cases, and error conditions"
156
151
  },
157
152
  "ui_components": {
@@ -179,12 +174,7 @@
179
174
  "API errors",
180
175
  "Timeout errors"
181
176
  ],
182
- "state_conditions": [
183
- "Loading state",
184
- "Error state",
185
- "Success state",
186
- "Initial state"
187
- ]
177
+ "state_conditions": ["Loading state", "Error state", "Success state", "Initial state"]
188
178
  },
189
179
  "planning_risks": {
190
180
  "🔴 critical": [
@@ -418,12 +408,7 @@
418
408
  "coverage_requirements": {
419
409
  "core_logic": {
420
410
  "target": "90%+ coverage",
421
- "locations": [
422
- "entities/apis/",
423
- "entities/models/",
424
- "shared/utils/",
425
- "shared/hooks/"
426
- ],
411
+ "locations": ["entities/apis/", "entities/models/", "shared/utils/", "shared/hooks/"],
427
412
  "acceptable": "85-90%",
428
413
  "concerning": "70-85%",
429
414
  "critical": "< 70%"
@@ -495,12 +480,7 @@
495
480
  "handles network timeout gracefully",
496
481
  "displays loading state during API call"
497
482
  ],
498
- "❌ bad": [
499
- "test1",
500
- "handles input",
501
- "works correctly",
502
- "test email validation"
503
- ]
483
+ "❌ bad": ["test1", "handles input", "works correctly", "test email validation"]
504
484
  },
505
485
  "edge_cases": {
506
486
  "boundary_conditions": [
@@ -510,18 +490,8 @@
510
490
  "Min values",
511
491
  "Zero"
512
492
  ],
513
- "error_conditions": [
514
- "Network errors",
515
- "Validation errors",
516
- "API errors",
517
- "Timeout errors"
518
- ],
519
- "state_conditions": [
520
- "Loading state",
521
- "Error state",
522
- "Success state",
523
- "Initial state"
524
- ]
493
+ "error_conditions": ["Network errors", "Validation errors", "API errors", "Timeout errors"],
494
+ "state_conditions": ["Loading state", "Error state", "Success state", "Initial state"]
525
495
  },
526
496
  "best_practices_reference": {
527
497
  "tdd": "Test-Driven Development - Kent Beck",
@@ -5,7 +5,7 @@
5
5
  "title": "Tooling Engineer",
6
6
  "type": "primary",
7
7
  "expertise": [
8
- "Project Configuration (codingbuddy.config.js, .env)",
8
+ "Project Configuration (codingbuddy.config.json, .env)",
9
9
  "TypeScript Configuration (tsconfig.json, paths)",
10
10
  "Linting & Formatting (ESLint, Prettier, Stylelint)",
11
11
  "Build Tools (Vite, Webpack, Next.js config, Rollup)",
@@ -6,13 +6,7 @@
6
6
  {
7
7
  "name": "forms",
8
8
  "triggers": {
9
- "files": [
10
- "**/form/**",
11
- "**/input/**",
12
- "**/login/**",
13
- "**/signup/**",
14
- "**/contact/**"
15
- ],
9
+ "files": ["**/form/**", "**/input/**", "**/login/**", "**/signup/**", "**/contact/**"],
16
10
  "imports": ["react-hook-form", "formik", "@radix-ui/react-form"],
17
11
  "patterns": ["<form", "<input", "<select", "<textarea", "onSubmit"]
18
12
  },
@@ -55,12 +49,7 @@
55
49
  "**/menu/**",
56
50
  "**/components/**"
57
51
  ],
58
- "imports": [
59
- "@radix-ui/*",
60
- "@headlessui/*",
61
- "react-aria",
62
- "react-modal"
63
- ],
52
+ "imports": ["@radix-ui/*", "@headlessui/*", "react-aria", "react-modal"],
64
53
  "patterns": ["onClick", "onKeyDown", "role=", "aria-", "<button", "<a "]
65
54
  },
66
55
  "items": [
@@ -14,22 +14,8 @@
14
14
  "**/signin/**",
15
15
  "**/signup/**"
16
16
  ],
17
- "imports": [
18
- "bcrypt",
19
- "argon2",
20
- "jsonwebtoken",
21
- "passport",
22
- "next-auth",
23
- "@auth/*",
24
- "jose"
25
- ],
26
- "patterns": [
27
- "password",
28
- "token",
29
- "credential",
30
- "session",
31
- "authenticate"
32
- ]
17
+ "imports": ["bcrypt", "argon2", "jsonwebtoken", "passport", "next-auth", "@auth/*", "jose"],
18
+ "patterns": ["password", "token", "credential", "session", "authenticate"]
33
19
  },
34
20
  "items": [
35
21
  {
@@ -18,11 +18,7 @@
18
18
  "ACT": {
19
19
  "description": "Actual task execution phase",
20
20
  "instructions": "Red-Green-Refactor 사이클 준수. 최소 구현 후 점진적 개선. 품질 기준 충족 확인. 📝 완료 후 docs/codingbuddy/act/ 에 ACT 문서 작성 권장 (./docs/codingbuddy/scripts/new-doc.sh act <slug>).",
21
- "rules": [
22
- "rules/core.md",
23
- "rules/project.md",
24
- "rules/augmented-coding.md"
25
- ],
21
+ "rules": ["rules/core.md", "rules/project.md", "rules/augmented-coding.md"],
26
22
  "agent": "act-mode",
27
23
  "delegates_to": "frontend-developer",
28
24
  "defaultSpecialists": [
@@ -52,11 +48,7 @@
52
48
  "AUTO": {
53
49
  "description": "Autonomous execution mode",
54
50
  "instructions": "PLAN → ACT → EVAL 사이클 자동 실행. Critical/High 이슈가 0이 될 때까지 반복. (세션 문서는 각 PLAN/ACT/EVAL 단계에서 작성됨)",
55
- "rules": [
56
- "rules/core.md",
57
- "rules/project.md",
58
- "rules/augmented-coding.md"
59
- ],
51
+ "rules": ["rules/core.md", "rules/project.md", "rules/augmented-coding.md"],
60
52
  "agent": "auto-mode",
61
53
  "delegates_to": "frontend-developer",
62
54
  "defaultSpecialists": [
@@ -21,6 +21,7 @@ Reusable workflows for consistent development practices.
21
21
  | systematic-debugging | Systematic approach before proposing fixes | Encountering bugs or failures |
22
22
  | test-driven-development | Write tests first, then minimal code to pass | Before implementing features |
23
23
  | performance-optimization | Profiling-first performance optimization workflow | Performance issues, bottleneck analysis, optimization |
24
+ | widget-slot-architecture | Next.js App Router Parallel Routes based Widget-Slot architecture | Large-scale Next.js project page structure design |
24
25
  | writing-plans | Create implementation plans before coding | Multi-step tasks with specs |
25
26
 
26
27
  ## Skill Format
@@ -148,6 +149,8 @@ EOF
148
149
  │ └── SKILL.md
149
150
  ├── test-driven-development/
150
151
  │ └── SKILL.md
152
+ ├── widget-slot-architecture/
153
+ │ └── SKILL.md
151
154
  └── writing-plans/
152
155
  └── SKILL.md
153
156
  ```