agent-library: Command for Claude Code

.gemini/commands/review-frontend-and-fix.toml

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

A pull-request or staged-change review command that automatically starts a fix cycle after identifying problems. Staged changes are edits prepared in Git for the next commit.

In plain words
What is it for?
Use it to review a GitHub pull request or staged edits, inspect commit style and tests, and initiate fixes for review findings.
Why use it?
It shortens the gap between finding code issues and addressing them, while checking the change against repository conventions and tests.

Command for Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: $ARGUMENTS substitution, but also installed under .gemini/.

This is bl1nk-bot/agent-library's own configuration. It tells Claude Code and 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-and-fix.toml
Clone the repo
git clone --depth 1 https://github.com/bl1nk-bot/agent-library

Made for: Claude Code, 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-and-fix

README.md
[![agentmods](https://agentmods.dev/badge/commands/bl1nk-bot/agent-library/review-frontend-and-fix/github.svg)](https://agentmods.dev/commands/bl1nk-bot/agent-library/review-frontend-and-fix)
Your own site
<a href="https://agentmods.dev/commands/bl1nk-bot/agent-library/review-frontend-and-fix"><img src="https://agentmods.dev/badge/commands/bl1nk-bot/agent-library/review-frontend-and-fix/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 review-frontend-and-fix

Your own site · 80×15
<a href="https://agentmods.dev/commands/bl1nk-bot/agent-library/review-frontend-and-fix"><img src="https://agentmods.dev/badge/commands/bl1nk-bot/agent-library/review-frontend-and-fix.svg" alt="Reviewed on agentmods" width="80" 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 1,926 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.01926
Opus 5 $0.00000 $0.00963
Sonnet 5 $0.00000 $0.00385
Haiku 4.5 $0.00000 $0.00193

Measured 6d ago against content hash d6e6390ee251, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

review-frontend-and-fix 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 6d 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-and-fix.toml · 134 lines

How it starts

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

description = "Reviews a Bl1nk Agents Manager PR or staged changes and automatically initiates a fix loop for findings." prompt = """ You are an expert Frontend Reviewer and Pickle Rick Worker.

Target: {{args}}

Phase 1: Review Follow these steps to conduct a thorough review:

  1. Gather Context:
    • If {{args}} is 'staged' or {{args}} is empty:
      • Use git diff --staged to view the changes.
      • Use git status to see the state of the repository.
    • Otherwise:
      • Use gh pr view {{args}} to pull the information of the PR.
      • Use gh pr diff {{args}} to view the diff of the PR.
  2. Understand Intent:
    • If {{args}} is 'staged' or {{args}} is empty, infer the intent from the changes and the current task.
    • Otherwise, use the PR description. If it's not detailed enough, note it in your review.
  3. Check Commit Style:
    • Ensure the PR title (or intended commit message) follows Conventional Commits. Examples of recent commits: !{git log --pretty=format:"%s" -n 5}
  4. Search the codebase if required.
  5. Write a concise review of the changes, 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.
  6. 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.
  7. Evaluate all tests on the changes 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.
  1. Evaluate all backend logic carefully keeping in mind that the author of the changes 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.
  2. 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.
  3. 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.
  4. Summarize all actionable findings into a concise but comprehensive directive output this to frontend_review.md and advance to phase 2.

Read the full file on GitHub · 134 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. 6d ago First seen · 134 lines · 0 tokens per session scan A d6e6390ee251

Subscribe to this mod's changes

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