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.
Instalar com meu Agente
Copie esta solicitação para o seu Agente. Ela inclui a página canônica do Skill e o manifesto.
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.Seu Agente ainda deve apresentar o plano e solicitar qualquer confirmação exigida pela política de segurança.
Recursos legíveis por agentes
Use estes links quando um agente de IA, crawler ou script precisar de contexto limpo em vez de ler a página completa.
Testar
Usando "dart-fix-runtime-errors". A List<dynamic> cannot be passed to a method expecting List<int>.
Resultado esperado:
- Identify the inferred dynamic collection.
- Create the collection with an explicit int type.
- Run Dart analysis and tests to verify the change.
Usando "dart-fix-runtime-errors". A non-nullable instance field is not initialized.
Resultado esperado:
- Check whether the field can be nullable.
- Use a constructor initializer when possible.
- Use late only when initialization before every read is guaranteed.
Auditoria de segurança
SeguroAll 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.
Fatores de risco
⚙️ Comandos externos (35)
Compartilhar e citar este relatório
Compartilhe o relatório de avaliação versionado, o badge neutro, o cartão incorporável e as citações. A Skillstore apresenta evidências sem decidir se este Skill é seguro.
Copiar link do relatório
https://skillstore.io/skills/flutter-dart-fix-runtime-errors/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportBadge Markdown
[](https://skillstore.io/skills/flutter-dart-fix-runtime-errors?utm_source=security_passport_badge)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>Cartão incorporável
<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>Citações acadêmicas (APA · BibTeX · CFF)
Citação 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/1Citação 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"
Pontuação do Skillstore
Por que esta pontuação Confiança das evidências: MédioO que você pode criar
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.
Teste estes prompts
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.
Boas práticas
- 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.
Evitar
- 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.