stage

Group related Git files into logical blocks for interactive staging.

Updated Mar 10, 2024
One-click install
npx skills add https://github.com/Mjvolk3/Swanki --skill stage-mjvolk3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stage
Source: https://github.com/Mjvolk3/Swanki/tree/main/.claude/skills/stage
Command: npx skills add https://github.com/Mjvolk3/Swanki --skill stage-mjvolk3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the Git staging process by intelligently grouping related files into logical blocks, allowing for more organized and atomic commits.

Core Features & Use Cases

  • Auto-detection of file blocks: Groups files based on project structure and relationships (Python trio, skill bundles, config clusters, etc.).
  • Interactive selection: User chooses which detected blocks to stage.
  • Pre-staging reminders: Provides helpful prompts for related tasks like updating Python notes or running linters.
  • Use Case: Before committing changes to a Python module, this Skill will group the module's .py file, its corresponding documentation note, its test file, and the weekly note together, ensuring all related components are staged as a single unit.

Quick Start

Use the stage skill to interactively select and stage your modified files for commit.

Frequently Asked Questions about stage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I group related files for atomic Git commits?

To stage logical file blocks for atomic Git commits, you can use automated staging tools that detect project relationships. This Skill groups related components like Python code, notes, and tests into blocks for interactive selection and unified staging.

What is the best way to automate Git staging for Python modules and tests?

Automating Git staging for Python modules involves detecting file relationships across your project structure. This Skill auto-detects groups like Python trios, bundles modules with their test files, and allows interactive selection before staging.

Can I interactively select which code blocks to stage in Git?

Yes, interactive staging allows you to choose specific detected file blocks. This Skill automates the detection of related code clusters based on project structure and prompts you to select which logical groups to stage.

Does automated file staging work with mixed code and documentation notes?

Automated file staging works effectively with mixed code and documentation by grouping them into logical blocks. This Skill detects relationships across your project, grouping Python files with corresponding documentation notes and tests for organized commits.

How do I ensure related tasks like running linters before staging files are not missed?

To ensure related tasks like running linters are not missed before staging, you can use pre-staging reminders. This Skill provides helpful prompts for associated tasks, such as updating Python notes or running linters, before you commit changes.