ワンクリックで
add-view
Add a new API view function or endpoint to a Django views.py file. Use when adding views, endpoints, or API routes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Add a new API view function or endpoint to a Django views.py file. Use when adding views, endpoints, or API routes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
When the user wants to codify a repeatable code generation pattern into a jig recipe — design variables, choose operations (create/inject/patch/replace), write Jinja templates, and validate the result. Use when someone says "I keep writing this same boilerplate", "make a recipe for X", or wants to turn a manual edit into an automated pattern.
When the user needs to chain multiple jig recipes into a multi-step workflow with conditional execution and shared variables. Use when a pattern spans multiple files that need coordinated creation and modification, like scaffolding an entire endpoint or a full feature slice.
Scaffold queryset/manager/selector layers and wire view reads through selector entrypoints with jig.
Generate two-step rollout-safe Django migrations plus model-field patching using jig.
Insert consistent method/step structured logging lines into target functions using jig.
Write deterministic service tests with stable fixtures and boundary mocks without using jig.
| name | add-view |
| description | Add a new API view function or endpoint to a Django views.py file. Use when adding views, endpoints, or API routes. |
Add a new API view function to views.py using jig.
Run the jig recipe with view_name and model_name:
jig run ${CLAUDE_SKILL_DIR}/recipe.yaml --vars '{"view_name": "<name>", "model_name": "<Model>"}'
If invoked as /add-view <view_name> <model_name>:
jig run ${CLAUDE_SKILL_DIR}/recipe.yaml --vars '{"view_name": "$1", "model_name": "$2"}'
reservation_receipt)Reservation)Extract these from the user's request. For "add a receipt view for Reservation", that's view_name: reservation_receipt, model_name: Reservation.
jig vars ${CLAUDE_SKILL_DIR}/recipe.yaml to confirm required variables if unsure.