بنقرة واحدة
start-app
Creates a new app from a template if present and adds it to settings and URLs
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Creates a new app from a template if present and adds it to settings and URLs
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | start-app |
| description | Creates a new app from a template if present and adds it to settings and URLs |
| allowed-tools | Read, Grep, Glob, Edit, Write, Bash() |
| argument-hint | <app_name> [template_path] |
app_name: The name of the new Django application to createtemplate_path: The path of the template to use (optional)If template_path is not provided:
*template* and *Template*. Note: on case-sensitive filesystems (Linux) these two patterns do not cover all casings (e.g. *TEMPLATE*); they are a best-effort heuristic.<folder_name>. Use it? (yes/no)"
If template_path is provided, skip discovery and use it directly.
Stop execution if app_name already exists
If template_path is available, run:
uv run python manage.py startapp "${app_name}" --template="${template_path}"
else run:
uv run python manage.py startapp "${app_name}"
Discover settings file, read manage.py to extract the DJANGO_SETTINGS_MODULE value, then open that file.
Append app_name to INSTALLED_APPS within the settings file if not already there.
Execute this only if template_path contains a URL file.
In main urls.py within settings directory.
Generate a url_prefix from the app_name, replace underscores with hyphens and lowercase, so "my_app" becomes "my-app".
Append to urlpatterns:
path("<url_prefix>/", include("<app_name>.urls")),
Add test path to pyproject.toml under testpaths if the [tool.pytest.ini_options] section exists. Note: testpaths must go in [tool.pytest.ini_options], not [tool.pytest] — pytest silently ignores the latter.
testpaths = [
# ...
"<app_name>/tests",
]
Creates Django template UI using Cotton components and/or Django partials for DRY, reusable code.
Use feature switches to control introduction of new functionality and regressions with Django Waffle