refactor: restructure AGENTS.md and apply prompting principles#1141
Conversation
- Remove AGENTS.md symlink, make it a regular file with all content - CLAUDE.md now contains only '@AGENTS.md' (reference to canonical file) - Update heading from '# CLAUDE.md' to '# AGENTS.md' - Add 'Generated Documentation' rule: docs/ is autogenerated by docsfy, never edit manually
Reduce from 724 to 220 lines (70% reduction): - Merge 6 anti-defensive sections into 1 with single example - Merge 5 PyGithub sections into 1 with decision checklist - Remove redundant Summary/Quick Reference (copy of earlier content) - Remove Type Compatibility Pattern (duplicate PyGithub example) - Demote CRITICAL/MANDATORY overuse to factual statements - One sentence per concept throughout
|
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 QodoDocs: Make AGENTS.md canonical and simplify CLAUDE.md reference Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
30 rules 1.
|
- Point .coderabbit.yaml filePatterns to AGENTS.md (was CLAUDE.md) - Add re-raise after ctx.fail_step() in AGENTS.md exception example
|
@qodo-code-review[bot] The following review comments were reviewed and a decision was made:
|
Yes — both items are already addressed:
So there are no remaining active Qodo findings on this PR. |
|
Code review by qodo was updated up to the latest commit 34f5397 |
|
New container for ghcr.io/myk-org/github-webhook-server:latest published |
Summary
Restructure the AGENTS.md / CLAUDE.md relationship and rewrite AGENTS.md applying prompting principles for better AI compliance.
Changes
Structural
AGENTS.mdis now the canonical file (was a symlink to CLAUDE.md)CLAUDE.mdcontains only@AGENTS.md(reference to canonical file)# CLAUDE.mdto# AGENTS.mdContent Rewrite (724 → 220 lines, 70% reduction)
New Rule
## Generated Documentation—docs/is autogenerated by docsfy, never edit manually