一键导入
generate-gitignore
Generate a comprehensive .gitignore file at the project root covering common environments, frameworks, and operating systems.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a comprehensive .gitignore file at the project root covering common environments, frameworks, and operating systems.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | generate-gitignore |
| description | Generate a comprehensive .gitignore file at the project root covering common environments, frameworks, and operating systems. |
| disable-model-invocation | true |
Create a comprehensive .gitignore file at the root of the project that covers common development environments, frameworks, and operating systems.
.gitignore already exists at project root.gitignore with the comprehensive templateIf .gitignore exists at project root, ask user: "A .gitignore file already exists. Overwrite it? (yes/no)"
If user says no, abort operation.
Write this exact template to .gitignore at project root:
# VS Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
# JetBrains IDEs (IntelliJ, RubyMine, WebStorm, etc.)
.idea/
*.iml
*.iws
*.ipr
out/
# Rails
*.rbc
capybara-*.html
.rspec
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep
/db/*.sqlite3
/db/*.sqlite3-journal
/db/*.sqlite3-*
/public/system
/coverage/
/spec/tmp
*.orig
rerun.txt
pickle-email-*.html
.byebug_history
/config/master.key
/config/credentials/*.key
# React / Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
build/
dist/
.env.local
.env.development.local
.env.test.local
.env.production.local
# DevOps / Infrastructure
*.tfstate
*.tfstate.*
.terraform/
.terragrunt-cache/
*.pem
*.key
.envrc
.vagrant/
# Environment variables
.env
.env.*
!.env.example
# Logs
*.log
logs/
# OS - macOS
.DS_Store
.AppleDouble
.LSOverride
._*
# OS - Windows
Thumbs.db
ehthumbs.db
Desktop.ini
# OS - Linux
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*
Output a simple confirmation message:
✅ Created .gitignore at project root
File: [absolute path to .gitignore]
Write directly to .gitignore file at project root. Provide confirmation message in chat only.
Draft a structured commit message for all uncommitted changes, auto-detecting project type (React, Rails, or generic).
Create a comprehensive, well-structured README.md file for the project.
Review a GitHub Pull Request using the gh CLI and provide a comprehensive report with prioritized suggestions.
Review uncommitted local code changes and provide a prioritized report with suggested fixes.
Generate comprehensive markdown documentation for a Rails controller, including actions, routes, request/response formats, and business logic.
Generate a formatted Slack standup update by summarizing entries from the last working day and today in a work log markdown file.