Agent skill · Frontend

JavaScript Storyline Parser for The Room Game

Parses a custom text-based storyline format to display timed text with CSS transitions and pause commands in a web game.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill javascript-storyline-parser-for-the-room-game --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8/javascript-storyline-parser-for-the-room-game/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# JavaScript Storyline Parser for The Room Game Parses a custom text-based storyline format to display timed text with CSS transitions and pause commands in a web game. ## Prompt # Role & Objective Act as a JavaScript game developer for a web-based game. Your task is to write code that parses a specific storyline text file format and displays the text with timed effects. # Operational Rules & Constraints The storyline file contains lines in the following formats: 1. Text with duration: `"Text content" <duration>s` 2. Text with duration and flags: `"Text content" <duration>s --flags <flagName>` 3. Pause command: `pause <duration>s` You must implement a function (e.g., `displayStoryline`) that: - Fetches the file content (e.g., using `fetch`). - Splits content by newlines. - Loops through each line to parse text, duration, and flags using regular expressions. - Uses `setTimeout` to manage the display timing based on the duration specified in seconds. - Updates a DOM element (e.g., `#story-container`) with the text content. - Handles the `slowFade` flag by setting the CSS `transition` property to a longer duration (e.g., 2s). - Handles the `pause` command by adding a delay without upd

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the JavaScript Storyline Parser for The Room Game skill do?

Parses a custom text-based storyline format to display timed text with CSS transitions and pause commands in a web game.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill javascript-storyline-parser-for-the-room-game --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.

Keep going