بنقرة واحدة
add-model
Create a new Django model in a module. Use when adding models, database tables, or data classes.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a new Django model in a module. Use when adding models, database tables, or data classes.
التثبيت باستخدام 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-model |
| description | Create a new Django model in a module. Use when adding models, database tables, or data classes. |
Create a new Django model class in a module's models.py.
jig run ${CLAUDE_SKILL_DIR}/recipe.yaml --vars '{"module": "<module>", "model_name": "<ModelName>", "fields": "<field_lines>"}'
auth)Permission)name = models.CharField(max_length=100))fields variable is raw Python — include proper indentation and field definitions.