github-actions-templates
GitHub Actions-Workflows schnell erstellen
CI/CD-Workflows sind zeitaufwendig zu schreiben und leicht falsch zu konfigurieren. Diese Skill bietet bewährte GitHub Actions-Vorlagen für Tests, Builds, Deployments und Sicherheits-Scans.
Die Skill-ZIP herunterladen
In Claude hochladen
Gehe zu Einstellungen → Fähigkeiten → Skills → Skill hochladen
Einschalten und loslegen
Teste es
Verwendung von "github-actions-templates". Create a matrix build for Python 3.9 to 3.12 on Linux, macOS, and Windows.
Erwartetes Ergebnis:
- Runs on ubuntu-latest, macos-latest, and windows-latest
- Tests Python 3.9, 3.10, 3.11, and 3.12
- Installs dependencies with pip and runs pytest
- Triggers on push and pull requests
Verwendung von "github-actions-templates". Create a Docker workflow that pushes to GHCR on version tags.
Erwartetes Ergebnis:
- Logs in to GitHub Container Registry with GitHub_TOKEN
- Extracts metadata with Docker metadata action
- Builds and pushes with cache from GitHub Actions cache
- Tags with branch and semver patterns
Sicherheitsaudit
SicherThis skill contains only static documentation with YAML workflow examples. All static findings are false positives: the scanner misinterpreted markdown code fences as backtick execution, GitHub Actions secret injection syntax as credential exposure, and YAML version pinning as weak crypto. The skill does not execute code, access files, or make network requests.
Risikofaktoren
🌐 Netzwerkzugriff (2)
⚙️ Externe Befehle (25)
📁 Dateisystemzugriff (1)
🔑 Umgebungsvariablen (3)
Qualitätsbewertung
Was du bauen kannst
CI-Baseline etablieren
Beginnen Sie mit einem Test- und Lint-Workflow für ein neues Repository und halten Sie Builds zuverlässig.
Pipelines standardisieren
Vorlagen für Docker-Builds, Freigaben und wiederverwendbare Workflows über Teams hinweg wiederverwenden.
Security-Scans hinzufügen
Trivy- und Snyk-Workflow-Beispiele übernehmen, um Schwachstellen frühzeitig zu erkennen.
Probiere diese Prompts
Create a GitHub Actions workflow that runs npm ci, lint, and tests on pushes and pull requests using Node 20.
Provide a workflow to build and push a Docker image to GHCR with tags for branches and semver releases.
Draft a workflow that configures AWS credentials and deploys manifests from k8s/ to production.
Create a reusable workflow that accepts node-version input and uses NPM_TOKEN for private installs.
Bewährte Verfahren
- Action-Versionen pinnen statt latest verwenden
- Secrets für Tokens und Credentials verwenden
- Workflow-Berechtigungen auf das Minimum beschränken
Vermeiden
- Ungepinnte Actions aus unbekannten Quellen verwenden
- Credentials direkt in Workflow-Dateien speichern
- Ohne Freigabegates in Produktion deployen
Häufig gestellte Fragen
Welche Plattformen sind kompatibel?
Was sind die Hauptgrenzen?
Wie integriere ich das in mein Repo?
Sind meine Daten sicher?
Was tun, wenn ein Workflow fehlschlägt?
Wie ist der Vergleich zum Selbsterstellen?
Entwicklerdetails
Autor
wshobsonLizenz
MIT
Repository
https://github.com/wshobson/agents/tree/main/plugins/cicd-automation/skills/github-actions-templatesRef
main
Dateistruktur
📄 SKILL.md