بنقرة واحدة
doc-audit
Dedicated documentation work — OKF format, topical audits, extract-overview and inline-doc workflows
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Dedicated documentation work — OKF format, topical audits, extract-overview and inline-doc workflows
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Before writing new code — search existing implementations, topical audits, READMEs, file-header caveats
After implementing — update file headers, README, topical audits; note duplication
Navigate and debug OrbitalWar / SpaceCraft — design, truss sim, combat, radiosity, orbits; hub to docs and tests
Diagnostic plots/visualizations — shared utilities, output paths, plot style conventions
Writing new code — inventory-first, module-vs-script placement, no-new-files, STOP triggers for duplication
Building C++ (FireCore/SPFF) — build dirs, cmake targets, ASAN vs opt modes
| name | doc-audit |
| description | Dedicated documentation work — OKF format, topical audits, extract-overview and inline-doc workflows |
Two layers, built bottom-up:
doc/TopicalAudit/)Cross-language maps connecting implementations of the same scientific topic. One file per topic.
---
type: TopicalAudit
title: <Topic Name>
tags: [topic, cross-language]
---
Body:
Language | Location | Status | NotesStatus values: active, experimental, deprecated, unfinished.
type (required), title, description, tags, timestamp (optional)/path/to.md preferred)Generate concise human-readable overview from source files:
*.sh for run commands, find event bindings for GUIInsert concise standardized comments into code:
/// one-liners (Doxygen); avoid /* */"""One-line summary"""@brief above definition (C++) or docstring inside (Python)/// === AUTO-DOC BEGIN === / /// === AUTO-DOC END === (C++), # === AUTO-DOC BEGIN === / # === AUTO-DOC END === (Python) — allows safe regenerationThe goal of documentation is to convey what a reader cannot easily see from the code. Stating the obvious is lazy — documentation should contain high-context background, motivation, design rationale, and highlights that capture the essence of the file.
/// Doxygen style for C/C++ headers (not /* */)/// @file filename.h then /// @brief <one-sentence essence>/// paragraphs for: motivation, design decisions, key functions/structs,
use cases, background — only the ones relevant to this file**bold** for key terms and struct/function names within the doc- bullet lists for enumerating design choices or key functionsGood @brief:
Open-addressing hash map for spatial bucketing — optimized for box-indexed lookups.
Bad @brief:
A hash map data structure.
Good body excerpt:
Unlike std::unordered_map (separate chaining with linked lists), this uses open addressing with linear probing. The key insight: this map is designed for spatial hash tables where the key is a cell/box index (integer), not an arbitrary object.
Bad body excerpt:
This class provides methods for inserting, removing, and finding elements in a hash table. It supports generic types through templates.
doc-read-navigate — check existing implementations before writingdoc-task-summary — quick doc updates after implementation