一键导入
definition-of-done
Mandatory checks to run before completing any task that touches md files or dart code in this repository.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Mandatory checks to run before completing any task that touches md files or dart code in this repository.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Instructions for adding a new validation rule and CLI flag to dart_skills_lint. Use this skill when asked to create a new rule that validates aspects of skills (like frontmatter metadata).
How to integrate, update, and configure the dart_skills_lint validation tool within a repository. Make sure to use this skill whenever the user asks to update dart_skills_lint, configure skills validation tests, fix skills linter dependency drifts, verify repository state before editing, optimize lint rules execution, or draft pull request submission commands.
A deliberately broken fixture used by example/README.md to show what each rule's error output looks like.
Reference fixture for dart_skills_lint. Demonstrates a SKILL.md that passes every default rule: hyphen-lowercase name matching the parent directory, a properly sized description, and no other frontmatter fields that would trigger the disallowed-field check.
Use this skill when you need to set up validation for AI agent skills in a Dart project for the first time. Adds the linter as a dev_dependency, creates a configuration file, and generates a baseline for legacy repos.
Use this skill when you need to validate AI agent skills with dart_skills_lint — running the linter, interpreting failures, fixing violations, and authoring custom rules.
| name | definition-of-done |
| description | Mandatory checks to run before completing any task that touches md files or dart code in this repository. |
| metadata | {"internal":true} |
Use this skill to ensure that all work meets the repository standards before declaring a task complete or requesting review.
Before stating that a task is complete, you MUST execute and pass the following checks:
dart format . to format files, or dart format --output=none --set-exit-if-changed . to check without modifying. Ensure all files are formatted correctly.dart analyze --fatal-infos and ensure there are zero issues (including info-level issues).dart run dart_code_linter:metrics analyze lib and ensure there are zero issues. This checks for cyclomatic complexity and custom rules like file naming and redundant async.dart test and ensure all tests pass successfully.dart run dart_skills_lint -d .agents/skills to ensure they are valid.CHANGELOG.md is updated if the task includes user-facing features, bug fixes, or behavioral changes.dart format . or checked with --output=none --set-exit-if-changed .).dart analyze --fatal-infos).dart run dart_code_linter:metrics analyze lib).dart test).dart run dart_skills_lint -d .agents/skills).CHANGELOG.md updated for user-facing features, bug fixes, or behavioral changes.