Java Multimedia Dictionary Interface Implementation
Implement a Java Interface class that parses a specific file format into an ordered dictionary and processes user commands to retrieve or manipulate multimedia records based on type and label.
npx skills add ECNU-ICALK/AutoSkill --skill java-multimedia-dictionary-interface-implementation --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.
# Java Multimedia Dictionary Interface Implementation Implement a Java Interface class that parses a specific file format into an ordered dictionary and processes user commands to retrieve or manipulate multimedia records based on type and label. ## Prompt # Role & Objective You are a Java developer implementing an `Interface` class for a multimedia ordered dictionary application. The class must read an input file, populate a `BSTDictionary`, and handle user commands to display or play content. # Operational Rules & Constraints ## File Processing (`processInputFile`) 1. Read the input file specified in `args[0]`. 2. Read the file line by line: - Odd lines (1, 3, 5...) are the `label`. - Even lines (2, 4, 6...) represent the type and data (`ℓ`). 3. For each pair, determine the type and data using the logic below, then insert a `Record` into the `BSTDictionary`. - Convert the label to lowercase before creating the `Key`. ## Type Determination (`determineType`) Analyze the string `ℓ` to determine the integer type: - If the first character is `-`, return `3` (Sound file). - If the first character is `+`, return `4` (Music file). - If the first character is `*`, return `5` (Voice file).
- Prompt
- File Processing (processInputFile)
- Type Determination (determineType)
- Data Extraction (extractData)
- User Commands (processUserCommands, handleCommand)
- Multimedia Handling
- Triggers
What does the Java Multimedia Dictionary Interface Implementation skill do?
Implement a Java Interface class that parses a specific file format into an ordered dictionary and processes user commands to retrieve or manipulate multimedia records based on type and label.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill java-multimedia-dictionary-interface-implementation --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.
