agentsclimarketplace

Gemini test

Skill AndyTargino/gemini-bridge/skills/gemini-test

Generate tests via Gemini CLI based on existing code. Triggers on: "generate tests", "write tests", "create test file", "test this code", "add test coverage"From its SKILL.md

Install
npx -y skills add AndyTargino/gemini-bridge --skill gemini-test

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.4 KB, as published. Nobody here has run it

Gemini Test — Test generation via Gemini CLI

Instructions

Use Gemini to generate comprehensive tests.

How to execute

  1. Read the target source file

  2. Read existing test files to understand patterns and testing framework

  3. Build test generation prompt:

    cat > /tmp/gemini_prompt.txt << 'GEMINI_EOF'
    Generate comprehensive tests for this code.
    
    Testing framework: [jest/vitest/pytest/etc]
    Existing test patterns:
    [PASTE EXISTING TEST EXAMPLE]
    
    Source code to test:
    [PASTE SOURCE CODE]
    
    Include:
    - Unit tests for each function/method
    - Edge cases (null, undefined, empty, boundary values)
    - Error cases (invalid input, network failures)
    - Happy path tests
    - Integration tests if applicable
    
    Return ONLY the test code. No explanations. Match existing patterns exactly.
    GEMINI_EOF
    bash ~/.claude/gemini-bridge.sh --file /tmp/gemini_prompt.txt
    
  4. Validate generated tests make sense

  5. Write to appropriate test file location

  6. Use timeout 600000ms

Rules

  • ALWAYS read existing tests first for pattern matching
  • Validate output is actual test code before writing
  • Fix obvious issues before writing the file

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.