Commands are questions you ask the system.
Do not memorize commands without knowing what evidence their output should provide. The purpose column is the important part.
Repository & Git
git statusShow working tree/staging state before changing history.
git diffInspect unstaged changes.
git diff --stagedInspect exactly what the next commit will contain.
git log --oneline --decorate -n 20Read recent history and branch pointers.
git switch -c <branch>Create a focused branch for a change.
pnpm workspace
pnpm install --frozen-lockfileInstall exactly from the lockfile; fail on manifest drift.
pnpm --filter web devRun only the Next.js workspace.
pnpm --filter api start:devRun only the NestJS API workspace.
pnpm -r typecheckRun a script recursively across workspaces that define it.
pnpm why <package>Explain why a dependency exists in the graph.
Prisma
pnpm exec prisma versionVerify CLI/client/environment version information.
pnpm exec prisma validateValidate schema/config before migration work.
pnpm exec prisma migrate dev --name <name>Create/apply a development migration from deliberate schema changes.
pnpm exec prisma generateRegenerate Prisma Client from schema.
pnpm exec prisma studioInspect development data visually; not a migration tool.
Docker
docker build -t taskflow-api:dev .Build an image from the current Docker context.
docker run --rm -p 4000:4000 --env-file .env taskflow-api:devRun API image with explicit port/env injection.
docker psList running containers and published ports.
docker logs <container>Read process output for one container.
docker inspect <container>Inspect runtime/network/health metadata.
Verification habit
node --versionProve the active Node executable/version.
corepack --versionProve Corepack is available.
pnpm --versionProve the expected package-manager line is active.
git --versionProve Git command resolution.
pnpm buildPerform a production-style documentation/app build where the repository defines it.