# python-wasp-drone

The python-wasp-drone subagent reviews Python architecture and guides work on Django, FastAPI, and related tools. Use it for code reviews, ORM audits, or test setup.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 96 repo stars
- Author: Legion Code Inc.
- License: AGPL-3.0-or-later · policy=link-only · description only; the file stays with the author
- Source: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/backend-and-desktop-tools/agents/python-wasp-drone.md
- Updated: 2026-10-18
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/python-wasp-drone

## What it does

The subagent examines Django app structure, ORM access, and migrations, and can guide a move from DRF to Django Ninja. It also covers Celery jobs, Channels, pytest, typing, and packaging with uv. FastAPI work follows a separate set of guidance.

Its materials include task routing, focused guides, and audit scripts for N+1 patterns, applied migrations, untyped boundaries, bare except clauses, and secrets in settings. Review findings should point to the relevant file and line. The subagent follows a prescribed stack: Django Ninja for new Django APIs and httpx for outbound requests. Projects using different choices will need to account for that preference.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add legioncodeinc/vibe-coding-tools
```
In the agent chat (not a shell):
```text
/plugin install backend-and-desktop-tools@wasp-nest
```

2. **Manually: put the files in place**
- File: `.claude/agents/python-wasp-drone.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/python-wasp-drone.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/python-wasp-drone.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/backend-and-desktop-tools/agents/python-wasp-drone.md

## When to use it
- review Django app structure
- find N+1 ORM queries
- move an API from DRF to Django Ninja
- set up Celery jobs or Channels
- configure pytest and introduce type checks

## Example prompts
- Review this Django code and tie each finding to a file and line.
- Audit the ORM for N+1 queries and unjustified raw SQL.
- Move this API from DRF to Django Ninja.

## Similar
- [python-resource-management](https://affpapa.org/en/nevibecode/skills/python-resource-management.md) — skill · 11000 installs
- [dataverse-python-advanced-patterns](https://affpapa.org/en/nevibecode/skills/dataverse-python-advanced-patterns.md) — skill · 9213 installs
- [dataverse-python-usecase-builder](https://affpapa.org/en/nevibecode/skills/dataverse-python-usecase-builder.md) — skill · 8700 installs
- [python](https://affpapa.org/en/nevibecode/skills/python.md) — skill · 1100 installs
- [neo4j-driver-python-skill](https://affpapa.org/en/nevibecode/skills/neo4j-driver-python-skill.md) — skill · 1000 installs
- [python-pro](https://affpapa.org/en/nevibecode/agents/python-pro.md) — subagent · 11689 installs

From the same set: [legioncodeinc/vibe-coding-tools](https://affpapa.org/en/nevibecode/by/legioncodeinc/vibe-coding-tools.md) — 172 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
