test-integration

A procedure for running integration tests in the FIT Framework. Integration tests check that multiple parts work together by starting the service and calling its interfaces.

In plain words
What is it for?
Use it after a Maven build to start the FIT service, check port 8080, test /actuator/health and /actuator/plugins, verify /openapi.html, and stop the service.
Why use it?
It verifies the built service in a running environment instead of testing only individual pieces of code. It also checks the service health, plugin list, and API documentation before cleaning up.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/modelengine-group/fit-framework/test-integration
Any agent
npx skills add ModelEngine-Group/fit-framework --skill test-integration
Clone the repo
git clone --depth 1 https://github.com/ModelEngine-Group/fit-framework

Made for: Claude Code, Codex.

Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 413 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00040 $0.00413
Opus 5 $0.00020 $0.00206
Sonnet 5 $0.00008 $0.00083
Haiku 4.5 $0.00004 $0.00041

Measured 2d ago against content hash 4e08c16b0f51, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

test-integration 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 2d 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/test-integration/SKILL.md · 62 lines

What it actually says

执行集成测试

前置条件

需要先完成 Maven 构建,确保 build/ 目录存在。如果还没有构建,请先使用 test skill 执行完整构建。

执行方式

按以下步骤顺序执行:

步骤 1:验证构建产物

if [ ! -d "build" ]; then
    echo "错误: 构建产物不存在,请先执行完整测试流程"
    exit 1
fi

步骤 2:加载公共脚本并初始化环境

source .agents/scripts/fit-service.sh
init_log_dir
init_plugin_dir

步骤 3:启动 FIT 服务

start_fit_service

步骤 4:执行所有验证

verify_all
test_result=$?

步骤 5:清理测试环境

cleanup false
exit $test_result

测试内容

  1. 检查构建产物是否存在
  2. 启动 FIT 服务(自动等待健康检查,最多 60 秒)
  3. 验证健康检查接口 /actuator/health
  4. 验证插件列表接口 /actuator/plugins
  5. 验证 Swagger 文档页面 /openapi.html
  6. 停止服务并清理临时文件

注意事项

  1. 必须先完成构建,确保 build/ 目录存在
  2. 确保 8080 端口未被占用
  3. 预计时间:约 1-2 分钟(不包含构建时间)
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. 2d ago First seen · 62 lines · 40 tokens per session scan A 4e08c16b0f51

Subscribe to this mod's changes

test-integration is a skill published in the GitHub repository ModelEngine-Group/fit-framework (2,117 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 413 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

reviewable-design-doc

要求・設計・アーキテクチャ・未決事項を整理し、レビュー可能な設計資料HTMLを作りたい時に使う。Use this skill to structure requirements, design, architecture, alternatives, decisions, and unresolved issues into a review-ready HTML design document. レビュー完了後はHTMLコメントを読み込み、設計へ反映し、確認が必要な場合はHTMLコメントスレッドへagent返信を書き戻す。Triggers: レビュー可能な設計資料, 設計資料をHTMLで, design doc…

u-ichi/reviewable-html-workbench · 236 tokens

review-persistence-security-resources

Normative reviewer for persistence, settings, secrets, logging hygiene, resources, caches, cross-platform behavior and long-lived state in the explyt/spring-plugin IntelliJ plugin. Use when reviewing changes that touch PersistentStateComponent, settings UI, credentials, caches, service fields, logging, file paths…

explyt/spring-plugin · 83 tokens

review-psi-vfs-indexing

Normative reviewer for PSI lifecycle, VFS, indexing, UAST, references, inspections, intentions and PSI performance traps in the explyt spring-plugin. Use during orchestrated code review when the diff touches PsiElement handling, VirtualFile processing, caches, indexes, completion contributors, inspections, line…

explyt/spring-plugin · 73 tokens

coding-guard

Compact coding guidelines for the explyt/spring-plugin repository - covers process rules (think first, simplicity, surgical changes), module layout, IntelliJ Platform threading and PSI rules, inspection and test conventions, message bundles, statistics tracking, and PR hygiene. You must call this skill before any code…

explyt/spring-plugin · 67 tokens

review-statistic-coverage

Usage-statistics coverage check for explyt/spring-plugin code reviews — verify that new user-visible features (quick fixes, intentions, gutter actions, completions, actions, tool-window controls, wizard steps) register usage via StatisticService and StatisticActionId. Use when reviewing a diff or PR that adds or…

explyt/spring-plugin · 85 tokens

github-bugs-triage

Triages the open bug queue of the explyt/spring-plugin GitHub repository: fetches the oldest open plugin-bug and compatibility issues, refines titles, suggests labels and priorities with evidence, detects duplicates, and writes a structured triage table. Use when asked to triage spring-plugin bugs, review the bug…

explyt/spring-plugin · 79 tokens