dart-toolkit
Installation
SKILL.md
🎯 Dart Toolkit & Refactoring Router
Orchestrates specialized Dart workflows from local GitHub checkouts without pre-loading heavy individual skills into static prompt memory.
🛠️ Operating Protocol
1. Invocation with Arguments (/dart-toolkit <args...> or prompt context)
When invoked with specific text (e.g. convert expect matchers to checks, reduce cognitive complexity, convert prints to multiline strings):
- Evaluate Intent: Match the requested transformation against the Skill Catalog below.
- Locate Target Skill: Check for the target
SKILL.mdat its candidate local path. - Missing Checkout Safety Net: If the file does not exist at
~/github/, stop and output:⚠️ Missing local checkout: Target skill
<skill-name>was not found at~/github/.... Please ensurehttps://github.com/<org>/<repo>is cloned into~/github/. - Hydration & Execution: If present, call
view_fileon the targetSKILL.md, hydrate its untruncated instructions into active context, and execute the refactoring.
2. Bare Invocation (/dart-toolkit)
When invoked with no arguments, display the categorized menu below so the user can choose or inspect individual skills.