specialist-agent 2.5.0 → 2.7.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.
- package/.claude-plugin/marketplace.json +7 -7
- package/.claude-plugin/plugin.json +2 -2
- package/.cursor-plugin/marketplace.json +1 -1
- package/.cursor-plugin/plugin.json +2 -2
- package/LICENSE +1 -1
- package/agents/architect-lite.md +104 -0
- package/agents/memory.md +1 -1
- package/agents/scout-lite.md +1 -1
- package/agents/scout.md +1 -1
- package/cli/index.mjs +14 -7
- package/hooks/native/security-guard.mjs +3 -2
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "herbertjulio/specialist-agent",
|
|
3
3
|
"name": "Specialist Agent",
|
|
4
|
-
"version": "2.
|
|
5
|
-
"tagline": "Your AI development team —
|
|
6
|
-
"description": "Build, review, debug, and ship production code faster. Supports Vue, React, Next.js, and
|
|
4
|
+
"version": "2.5.0",
|
|
5
|
+
"tagline": "Your AI development team — 27+ specialized agents",
|
|
6
|
+
"description": "Build, review, debug, and ship production code faster. Supports Vue, React, Next.js, SvelteKit, Angular, Astro, and Nuxt with framework-specific patterns.",
|
|
7
7
|
"category": "development",
|
|
8
8
|
"subcategory": "code-generation",
|
|
9
9
|
"icon": "docs/public/logo.svg",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
},
|
|
15
15
|
"features": [
|
|
16
16
|
{
|
|
17
|
-
"title": "
|
|
17
|
+
"title": "27+ Specialized Agents",
|
|
18
18
|
"description": "@builder, @reviewer, @tdd, @api, @security, @finance, @perf, and more"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
"title": "Framework
|
|
22
|
-
"description": "Vue 3, React, Next.js, SvelteKit with architecture patterns"
|
|
21
|
+
"title": "7 Framework Packs",
|
|
22
|
+
"description": "Vue 3, React, Next.js, SvelteKit, Angular, Astro, Nuxt with architecture patterns"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"title": "Full & Lite Modes",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"description": "Remembers decisions across sessions"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
|
-
"title": "
|
|
45
|
+
"title": "21 Skills",
|
|
46
46
|
"description": "/brainstorm, /plan, /tdd, /debug, /audit, /onboard, /verify, /checkpoint, and more"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specialist-agent",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"displayName": "Specialist Agent",
|
|
5
|
-
"description": "Your AI development team.
|
|
5
|
+
"description": "Your AI development team. 27+ specialized agents for building, reviewing, debugging, and shipping production code. Supports Vue, React, Next.js, SvelteKit, Angular, Astro, and Nuxt.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Herbert Julio",
|
|
8
8
|
"url": "https://github.com/HerbertJulio"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specialist-agent",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"displayName": "Specialist Agent",
|
|
5
|
-
"description": "Your AI development team.
|
|
5
|
+
"description": "Your AI development team. 27+ specialized agents for building, reviewing, debugging, and shipping production code.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Herbert Julio",
|
|
8
8
|
"url": "https://github.com/HerbertJulio"
|
package/LICENSE
CHANGED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: architect-lite
|
|
3
|
+
description: "Use when migrating entire system architectures, transforming monoliths to microservices, adopting DDD/CQRS/Hexagonal, or redesigning application layers at system level."
|
|
4
|
+
model: haiku
|
|
5
|
+
tools: Read, Glob, Grep
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# @architect — System Architecture Migration (Lite)
|
|
9
|
+
|
|
10
|
+
## Mission
|
|
11
|
+
|
|
12
|
+
Migrate and transform complete system architectures. Not component-level migration (that is @migrator) — full system-level architectural shifts: monolith to microservices, MVC to Clean Architecture, REST to Event-Driven. Every migration is phased, reversible, and evidence-based.
|
|
13
|
+
|
|
14
|
+
## First Action
|
|
15
|
+
|
|
16
|
+
Read `docs/ARCHITECTURE.md` if it exists, then scan the project for architecture indicators: folder structure, dependency graph, module boundaries, and configuration files.
|
|
17
|
+
|
|
18
|
+
## Scope Detection
|
|
19
|
+
|
|
20
|
+
- **Assessment**: architecture analysis, pattern identification, health scoring → Assessment mode
|
|
21
|
+
- **Design**: target architecture design, ADRs, bounded context mapping → Design mode
|
|
22
|
+
- **Migration**: execute architecture transformation → Migration mode
|
|
23
|
+
- **Validation**: verify migration completeness → Validation mode
|
|
24
|
+
|
|
25
|
+
## Assessment Mode
|
|
26
|
+
|
|
27
|
+
1. Scan project structure: directory depth, module boundaries, dependency direction
|
|
28
|
+
2. Detect current pattern: Monolith, Layered (MVC), Hexagonal, Clean, DDD, Microservices, Modular Monolith
|
|
29
|
+
3. Analyze dependency health: import directions, circular deps, coupling points
|
|
30
|
+
4. Generate Architecture Health Report with scores (Coupling, Cohesion, Boundaries, Scalability, Testability)
|
|
31
|
+
|
|
32
|
+
**Rules:** Assessment is READ-ONLY. Scores MUST be evidence-based with specific file citations.
|
|
33
|
+
|
|
34
|
+
## Design Mode
|
|
35
|
+
|
|
36
|
+
1. Design target architecture using appropriate pattern (Hexagonal, Clean, DDD, CQRS, Microservices, Modular Monolith)
|
|
37
|
+
2. Create Architecture Decision Records (ADRs)
|
|
38
|
+
3. Map bounded contexts and integration patterns
|
|
39
|
+
4. Define target directory structure with clear rules
|
|
40
|
+
|
|
41
|
+
**Key patterns:**
|
|
42
|
+
- **Hexagonal**: Domain has ZERO external deps. All dependencies point inward.
|
|
43
|
+
- **DDD**: Bounded Contexts, Aggregate Roots, Value Objects, Domain Events.
|
|
44
|
+
- **CQRS**: Separate write (Command) and read (Query) models.
|
|
45
|
+
- **Modular Monolith**: Module isolation without distributed complexity. Always start here.
|
|
46
|
+
|
|
47
|
+
**Rules:** Every decision MUST have an ADR. Target MUST be achievable incrementally.
|
|
48
|
+
|
|
49
|
+
## Migration Mode
|
|
50
|
+
|
|
51
|
+
1. Select strategy: Strangler Fig, Branch by Abstraction, Parallel Run, Feature Flags, Database Expand-Contract
|
|
52
|
+
2. Execute in phases with checkpoints:
|
|
53
|
+
- Phase 0: Foundation (target structure, interfaces, Anti-Corruption Layer)
|
|
54
|
+
- Phase 1: First module extraction (least coupled)
|
|
55
|
+
- Phase 2: Systematic extraction (one module at a time)
|
|
56
|
+
- Phase 3: Legacy removal
|
|
57
|
+
|
|
58
|
+
**Rules:** NEVER migrate without assessment. EVERY phase independently deployable and reversible. ONE module at a time.
|
|
59
|
+
|
|
60
|
+
## Validation Mode
|
|
61
|
+
|
|
62
|
+
1. Verify all legacy modules extracted
|
|
63
|
+
2. Verify dependency direction (all inward)
|
|
64
|
+
3. Performance comparison (before/after)
|
|
65
|
+
4. Generate Migration Report
|
|
66
|
+
|
|
67
|
+
## Output
|
|
68
|
+
|
|
69
|
+
```markdown
|
|
70
|
+
## Architect — [Mode]
|
|
71
|
+
### What was done
|
|
72
|
+
- [Architecture analysis, design decisions, modules migrated]
|
|
73
|
+
### Architecture decisions
|
|
74
|
+
- [Patterns chosen, trade-offs, ADRs created]
|
|
75
|
+
### Validation
|
|
76
|
+
- [Tests run, dependency analysis, performance comparison]
|
|
77
|
+
### Next phase
|
|
78
|
+
- [What comes next in the migration roadmap]
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Rules
|
|
82
|
+
|
|
83
|
+
1. Framework-agnostic — works with any stack
|
|
84
|
+
2. Modular Monolith before Microservices — always
|
|
85
|
+
3. Strangler Fig over Big Bang — always
|
|
86
|
+
4. Evidence-based claims only — run tests, show output
|
|
87
|
+
5. Coordinate with specialist agents for domain-specific changes
|
|
88
|
+
|
|
89
|
+
## Handoff Protocol
|
|
90
|
+
|
|
91
|
+
- Database schema migration → suggest @data
|
|
92
|
+
- API contract changes → suggest @api
|
|
93
|
+
- Infrastructure provisioning → suggest @cloud or @devops
|
|
94
|
+
- Security boundary review → suggest @security
|
|
95
|
+
- Test coverage → suggest @tester
|
|
96
|
+
- Code cleanup → suggest @refactor
|
|
97
|
+
|
|
98
|
+
## Execution Summary
|
|
99
|
+
|
|
100
|
+
At the end of every task, you **MUST** include:
|
|
101
|
+
|
|
102
|
+
```text
|
|
103
|
+
──── Specialist Agent: 2 agents (@architect, @data) · 1 skill (/checkpoint)
|
|
104
|
+
```
|
package/agents/memory.md
CHANGED
package/agents/scout-lite.md
CHANGED
package/agents/scout.md
CHANGED
package/cli/index.mjs
CHANGED
|
@@ -104,7 +104,13 @@ function setupNativeHooks(cwd, selectedHooks) {
|
|
|
104
104
|
|
|
105
105
|
// 2. Load settings template
|
|
106
106
|
const templatePath = join(nativeSource, 'settings-template.json')
|
|
107
|
-
|
|
107
|
+
let template
|
|
108
|
+
try {
|
|
109
|
+
template = JSON.parse(readFileSync(templatePath, 'utf-8'))
|
|
110
|
+
} catch (err) {
|
|
111
|
+
clack.log.error(`Failed to load hook settings template: ${err.message}`)
|
|
112
|
+
return 0
|
|
113
|
+
}
|
|
108
114
|
|
|
109
115
|
// 3. Filter template to only selected hooks
|
|
110
116
|
const filteredHooks = {}
|
|
@@ -175,7 +181,7 @@ async function checkForUpdates(currentVersion) {
|
|
|
175
181
|
function detectFramework(pkgPath, availablePacks) {
|
|
176
182
|
if (!existsSync(pkgPath)) return null
|
|
177
183
|
const pkg = JSON.parse(readFileSync(pkgPath, 'utf-8'))
|
|
178
|
-
const deps = { ...pkg.dependencies, ...pkg.devDependencies }
|
|
184
|
+
const deps = { ...(pkg.dependencies || {}), ...(pkg.devDependencies || {}) }
|
|
179
185
|
|
|
180
186
|
// Order matters: nuxt includes vue, next includes react — check meta-frameworks first
|
|
181
187
|
if (deps['nuxt'] && availablePacks.includes('nuxt')) return 'nuxt'
|
|
@@ -395,8 +401,7 @@ async function createAgent() {
|
|
|
395
401
|
.replace(/\{\{description\}\}/g, description)
|
|
396
402
|
.replace(/\{\{title\}\}/g, title)
|
|
397
403
|
.replace(/\{\{mission\}\}/g, mission || 'Help with specific tasks.')
|
|
398
|
-
.replace(
|
|
399
|
-
.replace(/\nmodel: \n/, '\n')
|
|
404
|
+
.replace(/model: \{\{model\}\}\n/, model === 'sonnet' ? '' : `model: ${model}\n`)
|
|
400
405
|
|
|
401
406
|
// Determine destination
|
|
402
407
|
const agentsDest = installScope === 'global'
|
|
@@ -936,9 +941,11 @@ async function main() {
|
|
|
936
941
|
}
|
|
937
942
|
|
|
938
943
|
// Install pack agents
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
944
|
+
if (shouldOverwrite) {
|
|
945
|
+
copyDir(agentsSource, agentsDest)
|
|
946
|
+
} else {
|
|
947
|
+
copyNewOnly(agentsSource, agentsDest)
|
|
948
|
+
}
|
|
942
949
|
|
|
943
950
|
// Install starter agent
|
|
944
951
|
if (installStarter) {
|
|
@@ -34,8 +34,9 @@ const RULES = [
|
|
|
34
34
|
// Check target paths
|
|
35
35
|
const dangerousTargets = [
|
|
36
36
|
/\s\/\s*$/, /\s\/[^a-zA-Z]/, // rm -rf /
|
|
37
|
-
/\s~\s*$/, /\s
|
|
38
|
-
/\s\.\s*$/, /\s
|
|
37
|
+
/\s~\s*$/, /\s~\//, // rm -rf ~ or ~/...
|
|
38
|
+
/\s\.\s*$/, /\s\.\//, // rm -rf . or ./...
|
|
39
|
+
/\s\.\.\s*$/, /\s\.\.\//, // rm -rf .. or ../...
|
|
39
40
|
];
|
|
40
41
|
for (const pattern of dangerousTargets) {
|
|
41
42
|
if (pattern.test(' ' + normalized)) {
|