Favicon of add-dart-lint-validation-rule

add-dart-lint-validation-rule Skill

AI Agent SkillDartOpen source

Instructions for adding a new validation rule and CLI flag to dartskillslint. Use this skill when asked to create a new rule that validates aspects of skills (like frontmatter metadata). Published by flutter in agent-plugins.

What is add-dart-lint-validation-rule Skill?

Instructions for adding a new validation rule and CLI flag to dartskillslint. Use this skill when asked to create a new rule that validates aspects of skills (like frontmatter metadata). Published by flutter in agent-plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
85/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Developers using agent-plugins

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use add-dart-lint-validation-rule Skill

  • Use it for developers using agent-plugins.

Built with

DartCopy skill directory

Editorial notes

Source

  • Creator: flutter
  • Repository: flutter/agent-plugins
  • Skill file: tool/dart_skills_lint/.agents/skills/add-dart-lint-validation-rule/SKILL.md

What it does

Instructions for adding a new validation rule and CLI flag to dartskillslint. Use this skill when asked to create a new rule that validates aspects of skills (like frontmatter metadata).

Skill instructions

Add a New Validation Rule and Flag Use this skill when you need to add a new validation rule to the dartskillslint package, expose it as a toggleable CLI flag, and verify its behavior. --- 🛠️ Step-by-Step Implementation 1. Create the Rule Class Create a new file in lib/src/rules/ extending SkillRule. [!TIP] If your rule expects a specific structure in the skill's YAML frontmatter (e.g., inside metadata), document this structure clearly in the class Dart docstring. dart // lib/src/rules/mynewrule.dart import '../models/analysisseverity.dart'; import '../models/skillcontext.dart'; import '../models/skillrule.dart'; import '../models/validationerror.dart'; class MyNewRule extends SkillRule { MyNewRule({super.severity}); @override Future<List<ValidationError validate(SkillContext context) async { final errors = <ValidationError[]; // Add validation logic here using context.rawContent or context.directory return errors; } } Accessing YAML Frontmatter If your rule needs configuration from t

Explore related resources

Frequently asked questions

What is add-dart-lint-validation-rule?

add-dart-lint-validation-rule is a open-source AI agent skill with Copy skill directory. Instructions for adding a new validation rule and CLI flag to dartskillslint. Use this skill when asked to create a new rule that validates aspects of skills (like frontmatter metadata).

Who is add-dart-lint-validation-rule best for?

add-dart-lint-validation-rule is best for reusing agent instructions, scripts, and references.

How do I install add-dart-lint-validation-rule?

Install or run add-dart-lint-validation-rule using Copy skill directory. Check add-dart-lint-validation-rule for the latest setup command.

Is add-dart-lint-validation-rule actively maintained?

add-dart-lint-validation-rule may need a closer maintenance check before production use.

Share:

Stars
2,641
Forks
154
Last commit
9 days ago
Repository age
5 months
License
BSD-3-Clause

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to add-dart-lint-validation-rule