formula-healer
Skill2 starsChanged 39 days agoMITView on GitHub
Repair paired standalone math delimiters while preserving Markdown structure.
In this repository15 other files it gives its agents.
- notemdproSkill
- batch-processorSkill
- concept-extractorSkill
- content-generatorSkill
- diagram-generatorSkill
- link-analyzerSkill
- mermaid-healerSkill
- mermaid-summarizerSkill
- qa-extractorSkill
- selection-processorSkill
- system-architectureSkill
- test-driven-developmentSkill
- text-translatorSkill
- web-researcherSkill
- workflow-runnerSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use the bundled formulaFixer.ts from a complete repository checkout after npm ci.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Formula healer
English
Use the bundled formulaFixer.ts from a complete repository checkout after npm ci. Installing this skill alone installs instructions; it does not install the repository's shared TypeScript runtime.
fixFormulaFormats(content)returns a string. It promotes paired standalone$lines to$$outside frontmatter and fenced code. Existing display math, inline math, escaped currency and unmatched delimiters remain unchanged.fixFormulaFormatsInFile(filePath, reporter?)returns whether the file changed. It accepts a regular filesystem path, not an Obsidian App/TFile pair. File failures propagate; unchanged files are not written.batchFixFormulaFormatsInFolder(folderPath, reporter?)visits Markdown/text files recursively and returnsmodifiedCount,processedCount,cancelled, and per-fileerrors. It does not follow symbolic links. The optional reporter exposeslog,updateStatus, and a readablecancelledproperty.
Confirm the authorized files, read them, apply the helper, review the diff and report every failure. Preserve BOM and line endings. Never interpret a cancelled batch as completed. Validate with npm test and npm run typecheck; tests use isolated temporary files.
中文
在完整仓库中运行 npm ci 后使用随附的 formulaFixer.ts。单独安装此技能只安装操作说明,不会安装仓库共享的 TypeScript 运行代码。
fixFormulaFormats(content)返回字符串。仅将 frontmatter 和围栏代码之外成对的独立$行改为$$,保留既有显示公式、行内公式、转义金额及未配对分隔符。fixFormulaFormatsInFile(filePath, reporter?)返回文件是否改变。参数为普通文件路径,不再使用 Obsidian App/TFile。文件错误继续抛出;内容不变时不写入。batchFixFormulaFormatsInFolder(folderPath, reporter?)递归处理 Markdown/文本文件,返回modifiedCount、processedCount、cancelled和逐文件errors,不跟随符号链接。可选 reporter 提供log、updateStatus和可读取的cancelled属性。
确认已获授权的文件,读取并应用工具,审阅差异,报告每项失败。保留 BOM 与换行格式,不把已取消批次报告为完成。运行 npm test 和 npm run typecheck;测试使用隔离的临时文件。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

