refactor: restructure AGENTS.md using best practices skill#1145
Conversation
Refactored AGENTS.md from 221 to 105 lines following update-agents-md skill: - Commands section first (highest ROI) - Added Definition of Done with specific exit codes - Added When Blocked escalation rules - Task-organized sections (When Writing Code, When Adding a Handler, etc.) - Condensed architecture to 3 sentences + references - Added Boundaries section (✅/⚠️ /🚫 tiers) - Kept critical ❌/✅ examples (PyGithub, anti-defensive)
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Branch Management
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
PR Summary by QodoRefactor AGENTS.md for task-first best-practice guidance
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1.
|
Separate mutating (development) from non-mutating (verification) commands: - Lint fix + format: ruff check/format in write mode (for development) - Full verify: ruff check --no-fix && ruff format --check (read-only) - Definition of Done: ruff check --no-fix (consistent with verify)
|
@qodo-code-review[bot] The following review comments were reviewed and a decision was made:
|
Thanks — that looks resolved.
|
|
Code review by qodo was updated up to the latest commit 4e1fcc6 |
pytest generates HTML coverage reports in .tests_coverage/ (configured in pyproject.toml), which was not gitignored. This made the "Full verify (read-only)" command in AGENTS.md leave untracked files in the working tree.
|
@qodo-code-review[bot] The following review comments were reviewed and a decision was made:
|
Thanks — that matches
So this one is closed. |
|
Code review by qodo was updated up to the latest commit 235c0c8 |
|
New container for ghcr.io/myk-org/github-webhook-server:latest published |
Summary
Refactored AGENTS.md from 221 → 105 lines (52% reduction) following the
update-agents-mdskill's research-backed best practices.Changes
docs/What's Preserved
github_api_call()+ anti-defensive programming)docs/warningPrinciples Applied
Based on GitHub 2,500-repo analysis + Augment Code measured eval: