Agent skill

Rust Project Validate

by bifrost-proxy in bifrost-proxy/bifrost

运行 cargo fmt/clippy/build/e2e/test 验证项目规范;在每次任务结束前必须调用,重要的是必须在端到端测试之后执行,为提交代码做最后准备

MITAuto-check passedTesting & QA

Install Rust Project Validate

skills CLI
$ npx skills add bifrost-proxy/bifrost --skill rust-project-validate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install bifrost-proxy/bifrost rust-project-validate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/bifrost-proxy/bifrost.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/rust-project-validate .claude/skills/rust-project-validate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rust-project-validate
GitHub stars
160
Token cost
~466 tokens
SKILL.md length
115 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

运行 cargo fmt/clippy/build/e2e/test 验证项目规范;在每次任务结束前必须调用,重要的是必须在端到端测试之后执行,为提交代码做最后准备

  • Works in 6 steps: 格式检查 → Lint 检查:cargo clippy --all-targets… → 执行端到端用例,按本次任务的测试范围执行 → …
  • Tasks that involve End-to-end testing
  • SKILL.md covers 何时调用, 执行内容, 验证顺序补充 and 输出, plus 3 more sections
  • Calls cargo

What it does

Rust Project Validate is an agent skill from bifrost-proxy/bifrost. 运行 cargo fmt/clippy/build/e2e/test 验证项目规范;在每次任务结束前必须调用,重要的是必须在端到端测试之后执行,为提交代码做最后准备

Its SKILL.md is about 470 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering End-to-end testing. It works with Rust and Tauri. The repository describes itself as: Bifrost 是一个用 Rust 编写的高性能、AI 友好的代理服务器,它提供强大的请求拦截、修改和规则配置能力,支持 TLS 解密、脚本扩展等高级功能,支持强大的模糊搜索,支持导入导出分享,支持一键重放请求,支持Coding Agent 自主管理。提供类似 postman 的请求管理和验证能力,无缝和代理能力集成。 The licence is MIT.

When your agent uses it

  • Tasks that involve End-to-end testing

Example prompts

  • “/rust-project-validate”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 格式检查
  2. Lint 检查:cargo clippy --all-targets --all-features -- -D warnings
  3. 执行端到端用例,按本次任务的测试范围执行
  4. 运行测试:优先按修改范围执行 cargo test,避免无差别跑完整套耗时用例
  5. 完整构建:cargo build --all-targets --all-features(避免无差别构建,应该按改动范围构建)
  6. 工作区兜底测试:开发完成后必须至少执行一次 cargo test --workspace --all-features,避免提交后才在 CI 中暴露失败

What it can do on your machine

Read from SKILL.md and the folder at commit cad75f8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rust Project Validate loads about 466 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 115 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~466

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from bifrost-proxy/bifrost at commit cad75f8, republished under its MIT licence (© bifrost-proxy). 115 words, ~466 tokens.

