Review code changes for bugs and alignment with OpenEnv principles and RFCs. Use when reviewing PRs, checking code before commit, or when asked to review changes. Implements two-tier review model.
Review code changes for alignment with OpenEnv principles using a two-tier model.
Run automated checks first:
bash .claude/hooks/lint.sh - capture lint issuesbash .claude/hooks/check-debug.sh - capture debug codeRead alignment documents:
.claude/docs/PRINCIPLES.md - design principles.claude/docs/INVARIANTS.md - system invariantsRead open RFCs:
rfcs/ directory for all RFC filesAnalyze changes (use git diff or provided diff):
These are issues to fix without human input:
For each potential alignment concern, format as:
**ALIGNMENT FLAG**: [Brief description]
- **Principle/RFC at stake**: [Which principle from PRINCIPLES.md or RFC number]
- **The concern**: [What seems misaligned or in conflict]
- **Suggested reviewer**: @darktex [pull actual reviewers based on authors of the specific line of PRINCIPLES.md and INVARIANTS.md using git blame, and/or authors of conflicting RFCs]
Principle conflicts:
RFC conflicts (flag even for Draft/In Review RFCs):
Why flag RFC conflicts? Even if an RFC isn't finalized, flagging conflicts helps focus design discussions. The change might be correct and the RFC might need updating, or vice versa - either way, the team should discuss.
## Alignment Review Report
### Automated Checks
- Lint: [PASS/FAIL] - [summary]
- Debug code: [CLEAN/FOUND] - [details]
### Open RFCs Context
[List any RFCs in Draft or In Review status that might be relevant to these changes]
### Tier 1: Fixes Required
- [ ] path/file.py:123 - [issue description]
- [ ] path/file.py:456 - [issue description]
### Tier 2: Alignment Discussion
#### Principle Conflicts
[ALIGNMENT FLAGS for principle violations, or "None identified"]
#### RFC Conflicts
[ALIGNMENT FLAGS for RFC conflicts, or "None identified"]
### Summary
- X mechanical issues to fix
- Y alignment points for human review
- Z RFC conflicts to discuss
npx skills add meta-pytorch/alignment-review下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer