analyze-dependencies
Analyzes your project's dependencies and checks architecture health.
Systematically manages DartDoc comments in Dart files and maintains high-quality Japanese documentation.
> /plugin marketplace add wasabeef/claude-code-cookbookHow it fires
How this command gets triggered: by you, by Claude, or both.
/update-dart-docContext preview
What this command does when you run it.
Systematically manages DartDoc comments in Dart files and maintains high-quality Japanese documentation.
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)"
# 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"
1. π΄ **Highest priority**: Elements without DartDoc comments (0 comment lines) 2. π‘ **Next priority**: Elements not meeting standards (less than 30 characters or missing required elements) 3. π’ **Verification target**: Existing comments without 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 {1. **If existing comment meets standards**: Keep as is (do not add new comment)
2. **If existing comment does not meet standards**: Completely replace (no duplication) 3. **If no existing comment**: Add new comment
**Important information to preserve**:
# 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**:
**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 π€"
1. **Complete success**: When all of the following are met
2. **Partial success**: When
-
A collection of commands, roles, and automation scripts for Claude Code. Automate your workflow without unnecessary confirmations, allowing you to focus on what matters.
Repo: wasabeef/claude-code-cookbook
Analyzes your project's dependencies and checks architecture health.
Analyzes application performance from a user experience perspective and quantifies experience improvements from optimizations. Calculates UX scores based onβ¦
Verifies if a statement is true by checking your project's code and documentation.
A comprehensive collection of best practices for evaluating and improving the quality of prompts for AI Agents. It systematizes knowledge gained from actualβ¦
Generates commit messages from staged changes (git diff --staged). This command only creates messages and copies them to your clipboardβit doesn't run any gitβ¦