/cook-en:update-dart-doc runs instead · from cook-en
Systematically manages DartDoc comments in Dart files, adding and updating documentation with support for Japanese text and Claude markers. Useful for maintaining consistent Dart documentation.
This skill never runs in Claude Code
It ships in cook-en at skills/, but /cook-en:update-dart-doc (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Systematically manages DartDoc comments in Dart files and maintains high-quality Japanese documentation.
# Perform new additions and updates simultaneously
"Add DartDoc comments to classes without them and update comments that don't meet standards"
# Check changed files in PR
"Check if there are Claude markers in the DartDoc of files changed in PR #4308"
# Maintain documentation for specific directories
"Add DartDoc to Widget classes under packages/app/lib/ui/screen/"
# Execute without markers
/update-dart-doc --marker false
"Improve DartDoc in existing project (without Claude markers)"
--marker <true|false> : Whether to add Claude markers (default: true)# 1. Analyze target files
find . -name "*.dart" -not -path "*/.*" | grep -v "_test.dart" | grep -v "_vrt.dart"
"Identify classes with insufficient DartDoc (0 lines or less than 30 characters)"
# 2. Add documentation
"Add DartDoc comments containing required elements to the identified classes"
# 3. Check markers
"Ensure all added/updated DartDoc have Claude markers"
Target elements:
Basic structure:
/// {Element summary} (30-60 characters, required)
///
/// {Detailed description} (must include role, usage context, and notes, 50-200 characters)
///
/// Generated by Claude 🤖
@annotation // Do not change existing annotations
class ClassName {
Text style:
State management class (Riverpod):
/// State that manages the disabled state of horizontal swipe gestures.
///
/// Used when horizontal swipes need to be disabled during specific screens or operations,
/// such as during carousel displays or specific inputs.
///
/// Generated by Claude 🤖
@Riverpod(keepAlive: true, dependencies: [])
class HorizontalDragGestureIgnoreState extends _$HorizontalDragGestureIgnoreState {
Widget class:
/// Widget that displays a user profile.
///
/// Vertically arranges avatar image, username, and status information,
/// and navigates to the profile detail screen when tapped.
///
/// Generated by Claude 🤖
class UserProfileWidget extends HookConsumerWidget {
Important information to preserve:
See also:TODO(user_name):Note: or Warning:Example: or Usage:# Marker format
/// Generated by Claude 🤖
# Check markers in PR changed files
gh pr diff 4308 --name-only | grep "\.dart$" | xargs grep -l "Generated by Claude"
"Add markers to files that don't have them"
🔴 Absolute prohibitions:
*_test.dart)*_vrt.dart)Static analysis and commit:
# Record execution results
ADDED_COMMENTS=0
UPDATED_COMMENTS=0
ERRORS=0
# Check after changes
melos analyze
if [ $? -ne 0 ]; then
echo "🔴 Error: Static analysis failed"
exit 1
fi
# Output execution summary
echo "📊 Execution results:"
echo "- Added comments: $ADDED_COMMENTS"
echo "- Updated comments: $UPDATED_COMMENTS"
echo "- Errors: $ERRORS"
# Example commit
git commit -m "docs: Add and update DartDoc comments
- Add DartDoc to classes, enums, and extensions that don't meet standards
- Update comments under 30 characters to meet standards
- Uniformly add Claude markers
Execution results:
- Added: $ADDED_COMMENTS
- Updated: $UPDATED_COMMENTS
Generated by Claude 🤖"
Complete success: When all of the following are met
melos analyze PASSEDPartial success: When
Failure: When
melos analyze FAILEDWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub wasabeef/claude-code-cookbook --plugin cook-en39 skills in this plugin
/analyze-dependenciesAnalyze project dependencies and evaluate architectural healthAnalyze project dependencies and evaluate architectural health. Trigger with "analyze dependencies", "detect circular dependencies", "architecture issues?", "check module coupling", "find layer violations". Generates dependency matrix, fan-in/fan-out analysis, and prioritized improvement suggestions./analyze-performancePerformance analysis based on Core Web VitalsPerformance analysis based on Core Web Vitals with UX scoring. Trigger with "analyze performance", "improve speed", "check Core Web Vitals", "page speed", "improve LCP", "identify performance issues"./check-factVerify information accuracy against codebase and docsVerify information accuracy against codebase and documentation. Trigger with "is this correct?", "fact check", "verify this", "is this accurate?"./check-promptEvaluate and improve AI prompt qualityEvaluate and improve AI prompt quality. Trigger with "check this prompt", "evaluate prompt quality", "improve this prompt"./commit-messageGenerate commit messages from staged changesGenerate commit messages from staged changes. Trigger with "suggest commit message", "generate commit message", "what should the commit say?", "write commit message"./context7Search technical documentation via Context7 MCPSearch technical documentation via Context7 MCP. Trigger with "check the docs", "look up documentation", "how to use this library?", "API reference".2 plugins ship this exact skill · first indexed Jul 16, 2026
Other plugins' skills for the same job