Skip to content
Back to skills

Tests Http

ASecurity

Generate, review, expand, or sync `.http` files (REST Client, VS Code httpYac, IntelliJ HTTP Client) for manual HTTP API test suites. Use when creating or syncing HTTP tests for controllers or ViewSets, covering every route, filter, and error, or editing `**/*.http`. Discovers the project layout or reads `.http-tests.yaml`. NestJS and DRF adapters live in references/. Do NOT use for pytest, Jest, Vitest, Playwright, or Supertest.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 20, 2026
ai-agentsgodjangoapi

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned November 20, 2026

npx -y skills add llodev/skills --skill tests-http --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tests Http?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tests Http
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/llodev-tests-http/badge)](https://www.skillsdirectory.com/skills/llodev-tests-http)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tests-http
description: >-
  Generate, review, expand, or sync `.http` files (REST Client, VS Code
  httpYac, IntelliJ HTTP Client) for manual HTTP API test suites. Use when
  creating or syncing HTTP tests for controllers or ViewSets, covering every
  route, filter, and error, or editing `**/*.http`. Discovers the project
  layout or reads `.http-tests.yaml`. NestJS and DRF adapters live in
  references/. Do NOT use for pytest, Jest, Vitest, Playwright, or Supertest.
license: MIT
metadata:
  version: 0.1.0
  tags:
    - agent-skill
    - http
    - rest-client
    - tests
  family: tests
  role: skill
compatibility:
  agents:
    - claude-code
    - cursor
    - codex
    - windsurf
    - cline
    - roo-code
---

# HTTP Test Suite Generator

Produces **full-coverage** `.http` files from **source code** in the **current project** — not from assumed monorepo paths.

---

## Project context (before framework)

**MANDATORY — READ ENTIRE FILE**: [`references/project-discovery.md`](references/project-discovery.md) — config priority, discovery, when to ask the user.

Then read [`references/common.md`](references/common.md) completely.

Resolve `base_url`, auth, where `.http` files live, and canonical examples via:

1. User message → 2. `.http-tests.yaml` / `.http-tests.json` / `docs/http-tests.md` → 3. root agent guides (`CLAUDE` and `AGENTS` markdown), `.cursor/rules` → 4. repo discovery → 5. **ask user** if still ambiguous.

Template for optional config: [`examples/http-tests.project.yaml`](examples/http-tests.project.yaml).

---

## Framework selection

| Signal                                        | Adapter                                           |
| --------------------------------------------- | ------------------------------------------------- |
| User or project config says `nestjs` / `drf`  | That reference                                    |
| Handler is `*Controller.ts` / Nest decorators | [`references/nestjs.md`](references/nestjs.md)    |
| Handler is DRF `ViewSet` / `APIView`          | [`references/drf.md`](references/drf.md)          |
| Deps: `@nestjs/core` vs `djangorestframework` | Matching reference                                |
| Polyglot / unclear                            | **Ask** — do not guess from stale path heuristics |

**MANDATORY**: read the selected framework reference completely.

**Do NOT load** the other framework reference for the same task.

Optional skeleton: [`examples/nestjs-minimal.http`](examples/nestjs-minimal.http) or [`examples/drf-minimal.http`](examples/drf-minimal.http) — expand; never ship skeleton only.

---

## When to use / when not to use

**Use**: create/sync `.http` for HTTP APIs; new route/`@action` and matching `.http` is stale.

**Do not use**: pytest, Jest/Vitest, Playwright/e2e, Supertest-only; non-HTTP targets.

---

## Workflow

1. **Project context** — `project-discovery.md` (config → rules → discover → ask).
2. **Framework** — table above + framework reference.
3. **Read handler and related source** — order in framework reference; **paths from discovery/config**, not skill defaults.
4. **Mirror style** — best existing `.http` in repo, else templates in `examples/`.
5. **Write or sync** — `common.md` + framework mapping tables.
6. **Checklist** — `common.md` + framework checklist.

---

## NEVER

- **NEVER** assume `apps/api/`, monorepo layout, or paths from another repo. **Why**: breaks on single-app repos, different folder names, and polyglot setups.
- **NEVER** invent routes, filters, params, or error codes absent from code.
- **NEVER** hard-code DB IDs; use `# @name` chains or documented seeds only.
- **NEVER** wipe an existing `.http` on sync (diff-and-extend — `common.md`).
- **NEVER** use non-English text inside `.http` comments.
- **NEVER** skip auth negative cases to "make tests pass".
- **NEVER** load both `nestjs.md` and `drf.md` for one file.
- **NEVER** guess `base_url` or credentials when discovery and config are silent — **ask**.

---

## References

| File                                                                   | Purpose                                                      |
| ---------------------------------------------------------------------- | ------------------------------------------------------------ |
| [`references/project-discovery.md`](references/project-discovery.md)   | Config priority, discovery, user questions, IDE rule snippet |
| [`references/common.md`](references/common.md)                         | Formatting, sync, shared checklist                           |
| [`references/nestjs.md`](references/nestjs.md)                         | Nest handler → test mapping (paths discovered per project)   |
| [`references/drf.md`](references/drf.md)                               | DRF handler → test mapping (paths discovered per project)    |
| [`examples/http-tests.project.yaml`](examples/http-tests.project.yaml) | Optional repo overlay template                               |

Files in this skill

  • CHANGELOG.md569 B
  • LICENSE1.1 KB
  • README.md3.2 KB
  • SKILL.md4.9 KB
  • docs/i18n/README.es-ES.md3.4 KB
  • docs/i18n/README.pt-BR.md3.4 KB
  • examples/drf-minimal.http1.7 KB
  • examples/http-tests.project.yaml523 B
  • examples/nestjs-minimal.http1.4 KB
  • package.json783 B
  • references/README.md960 B
  • references/common.md4.5 KB
  • references/drf.md4.6 KB
  • references/nestjs.md5 KB
  • references/project-discovery.md4.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.