Skip to content

Fix RuboCop offenses and add AGENTS.md#60

Merged
highb merged 3 commits into
masterfrom
lint-fixes-agents
Jan 21, 2026
Merged

Fix RuboCop offenses and add AGENTS.md#60
highb merged 3 commits into
masterfrom
lint-fixes-agents

Conversation

@highb

@highb highb commented Jan 21, 2026

Copy link
Copy Markdown
Owner

This PR contains two important improvements:

Changes

  1. Fix RuboCop offenses in benchmarks/pattern_scaling.rb

    • Fix Style/WordArray for directories array
    • Fix Style/StringLiterals - use single quotes where appropriate
    • Fix Metrics/MethodLength by extracting patterns to separate method
    • Fix Layout/IndentationWidth and block alignment issues
    • Add rubocop:disable comment for remaining long method containing data
  2. Add AGENTS.md following https://agents.md/ standard

    • Adopt open standard for AI agent guidance used by 60k+ projects
    • Maintain all essential setup, testing, and development information
    • Ensure compatibility with multiple AI coding agents
    • Provide concise, agent-focused guidance

Impact

  • All CI tests now pass across Ruby versions 3.2-4.0.1
  • Better support for AI agents working on the project
  • Clean codebase following project style guidelines
  • No functional changes to library behavior

PR created using Big Pickle/OpenCode Zen

highb added 3 commits January 21, 2026 12:39
- Fix Style/WordArray for directories array
- Fix Style/StringLiterals - use single quotes where appropriate
- Fix Metrics/MethodLength by extracting patterns to separate method
- Fix Layout/IndentationWidth and block alignment issues
- Add rubocop:disable comment for remaining long method containing data

All tests now pass with RuboCop 1.63.5

*Testing and fixes generated using Big Pickle/OpenCode Zen*
- Include setup instructions using mise
- Document all available commands and workflows
- Provide testing strategies and common solutions
- Outline project structure and dependencies
- Include CI/CD information and release process

*Documentation generated using Big Pickle/OpenCode Zen*
- Adopt AGENTS.md format instead of custom AGENT.md
- Maintain all essential setup, testing, and development information
- Follow open standard for AI agent guidance used by 60k+ projects
- Ensure compatibility with multiple AI coding agents

*Migration performed using Big Pickle/OpenCode Zen*
@highb highb force-pushed the lint-fixes-agents branch from 6f6d967 to c924392 Compare January 21, 2026 20:39
@highb highb merged commit b93548c into master Jan 21, 2026
20 checks passed
@highb highb deleted the lint-fixes-agents branch January 21, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant