feat: add documentation sync checker script - #233
Conversation
- Add script/check-docs-sync.sh for verifying doc synchronization - Create script/README.md with comprehensive script documentation - Include CI integration examples and usage guidelines - Support customization via environment variables - Provide clear error messages and fix instructions Fixes #224 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
Warning Rate limit exceeded@keito4 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 24 minutes and 35 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR レビュー: Documentation Sync Checker ScriptこのPRを確認しました。全体的に良い機能追加ですが、リポジトリの品質基準に照らしていくつかの改善点があります。 🔴 Critical Issues1. テストカバレッジ不足 (TDD違反)CLAUDE.md の要件:
問題点:
必要な対応: 参考例: 最低限必要なテストケース:
2. CI統合が不完全問題点:
推奨対応:
|
| 項目 | ステータス |
|---|---|
| Integration Tests | ❌ check_docs_sync.bats 不足 |
| Security | |
| Code Coverage | ❌ 0% (テスト無し) |
総合判定: 🔴 マージ不可 (TDD要件未達成)
修正後に再レビューをリクエストしてください。コンセプトは excellent ですが、品質基準を満たすためにテストが必須です!
|
🎉 This PR is included in version 1.29.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
Add a CI script that verifies generated documentation is synchronized with code changes, preventing documentation drift.
Changes
script/check-docs-sync.shfor verifying doc synchronizationscript/README.mdwith comprehensive script documentationKey Features
Documentation Sync Checker
The script ensures developers keep generated documentation in sync with code:
How It Works:
Configuration
Customizable via environment variables:
Output Examples
Success:
Failure:
Integration
CI Workflow
Package.json Scripts
{ "scripts": { "docs:generate": "your-doc-generator-command", "docs:check": "./script/check-docs-sync.sh" } }Use Cases
Benefits
Fixes #224
🤖 Generated with Claude Code