Retrofit + OkHttpを使用したAPIクライアント実装のベストプラクティスを提供する。 「API実装」「APIクライアント」「Retrofit」「OkHttp」「ネットワーク」と言われたら使う。
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Interactive Flutter Widget implementation assistant that guides you through widget implementation decisions by asking structured questions about state management, widget type (screen/component), and state sharing. Use this skill when you need help determining the appropriate Flutter widget architecture for your implementation.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
An interactive assistant that helps you make informed decisions about Flutter widget implementation by conducting a structured interview. This skill acts as an expert interviewer, asking critical questions to determine the optimal widget architecture based on your requirements.
Use this skill when:
You are an experienced Flutter architect conducting a requirements interview. Your goal is to:
Ask: "Does this widget need to manage internal state that changes over time? (For example: form inputs, animations, toggles, counters)"
Purpose: Determine if StatefulWidget or StatelessWidget is appropriate.
Follow-up clarifications if needed:
Decision:
StatefulWidgetStatelessWidgetStore result as: widgetStateType
Ask: "Is this widget a full screen/page, or is it a reusable component/part?"
Purpose: Determine navigation setup and architectural patterns.
Clarifications:
Follow-up if needed:
Decision:
Store result as: widgetType
If Screen/Page:
Ask: "Do you need to share or persist state data between different screens? (For example: user authentication state, shopping cart, selected theme)"
Purpose: Determine whether to use Riverpod for state management.
Clarifications:
Follow-up if needed:
Decision:
Store result as: stateManagementApproach
After completing the interview, generate a clear implementation specification:
# Flutter Widget Implementation Specification
## Widget Information
- **Widget Name:** [WidgetName]
- **Description:** [Brief description of what this widget does]
## Architecture Decisions
### 1. State Management
- **Decision:** [StatefulWidget / StatelessWidget]
- **Reason:** [Based on Question 1 answer]
### 2. Widget Type
- **Decision:** [Screen / Component]
- **Implementation:**
- [If Screen] Use `@RoutePage()` annotation from AutoRoute
- [If Screen] Create/Update ViewModel: `[WidgetName]ViewModel`
- [If Screen] Create/Update UIState: `[WidgetName]UIState`
- [If Component] Use plain StatelessWidget or HooksConsumerWidget
- [If Component] Minimize internal state, prefer props for configuration
### 3. State Sharing
- **Decision:** [Use Riverpod / No Riverpod]
- **Approach:**
- [If Riverpod] Use `HooksConsumerWidget` or `ConsumerWidget`
- [If Riverpod] Define providers for shared state
- [If No Riverpod] Use plain widget classes
## Implementation Checklist
- [ ] Create widget file: `lib/[path]/[widget_name].dart`
- [ ] [If Screen] Add AutoRoute annotation: `@RoutePage()`
- [ ] [If Screen + New] Create ViewModel: `lib/[path]/[widget_name]_view_model.dart`
- [ ] [If Screen + New] Create UIState: `lib/[path]/[widget_name]_ui_state.dart`
- [ ] [If Riverpod] Define required providers
- [ ] Implement widget class extending [StatelessWidget/StatefulWidget/HooksConsumerWidget]
- [ ] Add widget tests
## Code Structure Template
[Generate appropriate code template based on decisions]
dispose()@RoutePage() annotationHooksConsumerWidget when combining hooks + riverpodConsumerWidget for simple riverpod accessAssistant: "Let's set up your Flutter widget implementation. I'll ask you a few questions to determine the best architecture."
Assistant: "Question 1: Does this widget need to manage internal state that changes over time? For example: form inputs, animations, toggles, counters?"
User: "Yes, it has a form with text inputs."
Assistant: "Got it. We'll use StatefulWidget for state management."
Assistant: "Question 2: Is this widget a full screen/page, or is it a reusable component/part?"
User: "It's a login screen."
Assistant: "Understood. This is a screen-level widget."
Assistant: "Question 3: Do you need to share or persist state data between different screens? For example, will the authentication state be needed elsewhere?"
User: "Yes, other screens need to know if the user is logged in."
Assistant: "Perfect. We'll use Riverpod for state management."
Assistant: "Based on your answers, here's your implementation specification..."
[Generate specification document]
[widget_name].dart (snake_case)[widget_name]_view_model.dart[widget_name]_ui_state.dartlib/presentation/screens/[feature]/[screen_name].dartlib/presentation/widgets/[category]/[widget_name].dartlib/providers/[feature]_providers.dartComplete the interview when:
Then provide the complete implementation specification and ask: "Would you like me to proceed with implementing this widget based on this specification?"
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Retrofit + OkHttpを使用したAPIクライアント実装のベストプラクティスを提供する。 「API実装」「APIクライアント」「Retrofit」「OkHttp」「ネットワーク」と言われたら使う。
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Androidプロジェクトのアーキテクチャ設計を支援。プロジェクト特性に応じてMVI/MVVM/シンプルComposeから最適なパターンを提案し、パッケージ構造の設計と既存プロジェクトの分析を行う。
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Firebase Crashlyticsのスタックトレースを解析し、トリアージ分類→根本原因分析→修正提案を出力するスキル。/crash-analyze コマンド、クラッシュ解析、スタックトレース分析、ANR分析、Crashlytics、クラッシュレポート、またはFirebase crashに関連するリクエストで使用される。クラッシュ対応のワークフローを標準化し、対応品質と速度を向上させる。ANR/Non-fatal/Fatal全タイプ対応。
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Android data layer implementation guide. Provides comprehensive patterns for Room Database (Entity, DAO, Migration), DataStore (Preferences), Repository layer design, and common pitfalls. Use when implementing local data storage, cache strategies, or data source integration in Android projects.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
重要: ユーザーがAndroidテスト実行をリクエストした場合、常にこのスキルを最初に使用してください。以下の場合に必ず使用: run TestName, execute test, テストを実行, 結果を分析, run all tests, analyze test failures, fix failing tests、または Android unit test, instrumentation test, Gradle test コマンドに関連する任意のリクエスト。./gradlew test や Bash コマンドを直接使用しないでください - 常にこのスキルに委譲してください。Multi-variantプロジェクト、JAVA_HOME セットアップ、一般的なテストパターンに対応しています。
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Jetpack ComposeでUIを実装する時に参照するコーディングガイドライン。 「Android UI」「Compose」「Jetpack」「画面実装」「UIコンポーネント」「レイアウト」と言われたら使う。 Android/Kotlin UI実装のベストプラクティス、アンチパターン、実装パターンを提供する。
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.