agent-library: Command for Gemini CLI

.gemini/commands/review-frontend.toml

review-frontend is a command for Gemini CLI from bl1nk-bot/agent-library. It costs 0 tokens per session (970 once invoked), scanned A, original, CC0-1.0.

A pull-request review command for a specific issue in the Bl1nk Agents Manager codebase. A pull request is a proposed set of code changes submitted for review before merging.

In plain words
What is it for?
Use it to inspect the pull request, review its diff and description, check commit naming, and assess Rust code and tests.
Why use it?
It gives reviewers a consistent way to check the change against its intended behavior, repository conventions, and test practices.

Command for Gemini CLI

Written for Gemini CLI: installed under .gemini/.

This is bl1nk-bot/agent-library's own configuration. It tells Gemini CLI how to work on agent-library 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 agent-library configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bl1nk-bot/agent-library. 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/bl1nk-bot/agent-library/main/.gemini/commands/review-frontend.toml
Clone the repo
git clone --depth 1 https://github.com/bl1nk-bot/agent-library

Made for: Gemini CLI.

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 review-frontend

README.md
[![agentmods](https://agentmods.dev/badge/commands/bl1nk-bot/agent-library/review-frontend.svg)](https://agentmods.dev/commands/bl1nk-bot/agent-library/review-frontend)
Your own site
<a href="https://agentmods.dev/commands/bl1nk-bot/agent-library/review-frontend"><img src="https://agentmods.dev/badge/commands/bl1nk-bot/agent-library/review-frontend.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 970 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.
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.00000 $0.00970
Opus 5 $0.00000 $0.00485
Sonnet 5 $0.00000 $0.00194
Haiku 4.5 $0.00000 $0.00097

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

Security

Grade A, and why

review-frontend 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 4d 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.

.gemini/commands/review-frontend.toml · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

description="Reviews a pull request based on issue number for Bl1nk Agents Manager." prompt = """ Please provide a detailed pull request review on GitHub issue: {{args}}.

Follow these steps:

  1. Use gh pr view {{args}} to pull the information of the PR.
  2. Use gh pr diff {{args}} to view the diff of the PR.
  3. Understand the intent of the PR using the PR description.
  4. If PR description is not detailed enough to understand the intent of the PR, make sure to note it in your review.
  5. Make sure the PR title follows Conventional Commits, here are the last five commits to the repo as examples: !{git log --pretty=format:"%s" -n 5}
  6. Search the codebase if required.
  7. Write a concise review of the PR, keeping in mind to encourage strong code quality and best practices. Pay particular attention to the agent definitions and system prompt files in the repo.
  8. Consider ways the code may not be consistent with existing code in the repo. In particular it is critical that the Rust code uses patterns consistent with existing code in the repo.
  9. Evaluate all tests on the PR and make sure that they are doing the following:
    • Using tokio::test attribute for async tests instead of blocking code.
    • Properly handling async/await patterns with tokio runtime.
    • Using proper error handling with Result types and the anyhow crate.
    • Following existing patterns for integration tests that verify HTTP endpoints and Rocket routes.
    • Ensuring tests properly mock external dependencies where appropriate.
    • Using proper async testing patterns without blocking operations.
  10. Evaluate all backend logic carefully keeping in mind that the author of the PR is not likely an expert on Rust. Key areas to audit carefully are:
    • Whether async/await patterns are used correctly with proper tokio runtime integration.
    • Whether proper error handling is implemented using Result types and the anyhow crate.
    • Whether shared state is properly managed using Arc<Mutex<T>> or tokio::sync primitives.
    • Ensure code does not use println! or dbg! macros as these indicate debug logging that was accidentally left in the code.
    • Avoid blocking operations in async contexts as they will hang the async runtime.
    • Ensure proper use of Rust idioms and follow the Rust book guidelines.
    • Carefully manage memory and resource usage, ensuring proper cleanup.
    • NEVER disable Rust lints without proper justification.
    • Follow the existing project architecture patterns for HTTP handling with Rocket framework.
    • Ensure proper serialization/deserialization with serde and proper error handling.
  11. General Bl1nk Agents Manager design principles:
    • Make sure that configuration options are only used for options that a user might consider changing.
    • Do not add new command line arguments unnecessarily and suggest configuration settings instead.
    • New settings must be added to crates/core/src/config.rs.
    • If a setting has documentation requirements, it MUST be documented in docs/CONFIGURATION.md.
    • Ensure proper TOML serialization is maintained for new settings.
    • Use tracing crate for rethrown errors to avoid duplicate logging.
    • All new agent definitions MUST be documented in agents/agents.json with proper metadata.
    • Ensure new agents are properly registered and follow the existing agent definition patterns.
    • If new agents are added, ensure they follow the proper YAML frontmatter format.
  12. Rust Best Practices:
    • Use exhaustive pattern matching in match statements to ensure all cases are handled.
    • Avoid using unwrap() or expect() unless absolutely necessary and you are confident the value is valid.
    • Follow Rust naming conventions (snake_case for functions/variables, PascalCase for types).
    • Use proper error propagation with ? operator.
    • Implement proper trait bounds and generics where appropriate.
  13. If the change might at all impact the MCP/ACP protocols, flagged that the change could impact communication protocols and make sure proper testing has been done.
  14. Discuss with me before making any comments on the issue. I will clarify which possible issues you identified are problems, which ones you need to investigate further, and which ones I do not care about.
  15. If I request you to add comments to the issue, use gh pr comment {{args}} --body {{review}} to post the review to the PR.

Read the full file on GitHub · 72 lines

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. 4d ago First seen · 72 lines · 0 tokens per session scan A 9a68e1d84490

Subscribe to this mod's changes

review-frontend is a command published in the GitHub repository bl1nk-bot/agent-library (2 stars, last pushed today), licensed CC0-1.0. It costs nothing until one of its globs matches a file; then it loads 970 tokens. 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-09-04.