一键导入
add-feature
Scaffold a new portfolio feature (data / domain / presentation), wire GetIt, routing, and ARB strings. Use for new sections or major UI areas.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scaffold a new portfolio feature (data / domain / presentation), wire GetIt, routing, and ARB strings. Use for new sections or major UI areas.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add or change an HTTP integration in the portfolio (usually Dio + remote datasource). This app has no generic ApiClient; mirror the contact form pattern.
Add or update ARB localization (English + Arabic) for the portfolio.
| name | add-feature |
| description | Scaffold a new portfolio feature (data / domain / presentation), wire GetIt, routing, and ARB strings. Use for new sections or major UI areas. |
Context: Youssef Salem Portfolio — Flutter Web, repo root
lib/features/<name>/.
tech_readme_files/02_Architecture/FEATURE_MODULES.md and an existing feature such as lib/features/about/ or lib/features/projects/.
lib/features/<feature_name>/
├── data/
│ ├── datasources/
│ └── repositories/
├── domain/
│ ├── entities/
│ ├── repositories/
│ └── usecases/
└── presentation/
├── bloc/
├── pages/ # optional
└── widgets/ # optional
Either via dartz matches existing code).*_event.dart, *_state.dart, *_bloc.dart; use BlocProvider where the UI subtree needs the bloc (see portfolio_page.dart patterns).lib/injection_container.dart: lazy singletons for repos/use cases, registerFactory for BLoCs unless a singleton is clearly intended.lib/core/routes/app_routes.dart and lib/core/config/routes/app_router.dart (and deep-link / section map if applicable).lib/l10n/app_en.arb and lib/l10n/app_ar.arb, then flutter gen-l10n.lib/core/widgets/ for reusable pieces.injection_container.dartflutter gen-l10nCHANGELOG.md (+ tech_readme_files/ if architecture docs change)Do not assume RouteNames, lib/shared/widgets/, ApiClient, offline queue, or cache policy exist here.