بنقرة واحدة
git-worktree-setup
Reference this skill whenever you need to understand the worktree setup for this project.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Reference this skill whenever you need to understand the worktree setup for this project.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Configure Django admin with Unfold and SiteAwareModelAdmin. Use when creating/modifying admin classes, working with inlines, or when the user mentions admin interface.
How to use Alpine.js for client-side interactivity. Use when adding interactive behaviour to templates such as toggles, dropdowns, modals, expand/collapse, dismissible elements, or any client-side state.
Create or modify branded HTML+text multipart emails for django-allauth flows. Use when working with email templates, email styling, or notification emails.
Create test data with factory_boy and SiteAwareFactory. Use when creating factories, writing test data setup, or when the user mentions factory_boy or test data.
Frontend styling with Tailwind including applying classes to templates and components, creating UI elements, reviewing markup, modifying component classes, and building Tailwind.
Use this skill when making use of any icons in any part of the frontend.
| name | git-worktree-setup |
| description | Reference this skill whenever you need to understand the worktree setup for this project. |
The project uses a bare repository layout at /home/sheena/workspace/lms/freedom-ls-worktrees/:
.git/ with worktree refs in worktrees/main/, some-feature/).git file (not directory) pointing to its git dir:
gitdir: /home/sheena/workspace/lms/freedom-ls-worktrees/worktrees/mainTo create a new worktree:
cd .. # this assumes you are in one of the branch directories to begin with
git worktree add <branch-name>
cd <branch-name>
./install_dev.sh
Each worktree gets its own PostgreSQL database named db_<sanitized_branch> (e.g., db_main, db_feature_auth_flow). This is handled automatically by settings_dev.py which detects the current git branch and derives the database name.
./install_dev.sh — sets up everything for a new worktree: creates the database, runs migrations, loads demo data./dev_db_init.sh — creates the per-branch dev and test databases (idempotent)./dev_db_delete.sh — drops the per-branch dev and test databases (for cleanup)