Who it is forA contributor writing a new folk mystery case who needs to confirm the content passes validation before sending a pull request.
The problemBroken clue reachability, mismatched serial case links, or invalid frontmatter can slip into a case unnoticed and break play.
The outcomeThe contributor knows whether the content check, the Python unit tests, and the JavaScript engine test all pass, and can fix problems before submitting.
What you need first
- A web browser, for the no-Python route
- Python 3.9 or newer, for the launcher route (standard library only)
- git, optional, for cloning the repository
- Node.js, only if you want to run the JavaScript engine test
Steps
- Clone the repository with
git clone https://github.com/momozi1996/awesome-chinese-folk-game.git. - Enter the folder with
cd awesome-chinese-folk-game. - Run the read-only content check with
python3 -m src.folk_parser check. - Run the Python unit tests with
python3 -m unittest discover -s tests. - Run the JavaScript engine test with
node tests/engine.cjs, then fix any failures before opening a pull request.
Prompt for your agent
In the local clone of momozi1996/awesome-chinese-folk-game at <repo-path>, run python3 -m src.folk_parser check, python3 -m unittest discover -s tests, and node tests/engine.cjs. Report pass or fail for each command, with the first error message for any failure. Verify that the check command makes no file changes by comparing git status before and after.
Caveat. A new playable case must have its own characters, timeline, clues, failure feedback, and full playthrough verification, not just a renamed entry from the reference library, as the README requires.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for momozi1996/awesome-chinese-folk-game and "Check new case content before opening a pull request"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer