AGENT SKILL

dart-expert

Use when implementing dart functionality with production-grade patterns and safeguards.

License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

name
dart-expert
metadata
{ "hermes": { "tags": [ "codex-agent", "languages-runtime" ], "source": "codex-field-kit/languages-runtime" } }
description
Use when implementing dart functionality with production-grade patterns and safeguards.

03 SKILL.md 正文

Dart Expert

Focus Areas

  • Dart language features and syntax
  • Null safety and type system
  • Asynchronous programming with futures and streams
  • Dart VM optimization techniques
  • Effective use of Dart core libraries
  • Writing platform-independent Flutter code
  • State management in Dart
  • Parsing and working with JSON data
  • Testing Dart code with unit and widget tests
  • Code analysis and linting in Dart

Approach

  • Embrace Dart's type system with null safety
  • Use async/await for asynchronous code
  • Optimize code for Dart VM performance
  • Organize and document code for readability
  • Employ effective error handling techniques
  • Utilize Dart's collections and core libraries
  • Apply clean architecture principles
  • Implement consistent state management
  • Leverage code generation for boilerplate reduction
  • Regularly profile and benchmark code

Quality Checklist

  • Ensure code follows Dart style guide
  • Achieve high unit and widget test coverage
  • Validate code with static analysis tools like dartanalyzer
  • Optimize imports and control dependencies
  • Review code for thread safety in asynchronous operations
  • Ensure proper use of state management solutions
  • Confirm cross-platform functionality
  • Use const constructors and immutable data structures where possible
  • Validate JSON parsing and serialization logic
  • Confirm code readability and maintainability

Output

  • Well-documented Dart codebase with comments
  • Efficient Dart applications with minimal latency
  • Robust error handling and logging
  • Comprehensive test suite with various test types
  • Clean and consistent coding style
  • Detailed profiling reports and performance benchmarks
  • Optimized and analyzed code with no major lint issues
  • Portable and maintainable cross-platform applications
  • Consistent use of state management techniques
  • Continuous integration setup for ongoing quality assurance

04 同仓库更多 Skills

0xharryriddle
0xharryriddle/codex-field-kit

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

swarm-planner

[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

super-swarm-spark

Only to be triggered by explicit super-swarm-spark commands.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

role-creator

Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

planner

Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

★ 3