ff-math-internal-naming
Use when defining internal constants and helper words in f-flat-minor math library modules to avoid global namespace collisions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when defining internal constants and helper words in f-flat-minor math library modules to avoid global namespace collisions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Search `.agents/` durable knowledge using a local JSON index generated from markdown sources. Use `index-docs.py` to refresh search data, and optionally run docs-compile when you also want durable section index files regenerated.
Regenerate optional durable docs indexes and rebuild docs-search cache from local markdown sources. Use after editing `.agents/docs/` (any section), and before maintenance passes that validate index alignment.
Check the `.agents/` knowledge layer for duplication, contradiction, staleness, oversized guidance, broken or stale links, missing index coverage, uncategorized or misplaced knowledge, and consistency between `decisions/` and `troubleshooting/` indexes and their entry files. Use as a periodic maintenance pass.
Read a completed temporary session bundle from `.agents/sessions/` and distill durable repo knowledge into `.agents/` files. Use only after task-closeout has produced a bundle and when the goal is to separate stable guidance from temporary task notes.
Use whenever working with maintainer plans under .agents/docs/plans/. Covers reading a plan before implementation, creating or scaffolding a plan, and updating status or body during or after work. Trigger when the user asks to plan, scope deferred work, check what is planned, or record a plan. Also trigger at the start of implementation to see whether a plan already exists.
Capture the current task into a structured temporary session bundle under `.agents/sessions/` so a learning agent can later distill durable repo knowledge. Use for completed, blocked, or abandoned tasks with meaningful changes, debugging, validation, or reusable lessons.
| name | ff-math-internal-naming |
| description | Use when defining internal constants and helper words in f-flat-minor math library modules to avoid global namespace collisions. |
Use this skill when implementing internal constants and helper words in math library modules (ff/lib/math/*.ffp).
All internal definitions use the pattern: __{filename}__{name}
__) - Signals module-private/internal scope__) - Separates namespace from identifierlog.ffp__log__n: 20 ; /* number of digits for fixed-point calculations */
__log__s: 100000000000000000000 ; /* 10^n scale factor */
__log__ln2: 69314718055994530941 ; /* floor(ln(2)*10^n) */
__log__log2: 30102999566398119521 ; /* floor(log(2)*10^n) */
exp.ffp__exp__n: 150 ; /* number of digits for fixed-point calculations */
__exp__e: 2718281828459045235360287471352662497757247093699959574966967627724076630353547594571382178525166427427466391932003059921817413596629043572900334295260 ; /* floor(e*10^n) */
i, n, q) - e.g., ilog, nlog, qlog__filename__name pattern - e.g., __log__n, __exp__eFor a new module atan.ffp:
__atan__precision, __atan__piiatan, natan, qatan (following the public naming convention)_docs/supplemental/math-naming-internal.md_docs/supplemental/math-naming-convention.md