fit-framework: Skill for Claude Code

.agents/skills/create-pr/SKILL.md

create-pr is a skill for Claude Code, Codex from ModelEngine-Group/fit-framework. It costs 42 tokens per session (317 once invoked), scanned A, original, MIT.

A guide for creating a GitHub Pull Request, which is a request to merge code changes into another branch. It covers choosing the target branch, following the repository's template, and using the expected title format.

In plain words
What is it for?
It helps inspect branches and recent changes, read the pull-request template, compare recent merged requests, push an unpushed branch, and create the request.
Why use it?
It removes the manual checks needed before opening a consistent, reviewable request to merge code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is ModelEngine-Group/fit-framework's own configuration. It tells Claude Code and Codex how to work on fit-framework itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fit-framework configures →

About the project

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.

ModelEngine-Group/fit-framework · 2,117 stars · on GitHub · modelengine-ai.net

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/ModelEngine-Group/fit-framework/main/.agents/skills/create-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ModelEngine-Group/fit-framework

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for create-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/modelengine-group/fit-framework/create-pr/github.svg)](https://agentmods.dev/skills/modelengine-group/fit-framework/create-pr)
Your own site
<a href="https://agentmods.dev/skills/modelengine-group/fit-framework/create-pr"><img src="https://agentmods.dev/badge/skills/modelengine-group/fit-framework/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.

agentmods 80×15 button for create-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/modelengine-group/fit-framework/create-pr"><img src="https://agentmods.dev/badge/skills/modelengine-group/fit-framework/create-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00317
Opus 5.5 $0.00017 $0.00127
Sonnet 5.5 $0.00008 $0.00063
Haiku 4.5 $0.00004 $0.00032

Measured 2mo ago against content hash bd43945db798, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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.

.agents/skills/create-pr/SKILL.md · 37 lines

What it actually says

创建 Pull Request

执行步骤

  1. 确定目标分支: 如果用户指定了目标分支则使用该分支,否则自动推断:

    git branch --show-current
    git log --oneline --decorate --first-parent -20
    

    推断规则:

    • 当前在核心分支上(main 或版本号分支如 3.6.x) -> 目标分支即为当前分支
    • 当前在特性分支上 -> 从 log 中找到最近的父核心分支
  2. 读取 PR 模板:

    cat .github/PULL_REQUEST_TEMPLATE.md
    
  3. 查看最近的 merged PR 作为格式参考:

    gh pr list --limit 3 --state merged --json number,title,body
    
  4. 分析当前分支的完整变更。

  5. 检查远程分支状态,如果未推送则先推送。

  6. 创建 PR,结尾添加: 🤖 Generated with Codex

注意: 严格遵循 PR 模板格式,确保 PR 标题遵循 Conventional Commits 格式。

Changes

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.

  1. 2mo ago First seen · 37 lines · 42 tokens per session scan A bd43945db798

Subscribe to this mod's changes

create-pr is a skill published in the GitHub repository ModelEngine-Group/fit-framework (2,117 stars, last pushed 7mo ago), licensed MIT. It adds 42 tokens to every session and 317 once invoked, about $0.0002 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.