一键导入
git-conventions
Apply when committing code, writing commit messages, or configuring .gitignore
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Apply when committing code, writing commit messages, or configuring .gitignore
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Provides coding style rules for Python and PowerShell. Apply when writing, editing, reviewing, or debugging code.
Apply when conducting deep research on technologies, APIs, frameworks, or other software development topics requiring systematic investigation
Apply when doing planning for long-running tasks in sessions on top level
Apply when working with GitHub repositories, issues, PRs, or authentication
Apply when interacting with Google services (Gmail, Calendar, Drive, Tasks) via gogcli CLI
Automates browser interactions via Microsoft Playwright MCP server (@playwright/mcp). Use when navigating websites, filling forms, taking screenshots, scraping web data, testing web UI, or automating any browser-based task. Covers persistent sessions, extension mode for existing browser tabs, and 40+ browser automation tools.
| name | git-conventions |
| description | Apply when committing code, writing commit messages, or configuring .gitignore |
This skill implements:
Phases: IMPLEMENT, DELIVER
<type>(<scope>): <description>Use Conventional Commits: <type>(<scope>): <description>
feat(crawler): add incremental crawl mode
fix(auth): handle expired tokens
docs: update README installation steps
refactor(domains): simplify source validation logic
chore: update dependencies to latest versions
CRITICAL: Choose the right reset mode to avoid data loss.
git reset --soft HEAD~1 # Undo commit, keep files STAGED
git reset HEAD~1 # Undo commit, keep files UNSTAGED
git reset --hard HEAD~1 # Undo commit AND DELETE all changes
WARNING: --hard deletes uncommitted files permanently (unless recoverable via reflog).
If files were committed before reset, recover from reflog:
git reflog # Find commit hash (e.g., abc1234)
git checkout abc1234 -- path/to/file # Recover specific file
git checkout abc1234 -- . # Recover all files from that commit
If commit was pushed before local reset:
git fetch origin # Get latest from remote
git log --oneline origin/master -5 # Check what's on remote
git checkout origin/master -- path/to # Recover file from remote
git add <files>
git commit --amend -m "new message" # Replace last commit
git push --force-with-lease # Safer than --force
Use --force-with-lease: Fails if remote changed since last fetch (prevents overwriting others' work).
.env files, certificates (*.cer, *.pfx, *.pem, *.key), API keys.vscode/, Set-*-Env.bat (environment setup scripts)! prefix when excluding folders# Secrets (NEVER commit)
*.env
.env.*
*.cer
*.pfx
*.pem
*.key
# Python
.venv/
__pycache__/
*.pyc
.pytest_cache/
.mypy_cache/
# Node.js
node_modules/
dist/
lib/
*.log
# IDE (keep .vscode/)
.vs/
bin/
obj/
# OS
.DS_Store
# Tools (reinstallable)
../.tools/poppler/
# Temporary
*.tmp
.tmp_*
*.bak