changelog-manage
FreeCHANGELOG エントリ追加・バージョン計算。「CHANGELOG」「変更履歴」「changelog add」「version bump」「バージョン」「バージョンアップ」などのキーワードで自動適用。
The English summary is being prepared. Showing the original description.
Swift Design Systemを使用したiOS UI実装スキル。デザイントークン、UIコンポーネント(Button、Card、Chip、FAB、Snackbar、Picker等15種)、レイアウトパターンのベストプラクティスを提供。
「デザイン」「UI」「テーマ」「カラー」「タイポグラフィ」「スペーシング」「ボタン」「カード」「FAB」「Snackbar」「Picker」「SwiftUI」「DesignSystem」などで自動適用。
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
no problem製iOSアプリのUI実装に必須のデザインシステム。一貫性のあるUIを効率的に構築するためのトークン・コンポーネント・パターンを提供。
// Package.swift
dependencies: [
.package(url: "https://github.com/no-problem-dev/swift-design-system.git", from: "X.X.X")
]
// ターゲット
.target(
name: "YourApp",
dependencies: [
.product(name: "DesignSystem", package: "swift-design-system")
]
)
Note:
X.X.Xには最新バージョンを指定してください。 最新バージョンは GitHub Releases で確認できます。
Primitive Tokens (基本値) - 直接使用禁止
↓ 参照
Semantic Tokens (意味的トークン) - 推奨
↓ 参照
Component Tokens (コンポーネント固有) - 自動適用
重要: Primitiveトークンは直接使用せず、必ずSemantic/Componentトークンを使用すること。
@Environment(\.colorPalette) var colors
@Environment(\.spacingScale) var spacing
@Environment(\.radiusScale) var radius
@Environment(\.motion) var motion
プロトコルベースの設計により、カスタムテーマ・トークンの拡張が可能。
アプリ起動時に必ずThemeProviderを設定:
import DesignSystem
@main
struct MyApp: App {
@State private var themeProvider = ThemeProvider()
var body: some Scene {
WindowGroup {
ContentView()
.theme(themeProvider) // 必須
}
}
}
詳細は → references/patterns/THEME.md
// ✅ Good: セマンティックカラーを使用
Text("エラー").foregroundColor(colors.error)
// ❌ Bad: ハードコードされた色
Text("エラー").foregroundColor(.red)
// ✅ Good: typographyモディファイアを使用
Text("見出し").typography(.headlineLarge)
// ❌ Bad: 直接フォント指定
Text("見出し").font(.system(size: 32, weight: .semibold))
// ✅ Good: スペーシングトークンを使用
VStack(spacing: spacing.lg) { ... }
// ❌ Bad: マジックナンバー
VStack(spacing: 16) { ... }
// ✅ Good: デザインシステムのコンポーネントを使用
Card(elevation: .level2) { content }
// ❌ Bad: 独自実装
RoundedRectangle(cornerRadius: 8)
.fill(Color.white)
.shadow(radius: 4)
デザイン実装時は、該当するリファレンスを参照してください。
すべてのUI実装で必須の知識
→ references/TOKENS.md
| コンポーネント | 用途 | リファレンス |
|---|---|---|
| Button | アクションボタン | → references/components/BUTTON.md |
| Card | コンテンツコンテナ | → references/components/CARD.md |
| Chip | タグ、フィルター | → references/components/CHIP.md |
| FAB | 浮遊アクションボタン | → references/components/FAB.md |
| Snackbar | 一時的通知 | → references/components/SNACKBAR.md |
| IconPicker | SF Symbols選択 | → references/components/ICON_PICKER.md |
| EmojiPicker | 絵文字選択 | → references/components/EMOJI_PICKER.md |
| ColorPicker | カラー選択 | → references/components/COLOR_PICKER.md |
| ImagePicker | 画像選択 | → references/components/IMAGE_PICKER.md |
| IconButton | アイコンボタン | → references/components/ICON_BUTTON.md |
| TextField | テキスト入力 | → references/components/TEXT_FIELD.md |
| ProgressBar | プログレスバー | → references/components/PROGRESS_BAR.md |
| StatDisplay | 数値表示 | → references/components/STAT_DISPLAY.md |
| IconBadge | アイコンバッジ | → references/components/ICON_BADGE.md |
| VideoPlayer | 動画再生 | → references/components/VIDEO_PLAYER.md |
| パターン | 用途 | リファレンス |
|---|---|---|
| Theme | テーマ設定・切り替え | → references/patterns/THEME.md |
| AspectGrid | アスペクト比統一グリッド | → references/patterns/ASPECT_GRID.md |
| SectionCard | タイトル付きカードセクション | → references/patterns/SECTION_CARD.md |
UIの視覚的検証には Swift Snapshot Testing を使用する。
xcodebuild test)詳細は → references/VISUAL_LOOP.md
| ドキュメント | 内容 |
|---|---|
| references/AESTHETIC.md | 美的方向性ガイド(AIスロップ回避、Apple HIG) |
| references/PREVIEW_PATTERNS.md | SwiftUI Preview ベストプラクティス |
| references/VISUAL_LOOP.md | Visual Feedback Loop 実践ガイド |
| references/DESIGN_SYSTEM_CONTEXT.md | デザインシステム全体リファレンス |
| references/CLAUDE_MD_TEMPLATE.md | CLAUDE.md デザインセクションテンプレート |
| references/VIEW_VERIFICATION_TESTS.md | スナップショットテスト テンプレート |
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
CHANGELOG エントリ追加・バージョン計算。「CHANGELOG」「変更履歴」「changelog add」「version bump」「バージョン」「バージョンアップ」などのキーワードで自動適用。
The English summary is being prepared. Showing the original description.
プロジェクトの .claude/ ディレクトリ(skills, agents, contexts)を Codex CLI 互換 .agents/ に変換。「codex export」「Codex 変換」「プロジェクトをエクスポート」などで自動適用。
The English summary is being prepared. Showing the original description.
デザインシステム準拠のSwiftUIコンポーネントを生成する。新しいUIパーツの作成、コンポーネント生成時に使用。「コンポーネント作成」「新しいUI」「パーツ作成」「component generate」「UIパーツ」「新規コンポーネント」などのキーワードで自動適用。
The English summary is being prepared. Showing the original description.
Claude Code プラグインを Codex CLI 互換形式に変換。SKILL.md → .agents/skills/、agents → .agents/skills/、AGENTS.md 生成。「deploy」「codex」「Codex 変換」「エクスポート」などで自動適用。
The English summary is being prepared. Showing the original description.
SwiftUI ViewのDesign System準拠性を監査する。既存UIのレビュー、デザインチェック時に使用。「デザインレビュー」「UIチェック」「design audit」「デザイン監査」「UI監査」「デザインチェック」「トークン確認」などのキーワードで自動適用。
The English summary is being prepared. Showing the original description.
UIの視覚的差分を検出・比較する。デザイン変更前後の比較、リファレンスとの差分確認時に使用。「デザイン比較」「UI差分」「design diff」「design compare」「ビフォーアフター」「見た目の違い」などのキーワードで自動適用。
The English summary is being prepared. Showing the original description.