.agents/skills/README.md
Welcome to the .agent/skills directory. This directory contains agent skills designed for consumption by Flutter contributors.
Before landing an initial skill in this shared codebase, the following requirements must be met:
We encourage contributors to follow these practices when authoring skills, though they are not strictly required:
You can manually run the dart_skills_lint tool to validate your skills and fix common issues. Navigate to the dev/tools directory and run:
dart run dart_skills_lint:cli --skills-directory ../../.agents/skills --check-trailing-whitespace --check-absolute-paths --check-relative-paths
--fix: Preview fixes for failing lints without modifying files (dry run).--fix-apply: Automatically apply fixes for fixable rules (like trailing whitespace).--check-trailing-whitespace: Enforce no trailing whitespace (except 2 spaces for line breaks).--check-absolute-paths: Ensure links do not use absolute paths.--check-relative-paths: Ensure relative links point to existing files.You can also run the automated validation tests from the dev/tools directory:
dart test test/validate_skills_test.dart
For example, to check everything and preview fixes, you can run:
dart run dart_skills_lint:cli --fix --check-trailing-whitespace --check-absolute-paths --check-relative-paths --skills-directory ../../.agents/skills
If you are a regular contributor looking for areas where you can author a skill, the following are good places to start: