| ํญ๋ชฉ | ๋ด์ฉ |
|---|---|
| Invoke | /inspector:nav |
| Category | kobic-development |
| Complexity | simple |
| MCP Servers | flutter-inspector |
/inspector:nav โ ํ๋ฉด ์ด๋(๋ด๋น๊ฒ์ด์ ) ์ ๊ฒ ๋๊ตฌ#
ํ๋ง๋๋ก#
์ฑ์์ ํ๋ฉด์ด ์ ์ ๋ฐ๋๋์ง, ์ด๋๋ก ์ด๋ํ๋์ง๋ฅผ ์ค์๊ฐ์ผ๋ก ๋ค์ฌ๋ค๋ณด๋ ๋๊ตฌ์ ๋๋ค. ๊ฑด๋ฌผ ์์์ "์ง๊ธ ๋ด๊ฐ ๋ช ์ธต์ ์๊ณ , ์ด๋ค ๊ฒฝ๋ก๋ก ์ฌ๊ธฐ๊น์ง ์๋์ง" ํ์ธํ๋ ์๋ดํ๊ณผ ๊ฐ์์.
๋๊ฐยท์ธ์ ์ฐ๋์#
์ฑ์ ๋ง๋๋ ๊ฐ๋ฐ์(๋๋ ๊ฐ๋ฐ์ ๋๋ AI)๊ฐ ๋ค์๊ณผ ๊ฐ์ ํ๋ฉด ์ด๋ ๋ฌธ์ ๋ฅผ ๋ง๋ฌ์ ๋ ์๋๋ค.
- ๋ฒํผ์ ๋๋ฌ๋ ํ๋ฉด์ด ๋ค์์ผ๋ก ๋์ด๊ฐ์ง ์์ ๋
- ํ๋ฉด์ ๋๊ธฐ๋ฉด์ ํจ๊ป ์ ๋ฌํด์ผ ํ ์ ๋ณด(ํ๋ผ๋ฏธํฐ)๊ฐ ์ ๋๋ก ์ ๋์ด๊ฐ ๋
- ์ธ๋ถ ๋งํฌ(๋ฅ๋งํฌ)๋ก ๋ค์ด์์ ๋ ์๋ฑํ ํ๋ฉด์ด ์ด๋ฆด ๋
๋ฌด์์ ํด์ฃผ๋์#
์ง๊ธ ์ฑ์ ํ๋ฉด ์ด๋ ์ํ๋ฅผ ๊ทธ๋๋ก ๋ณด์ฌ์ฃผ๊ณ , ์ง์ ์ด๋์์ผ ๋ณผ ์๋ ์์ต๋๋ค.
- ํ์ฌ ํ๋ฉด ์์น ํ์ธ (ํ์ฌ route ์ ๋ณด)
- ์ง๋์จ ํ๋ฉด ๊ธฐ๋ก ํ์ธ (navigation history ์คํ)
- ํ์ฌ ํ๋ฉด์ ๋์ด์จ ์ ๋ณด ํ์ธ (route ํ๋ผ๋ฏธํฐ)
- ์ํ๋ ํ๋ฉด์ผ๋ก ์ง์ ์ด๋/๋ค๋ก ๊ฐ๊ธฐ/๊ต์ฒด/์ด๊ธฐํ ํ ์คํธ
์ด๋ป๊ฒ ์ฐ๋์#
# ์ง๊ธ ์ด๋ ํ๋ฉด์ ์๋์ง ํ์ธ
/inspector/nav current
# ์ง๊ธ๊น์ง ๊ฑฐ์ณ์จ ํ๋ฉด ๊ธฐ๋ก ํ์ธ
/inspector/nav history
# ํน์ ๊ฒฝ๋ก(์: /home)๋ก ์ด๋ ํ
์คํธ
/inspector/nav go /home
current๋ ํ์ฌ ์์น, history๋ ์ด๋ ๊ธฐ๋ก, go <๊ฒฝ๋ก>๋ ๊ทธ ๊ฒฝ๋ก๋ก ์ง์ ์ด๋ํด ๋ณด๋ ๋ช
๋ น์
๋๋ค.
์์์ ๋ฌด์จ ์ผ์ด ๋ฒ์ด์ง๋์#
๋ฌธ์ ์ ํ์ ๋ฐ๋ผ ์๋ ์์๋ก ์์ธ์ ์ขํ ๊ฐ๋๋ค.
- ํ๋ฉด์ด ์ ๋์ด๊ฐ ๋: ํ์ฌ ์์น๋ฅผ ํ์ธํ๊ณ โ ์ด๋ ๊ธฐ๋ก ์ํ๋ฅผ ๋ณธ ๋ค โ ํ๋ฉด ๊ฒฝ๋ก ์ค์ ์ด ๋ง๋์ง ์ ๊ฒํฉ๋๋ค.
- ์ ๋ณด๊ฐ ์ ๋์ด์ฌ ๋: ํ์ฌ ํ๋ฉด์ ๋ค์ด์จ ํ๋ผ๋ฏธํฐ๋ฅผ ํ์ธํ๊ณ โ ๋ณด๋ด๋ ์ชฝ ์ฝ๋์ ๋ฐ๋ ์ชฝ ํด์ ์ฝ๋๋ฅผ ์ ๊ฒํฉ๋๋ค.
- ๋ค๋ก ๊ฐ๊ธฐ๊ฐ ์ด์ํ ๋: ์ด๋ ๊ธฐ๋ก์ ๊น์ด๋ฅผ ํ์ธํ๊ณ โ ๋ค๋ก ๊ฐ๊ธฐ๋ฅผ ํ ์คํธํ ๋ค โ ๋ค๋ก ๊ฐ๊ธฐ ์ฒ๋ฆฌ ๋ก์ง์ ์ ๊ฒํฉ๋๋ค.
โ๏ธ ์์ธ ์ต์ ยท์คํ ๋ช ์ธ (๊ฐ๋ฐ์ / AI ์์ด์ ํธ์ฉ)
Triggers#
- Screen transition issues
- Route parameter issues
- Deep link debugging
MCP Tools#
nav_get_current_route#
Returns current route information.
nav_get_history#
Returns the navigation history stack.
nav_get_params#
Returns the current route's parameters.
nav_go#
Navigates to a specific path.
nav_push#
Pushes a new path onto the stack.
nav_pop#
Pops the current route.
nav_replace#
Replaces the current route.
nav_clear#
Clears the navigation stack.
Common Diagnostics#
Screen not transitioning#
1. nav_get_current_route - > Check current location
2. nav_get_history - > Check stack state
3. Review route definitionsParameters not passed#
1. nav_get_params - > Check current parameters
2. Review sending side code
3. Review receiving side parsingBack navigation issues#
1. nav_get_history - > Check stack depth
2. Test nav_pop
3. Review popUntil logicExamples#
Check current route#
/inspector/nav currentCheck navigation history#
/inspector/nav historyTest navigation to specific path#
/inspector/nav go /homeReferences#
- Detailed implementation:
.claude/agents/flutter-inspector-nav.md - Master inspector:
.claude/commands/inspector.md