plugins/patterns/skills/work-avoidance-in-github-actions/SKILL.md
Skip unnecessary CI/CD operations before execution. Detect unchanged content, cached builds, and irrelevant paths to reduce workflow costs and execution time.
npx skillsauth add adaptive-enforcement-lab/claude-skills work-avoidance-in-github-actionsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Apply work avoidance patterns to skip unnecessary CI/CD operations.
Skip Before Execute
Detect unchanged content, cached builds, and irrelevant paths before running expensive operations.
Work avoidance is valuable in GitHub Actions when:
| Pattern | Operator Manual | Engineering Pattern | | --------- | ----------------- | --------------------- | | Skip version-only changes | Content Comparison | Volatile Field Exclusion | | Skip unchanged paths | Path Filtering | N/A (native GitHub feature) | | Skip cached builds | Cache-Based Skip | Cache-Based Skip |
| Pattern | Operator Manual | Engineering Pattern | | --------- | ----------------- | --------------------- | | Skip version-only changes | Content Comparison | Volatile Field Exclusion | | Skip unchanged paths | Path Filtering | N/A (native GitHub feature) | | Skip cached builds | Cache-Based Skip | Cache-Based Skip |
Apply work avoidance patterns to skip unnecessary CI/CD operations.
Skip Before Execute
Detect unchanged content, cached builds, and irrelevant paths before running expensive operations.
Work avoidance is valuable in GitHub Actions when:
| Pattern | Operator Manual | Engineering Pattern | | --------- | ----------------- | --------------------- | | Skip version-only changes | Content Comparison | Volatile Field Exclusion | | Skip unchanged paths | Path Filtering | N/A (native GitHub feature) | | Skip cached builds | Cache-Based Skip | Cache-Based Skip |
See examples.md for detailed code examples.
on:
push:
paths:
- 'src/**'
- 'package.json'
paths-ignore:
- '**.md'
- 'docs/**'
See examples.md for detailed code examples.
Work avoidance is valuable in GitHub Actions when:
| Pattern | Operator Manual | Engineering Pattern | | --------- | ----------------- | --------------------- | | Skip version-only changes | Content Comparison | Volatile Field Exclusion | | Skip unchanged paths | Path Filtering | N/A (native GitHub feature) | | Skip cached builds | Cache-Based Skip | Cache-Based Skip |
See examples.md for detailed code examples.
on:
push:
paths:
- 'src/**'
- 'package.json'
paths-ignore:
- '**.md'
- 'docs/**'
See examples.md for detailed code examples.
See examples.md for code examples.
documentation
Workload Identity Federation implementation guide. GKE setup, IAM bindings, ServiceAccount configuration, migration from service account keys, and troubleshooting patterns.
development
Secure GitHub Actions trigger patterns for pull requests, forks, and reusable workflows. Preventing privilege escalation and code injection through trigger misconfiguration.
development
Structured framework for evaluating GitHub Actions security before adoption. Trust tiers, risk assessment checklist, and decision tree for action evaluation.
testing
Securely store GitHub App credentials across different environments. GitHub Actions secrets, external CI, Kubernetes, and automated rotation patterns.