yagames-integration

Audit, implement, test, and document Yandex Games SDK integration for JavaScript and TypeScript HTML5 games.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/softmg/hop-and-fill --skill yagames-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yagames-integration
Source: https://github.com/softmg/hop-and-fill/tree/main/.agents/skills/yagames-integration
Command: npx skills add https://github.com/softmg/hop-and-fill --skill yagames-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill helps teams audit, implement, and verify Yandex Games SDK integration across JavaScript/TypeScript HTML5 games, saving time and reducing misconfigurations.

Core Features & Use Cases

  • Integrated SDK loading: Ensure YaGames.loader is loaded before use and that initialization occurs after loader readiness.
  • Lifecycle & APIs: Align Game Ready, GameplayAPI, and other surface calls with actual gameplay and CSP constraints, including cloud saves and localization.
  • Verification & Packaging: Validate the release archive, build outputs, and CSP policy, following the platform checklist for moderation readiness.

Quick Start

Audit, implement, and validate the Yandex Games integration end-to-end in your project.

Frequently Asked Questions about yagames-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate the Yandex Games SDK into an HTML5 game?

Yandex Games SDK integration requires loading the YaGames.loader script, initializing the SDK after loader readiness, and aligning lifecycle events like Game Ready with actual gameplay. You must also configure cloud saves, localization, and ads before validating the release archive for moderation.

Does the Yandex Games SDK work with TypeScript projects?

Yes, the Yandex Games SDK supports both JavaScript and TypeScript HTML5 browser games. The integration process applies across different frameworks and hosting layouts, ensuring correct SDK loading, lifecycle events, and API calls regardless of your chosen web technology stack.

What do I need to check before publishing a Yandex Games HTML5 release?

Before publishing a Yandex Games release, you must verify build outputs, CSP policy compliance, and the release archive against the platform checklist. This ensures moderation readiness by validating correct SDK loading, lifecycle events, cloud saves, leaderboards, purchases, and packaging.

Why is my Yandex Games SDK initialization failing during gameplay?

Yandex Games SDK initialization fails when the YaGames.loader is not fully loaded or initialized before use. You must ensure the loader is ready before calling initialization, and align Game Ready and GameplayAPI surface calls with actual gameplay states and CSP constraints.

How do I configure Content Security Policy for Yandex Games integration?

Configuring CSP for Yandex Games integration involves aligning your Content Security Policy constraints with SDK loading and gameplay API calls. The integration process validates CSP readiness alongside cloud saves, leaderboards, and purchases to satisfy baseline platform checks for moderation approval.

Can I use Yandex Games SDK across different HTML5 frameworks?

Yes, the Yandex Games SDK applies across various frameworks and hosting layouts for JavaScript and TypeScript HTML5 browser games. The integration workflow ensures consistent SDK loading, lifecycle events, localization, and cloud saves regardless of the specific framework used.