Install — Claude Code (CLI)
Install — Claude.ai (project skill)
Use
Say this in Claude Code / Cursor / Claude.ai:“Add AsyncBase to this project — I need a queue for sending emails async.”Claude reads
SKILL.md, detects your stack, and:
- Fetches canonical docs via
get_docs(if MCP is set up). - Installs the SDK with your package manager.
- Creates a send helper.
- Creates a consumer appropriate for your framework:
- NestJS —
InjectablewithOnApplicationBootstrap - FastAPI — lifespan-managed async task
- Laravel — Artisan command
- Next.js / plain Node — separate
consumer.ts - Go — goroutine + context cancel
- NestJS —
- Adds
ASYNCBASE_KEYto.env.local/.env+.env.example. - Runs a probe to verify connectivity.
- Prints the exact command to start the consumer.
What’s in the skill
Troubleshooting
| Symptom | Fix |
|---|---|
| Skill doesn’t activate | Check SKILL.md has name: asyncbase in frontmatter. |
Claude skips get_docs | Install the MCP server too. |
| Wrong stack detected | Tell Claude explicitly: “Use the asyncbase skill for the FastAPI stack.” |
| Generated imports stale | Ensure MCP is installed so the skill fetches current docs. |