dart-fix-runtime-errors
Resolve Dart Runtime Errors Safely
Dart type and null-safety errors can delay development and cause runtime failures. This skill provides a structured workflow to analyze, fix, and verify local Dart code changes.
Установить с помощью моего Агента
Скопируйте этот запрос в своего Агента. Он содержит каноническую страницу Skill и манифест.
Review the Skillstore skill "dart-fix-runtime-errors" from https://skillstore.io/skills/flutter-dart-fix-runtime-errors.md and its manifest at https://skillstore.io/api/skills/flutter-dart-fix-runtime-errors/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Ваш Агент по-прежнему должен показать план и запросить все подтверждения, требуемые политикой безопасности.
Ресурсы для AI-агентов
Используйте эти ссылки, когда AI-агенту, crawler или script нужен чистый контекст вместо полной страницы.
Протестировать
Использование «dart-fix-runtime-errors». A List<dynamic> cannot be passed to a method expecting List<int>.
Ожидаемый результат:
- Identify the inferred dynamic collection.
- Create the collection with an explicit int type.
- Run Dart analysis and tests to verify the change.
Использование «dart-fix-runtime-errors». A non-nullable instance field is not initialized.
Ожидаемый результат:
- Check whether the field can be nullable.
- Use a constructor initializer when possible.
- Use late only when initialization before every read is guaranteed.
Аудит безопасности
БезопасноAll 50 static findings are false positives. The analyzer misread Markdown code delimiters, fixed Dart commands, and Dart examples as shell execution or system reconnaissance. The skill contains a local workflow for Dart analysis and testing, with no prompt injection, data collection, network activity, or command construction from user input.
Факторы риска
⚙️ Внешние команды (35)
Поделиться и цитировать этот отчет
Делитесь версионным отчетом об оценке, нейтральным значком, встраиваемой карточкой и цитатами. Skillstore публикует доказательства, не решая, безопасен ли этот Skill.
Копировать ссылку на отчёт
https://skillstore.io/skills/flutter-dart-fix-runtime-errors/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportЗначок Markdown
[](https://skillstore.io/skills/flutter-dart-fix-runtime-errors?utm_source=security_passport_badge)Значок HTML
<a href="https://skillstore.io/skills/flutter-dart-fix-runtime-errors?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/flutter-dart-fix-runtime-errors/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Встраиваемая карточка
<iframe src="https://skillstore.io/embed/skills/flutter-dart-fix-runtime-errors.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Академические ссылки (APA · BibTeX · CFF)
Цитата APA
flutter. (2026). dart-fix-runtime-errors security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/flutter-dart-fix-runtime-errors/audits/1Цитата BibTeX
@techreport{flutter-flutter-dart-fix-runtime-errors-2026,
author = {flutter},
title = {dart-fix-runtime-errors security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/flutter-dart-fix-runtime-errors/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "dart-fix-runtime-errors security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "flutter"
date-released: "2026-08-30"
url: "https://skillstore.io/skills/flutter-dart-fix-runtime-errors/audits/1"
identifiers:
- type: other
value: "skillstore:flutter-dart-fix-runtime-errors:audit:1"
description: "Skillstore immutable audit report identifier"
Оценка Skillstore
Почему такая оценка Достоверность доказательств: СреднийЧто вы можете построить
Fix a null-safety error
Identify nullable values and select a safe initialization, optional access, or fallback strategy.
Resolve collection type errors
Add explicit generic types when analyzer output reports incompatible dynamic collections.
Verify a team code change
Run analysis and tests after a fix before submitting a pull request.
Попробуйте эти промпты
Run Dart static analysis for this project. Explain the first errors and propose minimal fixes.
Help me resolve this Dart null-safety error. Explain whether optional access, a fallback, or initialization is appropriate.
Investigate this Dart type mismatch. Trace the inferred types and propose an explicit, safe type annotation.
Review my Dart error fix. Run static analysis and tests, summarize results, and identify any remaining failures.
Лучшие практики
- Run dart fix with dry-run before applying changes.
- Prefer explicit types and constructor initialization over unsafe casts or late fields.
- Run dart analyze and dart test after every fix.
Избегать
- Do not apply automated fixes without reviewing the proposed changes.
- Do not use a null assertion when a value can be absent.
- Do not silence analyzer errors with broad casts that hide invalid runtime types.