Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive integration of RubyCritic for Ruby code quality analysis, including workflow documentation, configuration references, and automated CI reporting. The changes aim to standardize quality checks, provide actionable feedback, and ensure maintainable code through both developer and CI workflows.
Documentation and Workflow Improvements:
.claude/skills/rubycritic/SKILL.mdfile has been extensively rewritten to clarify objectives, quick start instructions, workflow integration, error handling, git hooks, configuration, common usage patterns, code smell references, installation, and success criteria. The documentation now provides step-by-step guidance for running RubyCritic, interpreting results, and responding to issues, with links to detailed reference guides. [1] [2]Reference and Configuration Enhancements:
.claude/skills/rubycritic/references/configuration.md, a detailed guide covering advanced RubyCritic configuration options, usage patterns for different environments (strict, CI, legacy, development), command-line overrides, output formats, CI integration, score calculation, exclusion patterns, tool integration, troubleshooting, and best practices.CI/CD Integration:
.github/workflows/rubycritic.yml, a GitHub Actions workflow that automatically runs RubyCritic in CI mode on pull requests affecting Ruby files in thepdf_converterproject. The workflow installs dependencies, runs RubyCritic, analyzes results, and posts a detailed quality report as a PR comment, including score breakdowns and recommendations. The HTML report is uploaded as an artifact for further review.Automated Feedback and Best Practices:
Reference Guides and Troubleshooting:
These changes collectively establish a robust framework for Ruby code quality management, making it easier for developers to maintain high standards and for teams to enforce quality gates in automated workflows.