alignment-review

द्वारा huggingface

कोड परिवर्तनों में बग और OpenEnv सिद्धांतों तथा RFCs के साथ संरेखण की समीक्षा करें। PRs की समीक्षा करते समय, कमिट से पहले कोड जांचते समय, या समीक्षा करने के लिए कहने पर उपयोग करें…

npx skills add https://github.com/huggingface/openenv --skill alignment-review

Alignment Review

Review code changes for alignment with OpenEnv principles using a two-tier model.

Instructions

  1. Run automated checks first:

    • Execute bash .claude/hooks/lint.sh - capture lint issues
    • Execute bash .claude/hooks/check-debug.sh - capture debug code
  2. Read alignment documents:

    • .claude/docs/PRINCIPLES.md - design principles
    • .claude/docs/INVARIANTS.md - system invariants
  3. Read open RFCs:

    • Scan rfcs/ directory for all RFC files
    • Note the status of each RFC (Draft, In Review, Accepted, Implemented)
    • Pay special attention to Draft and In Review RFCs - these represent active design discussions
  4. Analyze changes (use git diff or provided diff):

    • Identify mechanical issues (Tier 1)
    • Flag alignment concerns (Tier 2)
    • Flag conflicts with open RFCs (Tier 2)

Tier 1: Uncontentious Issues (Fix Immediately)

These are issues to fix without human input:

  • Lint failures from hook output
  • Debug code from hook output (print statements, breakpoints)
  • Uninitialized variables, type errors
  • Missing imports, syntax errors
  • Security issues (credential exposure, injection vulnerabilities)

Tier 2: Alignment Discussion Points

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]

Examples of Tier 2 Issues

Principle conflicts:

  • Adding external reward computation (violates "rewards in environment")
  • Client importing server code (violates client-server separation)
  • New API that differs from Gymnasium pattern

RFC conflicts (flag even for Draft/In Review RFCs):

  • Change conflicts with design proposed in an open RFC
  • Change pre-empts a decision being discussed in an RFC
  • Change implements something differently than an RFC proposes
  • Change affects an area covered by an RFC under review

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.

Output Format

## 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

huggingface की और Skills

sync-models
huggingface
chat-ui के मॉडल कॉन्फ़िग को HuggingFace राउटर के साथ सिंक करें — नए मॉडलों के लिए विवरण जोड़ें, reasoning-क्षमता वाले मॉडलों को फ़्लैग करें, 32B+ वाले मॉडलों के लिए आर्टिफैक्ट सक्षम करें…
custom-blocks
huggingface
Use when the user has written (or wants to write) a `ModularPipelineBlocks` subclass in a local Python file and needs to package it into a Hub-uploadable…
self-review
huggingface
Use before opening a PR, or whenever asked to self-review a diffusers contribution. Applies the same rubric as the `@claude` CI (checks the diff against…
hf-cloud-sagemaker-production-defaults
huggingface
SageMaker एंडपॉइंट (रियल-टाइम या एसिंक्रोनस) को ऑटोस्केलिंग, CloudWatch अलार्म और टैगिंग के साथ डिफ़ॉल्ट रूप से सक्षम बनाएं। इस स्किल का उपयोग तब करें जब कोई एंडपॉइंट बनाने वाला हो…
hf-cloud-serving-image-selection
huggingface
SageMaker मॉडल तैनाती के लिए सही सर्विंग कंटेनर चुनें और उसका वर्तमान इमेज URI खोजें। इस कौशल का उपयोग तब करें जब किसी मॉडल को तैनात करने वाले हों...
Hugging Face Cli
huggingface
Execute Hugging Face Hub operations using the `hf` CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create repos, manage local cache, or run compute jobs on HF infrastructure. Covers authentication, file transfers, repository creation, cache operations, and cloud compute.
Hugging Face Datasets
huggingface
हगिंग फेस हब पर डेटासेट बनाएं और प्रबंधित करें। रिपॉजिटरी आरंभ करने, कॉन्फ़िग/सिस्टम प्रॉम्प्ट परिभाषित करने, पंक्ति अपडेट स्ट्रीम करने और SQL-आधारित डेटासेट क्वेरी/रूपांतरण का समर्थन करता है। व्यापक डेटासेट वर्कफ़्लो के लिए HF MCP सर्वर के साथ काम करने के लिए डिज़ाइन किया गया।
Hugging Face Evaluation
huggingface
Hugging Face मॉडल कार्ड में मूल्यांकन परिणाम जोड़ें और प्रबंधित करें। README सामग्री से eval तालिकाएँ निकालने, Artificial Analysis API से स्कोर आयात करने, और vLLM/lighteval के साथ कस्टम मॉडल मूल्यांकन चलाने का समर्थन करता है। model-index मेटाडेटा प्रारूप के साथ काम करता है।