dart-build-cli-app
Build Reliable Dart CLI Applications
Dart CLI projects need consistent command routing, error handling, tests, and release steps. This skill provides practical guidance for building and distributing them.
Установить с помощью моего Агента
Скопируйте этот запрос в своего Агента. Он содержит каноническую страницу Skill и манифест.
Review the Skillstore skill "dart-build-cli-app" from https://skillstore.io/skills/flutter-dart-build-cli-app.md and its manifest at https://skillstore.io/api/skills/flutter-dart-build-cli-app/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Ваш Агент по-прежнему должен показать план и запросить все подтверждения, требуемые политикой безопасности.
Ресурсы для AI-агентов
Используйте эти ссылки, когда AI-агенту, crawler или script нужен чистый контекст вместо полной страницы.
Протестировать
Использование «dart-build-cli-app». Add a backup subcommand to a Dart CLI.
Ожидаемый результат:
- Suggested CommandRunner registration and argument definitions.
- Validation and non-zero exit behavior for invalid input.
- A test plan for process output and generated files.
Использование «dart-build-cli-app». Prepare a Dart CLI for Linux distribution.
Ожидаемый результат:
- A validation sequence for formatting, analysis, and tests.
- Host and Linux compilation command guidance.
- Notes about target operating system and architecture flags.
Аудит безопасности
БезопасноAll 53 static findings are false positives. The scanner interpreted Markdown inline-code markers and fenced Dart examples as Ruby or shell backtick execution. The skill provides standard Dart CLI development guidance and contains no prompt injection, data-exfiltration intent, or system-reconnaissance behavior.
Факторы риска
⚙️ Внешние команды (49)
Поделиться и цитировать этот отчет
Делитесь версионным отчетом об оценке, нейтральным значком, встраиваемой карточкой и цитатами. Skillstore публикует доказательства, не решая, безопасен ли этот Skill.
Копировать ссылку на отчёт
https://skillstore.io/skills/flutter-dart-build-cli-app/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportЗначок Markdown
[](https://skillstore.io/skills/flutter-dart-build-cli-app?utm_source=security_passport_badge)Значок HTML
<a href="https://skillstore.io/skills/flutter-dart-build-cli-app?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/flutter-dart-build-cli-app/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Встраиваемая карточка
<iframe src="https://skillstore.io/embed/skills/flutter-dart-build-cli-app.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-build-cli-app security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/flutter-dart-build-cli-app/audits/1Цитата BibTeX
@techreport{flutter-flutter-dart-build-cli-app-2026,
author = {flutter},
title = {dart-build-cli-app security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/flutter-dart-build-cli-app/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-build-cli-app 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-build-cli-app/audits/1"
identifiers:
- type: other
value: "skillstore:flutter-dart-build-cli-app:audit:1"
description: "Skillstore immutable audit report identifier"
Оценка Skillstore
Почему такая оценка Достоверность доказательств: СреднийЧто вы можете построить
Start a command-line tool
Create a Dart CLI with a conventional directory layout and basic argument parsing.
Add a subcommand safely
Plan command routing, validation, help text, error handling, and automated tests.
Prepare a native release
Validate, compile, and choose host or Linux cross-compilation targets for distribution.
Попробуйте эти промпты
Help me structure a new Dart CLI named inventory_tool. Include bin and lib/src responsibilities and basic argument parsing.
Help me add an import subcommand to my Dart CommandRunner. Define its flags, validation, exit behavior, and tests.
Show me how to test a Dart CLI command with test_process and test_descriptor, including stdout, exit code, and filesystem assertions.
Create a release checklist for my Dart CLI. Include formatting, analysis, tests, host compilation, and Linux cross-compilation considerations.
Лучшие практики
- Keep executable entry points in bin and implementation details in lib/src.
- Return descriptive errors to stderr with appropriate non-zero exit codes.
- Run formatting, static analysis, and automated tests before compiling releases.
Избегать
- Do not place all command logic directly in the bin entry point.
- Do not swallow exceptions when the command cannot recover safely.
- Do not release a compiled executable without validating help text and user flows.