·model-first-reasoning
</>

model-first-reasoning

将模型优先推理 (MFR) 应用于代码生成任务。当用户请求“模型优先”、“MFR”、“编码前形式化建模”、“模型然后实现”时,或者当任务涉及复杂逻辑、状态机、约束系统或任何需要形式正确性保证的实现时使用。强制建模和实现阶段严格分离。

4安装·0热度·@petekp

安装

$npx skills add https://github.com/petekp/claude-skills --skill model-first-reasoning

如何安装 model-first-reasoning

通过命令行快速安装 model-first-reasoning AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/petekp/claude-skills --skill model-first-reasoning
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:petekp/claude-skills。

SKILL.md

查看原文

A rigorous methodology that REQUIRES constructing an explicit problem MODEL before any reasoning or implementation. The model becomes a frozen contract that governs all downstream work.

Based on Kumar & Rana (2025), "Model-First Reasoning LLM Agents: Reducing Hallucinations through Explicit Problem Modeling" (arXiv:2512.14474)

Hallucination is not merely the generation of false statements—it is a symptom of reasoning performed without a clearly defined model of the problem space.

将模型优先推理 (MFR) 应用于代码生成任务。当用户请求“模型优先”、“MFR”、“编码前形式化建模”、“模型然后实现”时,或者当任务涉及复杂逻辑、状态机、约束系统或任何需要形式正确性保证的实现时使用。强制建模和实现阶段严格分离。 来源:petekp/claude-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/petekp/claude-skills --skill model-first-reasoning
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-11

Browse more skills from petekp/claude-skills

快速解答

什么是 model-first-reasoning?

将模型优先推理 (MFR) 应用于代码生成任务。当用户请求“模型优先”、“MFR”、“编码前形式化建模”、“模型然后实现”时,或者当任务涉及复杂逻辑、状态机、约束系统或任何需要形式正确性保证的实现时使用。强制建模和实现阶段严格分离。 来源:petekp/claude-skills。

如何安装 model-first-reasoning?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/petekp/claude-skills --skill model-first-reasoning 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/petekp/claude-skills