specialist-agent 1.0.1 → 1.2.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 (52) hide show
  1. package/README.md +32 -15
  2. package/agents/cloud-lite.md +13 -1
  3. package/agents/cloud.md +52 -1
  4. package/agents/data-lite.md +4 -0
  5. package/agents/data.md +22 -0
  6. package/agents/designer-lite.md +4 -0
  7. package/agents/designer.md +22 -0
  8. package/agents/devops-lite.md +4 -0
  9. package/agents/devops.md +22 -0
  10. package/agents/explorer-lite.md +36 -0
  11. package/agents/explorer.md +100 -0
  12. package/agents/finance-lite.md +4 -0
  13. package/agents/finance.md +22 -0
  14. package/agents/security-lite.md +4 -0
  15. package/agents/security.md +22 -0
  16. package/agents/starter-lite.md +12 -0
  17. package/agents/starter.md +60 -0
  18. package/agents/tester-lite.md +4 -0
  19. package/agents/tester.md +22 -0
  20. package/package.json +4 -1
  21. package/packs/nextjs/agents/builder.md +22 -0
  22. package/packs/nextjs/agents/doctor.md +24 -0
  23. package/packs/nextjs/agents/migrator.md +24 -0
  24. package/packs/nextjs/agents/reviewer.md +36 -9
  25. package/packs/nextjs/agents-lite/builder.md +4 -0
  26. package/packs/nextjs/agents-lite/doctor.md +4 -0
  27. package/packs/nextjs/agents-lite/migrator.md +4 -0
  28. package/packs/nextjs/agents-lite/reviewer.md +5 -2
  29. package/packs/react/agents/builder.md +22 -0
  30. package/packs/react/agents/doctor.md +24 -0
  31. package/packs/react/agents/migrator.md +24 -0
  32. package/packs/react/agents/reviewer.md +35 -9
  33. package/packs/react/agents-lite/builder.md +4 -0
  34. package/packs/react/agents-lite/doctor.md +4 -0
  35. package/packs/react/agents-lite/migrator.md +4 -0
  36. package/packs/react/agents-lite/reviewer.md +5 -2
  37. package/packs/svelte/agents/builder.md +22 -0
  38. package/packs/svelte/agents/doctor.md +24 -0
  39. package/packs/svelte/agents/migrator.md +24 -0
  40. package/packs/svelte/agents/reviewer.md +36 -9
  41. package/packs/svelte/agents-lite/builder.md +4 -0
  42. package/packs/svelte/agents-lite/doctor.md +4 -0
  43. package/packs/svelte/agents-lite/migrator.md +4 -0
  44. package/packs/svelte/agents-lite/reviewer.md +5 -2
  45. package/packs/vue/agents/builder.md +22 -0
  46. package/packs/vue/agents/doctor.md +24 -0
  47. package/packs/vue/agents/migrator.md +24 -0
  48. package/packs/vue/agents/reviewer.md +33 -7
  49. package/packs/vue/agents-lite/builder.md +4 -0
  50. package/packs/vue/agents-lite/doctor.md +4 -0
  51. package/packs/vue/agents-lite/migrator.md +4 -0
  52. package/packs/vue/agents-lite/reviewer.md +5 -2
@@ -99,3 +99,27 @@ Read `docs/ARCHITECTURE.md`.
99
99
  - If API changes, update all consumers
100
100
  - One component per commit
