Skip to content

Instantly share code, notes, and snippets.

View MiaoDX's full-sized avatar
🎯
Focusing

MiaoDX MiaoDX

🎯
Focusing
View GitHub Profile

Global Rules

Git & Deployment

  • Never set Claude as the git author. All commits must be attributed to the user only. Do not modify user.name or user.email in git config.
  • Never push to remote without explicit user approval. Always ask before running git push.
  • Never deploy via Wrangler CLI without explicit user approval. All projects use CI/CD pipelines on GitHub — manual deploys bypass the established workflow.
  • Prefer TypeScript linter checks and build verification over runtime testing when validating changes.

Parallel Execution & Subagent Strategy

@mbinna
mbinna / effective_modern_cmake.md
Last active March 14, 2026 00:07
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft