push-code
Commit and push code with automatic task discovery. Finds completed tasks from the planning board since last commit and includes them in the commit message.
Security Assessment
About push-code
The push-code skill automates the process of committing and pushing code changes, making it easier for developers to ensure that their code is up-to-date and accurately described in commit messages. This skill integrates with a task board system to automatically discover completed tasks since the last commit, including them in the commit message for better tracking and accountability. By streamlining the commit process, it saves developers time and reduces the chances of human error in tracking tasks or changes made to the codebase.
FAQ
How does the push-code skill identify completed tasks?
The push-code skill identifies completed tasks by parsing the git diff output for any files in the `.task-board/done/` folder. It looks for new task files added to this folder, which follow a specific filename pattern that includes the task number, type, and description.
Can the push-code skill be used without a task board system?
No, the push-code skill relies on a task board system to detect completed tasks and include them in the commit message. If no tasks are completed or the task board system is not used, the skill will commit with a general description of the changes made.
What happens if there are no changes to commit?
If there are no changes to commit, the skill will output the message 'Nothing to commit, working tree clean.' and no commit will be made.
How does the skill handle multiple tasks completed at once?
If multiple tasks are completed, the skill will combine them into a concise summary for the commit message, or group them by type if there are too many tasks. The summary will reflect the nature of the changes, such as 'CI improvements and Storybook stories' or 'Multiple tasks completed'.
Does the push-code skill support pushing multiple commits at once?
The skill commits and pushes changes one at a time. If there are unpushed commits, it will prompt the user to push them before creating a new commit.
Install push-code
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
andersnygaard/ettsted2