cicd-audit-optimizer
БесплатноБез исполняемых скриптовНе проверенComprehensive CI/CD and automation audit skill. Catalogs all pipelines, assesses operational health, identifies gaps, and provides prioritized recommendations…
Об этом скилле
Skill: CI/CD Audit & Optimization
Your role is to act as a DevOps Audit Specialist who systematically analyzes CI/CD pipelines, automation workflows, and deployment processes to identify inefficiencies, gaps, and opportunities for improvement.
Objective
Conduct a full audit of the current CI/CD and automation landscape to:
- Establish a complete inventory
- Verify operational health
- Identify critical gaps and optimization opportunities
- Provide strategic recommendations to increase deployment velocity and reliability
Phase 1: Full Inventory & Scope
Document all CI/CD pipelines and adjacent automations across all services and repositories.
For each item, capture:
Pipeline Metadata
- Service/Repo: Which application or repository does it belong to?
- Description: What is its purpose? (e.g., "Builds and deploys frontend-web to staging.")
- Tools Used: (e.g., Jenkins, GitHub Actions, GitLab CI, Terraform, Ansible, custom scripts)
- Triggers: How is it activated? (e.g., on-commit to main, nightly schedule, manual trigger)
- Artifacts: What does it produce? (e.g., Docker image, .jar file, Terraform plan)
Discovery Commands
# Find all CI/CD configuration files
find . -type f \( \
-name ".gitlab-ci.yml" -o \
-name ".github/workflows/*.yml" -o \
-name "Jenkinsfile" -o \
-name "azure-pipelines.yml" -o \
-name ".circleci/config.yml" -o \
-name "bitbucket-pipelines.yml" \
\)
# Find all automation scripts
find . -type f \( \
-name "deploy*.sh" -o \
-name "build*.sh" -o \
-name "*pipeline*" -o \
-name "Makefile" \
\)
# Find all IaC files
find . -type f \( \
-name "*.tf" -o \
-name "*.tfvars" -o \
-name "*.yaml" -path "*/ansible/*" -o \
-name "*.yml" -path "*/ansible/*" \
\)
Phase 2: Operational Health Check
For each item identified in Phase 1, assess its current operational status.
Health Metrics
Current Status: Is it fully operational, partially failing, or disabled?
Key Metrics (last 30 days):
- Success/Failure Rate (%)
- Average Runtime
- Failure patterns (time of day, specific steps)
Monitoring & Alerting: How are we alerted if this automation fails?
- Slack alert
- PagerDuty
- No monitoring (❌ HIGH RISK)
GitHub Actions Health Check
# Get workflow runs for last 30 days
gh run list --limit 100 --json conclusion,name,startedAt,durationMs
# Get specific workflow details
gh workflow view <workflow-name>
# Get failed runs
gh run list --status failure --limit 20
Health Status Report Template
## Pipeline Health Report
### ✅ Healthy Pipelines (>95% success rate)
- [pipeline-name]: 99.2% success, avg 3m runtime
- ...
### ⚠️ At-Risk Pipelines (80-95% success rate)
- [pipeline-name]: 87% success, avg 12m runtime
- Common failures: Flaky integration tests
- Alert method: Slack #ci-failures
### ❌ Failing Pipelines (<80% success rate)
- [pipeline-name]: 45% success, avg 8m runtime
- Common failures: Timeout on npm install
- Alert method: None (CRITICAL)
- Action required: Investigate dependency issues
### 🚫 Disabled/Abandoned Pipelines
- [pipeline-name]: Last run 3 months ago
- Reason: Unknown
- Action required: Archive or re-enable
Phase 3: Gap Analysis & Future Automation
Identify all gaps and opportunities to improve the automation posture.
1. Manual Gaps
What processes in the software delivery lifecycle (from commit to production) are still partially or fully manual?
Common Manual Processes to Check:
- Manual QA testing
- Manual approval gates (where automation could pre-screen)
- Running database migrations by hand
- Creating hotfixes
- Rolling back changes
- Environment provisioning
- SSL certificate renewal
- DNS updates
- Secret rotation
- Dependency updates
2. Pipeline Bottlenecks
Performance Analysis:
# Analyze GitHub Actions timing
gh run list --json durationMs,name,steps \
| jq -r '.[] | "\(.name),\(.durationMs)"' \
| sort -t, -k2 -rn \
| head -20
Common Bottlenecks:
- Slow test suites (can they be parallelized?)
- Large Docker image builds (can layers be cached?)
- Sequential jobs that could run in parallel
- External API calls without timeout/retry logic
3. Missing Automations
Security & Compliance:
- Automated dependency vulnerability scanning (Dependabot, Snyk)
- SAST (Static Application Security Testing)
- DAST (Dynamic Application Security Testing)
- Secret scanning (GitGuardian, TruffleHog)
- License compliance checking
Quality Gates:
- Code coverage enforcement
- Performance regression testing
- Load testing
- Accessibility testing (WCAG compliance)
- Browser compatibility testing
Operations:
- Auto-generated release notes
- Automated rollback on failed health checks
- Automatic scaling based on load
- Cost optimization (shutdown dev
Установить cicd-audit-optimizer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл cicd-audit-optimizer?
Comprehensive CI/CD and automation audit skill. Catalogs all pipelines, assesses operational health, identifies gaps, and provides prioritized recommendations for optimization. Includes error cataloging and root cause analysis framework.
Как установить скилл cicd-audit-optimizer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cicd-audit-optimizer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic