Agent skill
GitHub MCP
Monitor CI/CD workflows after every `git push` using GitHub MCP.
Install this agent skill to your Project
npx add-skill https://github.com/hivellm/rulebook/tree/main/templates/skills/modules/github-mcp
SKILL.md
GitHub MCP Server Integration
CRITICAL: Monitor CI/CD workflows after every git push using GitHub MCP.
Workflow After Push
1. Push changes
2. Wait 10 seconds
3. Check workflow status via GitHub MCP
4. If workflows running → check again in next interaction
5. If workflows failed → fetch logs, analyze, fix
6. If workflows passed → confirm to user
Error Recovery
When CI/CD fails:
1. Fetch error information (workflow, job, step, logs)
2. Analyze against AGENTS.md standards
3. Propose fix
4. Implement fix with full quality checks
5. Commit and provide push command
6. Monitor workflows again
Best Practices
✅ DO:
- Always check workflows after push
- Fetch complete error logs on failures
- Fix issues before next feature
- Verify fixes locally before re-pushing
- Report status to user
❌ DON'T:
- Ignore workflow failures
- Push again without fixing
- Skip error analysis
- Proceed if workflows failing
- Create tags if CI/CD failed
Configuration
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your_token_here"
}
}
}
}
Token permissions: Repository (read), Actions (read), Workflows (read/write)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
DAG Workflow
Maintain a clean dependency graph (DAG) to prevent circular dependencies and ensure maintainable architecture.
Documentation Rules
All documentation in English. Root README concise, detailed docs in `/docs`.
Quality Enforcement
These rules are NON-NEGOTIABLE and MUST be followed without exception.
Rulebook Task Management
Spec-driven task management for features and breaking changes with OpenSpec-compatible format
Agent Automation
Mandatory workflow that AI agents MUST execute after EVERY implementation.
C
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Didn't find tool you were looking for?