Claude Code plugin that gives Claude full knowledge of the AMSDAL framework: models, REST API, ETL, ML, deployment, testing, and the plugin ecosystem.
- Claude Code installed and working
That's it. The plugin is fully self-contained.
git clone git@github.com:amsdal/claude-code-amsdal.git ~/claude-code-amsdalAdd it as a local marketplace and install:
claude plugin marketplace add ~/claude-code-amsdal
claude plugin install amsdal@amsdal-pluginsThis makes the plugin available in every Claude Code session (CLI and Desktop Code tab).
Start Claude Code in any directory and ask something like:
"How do I create an AMSDAL model with a foreign key?"
Claude should know the answer without any extra context.
Install for a specific project only (writes to .claude/settings.json):
claude plugin install amsdal@amsdal-plugins --scope projectclaude --plugin-dir ~/claude-code-amsdalSkills are contextual knowledge packs that Claude loads automatically based on what you're working on.
Auto-loaded (Claude picks these up from context):
| Skill | When | What it knows |
|---|---|---|
amsdal-overview |
Always | Architecture, project structure, how to create apps from scratch, conventions |
amsdal-models |
Working with models | Fields, relationships, CRUD, QuerySets, transactions, hooks, migrations |
amsdal-server |
Working with server | REST API, authentication, permissions, events, health checks |
amsdal-glue |
Working with ETL | Connections, CQRS, queries/commands, planners, executors |
amsdal-ml |
Working with ML/AI | Embeddings, AI agents, MCP server, semantic search |
amsdal-ecosystem |
Using existing plugins | S3 storage, email, CRM, LangGraph, integrations |
amsdal-frontend-configs |
Working with frontend | Dynamic forms, controls, conditions, actions, dashboards |
amsdal-testing |
Writing tests | pytest patterns, fixtures, utilities |
amsdal-plugins |
Creating plugins | AppConfig, events system, custom routes, middleware |
Manual (invoke explicitly when needed):
| Command | What it does |
|---|---|
/amsdal:amsdal-deploy |
CLI reference, cloud deployment, monitoring |
Deep research agent for questions that require understanding internal behavior — e.g. "why does QuerySet.get() return a LegacyModel?", "what does AmsdalTransactionManager.commit do on failure?", traceback analysis.
The agent cross-references three sources:
- Knowledge base (bundled with this plugin) — behavioral descriptions of Cython-compiled modules.
.pyistubs (from your installed AMSDAL packages) — exact API signatures.- Source code of pure-Python packages (from your venv's
site-packages) —amsdal_server,amsdal-glue,amsdal_cli, etc.
Core AMSDAL packages (amsdal, amsdal_models, amsdal_data) are compiled via Cython — you only have .so binaries and .pyi stubs, not Python source. This makes debugging harder because internal behavior isn't visible.
To bridge this gap, the plugin includes a knowledge/ directory with behavioral documentation for every Cython-compiled module. Each file describes step-by-step what the code does internally, edge cases, error conditions, and side effects.
The directory mirrors the package layout 1:1:
knowledge/
├── amsdal/ # amsdal_framework internals
│ ├── fixtures/manager.md
│ ├── manager.md
│ ├── services/transaction_execution.md
│ └── ...
├── amsdal_models/
│ ├── classes/
│ │ ├── constants.md
│ │ ├── enums.md
│ │ ├── helpers/reference_loader.md
│ │ └── utils.md
│ ├── querysets/base_queryset.md
│ └── utils/
│ ├── files.md
│ ├── schema_converter.md
│ └── specific_version.md
└── amsdal_data/
├── lock/implementations/
│ ├── redis_lock.md
│ └── thread_lock.md
└── transactions/manager.md
When you share a traceback like:
amsdal_data.transactions.manager.AmsdalTransactionManager.commit
The agent finds knowledge/amsdal_data/transactions/manager.md, reads the behavioral description of commit(), and explains what happens inside — including the order of operations, when REVERT is issued, and which errors are raised.
The knowledge base is kept up-to-date with AMSDAL releases.
- Create AMSDAL apps from scratch — models, transactions, config, fixtures
- Write models with fields, relationships, validation, hooks
- Set up authentication and permissions
- Build ETL pipelines with multi-database queries
- Integrate ML features — embeddings, AI agents, MCP server
- Use existing plugins — S3 storage, email, CRM, LangGraph
- Write tests following AMSDAL patterns
- Create custom plugins with events, routes, middleware
- Help with deployment — CLI commands, cloud, monitoring
- Debug production issues — trace through internal behavior of Cython-compiled modules via the bundled knowledge base