# C++ rules

## Apply Order

1. start with `rules/common/`
2. layer `rules/cpp/` on top for ownership, ABI, and build-sensitive choices
3. consult the structured docs and examples before deviating from the promoted patterns

## Focus Areas

- ownership and lifetime discipline
- testing, build integration, and ABI-safe changes
- performance and threading-sensitive code when relevant

## Related Pack Assets

- `knowledge-bases/structured/cpp/docs/`
- `knowledge-bases/structured/cpp/examples/`
- `templates/workflows/implement-cpp-change.md`
