Agent skill · kevmoo
dart-cleanup
Orchestrates specialized Dart refactoring, code quality, testing, and modern language features on demand. Use when cleaning up, modernizing, refactoring, or optimizing Dart code. Don't use for non-Dart projects or general codebase search.
What it needs
About 3k tokens when loaded.
What this skill does
🎯 Dart Cleanup & Refactoring Router [!NOTE] Personal Environment Router: This skill is optimized for @kevmoo's local development environment and assumes specialized skills are checked out under ~/github/kevmoo/ and ~/github/dart-lang/. Other users should clone the required repositories or adapt the catalog paths in Skill Catalog to match their local layout. Orchestrates specialized Dart workflows from local GitHub checkouts without pre-loading heavy individual skills into static prompt memory. --- 🛠️ Operating Protocol 1. Intent Evaluation & Confidence Matching (Strict Single-Skill Target) When invoked with text (e.g. /dart-cleanup convert expect matchers to checks), evaluate the input against the Skill Catalog using this 3-tier confidence decision tree: Tier 1: Unambiguous Clear Match (High Confidence / 90%+ sure) Exactly 1 skill in the catalog clearly maps to the requested transformation. Action: 1. Check for the target SKILL.md at its candidate path in ~/github/. 2. If missing, output the Missing Checkout Safety Net. 3. If present, call viewfile on the target SKILL.md, hydrate its untruncated instructions into active context, and execute the refactoring immediately. Tier 2: Uncertain / Close Match (Medium Confidence) A skill seems close or relevant, but there is ambiguity. Action: Stop and ask the user for confirmation before hydrating: "I think you might mean <skill-name> (SKILL.md). Would you like me to load and run this workflow?" Tier 3: No Clear Match or Bare Invocation (Low Confidence / Empty Input) No skill matches the prompt, or /dart-cleanup was invoked with no arguments. Action: Output: "I couldn't find an unambiguous skill match for your request. Here is the catalog of available specialized Dart skills:" Render the categorized Skill Catalog with clickable file:// links so the user can choose. 2. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills kevmoo/dart-cleanup