screen
- Repo stars 330
- License MIT
- Author repo claude-skill-registry
- Domain
- Data
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 94 / 100 · heuristic scan, not runtime safety proof
- Runtime evidence
- Not run; no isolated runtime test evidence is currently recorded
- Author / version / license
- @majiayu000 · MIT
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No explicit requirements detected
- Detected file/system behavior
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- None (reference only)
Heads up: Tool permissions are not declared; actual access depends on the runtime.
# 画面コンポーネント作成
`src/screens/` に画面用コンポーネントを作成する。
## 手順
1. `src/screens/` ディレクトリが存在しなければ作成する
2. PascalCase のファイル名で `.tsx` ファイルを作成する(例: `$ARGUMENTS.tsx` または `${ARGUMENTS}Screen.tsx`)
3. 画面名が "Screen" で終わっていなければ自動でサフィックスを付ける
## テンプレート
```tsx
import React from 'react';
import { StyleSheet, View, Text } from 'react-native';
import { StatusBar } from 'expo-status-bar';
export const ScreenNameScreen: React.FC = () => {
return (
<View style={styles.container}>
<Text style={styles.title}>ScreenName</Text>
<StatusBar style="auto" />
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
title: {
fontSize: 24,
fontWeight: 'bold',
},
});
```
## ルール
- 画面コンポーネントは `flex: 1` でフルスクリーンにする
- `SafeAreaView` や `StatusBar` を適切に使う
- ナビゲーションライブラリが導入済みなら、navigation props の型を適切に定義する
- ビジネスロジックが複雑な場合はカスタムフックに切り出す
Sections and files
Listed in source order.
sections -> テンプレート → ルール
terms -> No English key terms available
files/cmd -> src/screens/ · .tsx · $ARGUMENTS.tsx · ${ARGUMENTS}Screen.tsx · flex: 1 · SafeAreaView · StatusBar
body sha256 -> 49bc152936e3