Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion git/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "git",
"version": "0.2.1",
"version": "0.2.2",
"description": "Enhanced git workflows with smart branch naming, conventional commits detection, fork handling, and safety guardrails",
"author": {
"name": "cblecker",
Expand Down
15 changes: 15 additions & 0 deletions git/skills/branch/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,21 @@ if ! git rev-parse --git-dir > /dev/null 2>&1; then
fi
```

## Task Coordination

At workflow start:
- Create coordination task with TaskCreate:
- subject: "Create git branch"
- activeForm: "Creating git branch"
- metadata: `{ workflow: "branch", base: "<base-branch>", startedAt: "<timestamp>" }`

During workflow:
- Update task metadata as conventions are detected (from detect-conventions skill)

At workflow end:
- Update task status to completed
- Add result metadata: `{ result: { branchName: "<name>" } }`

## Integration with Other Skills

This skill may be invoked by:
Expand Down
16 changes: 16 additions & 0 deletions git/skills/commit/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,22 @@ Report success to user with commit hash and message. If there was a problem, rep
5. Craft message: `Update installation instructions`
6. Create commit and verify

## Task Coordination

At workflow start:
- Create coordination task with TaskCreate:
- subject: "Create git commit"
- activeForm: "Creating git commit"
- metadata: `{ workflow: "commit", branch: "<current-branch>", startedAt: "<timestamp>" }`

During workflow:
- Update task metadata as conventions are detected (from detect-conventions skill)
- Add metadata on errors or user decisions

At workflow end:
- Update task status to completed
- Add result metadata: `{ result: { commitSha: "<sha>", message: "<summary>" } }`

## Integration with Other Skills

**This skill invokes:**
Expand Down
11 changes: 11 additions & 0 deletions git/skills/detect-conventions/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,14 @@ DETECTION_METHOD: config_file|history_analysis|claude_md|none
CONFIDENCE: high|medium|low
TYPES_IN_USE: feat, fix, docs, ...
```

## Task Coordination

On start:
- Call TaskList to find parent workflow task (if running as subagent)
- Read parent task context if found (workflow type, branch)

On completion:
- If parent task exists, update its metadata with findings:
- metadata: `{ conventions: { style: "<conventional|standard>", prefix: "<type-if-conventional>", confidence: "<high|medium|low>" } }`
- If no parent task, return results directly to caller
15 changes: 15 additions & 0 deletions git/skills/pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,21 @@ After PR created:
5. Create PR with base: `develop`
6. Return PR URL

## Task Coordination

At workflow start:
- Create coordination task with TaskCreate:
- subject: "Create pull request"
- activeForm: "Creating pull request"
- metadata: `{ workflow: "pr", branch: "<current-branch>", base: "<target-branch>", startedAt: "<timestamp>" }`

During workflow:
- Update task metadata for significant events (push, template found, etc.)

At workflow end:
- Update task status to completed
- Add result metadata: `{ result: { prUrl: "<url>", prNumber: <number> } }`

## Integration with Other Skills

**This skill invokes:**
Expand Down
Loading