ci-fix
CI Fix Skill
Diagnose and fix GitHub Actions CI failures using patterns from past CI issues.
Quick Diagnosis Pattern
- Get CI status:
gh run list --limit 5 --json status,conclusion,name,headBranch
- Get failed job logs:
gh run view <run_id> --log --job <job_name>
- Categorize failure:
- lint: fmt/clippy warnings
- test: test failures or timeouts
- build: compilation errors
- security: cargo audit/deny failures
- coverage: coverage threshold missed
- deprecated: old action versions (common!)
Common Fixes (From History)
Deprecated GitHub Actions
# Detect
grep -r "actions/checkout@v1" .github/workflows/
grep -r "actions-rs" .github/workflows/
# Fix: Update to v2+
Optional Dependency Issues (libclang, wasmtime)
# Pattern: --all-features triggered optional dep issues
# Fix: Use workspace exclude
cargo build --workspace --exclude do-memory-mcp
Clippy Lint Allow-List
# See new warnings
./scripts/code-quality.sh clippy --workspace 2>&1 | grep "warning:"
# Fix: Add #[allow(...)] comments
Coverage Threshold
# Generate coverage
cargo tarpaulin --workspace
# Check threshold in .github/workflows/
Benchmark Timeout
# Increase timeout-minutes in workflow YAML
Fix Commands
# Linting
cargo fmt --all
cargo clippy --workspace --fix --allow-dirty
# Testing
cargo test --workspace -- --nocapture
# Security
cargo audit
cargo deny check
# Build
cargo build --workspace
Success Criteria
- All CI jobs pass
- No new warnings introduced
- Changes committed if needed
More from d-o-hub/rust-self-learning-memory
loop-agent
Execute workflow agents iteratively for refinement and progressive improvement until quality criteria are met. Use when tasks require repetitive refinement, multi-iteration improvements, progressive optimization, or feedback loops until convergence.
51web-search-researcher
Research topics using web search and content fetching to find accurate, current information. Use when you need modern information, official documentation, best practices, technical solutions, or comparisons beyond your training data.
46perplexity-researcher-reasoning-pro
Highest level of research and reasoning capabilities for complex decision-making with significant consequences, strategic planning, technical architecture decisions, multi-stakeholder problems, or high-complexity troubleshooting requiring expert-level judgment and sophisticated reasoning chains. Prioritizes actively maintained repositories and validates website sources for 2025 relevance.
44context-retrieval
Retrieve relevant episodic context from memory for informed decision-making. Use when you need past episodes, patterns, or solutions to similar tasks.
44rust-code-quality
Perform comprehensive Rust code quality reviews against best practices for async Rust, error handling, testing, and project structure
43codebase-analyzer
Analyze implementation details, trace data flow, explain technical workings, locate files, and consolidate codebases. Use when you need to understand HOW code works, find file locations, or assess technical debt.
40