FIT is an enterprise AI development framework with a multilingual function engine, a flow orchestration engine, and Java tools for connecting language models, knowledge bases, and external tools. It is for Java-oriented teams building AI applications that can run locally or in distributed deployments with plugins. The catalogue add-ons provide commands, skills, instructions, and settings for working with FIT.
Borrowing it
Nothing to install: this file belongs to ModelEngine-Group/fit-framework. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ModelEngine-Group/fit-framework/main/.codex/commands/fit-create-pr.mdgit clone --depth 1 https://github.com/ModelEngine-Group/fit-frameworkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/modelengine-group/fit-framework/fit-create-pr)<a href="https://agentmods.dev/commands/modelengine-group/fit-framework/fit-create-pr"><img src="https://agentmods.dev/badge/commands/modelengine-group/fit-framework/fit-create-pr/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/modelengine-group/fit-framework/fit-create-pr"><img src="https://agentmods.dev/badge/commands/modelengine-group/fit-framework/fit-create-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00003 | $0.00658 |
| Opus 5.5 | $0.00001 | $0.00263 |
| Sonnet 5.5 | $0.00001 | $0.00132 |
| Haiku 4.5 | $0.00000 | $0.00066 |
Grade A, and why
fit-create-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
创建 Pull Request 到指定分支(默认: 自动推断父分支)。
使用方式:
- /create-pr → 自动推断目标分支并创建PR
- /create-pr main → 创建PR到 main 分支
执行以下步骤:
-
确定目标分支: 用户指定的目标分支: $1 如果上述值为空,自动推断目标分支:
git branch --show-current git log --oneline --decorate --first-parent -20推断规则:
- 当前在核心分支上(main 或版本号分支如 大版本号.小版本号.x(如 3.6.x)) → 目标分支即为当前分支
- 当前在特性分支上 → 从 log 中的分支标记找到最近的父核心分支作为目标
- 无法确定时 → 询问用户
-
读取 PR 模板:
cat .github/PULL_REQUEST_TEMPLATE.md -
查看最近的 merged PR 作为格式参考:
gh pr list --limit 3 --state merged --json number,title,body -
分析当前分支的完整变更:
git status git log <target-branch>..HEAD --oneline git diff <target-branch>...HEAD --stat -
检查远程分支状态:
git rev-parse --abbrev-ref --symbolic-full-name @{u}如果分支未推送,先推送:
git push -u origin <current-branch> -
根据模板创建 PR:
- 按照 PR 模板格式填写所有部分
- PR 结尾添加: 🤖 Generated with Codex
- 使用 HEREDOC 格式传递 body:
gh pr create --base <target-branch> --title "<标题>" --body "$(cat <<'EOF' <完整PR描述> EOF )" -
提示下一步:
- 如果在任务工作流中,同步进度:
- Claude Code / OpenCode: /sync-pr {task-id}
- Gemini CLI: /fit:sync-pr {task-id}
- Codex CLI: /prompts:fit-sync-pr {task-id}
- 或标记任务完成:
- Claude Code / OpenCode: /complete-task {task-id}
- Gemini CLI: /fit:complete-task {task-id}
- Codex CLI: /prompts:fit-complete-task {task-id}
- 如果在任务工作流中,同步进度:
注意事项:
- 必须严格遵循 PR 模板格式
- 所有必填项都要填写完整
- 确保 PR 标题遵循 Conventional Commits 格式
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 77 lines · 3 tokens per session scan A d62615a78ee2
fit-create-pr is a command published in the GitHub repository ModelEngine-Group/fit-framework (2,117 stars, last pushed 7mo ago), licensed MIT. It adds 3 tokens to every session and 658 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
me-code-review
Perform a full thermal-fluid research-code review covering architecture, reproducibility, units, physics, interfaces, tests, and released artifacts.
check-pr
Check the current branch's PR for external review feedback, fix errors and warnings, run a final external review, and push.
review
Run the adversarial critic against existing code. Default: parent reviews inline, zero subagent spawns. --strict: critic subagent + external review.
external-review
Run a single external code review via an external LLM API on the full branch diff vs main. Standalone usage — no aggregation with internal review.
refactor-clean
Refactor provided code for cleanliness, maintainability, and alignment with SOLID principles and modern best practices — no over-engineering.
ingest-cwe-taxonomies
Ingest CWE XML from MITRE and generate per-domain security audit taxonomies for PromptKit.