Skip to content
Back to skills

New Screen

ASecurity

expo-router 화면(라우트)을 팀 컨벤션대로 추가한다. Use when adding a new screen/route to the app/web. app/ 은 라우팅 껍데기로 두고 로직은 features 로 분리한다.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
developmentreactapi

Works with

  • api

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add mash-up-kr/Promise.9-Web --skill new-screen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of New Screen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for New Screen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mash-up-kr-new-screen/badge)](https://www.skillsdirectory.com/skills/mash-up-kr-new-screen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: new-screen
description: expo-router 화면(라우트)을 팀 컨벤션대로 추가한다. Use when adding a new screen/route to the app/web. app/ 은 라우팅 껍데기로 두고 로직은 features 로 분리한다.
---

# new-screen — 화면 추가 (expo-router)

## 먼저
- `/check-dup` 확인. 규칙: docs/conventions/structure.md, app-web.md.
- Expo 56 라우팅 문서: https://docs.expo.dev/versions/v56.0.0/

## 패턴
- `src/app/<route>.tsx` 는 **얇게**: 화면 컴포넌트를 import 해서 렌더만 한다.
- 실제 화면 로직은 `src/features/<기능>/` 에 둔다.
- 레이아웃/네비게이션 옵션은 `_layout.tsx` 또는 `Stack.Screen` options.
- typed routes 사용: 링크/네비게이션은 타입 안전하게.

## 단계
1. `src/features/<기능>/<Name>Screen.tsx` 생성 (named export).
2. `src/app/<route>.tsx` 에서 import 후 렌더:
   ```tsx
   import { LibraryScreen } from '@/features/library/LibraryScreen';

   export default function Route() {
     return <LibraryScreen />;
   }
   ```
3. 데이터가 필요하면 `src/features/<기능>/api/` 에 react-query 훅을 추가한다 → `/new-query`.
4. typedRoutes 타입 갱신을 위해 `pnpm start` 한 번 또는 타입체크.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.