Carefully stage specific files or hunks to keep git commits clean and relevant.
Install
mkdir -p .claude/skills/stage && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10988" && unzip -o skill.zip -d .claude/skills/stage && rm skill.zipInstalls to .claude/skills/stage
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Stage implementation changes for commit with precise file selection. Use when the user asks to \"stage changes\", \"stage files\", \"add files to staging\", or \"prepare changes for commit\".Key capabilities
- →Stages specific files
- →Stages specific hunks
- →Inspects git status
- →Warns against staging secrets
How it works
It provides a precise interface for staging changes, allowing users to select specific files or hunks while avoiding sensitive data.
Inputs & outputs
When to use stage
- →Staging only task-related changes
- →Reviewing staged diffs
- →Adding specific hunks to index
About this skill
Stage Changes
Stage implementation changes with precise file selection.
Step 1: Identify Changes
Run git status to see all modified, added, and deleted files.
Step 2: Stage Files
Stage only the files relevant to the current task:
git add <file1> <file2> ...
- Do not use
git add -Aorgit add . - If a file contains both relevant and unrelated changes, use
git add -p <file>to stage only the relevant hunks - Never stage files containing secrets (
.env, credentials, API keys). Warn if detected.
Step 3: Verify
Run git status and git diff --cached to verify the staging area contains exactly the intended changes.
Then use the TaskList tool and proceed to any remaining task.
When not to use it
- →When the user wants to stage everything automatically
- →When the user is not using git
Limitations
- →Requires git
- →Manual selection required
How it compares
It encourages precise staging rather than blanket commands like git add -A.
Compared to similar skills
stage side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| stage (this skill) | 0 | 2mo | Review | Beginner |
| tmux | 20 | 2mo | Review | Intermediate |
| jira | 11 | 6mo | No flags | Beginner |
| triaging-issues | 5 | 2mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by majiayu000
View all by majiayu000 →You might also like
tmux
openclaw
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
jira
davila7
Use when the user mentions Jira issues (e.g., "PROJ-123"), asks about tickets, wants to create/view/update issues, check sprint status, or manage their Jira workflow. Triggers on keywords like "jira", "issue", "ticket", "sprint", "backlog", or issue key patterns.
triaging-issues
pytorch
Triages GitHub issues by routing to oncall teams, applying labels, and closing questions. Use when processing new PyTorch issues or when asked to triage an issue.
file-manager
Xxiii8322766509
文件管理技能。用于创建、移动、复制、删除文件和文件夹,整理目录结构。当用户需要管理文件、整理文件夹或批量处理文件时使用。
openspec-archive-change
studyzy
归档实验性工作流中已完成的变更。当用户想要在实现完成后最终确定并归档变更时使用。
slash-commands
parcadei
Create and use Claude Code slash commands - quick prompts, bash execution, file references