بنقرة واحدة
ci
// Diagnoses and fixes CI/CD failures from GitHub Actions logs. Use when a build is broken, CI is red, or a pipeline has failed.
// Diagnoses and fixes CI/CD failures from GitHub Actions logs. Use when a build is broken, CI is red, or a pipeline has failed.
Shows a report of skill invocations and usage frequency.
Picks the right Kubernetes Deployment update strategy (RollingUpdate / Recreate / Blue-Green / Canary) for the situation. Use when configuring a new Deployment, changing rollout config, or deciding how to ship a risky change.
Runs Multica CLI commands by mapping the user's request to the right `multica <command>` invocation. Use when the user asks to do anything with Multica — issues, agents, workspaces, autopilots, skills, squads, or the daemon.
Runs Multica CLI commands by mapping the user's request to the right `multica <command>` invocation. Use when the user asks to do anything with Multica — issues, agents, workspaces, autopilots, skills, squads, or the daemon.
Generates written content — blog posts, social posts, emails, and marketing copy — matched to the project's existing voice. Use when the user needs written material.
Translates text between any two languages while preserving source format. Use when the user needs to translate plain text, code, or markdown content.
| name | ci |
| description | Diagnoses and fixes CI/CD failures from GitHub Actions logs. Use when a build is broken, CI is red, or a pipeline has failed. |
| when_to_use | CI failed, build broken, GitHub Actions error, red build, pipeline failure, fix CI |
| allowed-tools | ["Read","Grep","Bash","Task"] |
| user-invocable | true |
| context | fork |
| argument-hint | [analyze|fix|run] |
A collection of skills for resolving CI/CD pipeline issues — failure analysis, test fixes, and pipeline repair using structured git log and sub-agent delegation.
| Feature | Details |
|---|---|
| Failure Analysis | See references/analyzing-failures.md |
| Test Fixes | See references/fixing-tests.md |
When CI fails, first triage the root cause:
CI Failure Report
↓
┌─────────────────────────────────────────┐
│ Test vs Implementation Assessment │
├─────────────────────────────────────────┤
│ Analyze the cause of the error: │
│ ├── Implementation is wrong → Fix the implementation │
│ ├── Tests are outdated → Confirm with user │
│ └── Environment issue → Fix the environment │
└─────────────────────────────────────────┘
⚠️ Prohibited Actions on CI Failure
The following "solutions" are prohibited:
| Prohibited | Example | Correct Response |
|-----------|---------|-----------------|
| Skipping tests | `it.skip(...)` | Fix the implementation |
| Removing assertions | Deleting `expect()` | Verify expected values |
| Bypassing CI checks | `continue-on-error` | Fix the root cause |
| Relaxing lint rules | `eslint-disable` | Fix the code |
🔴 CI is failing
**A decision is needed**:
1. **Implementation is wrong** → Fix the implementation ✅
2. **Test expectations are outdated** → Ask the user for confirmation
3. **Environment issue** → Fix environment settings
⚠️ Test tampering (skipping, removing assertions) is prohibited
Which case applies?
When test/config changes are unavoidable:
## 🚨 Test/Config Change Approval Request
### Reason
[Why this change is necessary]
### Changes
[Diff]
### Alternative Considerations
- [ ] Confirmed that fixing the implementation cannot resolve this
Awaiting explicit user approval
Structured log commands to identify causal commits: see references/analyzing-failures.md (Git Log Extended Flags section).
Launch the ci-cd-fixer via the Task tool when the following conditions are met:
Launch pattern:
Task tool:
subagent_type="ci-cd-fixer"
prompt="Diagnose and fix the CI failure. Error log: {error_log}"
ci-cd-fixer operates safety-first (default dry-run mode).
See agents/ci-cd-fixer.md for details.
🔧 How to talk about CI failures
1. **"CI is down" / "It's red"**
- Automated tests are failing
2. **"Why is it failing?"**
- Investigate the cause
3. **"Fix it"**
- Attempt an automatic fix
💡 Important: "Faking" a fix by tampering with tests is prohibited
- ❌ Deleting or skipping tests
- ⭕ Fixing the code properly
If you suspect the test itself is wrong,
verify first before deciding on a course of action