az9713/atlas-agent-tutorial/test-generation

Claude Code and agent skill by az9713/atlas-agent-tutorial

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Generate comprehensive test suites for existing code. Use when asked to write tests, add test coverage, create unit tests, or build integration tests.

Install

npx vskill@latest install az9713/atlas-agent-tutorial/test-generation

SKILL.md

The same SKILL.md was published earlier as agulli/atlas-agents/test-generation.

Process

  1. Read the source code. Load every function and class under test. Do not write tests from a summary or description — you must see the implementation.
  1. Identify the test framework. Check for:
  • conftest.py or pytest.ini → pytest
  • vitest.config.* → Vitest
  • jest.config.* → Jest

If none are found, default to pytest for Python, Vitest for TypeScript/JavaScript.

  1. Categorize test types needed:
  • Happy path: Normal inputs, expected outputs
  • Edge cases: Empty inputs, None/null, boundary values, maximum lengths
  • Error cases: Invalid inputs that should raise exceptions or return errors
  • Integration: Tests that verify multiple components work together
  1. Write tests following the AAA pattern:

```python def test_descriptive_name(): # Arrange — set up inputs and expected state user = create_test_user(name="Alice")

# Act — call the function under test result = get_user_greeting(user)

# Assert — verify the output assert result == "Hello, Alice!" ```

  1. Name tests descriptively. The test name should describe the scenario and expected outcome:
  • ✅ test_login_rejects_empty_password
  • ❌ test_login_2
  1. Run the tests. Execute the full test suite and confirm all tests pass. If any fail, fix the test (not the source code) unless you discover an actual bug.

Rationalizations

ExcuseRebuttal
"I'll just write happy path tests"Edge cases are where bugs live. Write at least one edge case per function.
"The function is too simple to test"Simple functions get refactored. Tests protect against regressions during refactoring.
"I'll add tests later"You won't. Write them now.
"Mocking everything is fine"Over-mocking hides integration bugs. Mock external services, not your own code.

Verification

  • [ ] Tests were executed (not just written)
  • [ ] All tests pass
  • [ ] At least one edge case test exists per function
  • [ ] Test names describe the scenario, not just "test_1", "test_2"

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/az9713/atlas-agent-tutorial/test-generation/badge)](https://verified-skill.com/skills/az9713/atlas-agent-tutorial/test-generation)

Something wrong with this skill or its page? Tell us.