swe-programming-dart

Generate Dart code compliant with OSE primer project standards.

3|1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/wahidyankf/ose-primer --skill swe-programming-dart
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swe-programming-dart
Source: https://github.com/wahidyankf/ose-primer/tree/main/.claude/skills/swe-programming-dart
Command: npx skills add https://github.com/wahidyankf/ose-primer --skill swe-programming-dart

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates inconsistent Dart code quality when AI agents write code for OSE primer demo projects, ensuring all generated code adheres to repo-specific conventions instead of generic best practices.

Core Features & Use Cases

  • Repo-Specific Coding Standards: Provides mandatory naming conventions, null safety rules, error handling patterns, async practices, and testing requirements tailored to the OSE primer Dart demo projects.
  • Context-Aware Guidelines: Includes optional standards for concurrency, performance, security, DDD, and framework integration (Flutter, shelf) that apply only when relevant to the task.
  • Use Case: When an AI agent is tasked with writing a new Dart service for the crud-dart demo, this Skill ensures the code follows the project's required 95% test coverage, typed exception hierarchy, and lowercase_with_underscores file naming rules.

Quick Start

Use the swe-programming-dart skill to write a Dart repository class for the zakat calculator demo that follows all project naming, null safety, and error handling standards.

Frequently Asked Questions about swe-programming-dart

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize Dart code quality for AI agents?

You can standardize Dart code quality for AI agents by applying repo-specific coding standards that enforce naming conventions, null safety, and error handling. This ensures generated code adheres to project requirements instead of generic best practices.

How do I enforce Dart 3.0+ null safety compliance in generated code?

To enforce Dart 3.0+ null safety compliance, apply mandatory null safety rules tailored to your project. This ensures generated code follows strict typed error handling and required safety patterns for robust application logic.

Does this Skill work with both Flutter frontend and shelf APIs?

Yes, the Skill works with Flutter frontend, server-side shelf APIs, and domain logic implementation. It applies context-aware guidelines for framework integration, ensuring standards are relevant to the specific development task.

What's the best way to achieve 95% test coverage for Dart projects?

The best way to achieve 95% test coverage is to enforce mandatory testing requirements through standardized coding guidelines. This ensures AI-generated repository classes and services meet project-specific coverage thresholds.

Why does my AI agent generate inconsistent Dart code for crud-dart scaffolds?

AI agents generate inconsistent Dart code because they default to generic best practices instead of repo-specific conventions. Applying targeted coding standards ensures consistent file naming, typed exception hierarchies, and async practices.

Can I use context-aware guidelines for DDD and concurrency in Dart?

Yes, you can use context-aware guidelines for DDD, concurrency, performance, and security. These optional standards apply only when relevant to the task, ensuring specialized logic follows project-specific architectural patterns.