101
101
  - Report bugs found during migration (don't silently fix)
102
+
103
+ ## Output
104
+
105
+ After completing migration, provide:
106
+
107
+ ```markdown
108
+ ## Migration — [Scope: Module | Component]
109
+ ### Before
110
+ - [Legacy patterns found with counts]
111
+ ### After
112
+ - [Modern patterns applied]
113
+ ### Files modified
114
+ - [List with paths]
115
+ ### Validation
116
+ - [tsc, build, test results]
117
+ ### Remaining work
118
+ - [Issues found but not addressed]
119
+ ```
120
+
121
+ ## Handoff Protocol
122
+
123
+ - Post-migration architecture review → suggest @reviewer
124
+ - Tests for migrated code → suggest @tester
125
+ - Bugs discovered during migration → suggest @doctor
@@ -58,13 +58,31 @@ grep -rn "v-html" src/ --include="*.vue" 2>/dev/null && echo "🔴 v-html"
58
58
  - ✨ **Highlight** — above expectations
59
59
 
60
60
  ### Output
61
- ```
61
+
62
+ ```markdown
62
63
  ## Review — [Scope]
64
+
65
+ ### Scorecard
66
+
67
+ | Dimension | Grade | Notes |
68
+ |-----------|-------|-------|
69
+ | Architecture | A-F | [conformance to ARCHITECTURE.md] |
70
+ | Type Safety | A-F | [any usage, strict mode, missing types] |
71
+ | Security | A-F | [v-html, XSS vectors, input validation] |
72
+ | Maintainability | A-F | [file sizes, complexity, naming] |
73
+
63
74
  ### Auto: tsc ✅/❌ | ESLint ✅/❌ | Build ✅/❌ | Tests ✅/❌
64
- ### 🔴 Violations: [file:line] — [issue] → [fix]
65
- ### 🟡 Attention: ...
66
- ### ✨ Highlights: ...
67
- ## Verdict: ✅ Approved | ⚠️ Caveats | ❌ Requires changes
75
+
76
+ ### 🔴 Violations
77
+ - [file:line] — [issue] → [suggested fix]
78
+
79
+ ### 🟡 Attention
80
+ - [file:line] — [concern] → [recommendation]
81
+
82
+ ### ✨ Highlights
83
+ - [file:line] — [what was done well and why it matters]
84
+
85
+ ### Verdict: ✅ Approved | ⚠️ Caveats | ❌ Requires changes
68
86
  ```
69
87
 
70
88
  ---
@@ -87,6 +105,14 @@ grep -rn "v-html" src/ --include="*.vue" 2>/dev/null && echo "🔴 v-html"
87
105
 
88
106
  ## Rules
89
107
  - Read-only. Never modify files.
90
- - Always include positive highlights.
91
- - Reference file:line in findings.
108
+ - Always include positive highlights — good code deserves recognition.
109
+ - Reference file:line in every finding.
92
110
  - Suggest concrete fixes with code snippets.
111
+ - Scorecard grades: A (excellent) B (good) C (adequate) D (needs work) F (critical issues).
112
+
113
+ ## Handoff Protocol
114
+
115
+ - Critical security issues (v-html, XSS, auth gaps) → suggest @security
116
+ - Bugs discovered during review → suggest @doctor
117
+ - Legacy patterns (Options API, mixins) → suggest @migrator
118
+ - Missing test coverage → suggest @tester
@@ -40,3 +40,7 @@ Create 4 files: `.types.ts` (API snake_case) → `.contracts.ts` (app camelCase)
40
40
 
41
41
  ## Test
42
42
  Priority: adapters (pure) > composables (mock service) > components (test-utils). Place in `__tests__/[Name].spec.ts`.
43
+
44
+ ## Output
45
+
46
+ Provide: files created, patterns applied, validation results, and suggested next steps.
@@ -38,3 +38,7 @@ Investigate bugs by tracing through architecture layers. Find root causes, not w
38
38
  - Fix at the root layer, not at the symptom layer
39
39
  - No hacks or workarounds
40
40
  - If fix requires architecture changes, report to user first
41
+
42
+ ## Output
43
+
44
+ Provide: symptoms, root cause (file:line), fix applied, validation results, and prevention tips.
@@ -48,3 +48,7 @@ Order: bottom-up (types → services → state → components). Ask user approva
48
48
  - Fix at correct layer, bottom-up order
49
49
  - Keep public API (props/emits/slots) stable when possible
50
50
  - Report bugs found during migration (don't silently fix)
51
+
52
+ ## Output
53
+
54
+ Provide: legacy patterns found, modern patterns applied, files modified, validation results, and remaining work.
@@ -26,7 +26,9 @@ Check these patterns:
26
26
  - 🟢 **Compliant** — correct
27
27
  - ✨ **Highlight** — above expectations
28
28
 
29
- ### Output: `## Review — [Scope]` with violations, attention items, highlights, and verdict (✅/⚠️/❌)
29
+ ### Output
30
+
31
+ Include a scorecard (Architecture, Type Safety, Security, Maintainability — grades A-F), then violations, attention items, highlights, and verdict (✅/⚠️/❌).
30
32
 
31
33
  ## Explore Mode
32
34
  1. Inventory files by type (components, services, composables, stores, views)
@@ -42,5 +44,6 @@ Check these patterns:
42
44
 
43
45
  ## Rules
44
46
  - Read-only. Never modify files.
45
- - Always include positive highlights.
47
+ - Always include positive highlights — good code deserves recognition.
46
48
  - Reference file:line in findings.
49
+ - Scorecard grades: A (excellent) B (good) C (adequate) D (needs work) F (critical).