ワンクリックで
coding-standards
Verify that all code changes adhere to the professor's grading criteria and Aptis App coding standards.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Verify that all code changes adhere to the professor's grading criteria and Aptis App coding standards.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Generate a BLoC or Cubit for an existing feature using Dart 3 sealed classes and Equatable. Use when adding state management to a feature.
Scaffold a new Flutter feature with a full 3-layer Clean Architecture structure (data/domain/presentation). Use when creating a new e-commerce feature from scratch.
Audit a feature for Clean Architecture violations and produce a prioritized fix list. Use when generated code may have broken layer rules, missing use cases, or incorrect BLoC patterns.
Register all components of a feature in injection_container.dart following the correct factory vs singleton rules. Use after scaffolding a new feature or when DI registration is missing.
SOC 職業分類に基づく
| name | coding-standards |
| description | Verify that all code changes adhere to the professor's grading criteria and Aptis App coding standards. |
Use this skill to ensure all code changes comply with the project's coding standards and professor's grading guidelines.
The grading standards are located at flutter-grading-standards.md. Key Rules:
features/ (Clean Architecture). Never put business logic/API calls in main.dart.build() method must not exceed ~50 lines. Extract sub-widgets.setState.app_router.dart or equivalent). No hard-coded route strings in screens.Map or dynamic).async calls in try/catch or use Result<T>. Validate all form inputs.SingleChildScrollView or ListView. SafeAreas for top-level screens. Zero tolerance for overflow errors.core/constants/. All user-facing strings must be i18n-ready via AppStrings.ListView.builder(), const constructors, cached network images.The full coding standards are located at CODING_STANDARDS_APP.md. Key Rules:
snake_case.dart (e.g. exam_started_event.dart, exam_card_widget.dart)PascalCase (e.g. ExamAttemptBloc, ExamLoadingState)camelCase (e.g. loadExamDetails(), isLoading)lowerCamelCase const (e.g. const String examNotFound = '...', not EXAM_NOT_FOUND)_prefix (e.g. _examRepository, _loadExamDetails)exam_module.dart).if (!mounted) return; after await and before using BuildContext (e.g., popped widget scenario).package:flutter/material.dart and must not use BuildContext (use States to notify the UI).dispose() is mandatory for all controllers, subscriptions, and timers.Always run the following verification steps before finalizing your changes:
dart analyze to ensure zero errors and zero warnings.dart format . to format the workspace.