Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính48k · #5372

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.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/oneroster-csv-validator/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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 (.zip archives 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, and academicSessions.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

  1. The Manifest Root Authority Law:

    • manifest.csv MUST 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.1 or oneroster.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 in manifest.csv but missing from the zip, the package is rejected.
  2. 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 dateLastModified or status columns. In 1.2, all status fields MUST be active.
    • Delta Exchange Mode: Represents incremental changes. Every row MUST contain a valid ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SS.sssZ) in dateLastModified and a valid status (active or tobedeleted).
    • Mixing bulk and delta formats within the same archive is a fatal validation failure.
  3. 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 schoolSourcedId in users.csv and classes.csv MUST resolve to an existing sourcedId in orgs.csv.
    • Every courseSourcedId in classes.csv MUST resolve to courses.csv.
    • Every userSourcedId and classSourcedId in enrollments.csv MUST resolve to active primary keys in users.csv and classes.csv.
    • Zero Orphan Tolerance: A single orphan link (e.g. enrolling a deleted student ID) invalidates the batch.
  4. Strict Role Enum Constraint Axioms:

    • In users.csv: role MUST strictly match the OneRoster enum:
      • v1.1: administrator, proctor, student, teacher.
      • v1.2: adds aide, guardian, parent, staff.
    • In enrollments.csv: role is strictly constrained to administrator, proctor, student, teacher. Custom vendor roles (substitute, dean) must be mapped to valid specification enums.
    • Primary sourcedId values MUST be case-sensitively unique strings (RFC 4122 UUID format strongly recommended).
  5. 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\xBF to 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.

repo: sickn33/agentic-awesome-skills

Độ 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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự