| name | trpc-boundary |
| description | Use when you are changing tRPC contracts, app-router shape, or client and server import order across the shared boundary. Do not use for provider runtime layout, remote operations, or generic route and UI work. |
| compatibility | Intended for create-rn-miniapp repositories with the optional Cloudflare+tRPC overlay. Assumes the generated packages/contracts, packages/app-router, frontend, backoffice, and server workspace boundary. |
| metadata | {"create-rn-miniapp.agentsLabel":"tRPC boundary ๋ณ๊ฒฝ","create-rn-miniapp.category":"optional","create-rn-miniapp.order":"8"} |
tRPC Boundary Skill
Cloudflare + tRPC ์กฐํฉ์์ client-server ๊ฒฝ๊ณ๋ฅผ ์์ ํ ๋ ์ฌ์ฉํ๋ Skill์
๋๋ค.
Use when
packages/contracts, packages/app-router, server, frontend, backoffice ์์๋ก ๋ณ๊ฒฝ์ ์ ํํ ๋
- boundary type, router shape, client import ๋ฐฉํฅ์ ๋ค์ ๋ง์ถฐ์ผ ํ ๋
Do not use for
- Cloudflare Worker binding/runtime/layout ์์ฒด:
cloudflare-worker
- MiniApp route/page/navigation ์ค๊ณ:
granite-routing
- TDS UI ์ ํ:
tds-ui
์ฝ๋ ์์
references/change-flow.md๋ฅผ ๋จผ์ ์ฝ๋๋ค.
- package ์ฑ
์๊ณผ import boundary๋
docs/engineering/workspace-topology.md๋ฅผ ๊ฐ์ด ํ์ธํ๋ค.
ํต์ฌ ์์น
- boundary shape๋
packages/contracts
- router shape์
AppRouter๋ packages/app-router
- consumer๋ shared package root import๋ง ์ฌ์ฉํ๊ณ ์๋ก๋ฅผ ์ง์ ์ฐธ์กฐํ์ง ์๋๋ค.
- provider runtime layout์ด๋ ์๊ฒฉ ์์
์ ์ฐจ๋ ์ฌ๊ธฐ์ ์ค๋ช
ํ์ง ๋ง๊ณ ํด๋น provider skill๋ก ๋๊ธด๋ค.