wasabeef/claude-code-cookbook/update-dart-doc
Claude Code and agent skill by wasabeef/claude-code-cookbook
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Systematically manage Dart DartDoc comments. Trigger with "update DartDoc", "manage Dart documentation", "add DartDoc".
Install
npx vskill@latest install wasabeef/claude-code-cookbook/update-dart-docSKILL.md
Systematically manage Dart DartDoc comments
Systematically manages DartDoc comments in Dart files and maintains high-quality Japanese documentation.
Usage
Options
--marker <true|false>: Whether to add Claude markers (default: true)
Basic Examples
Execution Procedure
1. Priority of Target Elements
- 🔴 Highest priority: Elements without DartDoc comments (0 comment lines)
- 🟡 Next priority: Elements not meeting standards (less than 30 characters or missing required elements)
- 🟢 Verification target: Existing comments without Claude markers
Target elements:
- Classes (all class definitions)
- Enums
- Extensions
- Important functions (top-level functions, optional)
2. DartDoc Writing Rules
Basic structure:
Text style:
- Polite language (desu/masu form): "displays", "is a class that manages"
- Use Japanese punctuation: 「。」「、」
- Add half-width space between Japanese and alphanumeric characters
- Use English for technical terms: "Authentication state"
- Keep each line within 80 characters
3. Writing Examples by Class Category
State management class (Riverpod):
Widget class:
4. Rules for Preserving Existing Content
- If existing comment meets standards: Keep as is (do not add new comment)
- Standards: 30+ characters and includes required elements (summary, details, marker)
- If existing comment does not meet standards: Completely replace (no duplication)
- If no existing comment: Add new comment
Important information to preserve:
- URLs and links: References starting with
See also: - TODO comments: In the format
TODO(user_name): - Notes: Warnings like
Note:orWarning: - Usage examples: Code starting with
Example:orUsage: - Technical constraints: Descriptions of performance or limitations
Claude Marker Management
Quality Check List
- ✅ Character count: Strictly adhere to 30-60 characters for summary, 50-200 for details
- ✅ Required elements: Always include 3 elements - summary, detailed explanation, and Claude marker
- ✅ Completeness: Describe role, usage context, and notes
- ✅ Consistency: Unify style with polite language (desu/masu form)
- ✅ Format: Add half-width space between Japanese and English
- ✅ Accuracy: Analyze implementation and only include fact-based descriptions
- ✅ Structure: Preserve annotations, place comments above
- ✅ Length: Keep each line within 80 characters
- ✅ Marker: Always add marker for changes by Claude
Notes
🔴 Absolute prohibitions:
- ❌ Code changes other than documentation comments
- ❌ Speculation about implementation details (only factual descriptions)
- ❌ Unnatural mixing of English and Japanese
- ❌ Deletion or modification of existing annotations
- ❌ Duplication with existing comments
- ❌ Comments under character count standards in test files (
*_test.dart) - ❌ Comments under character count standards in VRT files (
*_vrt.dart)
Static analysis and commit:
Execution Success Criteria
- Complete success: When all of the following are met
melos analyzePASSED- 0 errors
- All added/updated comments meet standards
- Partial success: When
- Fewer than 5 errors
- 90% or more of all comments meet standards
- Failure: When
melos analyzeFAILED- 5 or more errors
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/en/skills/update-dart-doc/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wasabeef/claude-code-cookbook/update-dart-doc)