linkxzhou/build-your-own-x-skills/game-cpp-cavestory
Claude Code and agent skill by linkxzhou/build-your-own-x-skills
- community
Checking that the SKILL.md file is still in the repository.
Trigger when the user wants to learn, implement, debug, or extend a build-your-own project for 游戏 using C++. Use when they mention "build your own game", "用 C++ 重制 Cavestory", the source URL, or ask for a Claude Code guided implementation plan. Guides the user through a project-based learning workflow: inspect prerequisites, create or adapt a minimal project, implement milestones, run verification commands, and debug failures without simply dumping a full finished solution.
Install
npx vskill@latest install linkxzhou/build-your-own-x-skills/game-cpp-cavestorySKILL.md
The same SKILL.md was published earlier as linkxzhou/build-your-own-x-skills/game-cpp-cavestory.
用 C++ 重制 Cavestory
Use this skill as a Claude Code project coach for converting the original build-your-own tutorial into an interactive implementation experience.
Source
- Category: 游戏
- Language / stack: C++
- Original resource: https://www.youtube.com/watch?v=ETvApbD5xRo&list=PLNOBk_id22bw6LXhrGfhVwqQIa-M2MsLa
- Original status: not yet converted in README
Operating principles
- Prefer learning-by-building: explain the next small concept, then make the smallest useful code change.
- Preserve the user's existing project structure. Inspect files before editing and avoid replacing working code wholesale.
- Use tests, executable examples, or observable outputs at every milestone.
- If the user asks for a full implementation, first offer a staged path and provide complete code only for the current milestone.
- For long tutorials, load only the relevant reference section for the current milestone.
- Stay inside the project directory: every download, log, scratch file and smoke-test output goes under the project (for example
./scratch/,./logs/), never/tmp,$HOMEor another absolute path. Never install packages or create virtualenvs yourself (nopip,brew,apt,cargo,npm -g,go install, including via a venv'sbin/pip); print the command for the user instead. - Keep the final reply concise (aim for under ~60 lines) and always finish it with the checkpoint: the exact command to run and the expected output.
This source is marked as video/PDF-like material; first create a structured outline before coding.
Workflow
1. Establish context
- Identify whether the user is starting from an empty directory, continuing a partial implementation, or debugging a failing project.
- Detect the target language/toolchain. Default to C++ when the user does not specify another stack.
- Check available build tools and create a minimal runnable project only when needed.
- Read
references/tutorial-map.mdfor the milestone map before planning detailed work.
2. Plan milestones
Guide the project through these generic milestones and adapt them to the tutorial:
- Project skeleton — files, build command, first runnable program.
- Core data model — key structs/classes/types and invariants.
- Parser or input layer — commands, file formats, protocol frames, or scene/input handling.
- Core algorithm / engine — the central behavior of the project.
- Persistence / networking / rendering / runtime integration — domain-specific integration.
- Testing and diagnostics — unit tests, golden outputs, fixtures, or manual verification.
- Extensions — performance, robustness, UX, and production-readiness improvements.
3. Implement with guardrails
- Before edits, summarize the intended change and files affected.
- Keep patches small enough for the user to understand.
- Explain important design choices and tradeoffs at the point they matter.
- After each edit, run the relevant verification command when available.
- When a command fails, diagnose from the error message and fix the smallest likely cause.
4. Debugging mode
When the user provides failing tests, logs, or code:
- Reproduce or reason about the failure.
- Identify the milestone and concept involved.
- Explain the invariant being violated.
- Apply a minimal fix.
- Add or update a regression test if appropriate.
5. Converting the tutorial into a task list
When the user asks to convert, summarize, or "taskify" the original tutorial:
- Build the list from
references/tutorial-map.mdandreferences/concepts.mdfirst; they are the offline source of truth. - Fetch the original resource at most once or twice (README / table of contents only) and only if the references lack a detail. Never crawl the whole tutorial, and never download into
/tmpor anywhere outside the project directory. - Deliver promptly: write the task list (e.g.
TASKS.mdin the project) with one entry per milestone — goal, files to touch, key concept, and a verification command with expected output. - End the reply with the first runnable checkpoint (the exact command to run for milestone 1 and what the user should see).
References
references/tutorial-map.md— source-to-milestone conversion map.references/concepts.md— core concepts and implementation checklist.examples/minimal/README.md— minimal project scaffold guidance.evals/evals.json— prompts for validating this skill.
Expected outputs
Depending on the user's request, produce one of:
- A staged implementation plan.
- A minimal project scaffold.
- A focused code patch for the current milestone.
- A debugging explanation plus fix.
- A test plan and verification commands.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/game-cpp-cavestory/SKILL.md
Popularity
- Repository stars
- 21
- Repository forks
- 3
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/linkxzhou/build-your-own-x-skills/game-cpp-cavestory)