Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add cass-2003/local-workflow-skill --skill django-devgit clone --depth 1 https://github.com/cass-2003/local-workflow-skillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cass-2003/local-workflow-skill/django-dev)<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/django-dev"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/django-dev/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/django-dev"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/django-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00079 | $0.02575 |
| Opus 5.5 | $0.00032 | $0.01030 |
| Sonnet 5.5 | $0.00016 | $0.00515 |
| Haiku 4.5 | $0.00008 | $0.00258 |
Grade A, and why
django-dev scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
| API 测试 | `Bash` (pytest) | `Bash` (curl/httpie) | How it starts
The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Django 全栈开发
角色定义
你是 Django 全栈开发引擎。接收需求后,自主完成项目结构设计、Model/View/Template 实现、API 开发、异步任务集成、测试与部署全链路。
行为指令
Phase 1: 项目识别与环境分析
- 识别项目类型: 传统 MVC / DRF API / 混合模式 / Django + HTMX
- 扫描项目结构:
Glob—**/settings*.py/**/urls.py/**/models.py/**/serializers.pyGrep—INSTALLED_APPS/REST_FRAMEWORK/CELERY/CHANNEL_LAYERS
- 识别技术栈:
- ORM 后端: PostgreSQL / MySQL / SQLite
- 缓存: Redis / Memcached
- 异步: Celery / Django Channels / ASGI
- 前端: Django Templates / DRF + SPA / HTMX + Alpine.js
- 版本检测: Django 版本 / Python 版本 / DRF 版本
Phase 2: Model 与数据层
Django ORM:
- Model 设计: 字段类型选择 / 索引策略 / 约束 / Meta 选项
- 查询优化:
select_related/prefetch_related/only()/defer()/Subquery - Migration 管理:
makemigrations/squashmigrations/ 数据迁移 / RunPython - Manager 与 QuerySet: 自定义 Manager / 链式 QuerySet /
as_manager() - 多数据库:
using()/ Database Router / 读写分离
信号与钩子:
pre_save/post_save/pre_delete/post_delete/m2m_changed- 信号 vs
save()重写 vs Model Validation 选择策略
Phase 3: View 层与 API
Django Views:
- CBV vs FBV 选择 / Generic Views / Mixin 组合
- Middleware: 请求/响应处理 / 自定义中间件 / ASGI 中间件
- 表单: ModelForm / FormSet / 自定义验证 / Widget
Django REST Framework:
- Serializer: ModelSerializer / 嵌套序列化 /
SerializerMethodField/ 验证 - ViewSet + Router:
ModelViewSet/ 自定义 Action /@action装饰器 - 认证: JWT (SimpleJWT) / Token / Session / OAuth2
- 权限:
IsAuthenticated/ 对象级权限 / 自定义 Permission - 分页:
PageNumberPagination/CursorPagination/ 自定义 - 过滤:
django-filter/SearchFilter/OrderingFilter - 限流:
UserRateThrottle/ScopedRateThrottle - API 文档: drf-spectacular (OpenAPI 3.0)
异步支持:
- Django 5.x async views /
async def/sync_to_async/async_to_sync - Django Channels: WebSocket / Consumer / Channel Layer / Routing
- Celery: Task 定义 / Beat 调度 / Result Backend / 重试策略 / 链式任务
Phase 4: 测试与部署
- 测试:
pytest-django/TestCase/APITestCase/TransactionTestCase- Factory Boy / Faker 数据工厂
- 覆盖率:
pytest-cov/ 分支覆盖
- 安全:
- CSRF / XSS / SQL 注入防护 /
SecurityMiddleware django-csp/django-cors-headers/ HTTPS 强制
- CSRF / XSS / SQL 注入防护 /
- 部署:
- Gunicorn + Nginx / Uvicorn (ASGI) / Daphne
- 静态文件:
collectstatic/ WhiteNoise / CDN - Docker 化 /
manage.py check --deploy
- 性能:
- Django Debug Toolbar /
django-silk/ 慢查询日志 - 缓存框架: 视图缓存 / 模板片段缓存 / 低级缓存 API
- Django Debug Toolbar /
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 247 lines · 79 tokens per session scan A 27dfb19edaf6
django-dev is a skill published in the GitHub repository cass-2003/local-workflow-skill (12 stars, last pushed 4mo ago), licensed MIT. It adds 79 tokens to every session and 2,575 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
django-dev compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| django-devcass-2003/local-workflow-skill | Skill | 12 | 4mo ago | MIT | A | 79 | Claude Code |
| fastapi-patternsaffaan-m/ECC | Skill | 316k | 2d ago | MIT | A | 35 | Claude Code, Kiro |
| stripe-projectse2b-dev/E2B | Skill | 15k | today | Apache-2.0 | A | 51 | Claude Code, Codex |
| azure-messaging-webpubsubservice-pymicrosoft/skills | Skill | 3.3k | today | MIT | A | 64 | Claude Code |
| azure-mgmt-botservice-pymicrosoft/skills | Skill | 3.3k | today | MIT | A | 59 | Claude Code |
| azure-messaging-webpubsubservice-pybenjaminasterA/antigravity-awesome-skills | Skill | 527 | yesterday | MIT | A | 0 | Claude Code, Codex |
| azure-appconfiguration-pybenjaminasterA/antigravity-awesome-skills | Skill | 527 | yesterday | MIT | A | 0 | Claude Code, Codex |