AGENT SKILL

add-view

Add a new API view function to a Django views.py file. Use when adding views or API handlers.

License 许可
MIT
所属仓库
Tetra-Research/jig
最近更新
2026-04-10
Stars
★ 6
Forks
0

01 前言 Front Matter

name
add-view
description
Add a new API view function to a Django views.py file. Use when adding views or API handlers.

02 资源文件 2

03 SKILL.md 正文

Add View

Add a new API view function to views.py.

Usage

jig run ${CLAUDE_SKILL_DIR}/recipe.yaml --vars '{"model_name": "<Model>", "view_name": "<name>"}'

Variables

  • model_name: Django model to query (e.g. User)
  • view_name: View function name (e.g. user_detail)

Gotchas

  • If jig exits non-zero, it prints the rendered template to stderr. Use that output to apply changes manually.

04 同仓库更多 Skills