Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:41:04 +08:00
commit af935b3f6f
4 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"name": "github",
"description": "GitHub Actions troubleshooting and CI/CD automation",
"version": "0.18.0",
"author": {
"name": "Craig Motlin"
},
"commands": [
"./commands/gha.md"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# github
GitHub Actions troubleshooting and CI/CD automation

18
commands/gha.md Normal file
View File

@@ -0,0 +1,18 @@
---
description: Fix failing GitHub Actions for the current commit
---
🔧 Fix failing GitHub Actions for the current commit.
- 🔄 Run `git fetch` to get the latest refs from origin
- 🔍 Find the failing checks for the current commit
- Use `gh run list --commit HEAD --limit 10` to see recent workflow runs
- For failed runs, use `gh run view <run-id>` to see details
- Use `gh run view <run-id> --log-failed` to see only failed job logs
- 🐛 Analyze the failure logs to understand what's broken
- Look for test failures, build errors, linting issues, or type errors
- 🛠️ Fix the identified issues
- ✅ Verify fixes locally if possible
- 📤 Create a commit with the fixes
- Stage only the files you modified to fix the CI issues
- `git commit --fixup HEAD`

45
plugin.lock.json Normal file
View File

@@ -0,0 +1,45 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:motlin/claude-code-plugins:plugins/github",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "376f3b431163a8875309d08725b9e54c7f23abf5",
"treeHash": "d6eb9dd254042875ace33b2e35259fe2a8f03181ccb27ffb8a992d0d9e163a42",
"generatedAt": "2025-11-28T10:27:10.102258Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "github",
"description": "GitHub Actions troubleshooting and CI/CD automation",
"version": "0.18.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "9c2be0005e09bde13c36ce49bc1f0a2e22072b0d5442500c797e94af086fb197"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "384df171c465704ab109aa535a9b3e8c4df68917e612cb90ef159f028e202415"
},
{
"path": "commands/gha.md",
"sha256": "29b5407a8356bc8be5bd5f269053198f943a48cab0ba8765d5df99f35f0f30a2"
}
],
"dirSha256": "d6eb9dd254042875ace33b2e35259fe2a8f03181ccb27ffb8a992d0d9e163a42"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}