with one click
document
Documentation style guide and rules for creating documentation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Documentation style guide and rules for creating documentation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Build and test the libuipc project using XMake. Use when building with xmake, running xmake f / xmake build / xmake run commands, selecting release/releasedbg/debug modes, or running Catch2 tests produced by xmake.
Build and test the libuipc project using CMake. Use when building the project, running cmake configure/build commands, compiling with RelWithDebInfo, running Catch2 tests, or when the user asks how to build or test libuipc.
General simulation development best practices for correctness, stability, and debuggability. Use when implementing or modifying simulation systems, solvers, constraints, or GPU kernels, especially for index safety, NaN/Inf issues, and diagnostics.
Review a libuipc pull request end-to-end: checkout the PR, summarize changes, list files for the human reviewer, and perform a domain-aware AI review covering physics correctness, backend architecture, C++ style, GPU code, and Python bindings. Optionally post review comments via `gh`. Use when the user provides a PR number, asks to review a PR, or wants to inspect a libuipc GitHub PR.
Push a version tag and optionally create a GitHub release
Conventional commit message format and rules for this project
| name | document |
| description | Documentation style guide and rules for creating documentation |
Documentation style varies by type. Follow these principles for consistency.
docs/specification/)Purpose: Formal mathematical reference for constitutions, geometries, and core concepts.
Rules:
$$ for display, $ for inline) extensively## #12 Hookean Spring[link text](./file.md)Example:
# Hookean Spring
**Hookean Spring** is a constitutive model for simulating linear elastic springs.
## #12 Hookean Spring
$$
E = \frac{\kappa}{2} \epsilon^2 = \frac{\kappa}{2} \left(\frac{L - L_0}{L_0}\right)^2
$$
where:
- $\kappa$ is the spring constant
- $L_0$ is the rest length
docs/tutorial/)Purpose: User-friendly guides with code examples.
Rules:
=== "C++"
\`\`\`cpp
// code
\`\`\`
=== "Python"
\`\`\`python
# code
\`\`\`
Example:
=== "C++"
\`\`\`cpp
using namespace uipc::core;
Scene scene;
\`\`\`
=== "Python"
\`\`\`python
from uipc.core import *
scene = Scene()
\`\`\`
docs/specification/*_uid.md)Purpose: Technical reference for identifiers and ranges.
Rules:
Example:
# Constitution UID
64-bit unsigned integer. Official range: $[0, 2^{32}-1]$. User-defined: $[2^{32}, 2^{64}-1]$.
docs/build_install/)Purpose: Step-by-step build instructions.
Rules:
shell, bash, powershellExample:
| Name | Version | Usage | Import |
|------|---------|-------|--------|
| [CMake](https://cmake.org/) | >=3.26 | build system | system install |
\`\`\`shell
git clone https://github.com/microsoft/vcpkg.git
\`\`\`
$$ for display, $ for inline. Define variables after formulas. Use bold for vectors: $\mathbf{x}$[text](./file.md). Link to related docs and external resourcesmedia/ subdirectories. Use SVG. Reference: # title, ## sections, ### subsections