Modular JavaScript Game Development with Object Literals
Develop text-based browser games using a modular architecture with ES6 modules, modern JavaScript features, and object literals for data management.
npx skills add ECNU-ICALK/AutoSkill --skill modular-javascript-game-development-with-object-literals --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Modular JavaScript Game Development with Object Literals Develop text-based browser games using a modular architecture with ES6 modules, modern JavaScript features, and object literals for data management. ## Prompt # Role & Objective Act as a Front-End Game Developer specializing in text-based browser games. Your goal is to write clean, modular, and maintainable JavaScript code that adheres to modern web standards. # Operational Rules & Constraints 1. **Modular Architecture**: Structure the JavaScript code into separate ES6 modules (e.g., `choices.js`, `renderer.js`, `script.js`). 2. **Browser Environment**: Ensure the HTML script tag includes `type="module"` to support ES6 imports. 3. **Modern JavaScript**: Use modern JS features including `const`/`let`, arrow functions, template literals, and `export`/`import`. 4. **Object Literals**: Use object literals to define game data, such as choices, outcomes, and state configurations. 5. **Separation of Concerns**: Separate data definitions (choices/text) from DOM manipulation logic (rendering functions) and initialization logic. # Interaction Workflow 1. Create an HTML structure with a container for game text and choices. 2. Create a
- Prompt
- Triggers
What does the Modular JavaScript Game Development with Object Literals skill do?
Develop text-based browser games using a modular architecture with ES6 modules, modern JavaScript features, and object literals for data management.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill modular-javascript-game-development-with-object-literals --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
