oneroster-csv-validator
Skill này làm gì
AI agent này kiểm tra xem các tệp danh sách học sinh (định dạng CSV) của bạn có đúng hay không trước khi gửi đến các hệ thống như Clever hoặc ClassLink. Nó đảm bảo mọi thông tin được liên kết đúng và định dạng tuân theo chuẩn OneRoster.
Khi nào nên dùng
- ✓Khi hệ thống Clever từ chối tệp học sinh của bạn.
- ✓Khi cần kiểm tra lỗi liên kết giữa học sinh và lớp học.
- ✓Khi bạn chuẩn bị gửi dữ liệu, để đảm bảo sẽ không có vấn đề gì.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/oneroster-csv-validator/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy kiểm tra tệp học sinh OneRoster của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent so sánh các tệp CSV khác nhau tạo nên danh sách học sinh. Nó kiểm tra mã học sinh, giáo viên và lớp học có đúng không, và các tệp có tuân theo quy tắc chuẩn OneRoster hay không.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
OneRoster CSV Validator: Strict 1EdTech Data Integrity & Pre-Flight Linter
Perform rigorous pre-flight validation on OneRoster v1.1 and v1.2 CSV roster bundles prior to SIS/Clever/ClassLink ingestion: audit foreign key referential integrity, eliminate orphan enrollments, enforce bulk vs delta partitioning, and sanitize encoding traps.
When to Use This Skill
Activate this skill when:
- Validating or debugging student information system (SIS) roster export packages (
.ziparchives or CSV directories) for OneRoster v1.1 or v1.2 compliance. - The user asks: "Why is Clever rejecting our OneRoster zip file?", "Check for orphaned userSourcedIds in enrollments.csv", "Validate bulk vs delta mode in OneRoster CSVs", or "Sanitize UTF-8 BOM characters from school rosters".
- Auditing relational integrity across
manifest.csv,orgs.csv,users.csv,courses.csv,classes.csv,enrollments.csv, andacademicSessions.csv. - Preparing automated pre-flight CI/CD pipelines to catch corrupted student or teacher records before nightly SIS sync runs.
Do NOT use this skill when:
- Integrating OneRoster REST / OAuth 2.0 API endpoints (this skill focuses strictly on CSV table bindings).
- Generating synthetic or fabricated student PII without authorization.
- Working on generic non-standard CSV spreadsheets that do not follow 1EdTech specifications.
Core Mental Models & Non-Negotiable Rules
The Manifest Root Authority Law:
manifest.csvMUST reside strictly at the root level of the ZIP archive (never nested inside a subfolder).- It MUST declare the exact specification version:
oneroster.version,1.1oroneroster.version,1.2. - It MUST list every single file present in the exchange. If a CSV file is present in the archive but omitted from
manifest.csv, or listed inmanifest.csvbut missing from the zip, the package is rejected.
The Strict Bulk vs Delta Partition:
- One exchange bundle = strictly ONE operational mode.
- Bulk Exchange Mode: Represents a complete master snapshot. In OneRoster 1.1, rows MUST NOT contain
dateLastModifiedorstatuscolumns. In 1.2, all status fields MUST beactive. - Delta Exchange Mode: Represents incremental changes. Every row MUST contain a valid ISO 8601 UTC timestamp (
YYYY-MM-DDTHH:MM:SS.sssZ) indateLastModifiedand a valid status (activeortobedeleted). - Mixing bulk and delta formats within the same archive is a fatal validation failure.
The Foreign Key Referential Integrity Hierarchy:
- Relational dependency chain: $$\mathbf{orgs.csv} \longleftarrow \mathbf{courses.csv} \longleftarrow \mathbf{classes.csv} \longleftarrow \mathbf{enrollments.csv} \longrightarrow \mathbf{users.csv}$$
- Every
schoolSourcedIdinusers.csvandclasses.csvMUST resolve to an existingsourcedIdinorgs.csv. - Every
courseSourcedIdinclasses.csvMUST resolve tocourses.csv. - Every
userSourcedIdandclassSourcedIdinenrollments.csvMUST resolve to active primary keys inusers.csvandclasses.csv. - Zero Orphan Tolerance: A single orphan link (e.g. enrolling a deleted student ID) invalidates the batch.
Strict Role Enum Constraint Axioms:
- In
users.csv:roleMUST strictly match the OneRoster enum:- v1.1:
administrator,proctor,student,teacher. - v1.2: adds
aide,guardian,parent,staff.
- v1.1:
- In
enrollments.csv:roleis strictly constrained toadministrator,proctor,student,teacher. Custom vendor roles (substitute,dean) must be mapped to valid specification enums. - Primary
sourcedIdvalues MUST be case-sensitively unique strings (RFC 4122 UUID format strongly recommended).
- In
RFC 4180 CSV & UTF-8 BOM Sanitization:
- Files MUST be encoded in UTF-8 without Byte Order Mark (BOM).
- Microsoft Excel frequently prepends
\xEF\xBB\xBFto CSV exports, corrupting the first column name (sourcedId$\neq$sourcedId). - Fields containing commas, double-quotes, or newlines MUST be enclosed in double quotes (
"). Literal quotes inside fields must be escaped as"".
Named Sins & Anti-Patterns (Что категорически ЗАПРЕЩЕНО)
| Anti-Pattern | Manifestation in CSV Packages | Mandatory Production Counter-Rule |
|---|---|---|
| Nested Archive Packaging | Zipping a parent folder (district_roster/manifest.csv). |
Manifest and CSVs MUST reside at the archive root (/manifest.csv). |
…
Câu hỏi thường gặp
Chuẩn OneRoster là gì?
Đây là định dạng chuẩn để trao đổi thông tin học sinh giữa các hệ thống trường học khác nhau.
“Tệp mồ côi” (orphan files) là gì?
Đây là những thông tin không được liên kết đúng với một học sinh hoặc lớp học nào đang tồn tại.
Vì sao tệp cần ở định dạng UTF-8 không có BOM?
Đây là chuẩn mã hóa văn bản giúp tránh lỗi khi đọc các ký tự đặc biệt và đảm bảo tên cột được nhận diện đúng.
Chi tiết
Mô tả gốc của tác giả
Validates 1EdTech / IMS Global OneRoster v1.1 and v1.2 CSV roster sets: manifest integrity, bulk vs delta strictness, foreign key references, and encoding sanitization. Trigger phrases: oneroster csv validator, validate oneroster zip, clever roster error, oneroster sourcedid.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5372
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.