stage — community Swanki, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Version Control Agents needing efficient Git workflow management. The swanky way to Anki

Mjvolk3 Mjvolk3
[0]
[0]
Updated: 2/26/2026

Agent Capability Analysis

The stage skill by Mjvolk3 is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Version Control Agents needing efficient Git workflow management.

Core Value

Empowers agents to automate Git staging using auto-detected logical blocks, streamlining the commit process with interactive selection and `git status` analysis.

Capabilities Granted for stage

Automating staging of modified files
Grouping related files into logical blocks
Streamlining the commit process with interactive selection

! Prerequisites & Limits

  • Requires Git installation
  • Limited to Git version control system
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

stage

Install stage, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Smart Stage

Stage files for commit using auto-detected logical blocks. The user picks which blocks to stage via interactive selection.

Workflow

/stage -> /commit

Step 1: Scan unstaged/untracked files

Run git status (never use -uall flag) to get the full picture of modified, deleted, and untracked files.

If there are no unstaged or untracked changes, inform the user and stop.

Step 2: Auto-detect file blocks

Group related files into logical blocks based on these rules (applied in order of priority):

The Commit Trio rule

Any block that contains a .py file under swanki/ or tests/ MUST also include:

  1. The paired dendron note (notes/<dendron-path>.md) -- if it exists in the changed file list
  2. The paired test file (tests/.../<test_file>.py) or source file -- if it exists in the changed file list
  3. The current weekly note (notes/user.mjvolk3.swanki.tasks.weekly.*.md) -- always pulled into any block containing Python files

The weekly note appears in the FIRST Python block only (not duplicated across blocks). This enforces the project's atomic commit rule: source + note + weekly travel together.

Block detection rules (in priority order)

  1. Python trio: a .py source file + its notes/<dendron-path>.md + its tests/ counterpart + the weekly note. Multiple related .py files in the same package can be grouped into one block (e.g., all files under swanki/processing/).
  2. Skill bundles: all files under a .claude/skills/<name>/ directory grouped together
  3. Config clusters: related config files (e.g., .pre-commit-config.yaml + pyproject.toml when both have lint-related changes)
  4. Shell scripts + notes: .sh files paired with their notes/scripts.<name>.md counterpart
  5. Standalone notes: notes/*.md files not already paired with Python or shell files
  6. Other files: anything not covered above (configs, docs, etc.)

A file should only appear in one block. If a file could fit multiple blocks, use the highest-priority rule.

Step 3: Present blocks to user

Display numbered blocks with file lists. Mark the weekly note explicitly so the user sees it:

Detected file blocks:
[1] Processing package (4 files):
    swanki/processing/pdf_processor.py
    swanki/processing/image_processor.py
    notes/swanki.processing.pdf_processor.md
    notes/user.mjvolk3.swanki.tasks.weekly.2026.08.md  (weekly)
[2] Scripts: scripts/dendron-tree.sh
[3] Standalone notes: notes/scratch.2026.02.11.*.md (3 files)

Step 4: User picks blocks

Use AskUserQuestion with multiSelect: true to let the user choose which blocks to stage. Options:

  • Each detected block as a selectable option
  • "All" to stage everything

Step 5: Pre-stage reminders

Print reminders as informational text (not blocking):

  • If selected files include .py under swanki/ or tests/: "Python files detected. Consider running /update-py-notes and /ruff first."

Step 6: Stage selected blocks

  • Run git add <files> for chosen blocks (explicit file paths, never git add -A or git add .)
  • Use git rm for deleted files
  • Never stage .env, credentials, or secrets -- warn the user if detected

Step 7: Confirm

Run git diff --cached --name-status to show what is now staged.

Important Rules

  • NEVER run git add -A or git add .
  • NEVER stage .env, credentials, secrets, or similar sensitive files -- warn the user
  • Use git rm for deleted files
  • The user's tool approval prompt is the gate -- do NOT ask extra confirmation questions
  • A file appears in exactly one block
  • Do NOT ask extra approval questions -- tool approval prompts are the gates
  • The weekly note is always included with the first Python block -- never staged alone as a separate block when Python files are present

Example Invocations

  • /stage -- interactive staging of all changes
  • "stage my changes"
  • "stage files for commit"

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is stage?

Perfect for Version Control Agents needing efficient Git workflow management. The swanky way to Anki

How do I install stage?

Run the command: npx killer-skills add Mjvolk3/Swanki/stage. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for stage?

Key use cases include: Automating staging of modified files, Grouping related files into logical blocks, Streamlining the commit process with interactive selection.

Which IDEs are compatible with stage?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for stage?

Requires Git installation. Limited to Git version control system.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add Mjvolk3/Swanki/stage. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use stage immediately in the current project.

Related Skills

Looking for an alternative to stage or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI