Dart Matcher Best Practices
技能 已验证 活跃Best practices for using `expect` and `package:matcher`. Focuses on readable assertions, proper matcher selection, and avoiding common pitfalls.
To improve the quality and readability of Dart tests by applying best practices for assertion matchers, thereby reducing common pitfalls and debugging time.
功能
- Readable assertions with `expect`
- Proper matcher selection guidance
- Avoiding common pitfalls in tests
- Improving error messages on test failures
使用场景
- Writing new assertions using `expect` and `package:matcher`
- Migrating manual checks to cleaner matchers
- Debugging confusing test failures related to assertions
非目标
- Core testing concepts or test structure
- Migrating from `package:matcher` to `package:checks`
- General Dart code formatting or linting
安装
npx skills add flutter/skills通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。
质量评分
已验证类似扩展
Definition Of Done
100Mandatory checks to run before completing any task that touches md files or dart code in this repository.
Neon Postgres
100Neon Serverless Postgres 的使用指南和最佳实践。涵盖入门、使用 Neon 进行本地开发、选择连接方法、Neon 功能、身份验证(@neondatabase/auth)、PostgREST 风格的数据 API(@neondatabase/neon-js)、Neon CLI 以及 Neon 的平台 API/SDK。可用于任何与 Neon 相关的问题。
Sdk Dx
100Design SDKs that developers love to use—APIs that feel native, error messages that guide, and experiences that reduce friction. This skill covers creating SDKs that drive adoption through exceptional developer experience rather than aggressive marketing. Trigger phrases: "SDK design", "developer experience", "API design", "SDK DX", "error messages", "type safety", "IDE integration", "SDK versioning", "migration guides", "client library design", "making SDKs feel native", "SDK best practices"
Csharp Async
100Get best practices for C# async programming
Golang Concurrency Patterns
100Go concurrency patterns for production services: context cancellation, errgroup, worker pools, bounded parallelism, fan-in/fan-out, and common race/deadlock pitfalls
Coding Standards
100Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed frontend or backend skills for framework-specific patterns.