com um clique
ignore
// Generate or update a .gitignore file based on the current project stack and tools. Use when the user invokes /ignore or asks to create, fix, or audit a .gitignore for the current repository.
// Generate or update a .gitignore file based on the current project stack and tools. Use when the user invokes /ignore or asks to create, fix, or audit a .gitignore for the current repository.
Auto-trigger this skill when the user's input is vague, ambiguous, incomplete, or too brief to act on reliably in Codex. Indicators: single-sentence requests with no success criteria, missing target files or scope, unclear intent ("fix this", "make it better", "help me"), mixed unrelated asks in one message, or prompts that would force Codex to guess critical details. Do NOT trigger when the user's intent, scope, and done-state are already clear — even if the prompt is short.
去除文本中的 AI 生成痕迹。适用于编辑或审阅文本,使其听起来更自然、更像人类书写。 基于维基百科的"AI 写作特征"综合指南。检测并修复以下模式:夸大的象征意义、 宣传性语言、以 -ing 结尾的肤浅分析、模糊的归因、破折号过度使用、三段式法则、 AI 词汇、否定式排比、过多的连接性短语。
React best practices for component design, state management, and Effect discipline. Use when writing, reviewing, or refactoring React components, custom hooks, or any .ts/.tsx/.js/.jsx file that uses React.
Apply when the task requires implementing net-new behavior — features, modules, endpoints, integrations, or any additive change. Drives development through strict red-green-refactor with test-first slicing and deterministic verification.
Spawn a subagent to produce high-quality project documentation (README, integration guide, tutorials, product docs) from the current repo state.
Improve UI/UX aesthetics and hierarchy (color, spacing, typography, layout, components) from UI code or specs. Trigger when the user asks to beautify/polish/refine/modernize the UI, wants a minimal/enterprise look, or reports the UI is messy/inconsistent/cluttered.
| name | ignore |
| description | Generate or update a .gitignore file based on the current project stack and tools. Use when the user invokes /ignore or asks to create, fix, or audit a .gitignore for the current repository. |
| disable-model-invocation | true |
This skill helps the agent create or update a .gitignore file based on the actual project layout and tech stack, instead of using a one-size-fits-all template.
Use it when:
/ignore.gitignore.gitignore exists yet.gitignore candidate.gitignoreKeep changes minimal and reversible (back up existing .gitignore before modifying).
Work from the repository root.
package.json, pnpm-lock.yaml, yarn.lock, node_modules/pyproject.toml, requirements.txt, .venv/, __pycache__/go.mod, go.sumCargo.toml, Cargo.lock, target/pom.xml, build.gradle, .gradle/, *.imlnext.config.*, vite.config.*, webpack.config.*.vscode/.idea/.DS_Store, Thumbs.dbdist/, build/, .turbo/, .next/, coverage/, out/, tmp/, logs/You do not need to be perfect; detect the obvious signals and choose sensible defaults.
Based on discovery, decide which groups to include:
Prefer including too little over too much:
package-lock.json, pnpm-lock.yaml, yarn.lock, Cargo.lock, etc.).src/, app/, etc.).env/.env.* if consistent with workspace conventions and security rules; never remove existing entries that intentionally ignore env files.Create an in-memory list of lines for the candidate .gitignore with small, focused sections.
Suggested structure (keep each section short):
# OS
.DS_Store
Thumbs.db
# Editors
.vscode/
.idea/
# Node
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Build output
dist/
build/
coverage/
.next/
.turbo/
out/
# Environments
.env.local
.env.development.local
.env.test.local
.env.production.local
Add or remove sections depending on the detected stack (for non-Node projects, skip Node‑specific lines, etc.).
When a .gitignore already exists:
.gitignore.bak in the repository root before modifying.When no .gitignore exists:
.gitignore in the project root.After writing the file, summarize:
.gitignore was new or modified.Example summary:
Result: Updated existing
.gitignore(backed up to.gitignore.bak).
Added: Node build artifacts, macOS.DS_Store, VS Code workspace folder ignores.
Patterns added: 14 new entries.
.* generically, or critical configuration directories unless the repository already does so..gitignore and clearly stating that you are replacing its contents.