Lesson 10 stated CLI > User > Project, contradicting Lesson 04 (CLI > Project > User) and the official Claude Code docs. Project-level agents override user-level agents when their names collide. - Fix priority order in 10-cli/README.md (lines 437-439) - Add cross-link to Lesson 04 for the full priority table - Update matching quiz question Q7 in lesson-quiz question-bank Closes #98
This commit is contained in:
@@ -813,9 +813,9 @@
|
||||
### Q7
|
||||
- **Category**: conceptual
|
||||
- **Question**: What is the agent definition priority order?
|
||||
- **Options**: A) Project > User > CLI | B) CLI > User > Project | C) User > CLI > Project | D) All are equal priority
|
||||
- **Options**: A) Project > User > CLI | B) CLI > Project > User | C) User > CLI > Project | D) All are equal priority
|
||||
- **Correct**: B
|
||||
- **Explanation**: CLI-defined agents (--agents flag) have highest priority, then User-level (~/.claude/agents/), then Project-level (.claude/agents/).
|
||||
- **Explanation**: CLI-defined agents (--agents flag) have highest priority, then Project-level (.claude/agents/), then User-level (~/.claude/agents/).
|
||||
- **Review**: Agents configuration section
|
||||
|
||||
### Q8
|
||||
|
||||
Reference in New Issue
Block a user