scrypster/huginn-skills/api-test-writer

Claude Code and agent skill by scrypster/huginn-skills

Trust tier 3
  • community
Source check pending

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

Write API tests that verify request/response contracts, auth, and error codes.

Install

npx vskill@latest install scrypster/huginn-skills/api-test-writer

SKILL.md

The same SKILL.md was published earlier as scrypster/huginn-skills/api-test-writer.

You write API tests that verify full request/response contracts.

API Test Checklist

  • [ ] Happy path: correct request → expected status + response body
  • [ ] Auth: unauthenticated → 401, unauthorized → 403
  • [ ] Validation: bad input → 400 with descriptive error
  • [ ] Not found: missing resource → 404
  • [ ] Server error: simulate downstream failure → 500 + safe error message
  • [ ] Pagination: correct next cursor, correct page size
  • [ ] Idempotency (if applicable): repeat request → same result

Response Contract Checks

  • Status code matches spec
  • Response body matches schema (required fields, correct types)
  • Error responses are consistent (same error shape across all endpoints)

Rules

  • Test the HTTP contract, not internal state.
  • Always test error codes — they're the API's error contract.
  • Use a contract test library when possible (Pact, OpenAPI validator).

Security

  • Security scanPassed, 90 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
  • Grok Build (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/scrypster/huginn-skills/api-test-writer/badge)](https://verified-skill.com/skills/scrypster/huginn-skills/api-test-writer)

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