Awesome-omni-skill commit
Commit changes following project quality gates and best practices. Run before creating any git commit.
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/cli-automation/commit-majiayu000" ~/.claude/skills/diegosouzapw-awesome-omni-skill-commit-3151de && rm -rf "$T"
manifest:
skills/cli-automation/commit-majiayu000/SKILL.mdsafety · automated scan (low risk)
This is a pattern-based risk scan, not a security review. Our crawler flagged:
- references .env files
Always read a skill's source content before installing. Patterns alone don't mean the skill is malicious — but they warrant attention.
source content
Commit Skill
Use this skill when committing changes to ensure quality and correctness.
Pre-Commit Checklist
Run these in order. Do not commit if any fail.
— Format all source filespnpm prettier
— Check for ESLint errorspnpm lint
— Verify TypeScript compilespnpm typecheck
— Ensure production build succeeds (optional for small changes, required before PR)pnpm build
Staging Rules
- Only stage files related to the current task. Review
carefully.git status - Never stage unrelated files — markdown notes, scratch files,
,.monorepo-tarballs/
, etc. should not be committed unless explicitly requested.agent/ - Use specific file paths with
, notgit add
orgit add .
.git add -A - Review
before committing to verify only intended changes are included.git diff --staged
Commit Message Format
- Use conventional commit prefixes:
,feat:
,fix:
,style:
,chore:
,refactor:
,docs:test: - Keep the first line under 72 characters
- Add a blank line then bullet points for multi-change commits
- End with
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> - Use a HEREDOC to pass the message to avoid shell escaping issues
Things to Watch For
- Secrets: Never commit
, credentials, or API keys.env - Large files: Don't commit binaries, build artifacts, or font files (check
).gitignore - Formatting drift: If prettier changed files you didn't touch, stage them separately or skip them
Example Flow
pnpm prettier pnpm lint pnpm typecheck git status # review what changed git diff # verify changes are correct git add <specific-files> # only related files git diff --staged # double-check staged changes git commit -m "$(cat <<'EOF' feat: description of change - Detail 1 - Detail 2 EOF )"