ruby-90

Generate API Mocks — Testing skill for Claude Code

Testing community

Sinh mock/stub cho API (Playwright route / WireMock) từ response thực tế hoặc Swagger spec — kèm test cho các edge cases (500, timeout, data rỗng, danh sách lớn).

How to install Generate API Mocks

Installs to ~/.claude/commands/ruby-90-claude-testing-skills-generate_api_mocks.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ruby-90/claude-testing-skills/HEAD/.claude/commands/generate_api_mocks.md -o ~/.claude/commands/ruby-90-claude-testing-skills-generate_api_mocks.md

Restart Claude Code, or start a new session, for it to be picked up.

What Generate API Mocks does


description: Sinh mock/stub cho API (Playwright route / WireMock) từ response thực tế hoặc Swagger spec — kèm test cho các edge cases (500, timeout, data rỗng, danh sách lớn). skills:

  • skills-api-mocking
  • skills-test-data-generator

Workflow: Sinh API Mocks

**BẮT BUỘC (MANDATORY SKILL):** Bạn PHẢI nạp và đọc kỹ nội dung của skill **`skills-api-mocking`** (tại `.claude/skills/skills-api-mocking/SKILL.md`) trước khi bắt đầu.

⚠️ Nguyên tắc thực thi

  • **Tất cả output bằng Tiế

Alternatives in Testing

  • Route Research For Testing — route research for testing skill 9.5k ★
  • Crlf — Test for CRLF / HTTP response-splitting and host-header injection — Set-Cookie injection, cache poisoning, res 4.5k ★
  • Goal — Đóng vai Skill Architect — phỏng vấn thông minh để trích xuất quy trình từ đầu người dùng, sinh AI Skill hoàn 310 ★

Full documentation available on GitHub

View Source Repository