ff-library-web-refactor
Use when refactoring non-Euler ff/*.ffp code into reusable ff/lib modules and when wiring libraries/examples into the web playground.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when refactoring non-Euler ff/*.ffp code into reusable ff/lib modules and when wiring libraries/examples into the web playground.
用 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-library-web-refactor |
| description | Use when refactoring non-Euler ff/*.ffp code into reusable ff/lib modules and when wiring libraries/examples into the web playground. |
Use this skill for reusable non-Euler ff/*.ffp work and web playground integration.
mise x -- ... for commands that depend on repo-managed tools such as node, bun, deno, npm, and chomp.mise install once from the repo root, then retry the command with mise x -- ....PATH.ff/<name>.ffp to ff/lib/<name>.ffp..import ./core.ff
.load ./lib/<name>.ffp
atan, atan2, atan-inv)._atan2-core).mise x -- node node/bin/ff-run.ts -t <file>.ffp
q< pops from stack into queue; q> restores in FIFO order.When adding or renaming libraries/examples used in web:
web/src/app.ts raw imports.createVirtualFiles(...) VFS map entries (for /lib/... and related files).EXAMPLES map entries for new examples.<select> options.mise x -- npm --prefix web run build
.load/.import and before definitions.