[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79BXYDNGFBJWN036EYFBXG4":3,"skill-same:01M79BXYDNGFBJWN036EYFBXG4":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M79BXYDNGFBJWN036EYFBXG4","scorm-xapi-interoperability",null,"Implement e-learning interoperability standards including SCORM 1.2, SCORM 2004, Experience API (xAPI \u002F Tin Can), and CMI5. Author compliant imsmanifest.xml packages, handle browser-to-LMS SCORM JavaScript API communication (LMSInitialize, LMSSetValue, cmi.core.lesson_status), emit xAPI Actor-Verb-Object statements, and synchronize with Learning Record Stores (LRS). Trigger when building e-learning courses, LMS integrations, or training tracking modules.","hamzabellouch\u002Fagent-skills","hamzabellouch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F237856042?v=4","01M79BRYW7XAMK3YDWQEMTWGWS","Hamza Bellouch","01M79BRYWXQV3JK2TGVTX8GN2A",8,"MIT","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FBusiness\u002FEdTech_and_Learning_Systems\u002Fscorm-xapi-interoperability\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: scorm-xapi-interoperability\nmetadata:\n  category: EdTech and Learning Management Systems\ndescription: Implement e-learning interoperability standards including SCORM 1.2, SCORM 2004, Experience API (xAPI \u002F Tin Can), and CMI5. Author compliant imsmanifest.xml packages, handle browser-to-LMS SCORM JavaScript API communication (LMSInitialize, LMSSetValue, cmi.core.lesson_status), emit xAPI Actor-Verb-Object statements, and synchronize with Learning Record Stores (LRS). Trigger when building e-learning courses, LMS integrations, or training tracking modules.\ncompatibility: SCORM 1.2 \u002F 2004 4th Ed, xAPI 1.0.3, CMI5 specification\n---\n\n# SCORM & xAPI Interoperability Skill Guide\n\nThis skill governs standard implementation of interactive e-learning communication protocols, SCORM packaging manifests, and xAPI statement streaming to Learning Record Stores (LRS).\n\n---\n\n## 1. E-Learning Standard Architectural Comparison\n\n```text\n+-----------------------+---------------------------------------+---------------------------------------+\n| Feature               | SCORM (1.2 \u002F 2004)                   | xAPI (Tin Can) \u002F CMI5                 |\n+-----------------------+---------------------------------------+---------------------------------------+\n| Environment           | Browser iframe inside LMS only        | Anywhere (Web, Mobile, VR, Offline)   |\n| Communication         | Window JavaScript object (`API_1484`) | REST API (HTTP JSON Statements)       |\n| Data Model            | CMI data elements (pass\u002Ffail, score)  | Actor-Verb-Object + Context Extensions|\n| Storage Target        | LMS Database                          | Learning Record Store (LRS)           |\n+-----------------------+---------------------------------------+---------------------------------------+\n```\n\n---\n\n## 2. Production Code Implementations\n\n### A. SCORM 1.2 JavaScript Bridge Interface (Client-Side)\n\n```javascript\nclass SCORM12Bridge {\n  constructor() {\n    this.api = this.findLMSAPI(window);\n    this.isInitialized = false;\n  }\n\n  findLMSAPI(win) {\n    let attempts = 0;\n    while (!win.API && win.parent && win.parent !== win && attempts \u003C 10) {\n      attempts++;\n      win = win.parent;\n    }\n    return win.API || null;\n  }\n\n  initialize() {\n    if (!this.api) {\n      console.warn(\"[SCORM] No LMS API found. Running in standalone preview mode.\");\n      return false;\n    }\n    const result = this.api.LMSInitialize(\"\");\n    this.isInitialized = result === \"true\";\n    return this.isInitialized;\n  }\n\n  setScore(scoreRaw, min = 0, max = 100) {\n    if (!this.isInitialized) return;\n    this.api.LMSSetValue(\"cmi.core.score.raw\", String(scoreRaw));\n    this.api.LMSSetValue(\"cmi.core.score.min\", String(min));\n    this.api.LMSSetValue(\"cmi.core.score.max\", String(max));\n  }\n\n  completeCourse(passed = true) {\n    if (!this.isInitialized) return;\n    const status = passed ? \"passed\" : \"failed\";\n    this.api.LMSSetValue(\"cmi.core.lesson_status\", status);\n    this.api.LMSCommit(\"\");\n  }\n\n  terminate() {\n    if (!this.isInitialized) return;\n    this.api.LMSFinish(\"\");\n    this.isInitialized = false;\n  }\n}\n```\n\n### B. xAPI Statement Dispatcher to LRS (TypeScript \u002F Node.js)\n\n```typescript\nimport axios from \"axios\";\n\nexport interface XAPIStatement {\n  actor: {\n    name: string;\n    mbox: string; \u002F\u002F e.g. \"mailto:learner@example.com\"\n  };\n  verb: {\n    id: string; \u002F\u002F e.g. \"http:\u002F\u002Fadlnet.gov\u002Fexpapi\u002Fverbs\u002Fcompleted\"\n    display: { \"en-US\": string };\n  };\n  object: {\n    id: string; \u002F\u002F Activity IRI\n    definition: {\n      name: { \"en-US\": string };\n      description: { \"en-US\": string };\n    };\n  };\n  result?: {\n    score?: { scaled: number; raw: number; min: number; max: number };\n    success?: boolean;\n    completion?: boolean;\n    duration?: string; \u002F\u002F ISO 8601 duration: e.g. \"PT15M30S\"\n  };\n}\n\nexport class LRSClient {\n  constructor(\n    private readonly endpointUrl: string,\n    private readonly authKey: string,\n    private readonly authSecret: string\n  ) {}\n\n  public async sendStatement(statement: XAPIStatement): Promise\u003Cstring> {\n    const credentials = Buffer.from(`${this.authKey}:${this.authSecret}`).toString(\"base64\");\n\n    const response = await axios.post(\n      `${this.endpointUrl.replace(\u002F\\\\\u002F$\u002F, \"\")}\u002Fstatements`,\n      statement,\n      {\n        headers: {\n          \"Content-Type\": \"application\u002Fjson\",\n          \"X-Experience-API-Version\": \"1.0.3\",\n          Authorization: `Basic ${credentials}`,\n        },\n      }\n    );\n\n    return response.data[0]; \u002F\u002F Returns recorded statement UUID\n  }\n}\n```\n\n---\n\n## 3. Best Practices Checklist\n\n- [ ] **LMS API Discovery:** Always recurse through `window.parent` and `window.opener` up to 10 levels to locate the SCORM API instance in multi-frame LMS setups.\n- [ ] **Commit Frequency:** Call `LMSCommit(\"\")` only on major milestone events (chapter finish, quiz submit) to avoid overwhelming LMS backend databases.\n- [ ] **xAPI IRIs:** Use official ADL vocabulary IRIs (e.g. `http:\u002F\u002Fadlnet.gov\u002Fexpapi\u002Fverbs\u002Fpassed`) rather than ad-hoc custom verbs.\n","# SCORM & xAPI Interoperability Skill Guide\n\nThis skill governs standard implementation of interactive e-learning communication protocols, SCORM packaging manifests, and xAPI statement streaming to Learning Record Stores (LRS).\n\n---\n\n## 1. E-Learning Standard Architectural Comparison\n\n```text\n+-----------------------+---------------------------------------+---------------------------------------+\n| Feature               | SCORM (1.2 \u002F 2004)                   | xAPI (Tin Can) \u002F CMI5                 |\n+-----------------------+---------------------------------------+---------------------------------------+\n| Environment           | Browser iframe inside LMS only        | Anywhere (Web, Mobile, VR, Offline)   |\n| Communication         | Window JavaScript object (`API_1484`) | REST API (HTTP JSON Statements)       |\n| Data Model            | CMI data elements (pass\u002Ffail, score)  | Actor-Verb-Object + Context Extensions|\n| Storage Target        | LMS Database                          | Learning Record Store (LRS)           |\n+-----------------------+---------------------------------------+---------------------------------------+\n```\n\n---\n\n## 2. Production Code Implementations\n\n### A. SCORM 1.2 JavaScript Bridge Interface (Client-Side)\n\n```javascript\nclass SCORM12Bridge {\n  constructor() {\n    this.api = this.findLMSAPI(window);\n    this.isInitialized = false;\n  }\n\n  findLMSAPI(win) {\n    let attempts = 0;\n    while (!win.API && win.parent && win.parent !== win && attempts \u003C 10) {\n      attempts++;\n      win = win.parent;\n    }\n    return win.API || null;\n  }\n\n  initialize() {\n    if (!this.api) {\n      console.warn(\"[SCORM] No LMS API found. Running in standalone preview mode.\");\n      return false;\n    }\n    const result = this.api.LMSInitialize(\"\");\n    this.isInitialized = result === \"true\";\n    return this.isInitialized;\n  }\n\n  setScore(scoreRaw, min = 0, max = 100) {\n    if (!this.isInitialized) return;\n    this.api.LMSSetValue(\"cmi.core.score.raw\", String(scoreRaw));\n    this.api.LMSSetValue(\"cmi.core.score.min\", String(min));\n    this.api.LMSSetValue(\"cmi.core.score.max\", String(max));\n  }\n\n  completeCourse(passed = true) {\n    if (!this.isInitialized) return;\n    const status = passed ? \"passed\" : \"failed\";\n    this.api.LMSSetValue(\"cmi.core.lesson_status\", status);\n    this.api.LMSCommit(\"\");\n  }\n\n  terminate() {\n    if (!this.isInitialized) return;\n    this.api.LMSFinish(\"\");\n    this.isInitialized = false;\n  }\n}\n```\n\n### B. xAPI Statement Dispatcher to LRS (TypeScript \u002F Node.js)\n\n```typescript\nimport axios from \"axios\";\n\nexport interface XAPIStatement {\n  actor: {\n    name: string;\n    mbox: string; \u002F\u002F e.g. \"mailto:learner@example.com\"\n  };\n  verb: {\n    id: string; \u002F\u002F e.g. \"http:\u002F\u002Fadlnet.gov\u002Fexpapi\u002Fverbs\u002Fcompleted\"\n    display: { \"en-US\": string };\n  };\n  object: {\n    id: string; \u002F\u002F Activity IRI\n    definition: {\n      name: { \"en-US\": string };\n      description: { \"en-US\": string };\n    };\n  };\n  result?: {\n    score?: { scaled: number; raw: number; min: number; max: number };\n    success?: boolean;\n    completion?: boolean;\n    duration?: string; \u002F\u002F ISO 8601 duration: e.g. \"PT15M30S\"\n  };\n}\n\nexport class LRSClient {\n  constructor(\n    private readonly endpointUrl: string,\n    private readonly authKey: string,\n    private readonly authSecret: string\n  ) {}\n\n  public async sendStatement(statement: XAPIStatement): Promise\u003Cstring> {\n    const credentials = Buffer.from(`${this.authKey}:${this.authSecret}`).toString(\"base64\");\n\n    const response = await axios.post(\n      `${this.endpointUrl.replace(\u002F\\\\\u002F$\u002F, \"\")}\u002Fstatements`,\n      statement,\n      {\n        headers: {\n          \"Content-Type\": \"application\u002Fjson\",\n          \"X-Experience-API-Version\": \"1.0.3\",\n          Authorization: `Basic ${credentials}`,\n        },\n      }\n    );\n\n    return response.data[0]; \u002F\u002F Returns recorded statement UUID\n  }\n}\n```\n\n---\n\n## 3. Best Practices Checklist\n\n- [ ] **LMS API Discovery:** Always recurse through `window.parent` and `window.opener` up to 10 levels to locate the SCORM API instance in multi-frame LMS setups.\n- [ ] **Commit Frequency:** Call `LMSCommit(\"\")` only on major milestone events (chapter finish, quiz submit) to avoid overwhelming LMS backend databases.\n- [ ] **xAPI IRIs:** Use official ADL vocabulary IRIs (e.g. `http:\u002F\u002Fadlnet.gov\u002Fexpapi\u002Fverbs\u002Fpassed`) rather than ad-hoc custom verbs.\n",{"name":5,"metadata":24,"description":7,"compatibility":26},{"category":25},"EdTech and Learning Management Systems","SCORM 1.2 \u002F 2004 4th Ed, xAPI 1.0.3, CMI5 specification","main","e905af21e5f1e1c3ca605e9656c3a7930360a84e","Business\u002FEdTech_and_Learning_Systems\u002Fscorm-xapi-interoperability",1,"https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills","https:\u002F\u002Fhamzabellouch.github.io\u002F","https:\u002F\u002Fgithub.com\u002Fhamzabellouch","hamzabellouch.github.io","CEO & Founder of @tknoglobal | Researcher in Technology & Applied Sciences.","2026-10-17 03:20:19",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add hamzabellouch\u002Fagent-skills --skill scorm-xapi-interoperability",{"tool":43,"command":44},"bunx","bunx skills add hamzabellouch\u002Fagent-skills --skill scorm-xapi-interoperability",{"tool":46,"command":47},"pnpm","pnpm dlx skills add hamzabellouch\u002Fagent-skills --skill scorm-xapi-interoperability","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FBusiness\u002FEdTech_and_Learning_Systems\u002Fscorm-xapi-interoperability\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M79FHH2H815A9TAP6WNKH4Q8","security-audit","Comprehensive security guidance, source code audit, vulnerability assessment, and penetration test review for codebases, APIs, microservices, CLI tools, libraries, and LLM-backed applications. Triggers on requests to audit a codebase, conduct security reviews, find vulnerabilities or flaws, pen-test source code, or when the user asks in Arabic (فحص أمني، تدقيق الكود أمنياً، مراجعة الثغرات، فحص أمان المشروع). Supports Guidance mode (focused review) and Full Audit mode (deterministic 6-phase harness).","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FSecurity_Audit_and_Code_Review\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79FHBGXVBY6VQ1X7ETAZMF1","malware-analysis-reversing","Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static\u002Fdynamic binary analysis, memory forensics, and YARA detection rule authoring.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fmalware-analysis-reversing\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79FH6EACDR801TZCE4R8SAC","application-security-pentesting","Production Application Security (AppSec) standards, OWASP Top 10 vulnerability remediation, SAST\u002FDAST pipeline integration, secure code review, threat modeling, and defensive security posture.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fapplication-security-pentesting\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79FH0VKVT44FK923K520ZQA","oauth2-oidc-security-flows","Implement enterprise OAuth 2.1 and OpenID Connect (OIDC) authorization code flow with Proof Key for Code Exchange (PKCE), state and nonce verification, refresh token rotation, token revocation, and centralized IdP federation (Keycloak, Auth0, Okta). Trigger when building secure authentication, single sign-on (SSO), or third-party delegated authorization.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Foauth2-oidc-security-flows\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79FGVVB3R4T88XXD8FRSV5B","jwt-session-management-hardening","Harden JWT-based authentication and session lifecycles using asymmetric signing (RS256\u002FEdDSA), JWKS rotation, strict claims validation, Redis-backed sliding window sessions, revocation lists, and secure HttpOnly cookie storage. Trigger when implementing token validation, session revocation, or hardening API authentication.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Fjwt-session-management-hardening\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79FGNCPZ85CVEY0B3NE4H3B","soc2-compliance-automation","Best practices for implementing SOC 2 Type II compliance controls, continuous evidence collection, infrastructure policy-as-code, and automated security monitoring. Use when automating Trust Services Criteria (Security, Availability, Confidentiality, Processing Integrity, Privacy), audit logging, IAM least privilege, or CI\u002FCD security gates.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FGovernance_Compliance_and_Legal_Tech\u002Fsoc2-compliance-automation\u002FSKILL.md",[],[]]