{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "momozi1996-awesome-chinese-folk-game--validate-new-case-content-before-pr",
 "repo": "momozi1996/awesome-chinese-folk-game",
 "repo_url": "https://github.com/momozi1996/awesome-chinese-folk-game",
 "repo_slug": "momozi1996-awesome-chinese-folk-game",
 "title": "Check new case content before opening a pull request",
 "page_title": "How to check new case content before opening a pull request with Awesome Chinese Folk Game",
 "summary": "Run the content validator and both test suites on a local clone before submitting a new case.",
 "who": "A contributor writing a new folk mystery case who needs to confirm the content passes validation before sending a pull request.",
 "problem": "Broken clue reachability, mismatched serial case links, or invalid frontmatter can slip into a case unnoticed and break play.",
 "outcome": "The contributor knows whether the content check, the Python unit tests, and the JavaScript engine test all pass, and can fix problems before submitting.",
 "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."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Games and hobbies",
 "tags": [
  "Games and hobbies"
 ],
 "lang": "javascript",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/momozi1996-awesome-chinese-folk-game/validate-new-case-content-before-pr/",
 "md": "https://dedupedai.com/use-cases/momozi1996-awesome-chinese-folk-game/validate-new-case-content-before-pr/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/momozi1996-awesome-chinese-folk-game--validate-new-case-content-before-pr.json",
 "api_version": "v1"
}
