SuperAPI AI Directory

delegate-commit-sync

Coding & development

View repository

Updated 11-08 16:14

About this skill

Delegate to a sub-agent to complete code commit and remote sync tasks; use only when the user mentions it.

Delegation method

The user may choose a sub-agent tool. If none is selected, check tool availability in the default order and use the first available tool.

# Kimi
kimi --prompt "<提示词>"

# Cursor Agent
agent -p "<提示词>" --yolo

# Claude Code
claude -p "<提示词>" --dangerously-skip-permissions

If the sub-agent name provided by the user is not one of the above 3, find the corresponding alias in the user's terminal configuration, and select the corresponding agent based on the alias configuration and example commands.

The prompt can be freely composed, but the task must meet the following requirements:

  • Commit at an auditable granularity, with clear commit messages, and commit only files that should be tracked
  • The committed content complies with the Conventional Commits specification
  • Run the minimum-scope tests related to the changes; if they fail, fix and commit