Download SKILL.mdSave it as .claude/skills/rust-project-validate/SKILL.md (or your agent's skills folder).
name
rust-project-validate
description
运行 cargo fmt/clippy/build/e2e/test 验证项目规范;在每次任务结束前必须调用,重要的是必须在端到端测试之后执行,为提交代码做最后准备

Rust 项目规范校验

必须:该技能在任务结束前执行一键规范校验,确保代码风格、静态检查、构建与测试均通过。 避免:还没进行 api和交互测试的情况下,就开始执行规范校验,因为这时候代码可能还不是最终版本,还不能确保通过所有测试用例。

何时调用

  • 每次开发任务结束前必须调用
  • 提交代码或发起评审前建议调用

执行内容

  1. 格式检查:
    • cargo fmt --all -- --check
    • cargo fmt --manifest-path desktop/src-tauri/Cargo.toml --all -- --check
  2. Lint 检查:cargo clippy --all-targets --all-features -- -D warnings
  3. 执行端到端用例,按本次任务的测试范围执行
  4. 运行测试:优先按修改范围执行 cargo test,避免无差别跑完整套耗时用例
  5. 完整构建:cargo build --all-targets --all-features(避免无差别构建,应该按改动范围构建)
  6. 工作区兜底测试:开发完成后必须至少执行一次 cargo test --workspace --all-features,避免提交后才在 CI 中暴露失败

如果任一步失败,立即停止并返回失败报告。

验证顺序补充

  • 对 UI / push / 管理端交互问题,必须先做 E2E 或 API 交叉验证,再进入 fmt/clippy/build
  • 在跑 clippy/build/test 前,先确认没有遗留的 cargo、rustc、旧 bifrost 进程,避免互相抢锁造成假卡死
  • 如果前面为了调试开过多轮 cargo test 或 cargo clippy,进入本技能前先清理残留任务,再顺序执行校验

输出

  • 结构化报告,按步骤给出状态(通过/失败)与关键信息
  • 当 fmt --check 失败时提示可使用以下命令自动修复:
    • cargo fmt --all
    • cargo fmt --manifest-path desktop/src-tauri/Cargo.toml --all
  • 当 cargo test --workspace --all-features 失败时,必须在报告里明确指出这是 CI 风险,不能默默跳过

前置条件

  • 项目为 Rust 工作空间,已正确安装 Rust toolchain 与 cargo
  • 在仓库根目录执行

示例

运行本技能将顺序执行:

bash
cargo fmt --all -- --check # 检查工作区 Rust 代码格式
cargo fmt --manifest-path desktop/src-tauri/Cargo.toml --all -- --check # 检查 desktop Tauri Rust 代码格式
cargo clippy --all-targets --all-features -- -D warnings # 检查代码是否符合 Rust 编码规范
cargo test -p bifrost-e2e -- --list # 先确认本次需要覆盖的 E2E 范围
cargo test -p <changed-crate> --all-features # 按修改范围执行测试
cargo build --all-targets --all-features # 最终构建项目

注意

  • 与项目规则一致:参考 ../../rules/project_rules.md
  • 若改动涉及 desktop/src-tauri,必须确保本地执行过独立 fmt 检查,不能只依赖工作区根 cargo fmt --all -- --check

© bifrost-proxy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/rust-project-validate of bifrost-proxy/bifrost.

Open the folder on GitHubat commit cad75f8

Compare with similar skills

Rust Project Validate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rust Project Validate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rust Project Validate this skillbifrost-proxy/bifrost160—~466Automated safety check: PassMIT
Desktop App Driving with Reticlereticlehq/reticle1.2k—~1.3kAutomated safety check: PassApache-2.0
Add UI Stringopenfootmanager/openfootmanager1.1k—~2.6kAutomated safety check: PassGPL-3.0
Warp Integration Test Videowarpdotdev/warp65k1 repos~2.6kAutomated safety check: PassAGPL-3.0
Hydra Devstreamband/hydra-srt146—~995Automated safety check: PassApache-2.0
Tauri Dev MCP Bridgejerrywu001/cc-sessions-viewer394—~1.4kAutomated safety check: WarnMIT

Similar skills

  • Drives and verifies Electron or Tauri desktop apps through Reticle, which sees the renderer and the IPC calls that a browser-based testing tool cannot observe.

    1.2k GitHub stars~1.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Add UI String

    openfootmanager/openfootmanager

    Add or change any text a player can see, in every locale the game ships in.

    1.1k GitHub stars~2.6k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Records screenshots and video from Warp's Rust integration-test harness, with the commands and environment variables to run a named test and review its artifacts.

    65k GitHub starsUsed in 1 repo~2.6k tokens
    Testing & QAAuto-check passed
  • Hydra Dev

    streamband/hydra-srt

    Run HydraSRT development workflows: mix q quality gate, Elixir unit/E2E tests, native Rust tests, web Vitest/Playwright, and make dev.

    146 GitHub stars~995 tokensUpdated 21 days ago
    Testing & QAAuto-check passed
  • Tauri Dev MCP Bridge

    jerrywu001/cc-sessions-viewer

    Launches a Tauri app's dev build with the MCP bridge compiled in, so an agent can take screenshots, read the live DOM, click real buttons and call real backend commands.

    394 GitHub stars~1.4k tokensUpdated yesterday
    Testing & QAAuto-check: warnings
  • Kaniop Development

    pando85/kaniop

    Kaniop architecture, Rust controller conventions, commands, testing, and repository workflows.

    130 GitHub stars~3.1k tokensUpdated today
    Testing & QAAuto-check passed

More from bifrost-proxy/bifrost

All 9 skills in this repo
  • Juejin Publish

    bifrost-proxy/bifrost

    Publish Markdown articles and Bifrost capability series to Juejin, or verify with Microsoft Edge that a published Juejin page's title and body match the local Markdown.

    160 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Site Cookie Login

    bifrost-proxy/bifrost

    Open a target website, wait for user login, verify login with required cookies plus an HTTP probe, and save cookies into .env for later automation.

    160 GitHub stars~600 tokensUpdated today
    Auto-check: notes
  • Zhihu Publish

    bifrost-proxy/bifrost

    Publish Markdown articles to Zhihu Columns through authentication context recovered locally from Bifrost traffic and a built-in publish payload schema, save drafts, prevent duplicate posts, and…

    160 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Codex Task Inspector

    bifrost-proxy/bifrost

    Inspect Codex async task progress from the correct data directory.

    160 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • E2E Verify

    bifrost-proxy/bifrost

    面向 Bifrost 管理端的端到端 UI 与 API 验证工具. An agent skill from bifrost-proxy/bifrost.

    160 GitHub stars~730 tokensUpdated today
    Auto-check passed
  • GitHub Actions Pat

    bifrost-proxy/bifrost

    用 Personal Access Token 通过 GitHub REST API 分析 Actions CI 的失败 run/job/step、拉取日志、轮询运行状态、做 PR code review,并驱动 fix → push → watch → iterate 的闭环。Token 只从 GITHUBTOKEN 环境变量读取,不落盘、不回显。适合在 bifrost remote /…

    160 GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Rust Project Validate

What does Rust Project Validate do?

运行 cargo fmt/clippy/build/e2e/test 验证项目规范;在每次任务结束前必须调用,重要的是必须在端到端测试之后执行,为提交代码做最后准备. Rust Project Validate is an agent skill from bifrost-proxy/bifrost.

When should I use Rust Project Validate?

Rust Project Validate fits situations like: tasks that involve End-to-end testing.

How do I install Rust Project Validate in Claude Code?

Run `npx skills add bifrost-proxy/bifrost --skill rust-project-validate -a claude-code`. Or copy the skill folder (.agents/skills/rust-project-validate in bifrost-proxy/bifrost) into .claude/skills/rust-project-validate in your project. Claude Code loads it when a task matches its description.

How do I install Rust Project Validate in Codex?

Run `npx skills add bifrost-proxy/bifrost --skill rust-project-validate -a codex`. Or copy the skill folder (.agents/skills/rust-project-validate in bifrost-proxy/bifrost) into .agents/skills/rust-project-validate in your project. Codex loads it when a task matches its description.

Can I use Rust Project Validate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bifrost-proxy/bifrost --skill rust-project-validate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rust-project-validate, .gemini/skills/rust-project-validate, .github/skills/rust-project-validate and .opencode/skills/rust-project-validate in your project.

What does Rust Project Validate need to run?

Going by SKILL.md and its folder, Rust Project Validate needs the command-line tools its instructions call (cargo).

Does Rust Project Validate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rust Project Validate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rust Project Validate use?

Rust Project Validate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rust Project Validate use?

About 466 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rust Project Validate?

Skills that share tags, products or a category with Rust Project Validate: Desktop App Driving with Reticle (reticlehq/reticle, 1.2k stars), Add UI String (openfootmanager/openfootmanager, 1.1k stars), Warp Integration Test Video (warpdotdev/warp, 65k stars) and Hydra Dev (streamband/hydra-srt, 146 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rust Project Validate?

bifrost-proxy (a GitHub user) maintains it in bifrost-proxy/bifrost, which has 160 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 7, 2026.

Source: bifrost-proxy/bifrost on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.