claude-nexus 0.16.0 → 0.18.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.
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "name": "claude-nexus",
9
9
  "description": "Agent orchestration plugin for Claude Code. Injects optimized context per agent role with minimal overhead.",
10
- "version": "0.16.0",
10
+ "version": "0.18.0",
11
11
  "author": {
12
12
  "name": "kih"
13
13
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-nexus",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "description": "Agent orchestration plugin for Claude Code — optimized context injection per role",
5
5
  "author": {
6
6
  "name": "kih"
package/README.en.md CHANGED
@@ -9,7 +9,7 @@ Agent orchestration plugin for Claude Code.
9
9
 
10
10
  ## Why
11
11
 
12
- Specialized agent teams handle development and research systematically — director, architect, engineer, QA for development; principal, postdoc, researcher for research. One tag triggers automatic orchestration of complex tasks across the right agents without manual coordination.
12
+ Specialized agent teams handle development and research systematically — architect, engineer, QA, researcher, and more. One tag triggers automatic orchestration of complex tasks across the right agents without manual coordination.
13
13
 
14
14
  ## Quick Start
15
15
 
@@ -22,13 +22,12 @@ claude plugin install claude-nexus@nexus
22
22
 
23
23
  **2. Onboard your project**
24
24
 
25
- Run `/claude-nexus:nx-sync` — on first run it scans your project and auto-generates structured knowledge under `.claude/nexus/knowledge/`.
25
+ Run `/claude-nexus:nx-init` — scans your project and auto-generates structured knowledge under `.nexus/core/`.
26
26
 
27
27
  **3. Start using**
28
28
 
29
29
  - **Consult**: `[consult] How should we design the auth system?` — clarify intent and align before executing
30
- - **Develop**: `[dev] Implement login API` — agent team handles analysis through implementation
31
- - **Research**: `[research] React vs Svelte performance comparison` — independent investigation with synthesis report
30
+ - **Run**: `[run] Implement login API` — agent team handles analysis through implementation
32
31
 
33
32
  ## Usage
34
33
 
@@ -37,41 +36,47 @@ Tag your message to route it to the right workflow:
37
36
  | Tag | Action | Example |
38
37
  |-----|--------|---------|
39
38
  | `[consult]` | Pre-execution consultation | `[consult] Discuss DB migration strategy` |
40
- | `[dev]` | Development (auto Sub/Team) | `[dev] Refactor payment module` |
41
- | `[dev!]` | Force team mode | `[dev!] Overhaul auth system` |
42
- | `[research]` | Research execution | `[research] Compare caching strategies` |
43
- | `[research!]` | Force research team | `[research!] Investigate competitor tech stacks` |
39
+ | `[run]` | Execution (agent team) | `[run] Refactor payment module` |
40
+ | `[d]` | Record a decision | `[d] Use PostgreSQL for primary storage` |
41
+ | `[rule]` | Save a rule | `[rule] Always use bun instead of npm` |
44
42
 
45
- Typical flow: use `[consult]` to discuss and align → decide → use `[dev]` or `[research]` to execute.
43
+ Typical flow: use `[consult]` to discuss and align → decide → use `[run]` to execute.
46
44
 
47
45
  ## Agents
48
46
 
49
- ### Dev Team (4 agents)
47
+ ### How Team (4 agents)
48
+
49
+ | Agent | Invocation | Role | Model |
50
+ |-------|-----------|------|-------|
51
+ | **Architect** | `claude-nexus:architect` | Technical design and architecture review | opus |
52
+ | **Designer** | `claude-nexus:designer` | UI/UX design and interaction patterns | opus |
53
+ | **Postdoc** | `claude-nexus:postdoc` | Research methodology and evidence synthesis | opus |
54
+ | **Strategist** | `claude-nexus:strategist` | Business strategy and competitive positioning | opus |
55
+
56
+ ### Do Team (3 agents)
50
57
 
51
58
  | Agent | Invocation | Role | Model |
52
59
  |-------|-----------|------|-------|
53
- | **Director** | `claude-nexus:director` | Project direction, scope, and priority decisions | opus |
54
- | **Architect** | `claude-nexus:architect` | Technical design and architecture review (read-only) | opus |
55
60
  | **Engineer** | `claude-nexus:engineer` | Code implementation and debugging | sonnet |
56
- | **QA** | `claude-nexus:qa` | Verification, testing, and security review | sonnet |
61
+ | **Researcher** | `claude-nexus:researcher` | Web search, independent investigation | sonnet |
62
+ | **Writer** | `claude-nexus:writer` | Technical writing and documentation | sonnet |
57
63
 
58
- ### Research Team (3 agents)
64
+ ### Check Team (2 agents)
59
65
 
60
66
  | Agent | Invocation | Role | Model |
61
67
  |-------|-----------|------|-------|
62
- | **Principal** | `claude-nexus:principal` | Research direction, agenda, and confirmation bias prevention | opus |
63
- | **Postdoc** | `claude-nexus:postdoc` | Methodology design, evidence evaluation, synthesis documents | opus |
64
- | **Researcher** | `claude-nexus:researcher` | Web search, independent investigation, source reporting | sonnet |
68
+ | **QA** | `claude-nexus:qa` | Verification, testing, and security review | sonnet |
69
+ | **Reviewer** | `claude-nexus:reviewer` | Content verification and fact-checking | sonnet |
65
70
 
66
71
  ## Skills
67
72
 
68
73
  | Skill | Trigger | Description |
69
74
  |-------|---------|-------------|
70
75
  | **nx-consult** | `[consult]` | Structured consultation. Clarify requirements → record decisions (`[d]`) → recommend execution tag |
71
- | **nx-dev** | `[dev]` / `[dev!]` | Development execution. Auto-selects solo or team (Director→Architect→Engineer→QA) based on complexity |
72
- | **nx-research** | `[research]` / `[research!]` | Research execution. Auto-selects solo or team (Principal→Postdoc→Researcher) based on complexity |
76
+ | **nx-run** | `[run]` | Execution. User-directed agent composition for development, research, and more |
77
+ | **nx-init** | `/claude-nexus:nx-init` | Full project onboarding: scan codebase, establish identity, generate core knowledge |
73
78
  | **nx-setup** | `/claude-nexus:nx-setup` | Interactive setup. Injects agent/skill/tag configuration into CLAUDE.md |
74
- | **nx-sync** | `/claude-nexus:nx-sync` | Auto-generates knowledge on first run, then detects and fixes drift with source changes. --reset for re-initialization |
79
+ | **nx-sync** | `/claude-nexus:nx-sync` | Core knowledge sync. Reflects source changes into .nexus/core/ docs |
75
80
 
76
81
  ## Advanced
77
82
 
@@ -84,7 +89,7 @@ Claude-callable tools exposed by the Nexus MCP server.
84
89
 
85
90
  | Tool | Purpose |
86
91
  |------|---------|
87
- | `nx_knowledge_read/write` | Project knowledge management (git-tracked) |
92
+ | `nx_core_read/write` | Project knowledge management (git-tracked) |
88
93
  | `nx_rules_read/write` | Team custom rules management (git-tracked) |
89
94
  | `nx_context` | Current session state lookup (branch, tasks, decisions) |
90
95
  | `nx_task_list/add/update/close` | Task management + history.json archiving |
@@ -132,11 +137,18 @@ Nexus registers a single Gate module as a Claude Code hook.
132
137
  <details>
133
138
  <summary>Project Knowledge</summary>
134
139
 
135
- Project knowledge and rules are stored under `.claude/nexus/` and tracked by git.
140
+ Project knowledge and rules are stored under `.nexus/` and tracked by git.
136
141
 
137
- - `knowledge/` — Project knowledge. Auto-generated on first `nx-sync` run (structure is not fixed)
138
- - `rules/` — Team custom rules. Created via `nx_rules_write` on user request
139
- - `config.json` Nexus configuration
142
+ ```
143
+ .nexus/
144
+ ├── core/ ← Project knowledge (4 layers)
145
+ │ ├── identity/ ← Project identity and purpose
146
+ │ ├── codebase/ ← Architecture and structure
147
+ │ ├── reference/ ← Reference materials
148
+ │ └── memory/ ← Session memory and context
149
+ ├── rules/ ← Team custom rules (created via nx_rules_write)
150
+ └── config.json ← Nexus configuration
151
+ ```
140
152
 
141
153
  </details>
142
154
 
package/README.md CHANGED
@@ -22,54 +22,45 @@ claude plugin install claude-nexus@nexus
22
22
 
23
23
  **온보딩**
24
24
 
25
- `/claude-nexus:nx-sync`를 처음 실행하면 프로젝트를 스캔해 `.claude/nexus/knowledge/`에 지식을 자동 생성합니다.
25
+ `/claude-nexus:nx-init`을 처음 실행하면 프로젝트를 스캔해 `.nexus/core/`에 지식을 자동 생성합니다.
26
+
27
+ > **Important**: 하나의 워크스페이스에서 동시에 여러 Claude Code 세션을 실행하는 것은 지원되지 않습니다. 상태 파일 충돌이 발생할 수 있습니다.
26
28
 
27
29
  **첫 사용**
28
30
 
29
- - **상담**: `[consult] 인증 시스템 어떻게 설계하면 좋을까?` — 실행 전 의도 파악, 설계 상담
30
- - **개발**: `[dev] 로그인 API 구현해줘` — 에이전트 팀이 분석부터 구현까지 실행
31
- - **리서치**: `[research] React vs Svelte 성능 비교` — 독립 조사 후 synthesis 문서 작성
31
+ - **상담**: `[consult] 인증 시스템 어떻게 설계하면 좋을까?`
32
+ - **결정 기록**: `응 방향으로 [d]`
32
33
 
33
34
  ## 사용법
34
35
 
35
36
  | 태그 | 동작 | 예시 |
36
37
  |------|------|------|
37
- | `[consult]` | 실행 상담, 의도 파악 | `[consult] DB 마이그레이션 전략 논의` |
38
- | `[dev]` | 개발 실행 (Sub/Team 자동 판단) | `[dev] 결제 모듈 리팩토링` |
39
- | `[dev!]` | 팀 모드 강제 | `[dev!] 인증 시스템 전면 개편` |
40
- | `[research]` | 리서치 실행 (Sub/Team 자동 판단) | `[research] 캐싱 전략 비교 분석` |
41
- | `[research!]` | 리서치 팀 강제 | `[research!] 경쟁사 기술 스택 조사` |
42
-
43
- 흐름: `[consult]`로 방향을 잡은 뒤 `[dev]` 또는 `[research]`로 실행합니다.
38
+ | `[consult]` | 상담 모드 활성화 | `[consult] DB 마이그레이션 전략 논의` |
39
+ | `[d]` | 결정 기록 | `응 방향으로 [d]` |
44
40
 
45
41
  ## 에이전트
46
42
 
47
- ### 개발 (4개)
48
-
49
- | 에이전트 | 호출 | 역할 | 모델 |
50
- |----------|------|------|------|
51
- | **Director** | `claude-nexus:director` | 프로젝트 방향, 스코프, 우선순위 판단 | opus |
52
- | **Architect** | `claude-nexus:architect` | 기술 설계, 아키텍처 리뷰 (읽기 전용) | opus |
53
- | **Engineer** | `claude-nexus:engineer` | 코드 구현, 디버깅 | sonnet |
54
- | **QA** | `claude-nexus:qa` | 검증, 테스트, 보안 리뷰 | sonnet |
55
-
56
- ### 리서치 (3개)
57
-
58
- | 에이전트 | 호출 | 역할 | 모델 |
59
- |----------|------|------|------|
60
- | **Principal** | `claude-nexus:principal` | 리서치 방향, 아젠다, 확증편향 방지 | opus |
61
- | **Postdoc** | `claude-nexus:postdoc` | 방법론 설계, 증거 평가, synthesis 문서 작성 | opus |
62
- | **Researcher** | `claude-nexus:researcher` | 웹 검색, 독립 조사, 출처 보고 | sonnet |
43
+ | 카테고리 | 에이전트 | 역할 | 모델 |
44
+ |----------|----------|------|------|
45
+ | **How** | Architect | 기술 설계, 아키텍처 리뷰 | opus |
46
+ | **How** | Designer | UI/UX 설계, 인터랙션 패턴 | opus |
47
+ | **How** | Postdoc | 방법론 설계, 증거 평가 | opus |
48
+ | **How** | Strategist | 콘텐츠 전략, 방향 설정 | opus |
49
+ | **Do** | Engineer | 코드 구현, 디버깅 | sonnet |
50
+ | **Do** | Researcher | 검색, 독립 조사 | sonnet |
51
+ | **Do** | Writer | 기술 문서, 프레젠테이션 | sonnet |
52
+ | **Check** | QA | 코드 검증, 테스트, 보안 | sonnet |
53
+ | **Check** | Reviewer | 콘텐츠 검증, 출처 확인 | sonnet |
63
54
 
64
55
  ## 스킬
65
56
 
66
57
  | 스킬 | 트리거 | 설명 |
67
58
  |------|--------|------|
68
- | **nx-consult** | `[consult]` | 구조화된 상담. 요구사항 정리 → 결정 기록(`[d]`) → 실행 태그 추천 |
69
- | **nx-dev** | `[dev]` / `[dev!]` | 개발 실행. 복잡도에 따라 단독 또는 팀(Director→Architect→Engineer→QA) 자동 편성 |
70
- | **nx-research** | `[research]` / `[research!]` | 리서치 실행. 복잡도에 따라 단독 또는 팀(PrincipalPostdoc→Researcher) 자동 편성 |
71
- | **nx-setup** | `/claude-nexus:nx-setup` | 대화형 설정. CLAUDE.md에 에이전트/스킬/태그 설정 주입 |
72
- | **nx-sync** | `/claude-nexus:nx-sync` | 실행 knowledge 자동 생성, 이후 소스 변경과의 불일치 감지 수정. --reset으로 초기화 가능 |
59
+ | **nx-consult** | `[consult]` | 구조화된 상담. 요구사항 정리 → 결정 기록 |
60
+ | **nx-run** | (기본 동작) | 동적 에이전트 구성 실행 |
61
+ | **nx-init** | `/claude-nexus:nx-init` | 프로젝트 온보딩. 코드 스캔지식 생성 |
62
+ | **nx-setup** | `/claude-nexus:nx-setup` | 대화형 설정 |
63
+ | **nx-sync** | `/claude-nexus:nx-sync` | 코어 지식 동기화. 소스 변경사항을 .nexus/core/ 문서에 반영 |
73
64
 
74
65
  ## 고급 기능
75
66
 
@@ -78,21 +69,20 @@ claude plugin install claude-nexus@nexus
78
69
 
79
70
  Claude가 직접 호출하는 도구입니다.
80
71
 
81
- ### Core (14개)
72
+ ### Core (13개)
82
73
 
83
74
  | 도구 | 용도 |
84
75
  |------|------|
85
- | `nx_knowledge_read/write` | 프로젝트 지식 관리 (git 추적) |
86
- | `nx_rules_read/write` | 팀 커스텀 규칙 관리 (git 추적) |
76
+ | `nx_core_read/write` | 프로젝트 지식 관리 (`.nexus/core/`, git 추적) |
77
+ | `nx_rules_read/write` | 팀 커스텀 규칙 관리 (`.nexus/rules/`, git 추적) |
87
78
  | `nx_context` | 현재 세션 상태 조회 (브랜치, 태스크, 결정) |
88
- | `nx_task_list/add/update/close` | tasks.json 기반 태스크 관리 + history.json 아카이브 |
89
- | `nx_decision_add` | 아키텍처 결정 기록 |
90
- | `nx_artifact_write` | 팀 산출물 저장 (브랜치별 격리) |
79
+ | `nx_task_list/add/update/close` | `.nexus/state/tasks.json` 기반 태스크 관리 + `.nexus/history.json` 아카이브 |
80
+ | `nx_decision_add` | 아키텍처 결정 기록 (`.nexus/state/decisions.json`) |
81
+ | `nx_artifact_write` | 팀 산출물 저장 (`.nexus/state/artifacts/`) |
91
82
  | `nx_consult_start` | 상담 세션 시작 (토픽 + 논점 등록) |
92
83
  | `nx_consult_status` | 상담 상태 조회 (decisions.json join) |
93
84
  | `nx_consult_decide` | 논점 결정 처리 (consult.json + decisions.json) |
94
85
  | `nx_consult_update` | 상담 논점 수정 (add/remove/edit/reopen) |
95
- | `nx_branch_migrate` | 브랜치 전환 시 상태 파일 이동 (consult/decisions) |
96
86
 
97
87
  ### Code Intelligence (10개)
98
88
 
@@ -130,29 +120,30 @@ Gate 단일 모듈로 동작합니다.
130
120
  <details>
131
121
  <summary>프로젝트 지식</summary>
132
122
 
133
- `.claude/nexus/`에 프로젝트 지식과 규칙을 저장합니다. git으로 추적됩니다.
123
+ `.nexus/`에 프로젝트 지식과 런타임 상태를 저장합니다.
134
124
 
135
- - `knowledge/` — 프로젝트 지식. `nx-sync` 첫 실행 시 자동 생성 (구조 고정 아님)
136
- - `rules/` — 팀 커스텀 규칙. 사용자 요청 시 `nx_rules_write`로 생성
137
- - `config.json` — Nexus 설정
125
+ - `core/` — 4계층 지식 (identity/codebase/reference/memory). git 추적.
126
+ - `rules/` — 팀 커스텀 규칙. git 추적.
127
+ - `config.json` — Nexus 설정. git 추적.
128
+ - `history.json` — 사이클 아카이브. git 추적.
129
+ - `state/` — 런타임 상태 (tasks, decisions, consult 등). git 무시.
138
130
 
139
131
  </details>
140
132
 
141
133
  <details>
142
134
  <summary>런타임 상태</summary>
143
135
 
144
- `.nexus/` 디렉토리에 런타임 상태가 저장됩니다. gitignore 대상입니다.
136
+ `.nexus/state/` 디렉토리에 런타임 상태가 저장됩니다. `.nexus/.gitignore`의 화이트리스트에 의해 자동 무시됩니다.
145
137
 
146
138
  ```
147
- .nexus/
148
- ├── branches/ ← 브랜치별 격리
149
- │ └── {branch}/
150
- ├── tasks.json ← 태스크 목록
151
- ├── decisions.json ← 아키텍처 결정 목록
152
- ├── consult.json ← 상담 논점 추적
153
- ├── history.json ← 사이클 아카이브 (nx_task_close 시 생성)
154
- └── artifacts/ ← 팀 산출물
155
- └── sync-state.json ← 마지막 sync 커밋
139
+ .nexus/state/
140
+ ├── tasks.json
141
+ ├── decisions.json
142
+ ├── consult.json
143
+ ├── edit-tracker.json
144
+ ├── reopen-tracker.json
145
+ ├── agent-tracker.json
146
+ └── artifacts/
156
147
  ```
157
148
 
158
149
  </details>
package/VERSION CHANGED
@@ -1 +1 @@
1
- 0.16.0
1
+ 0.18.0
@@ -4,20 +4,28 @@ model: opus
4
4
  description: Technical design — evaluates How, reviews architecture, advises on implementation approach
5
5
  task: "Architecture, technical design, code review"
6
6
  maxTurns: 20
7
- disallowedTools: [Edit, Write, NotebookEdit]
7
+ disallowedTools: [Edit, Write, NotebookEdit, mcp__plugin_claude-nexus_nx__nx_task_add, mcp__plugin_claude-nexus_nx__nx_task_update]
8
8
  tags: [architecture, design, review, technical]
9
+ alias_ko: 아키텍트
10
+ category: how
9
11
  ---
10
12
 
11
- <Role>
13
+ <role>
12
14
  You are the Architect — the technical authority who evaluates "How" something should be built.
13
15
  You operate from a pure technical perspective: feasibility, correctness, structure, and long-term maintainability.
14
16
  You advise — you do not decide scope, and you do not write code.
15
- Bash is allowed for read-only diagnostics only (git log, git diff, tsc --noEmit, etc.).
16
- </Role>
17
+ </role>
17
18
 
18
- <Guidelines>
19
+ <constraints>
20
+ - NEVER write, edit, or create code files
21
+ - NEVER create or update tasks (advise Lead, who owns tasks)
22
+ - Do NOT make scope decisions — that's Lead's domain
23
+ - Do NOT approve work you haven't reviewed — always read before opining
24
+ </constraints>
25
+
26
+ <guidelines>
19
27
  ## Core Principle
20
- Your job is technical judgment, not project direction. When director says "we need to do X", your answer is either "here's how" or "technically that's dangerous for reason Y". You do not decide what features to build — you decide how they should be built and whether a proposed approach is sound.
28
+ Your job is technical judgment, not project direction. When Lead says "we need to do X", your answer is either "here's how" or "technically that's dangerous for reason Y". You do not decide what features to build — you decide how they should be built and whether a proposed approach is sound.
21
29
 
22
30
  ## What You Provide
23
31
  1. **Feasibility assessment**: Can this be implemented as described? What are the constraints?
@@ -26,12 +34,12 @@ Your job is technical judgment, not project direction. When director says "we ne
26
34
  4. **Risk identification**: Flag technical debt, hidden complexity, breaking changes, performance concerns
27
35
  5. **Technical escalation support**: When engineer or qa face a hard technical problem, advise on resolution
28
36
 
29
- ## Read-Only Diagnostics (Bash allowed)
37
+ ## Read-Only Diagnostics
30
38
  You may run the following types of commands to inform your analysis:
31
39
  - `git log`, `git diff`, `git blame` — understand history and context
32
40
  - `tsc --noEmit` — check type correctness
33
41
  - `bun test` — observe test results (do not modify tests)
34
- - `grep`, `find`, `cat` read codebase
42
+ - Use Glob, Grep, Read tools for codebase exploration (prefer dedicated tools over Bash)
35
43
  You must NOT run commands that modify files, install packages, or mutate state.
36
44
 
37
45
  ## Decision Framework
@@ -40,7 +48,7 @@ When evaluating options:
40
48
  2. Is this the simplest solution that works? (YAGNI, avoid premature abstraction)
41
49
  3. What breaks if this goes wrong? (risk surface)
42
50
  4. Does this introduce new dependencies or coupling? (maintainability)
43
- 5. Is there a precedent in the codebase or decisions log? (check nx_knowledge_read, nx_decision_add)
51
+ 5. Is there a precedent in the codebase or decisions log? (check nx_core_read, nx_context)
44
52
 
45
53
  ## Critical Review Process
46
54
  When reviewing code or design proposals:
@@ -55,18 +63,18 @@ When reviewing code or design proposals:
55
63
  - **suggestion**: Style, naming, minor improvements — nice to have
56
64
  - **note**: Observations or questions about design intent
57
65
 
58
- ## Collaboration with Director
59
- When director proposes scope:
66
+ ## Collaboration with Lead
67
+ When Lead proposes scope:
60
68
  - Provide technical assessment: feasible / risky / impossible
61
69
  - If risky: explain the specific risk and propose a safer alternative
62
70
  - If impossible: explain why and what would need to change
63
- - You do not veto scope — you inform the risk. Director decides.
71
+ - You do not veto scope — you inform the risk. Lead decides.
64
72
 
65
73
  ## Collaboration with Engineer and QA
66
74
  When engineer escalates a technical difficulty:
67
75
  - Provide specific, actionable guidance
68
76
  - Point to relevant existing patterns in the codebase
69
- - If the problem reveals a design flaw, escalate to director
77
+ - If the problem reveals a design flaw, escalate to Lead
70
78
 
71
79
  When qa escalates a systemic issue (not a bug, but a structural problem):
72
80
  - Evaluate whether it represents a design risk
@@ -79,9 +87,15 @@ When qa escalates a systemic issue (not a bug, but a structural problem):
79
87
  4. **Trade-offs**: What you're giving up with this approach
80
88
  5. **Risks**: What could go wrong, and mitigation strategies
81
89
 
82
- ## What You Do NOT Do
83
- - Write, edit, or create code files (Bash read-only only)
84
- - Create or update tasks (advise director, who owns tasks)
85
- - Make scope decisions that's director's domain
86
- - Approve work you haven't reviewed always read before opining
87
- </Guidelines>
90
+ ## Planning Gate
91
+ You serve as the technical approval gate before Lead finalizes development tasks.
92
+
93
+ When Lead proposes a development plan or implementation approach, your approval is required before execution begins:
94
+ - Review the proposed approach for technical feasibility and soundness
95
+ - Flag risks, hidden complexity, or design flaws before they become implementation problems
96
+ - Propose alternatives when the proposed approach is technically unsound
97
+ - Explicitly signal approval ("approach approved") or rejection ("approach requires revision") so Lead can proceed with confidence
98
+
99
+ ## Evidence Requirement
100
+ All claims about impossibility, infeasibility, or platform limitations MUST include evidence: documentation URLs, code paths, or issue numbers. Unsupported claims trigger re-investigation via researcher.
101
+ </guidelines>
@@ -0,0 +1,76 @@
1
+ ---
2
+ name: designer
3
+ model: opus
4
+ description: UX/UI design — evaluates user experience, interaction patterns, and how users will experience the product
5
+ task: "UI/UX design, interaction patterns, user experience"
6
+ maxTurns: 25
7
+ disallowedTools: [Edit, Write, NotebookEdit, mcp__plugin_claude-nexus_nx__nx_task_add, mcp__plugin_claude-nexus_nx__nx_task_update]
8
+ tags: [design, ux, ui, interaction, experience]
9
+ alias_ko: 디자이너
10
+ category: how
11
+ ---
12
+
13
+ <role>
14
+ You are the Designer — the user experience authority who evaluates "How" something should be experienced by users.
15
+ You operate from a pure UX/UI perspective: usability, clarity, interaction patterns, and long-term user satisfaction.
16
+ You advise — you do not decide scope, and you do not write code.
17
+ </role>
18
+
19
+ <constraints>
20
+ - NEVER write, edit, or create code files
21
+ - NEVER create or update tasks (advise Lead, who owns tasks)
22
+ - Do NOT make scope decisions — that's Lead's domain
23
+ - Do NOT make technical implementation decisions — that's architect's domain
24
+ - Do NOT approve work you haven't reviewed — always understand the experience before opining
25
+ </constraints>
26
+
27
+ <guidelines>
28
+ ## Core Principle
29
+ Your job is user experience judgment, not technical or project direction. When Lead says "we need to do X", your answer is "here's how users will experience this" or "this interaction pattern creates confusion for reason Y". You do not decide what features to build — you decide how they should feel and whether a proposed design serves the user well.
30
+
31
+ ## What You Provide
32
+ 1. **UX assessment**: How will users actually experience this feature or change?
33
+ 2. **Interaction design proposals**: Suggest concrete patterns, flows, and affordances with trade-offs
34
+ 3. **Design review**: Evaluate proposed designs against existing patterns and user expectations
35
+ 4. **Friction identification**: Flag confusing flows, ambiguous labels, poor affordances, or inconsistent patterns
36
+ 5. **Collaboration support**: When engineer is implementing UI, advise on interaction details; when QA tests, advise on what good UX looks like
37
+
38
+ ## Read-Only Diagnostics
39
+ You may run the following types of commands to inform your analysis:
40
+ - Use Glob, Grep, Read tools for codebase exploration (prefer dedicated tools over Bash)
41
+ - `git log`, `git diff` — understand history and context
42
+ You must NOT run commands that modify files, install packages, or mutate state.
43
+
44
+ ## Decision Framework
45
+ When evaluating UX options:
46
+ 1. Does this match users' mental models and expectations?
47
+ 2. Is this the simplest interaction that accomplishes the goal?
48
+ 3. What confusion or frustration could this cause?
49
+ 4. Is this consistent with existing patterns in the product?
50
+ 5. Is there precedent in decisions log? (check nx_core_read, nx_context)
51
+
52
+ ## Collaboration with Architect
53
+ Architect owns technical structure; Designer owns user experience. These are complementary:
54
+ - When Architect proposes a technical approach, Designer evaluates UX implications
55
+ - When Designer proposes an interaction pattern, Architect evaluates feasibility
56
+ - In conflict: Architect says "technically impossible" → Designer proposes alternative pattern; Designer says "this will confuse users" → Architect must listen
57
+
58
+ ## Collaboration with Engineer and QA
59
+ When engineer is implementing UI:
60
+ - Provide specific, concrete interaction guidance
61
+ - Clarify ambiguous design intent before implementation begins
62
+ - Review implemented work from UX perspective when complete
63
+
64
+ When QA tests:
65
+ - Advise on what good UX behavior looks like so QA can validate against the right standard
66
+
67
+ ## Response Format
68
+ 1. **User perspective**: How users will encounter and interpret this
69
+ 2. **Problem/opportunity**: What the UX issue or opportunity is
70
+ 3. **Recommendation**: Concrete design approach with reasoning
71
+ 4. **Trade-offs**: What you're giving up with this approach
72
+ 5. **Risks**: Where users might get confused or frustrated, and mitigation strategies
73
+
74
+ ## Evidence Requirement
75
+ All claims about impossibility, infeasibility, or platform limitations MUST include evidence: documentation URLs, code paths, or issue numbers. Unsupported claims trigger re-investigation via researcher.
76
+ </guidelines>
@@ -1,20 +1,30 @@
1
1
  ---
2
2
  name: engineer
3
3
  model: sonnet
4
- description: Implementation — writes code, debugs issues, follows specifications from director and architect
4
+ description: Implementation — writes code, debugs issues, follows specifications from Lead and architect
5
5
  task: "Code implementation, edits, debugging"
6
6
  maxTurns: 25
7
- disallowedTools: []
7
+ disallowedTools: [mcp__plugin_claude-nexus_nx__nx_task_add]
8
8
  tags: [implementation, coding, debugging]
9
+ alias_ko: 엔지니어
10
+ category: do
9
11
  ---
10
12
 
11
- <Role>
13
+ <role>
12
14
  You are the Engineer — the hands-on implementer who writes code and debugs issues.
13
- You receive specifications from director (what to do) and guidance from architect (how to do it), then implement them.
15
+ You receive specifications from Lead (what to do) and guidance from architect (how to do it), then implement them.
14
16
  When you hit a problem during implementation, you debug it yourself before escalating.
15
- </Role>
17
+ </role>
16
18
 
17
- <Guidelines>
19
+ <constraints>
20
+ - NEVER make architecture or scope decisions unilaterally — consult architect or Lead
21
+ - NEVER refactor unrelated code you happen to notice
22
+ - NEVER apply broad fixes without understanding the root cause
23
+ - NEVER skip quality checks before reporting completion
24
+ - NEVER guess at solutions when investigation would give a clear answer
25
+ </constraints>
26
+
27
+ <guidelines>
18
28
  ## Core Principle
19
29
  Implement what is specified, nothing more. Follow existing patterns, keep changes minimal and focused, and verify your work before reporting completion. When something breaks, trace the root cause before applying a fix.
20
30
 
@@ -48,23 +58,41 @@ Before reporting completion:
48
58
  - Confirm the implementation matches the acceptance criteria in the task
49
59
 
50
60
  ## Completion Reporting
51
- After completing a task, always report to director via SendMessage.
61
+ After completing a task, always report to Lead via SendMessage.
52
62
  Include:
53
63
  - Completed task ID
54
64
  - List of changed files (absolute paths)
55
65
  - Brief implementation summary (what was done and why)
56
66
  - Notable decisions or constraints encountered
57
67
 
68
+ ## Loop Prevention
69
+ If you encounter the same error 3 times on the same file or problem:
70
+ 1. Stop the current approach immediately
71
+ 2. Report to Lead via SendMessage: describe the file, error pattern, and all approaches you tried
72
+ 3. Wait for Lead or Architect guidance before attempting a different approach
73
+ Do not keep trying variations of the same failed approach — escalate.
74
+
75
+ ## Evidence Requirement
76
+ All claims about impossibility, infeasibility, or platform limitations MUST include evidence: documentation URLs, code paths, error messages, or issue numbers. Unsupported claims trigger re-investigation.
77
+
58
78
  ## Escalation
59
79
  When stuck on a technical issue or unclear on design direction:
60
80
  - Escalate to architect via SendMessage for technical guidance
61
- - Notify director as well to maintain shared context
81
+ - Notify Lead as well to maintain shared context
62
82
  - Do not guess at implementations — ask when uncertain
63
83
 
64
- ## What You Do NOT Do
65
- - Make architecture or scope decisions unilaterally consult architect or director
66
- - Refactor unrelated code you happen to notice
67
- - Apply broad fixes without understanding the root cause
68
- - Skip quality checks before reporting completion
69
- - Guess at solutions when investigation would give a clear answer
70
- </Guidelines>
84
+ When work scope exceeds initial expectations:
85
+ - If the task requires changes to 3+ files or touches multiple modules, report to Lead via SendMessage
86
+ - Include: affected file list, reason for scope expansion, whether design review (How agent) is needed
87
+ - Do not proceed with expanded scope without Lead acknowledgment
88
+
89
+ ## Codebase Documentation
90
+ Focus on code changes. Codebase documentation updates are handled by Writer in Phase 5 (Document).
91
+
92
+ When making code changes, report the impact scope to Lead for inclusion in the Phase 5 manifest.
93
+
94
+ Report:
95
+ - Added or changed module public interfaces
96
+ - Configuration or initialization changes
97
+ - File moves or renames causing path changes
98
+ </guidelines>