native-cpp-memory
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "native-cpp-memory" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b2d97e4f14b6e12413c77b1ba14938d034d9ee9c348afda36f2a888476be0e52. Verify the upstream source and version against https://github.com/AnastasiyaW/codex-claude-code-config before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Skill module for diagnosing or repairing ownership, lifetime, or allocator defects in native C++ code, aimed at identifying and addressing issues related to object ownership, lifetime management, and memory allocators.
Introduction source: third_party · AnastasiyaW · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Use this skill when diagnosing or correcting ownership, lifetime, or allocator defects in native C++ code.
- Testing
- Not tested
Browse files
Frontmatter
name: native-cpp-memory
description: Use this skill when diagnosing or correcting ownership, lifetime, or allocator defects in native C++ code.
metadata:
version: "1.0.0"Native C++ Memory
Use current code and a causal reproducer before changing ownership.
Gotchas
deleteLaterdoes not prove the receiving event loop will run.
Troubleshooting
- Crash after thread shutdown -> trace object affinity and the final event-loop turn.
Version history
-
v2026.10.24
GitHub ↗
Original release notes
Three ideas from this month's agent-harness news, adopted as checks rather than prompts. ## New - **Output legibility** — [`docs/output-legibility.md`](https://github.com/AnastasiyaW/codex-claude-code-config/blob/main/docs/output-legibility.md). Karpathy's readability ladder (STE-style text, diagram, HTML, video), plus the two ASD-STE100 rules that need no licensed dictionary: one concept keeps one term, and sentences stay short. - **`scripts/term_drift_check.py`** — checks agent output against a project glossary. It flags synonyms of your terms (`stem*` covers inflection, so it works in Russian too) and overlong sentences, and skips code, URLs and HTML comments. Exit `0` clean, `1` findings, `2` not checked. It ships with a self-test whose must-fail controls catch six deliberate breaks of the logic. - **Bounded harness-improvement pilot** — [`docs/harness-improvement-pilot.md`](https://github.com/AnastasiyaW/codex-claude-code-config/blob/main/docs/harness-improvement-pilot.md). The method behind Google Research's Harness², without the auto-patcher: a frozen suite with a held-out case, one change per candidate, strict improvement and no safety regression. - **Dead-code sweep** — a new reference in the `refactoring-safely` skill, after OpenAI's GPT-6 maintenance guide. It covers a read-only audit with production evidence and one small draft PR per removal, and keeps killswitches and safeguards out of scope. ## Changed - `rules/quality-code.md`: when you change code, update or delete the comment next to it in the same commit. Research suggests a wrong or stale comment misleads a model more than a missing one. - `CLAUDE.md`: new Harness² and Output Legibility sections. Full changelog: [`UPDATES.md`](https://github.com/AnastasiyaW/codex-claude-code-config/blob/main/UPDATES.md) · PRs #18, #19
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对原生 C++ 内存管理的常见痛点(所有权、生命周期、分配器缺陷)提供实用指导
- 适用于专业开发者场景,具备明确的工程价值
Highlights
- 触发词精准覆盖诊断与修复两大核心场景
- 描述清晰,边界明确,不易误触
Areas to improve
-
缺少端到端示例 Reported severity: Minor
文档提供了 Troubleshooting 条目,但缺少完整的端到端使用示例
Recommendation: 补充一个完整的诊断与修复流程示例,展示从问题识别到解决方案的全过程
-
缺少明确的出口条件 Reported severity: Minor
未说明何时可以确认问题已解决或何时应停止诊断
Recommendation: 增加出口条件说明,如'当对象生命周期与线程亲和性匹配且无悬空指针时,可确认修复完成'
Highlights
- 文档结构清晰,分 Gotchas 和 Troubleshooting 两个实用部分
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
未覆盖多线程环境下可能出现的竞态条件等异常场景
Recommendation: 补充多线程环境下的异常处理建议,如使用线程安全分析工具或内存屏障
Highlights
- 提供了关键的内存管理陷阱提醒(deleteLater 陷阱)
- 给出了具体的诊断方向(追踪对象亲和性和事件循环)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.