From fls
Reference this skill whenever you need to understand the worktree setup for this project.
npx claudepluginhub preludetech/django-craftThis skill uses the workspace's default tool permissions.
The project uses a **bare repository** layout at `/home/sheena/workspace/lms/freedom-ls-worktrees/`:
Creates isolated git worktrees as sibling directories for parallel branch development, keeping main repo clean. Use for new features, fixes, or experiments needing isolation from main/master.
Manages git worktrees via unified bash script for parallel development: creates isolated feature environments, lists/switches status, copies .env files, cleans up merged/stale worktrees.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Share bugs, ideas, or general feedback.
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)