skills/git/SKILL.md
Git workflow and safety rules for this workspace.
npx skillsauth add morgs32/skills gitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when performing git operations or handling file changes.
.env or any environment variable files—only the user may change
them.git reset --hard,
rm, git checkout/git restore to an older commit) unless the user gives
an explicit, written instruction in this conversation. Treat these commands
as catastrophic; if you are even slightly unsure, stop and ask before
touching them. (When working within Cursor or Codex Web, these git
limitations do not apply; use the tooling's capabilities as needed.)git restore (or similar commands) to revert files you didn't
author—coordinate with other agents instead so their in-progress work stays
intact.git commit -m "<scoped message>" -- path/to/file1 path/to/file2. For brand-new files, use the one-liner git restore --staged :/ && git add "path/to/file1" "path/to/file2" && git commit -m "<scoped message>" -- path/to/file1 path/to/file2.fix(profiler): correct ProcedureCall type,
feat(client,zerospin): add batch support). Format:
<type>(<scope>): <description>. See
.cursor/rules/conventional-commits.mdc for full specification.src/app/[candidate]/**) when staging or committing so the shell does not
treat them as globs or subshells.git rebase, avoid opening editors—export GIT_EDITOR=: and
GIT_SEQUENCE_EDITOR=: (or pass --no-edit) so the default messages are used
automatically.Use the Conventional Commits specification format for all commit messages:
<type>(<scope>): <description>
[optional body]
[optional footer(s)]
Type (required): One of the conventional commit types:
fix: A bug fixfeat: A new featuredocs: Documentation only changesstyle: Changes that do not affect the meaning of the coderefactor: A code change that neither fixes a bug nor adds a featureperf: A code change that improves performancetest: Adding missing tests or correcting existing testsbuild: Changes that affect the build system or external dependenciesci: Changes to CI configuration files and scriptschore: Other changes that don't modify src or test filesrevert: Reverts a previous commitScope (optional): Enclosed in parentheses (). The scope should indicate
the area of the codebase affected:
profiler, zerospin,
client, cloudflare)fix(profiler):Description (required): A short, imperative-mood description of the change (max 72 characters recommended)
Body (optional): Provide additional contextual information about the change
Footer (optional): Reference issue numbers, breaking changes, etc.
fix(profiler): correct ProcedureCall type inference
feat(client): add OPFSAdapter support
() for scope, not square brackets []fix: resolve memory leakdevelopment
Create and map ZerospinError instances for Effect-based code in zerospin. Use when defining error codes/messages, wrapping causes, mapping/catching errors in Effects, or returning structured errors from Effect.gen/Effect.fn or promise boundaries.
data-ai
Update agent skills in this repo or another.
development
TypeScript type-safety rules and guidance.
devops
Fix and update Turborepo (Turbo) configuration and task setup. Use for turbo.json errors, schema updates (pipeline -> tasks), and package-level config issues like missing extends.