Przejdź do treści
Biblioteka skilli
DevOps i chmura · Przegląd i audyt

code-audit

/code-audit

Sprawdza kod pod kątem gotowości DevOps i bezpieczeństwa: sekretów, kontenerów, Kubernetes, CI/CD i IaC.

Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Sprawdza kod pod kątem gotowości DevOps i bezpieczeństwa: sekretów, kontenerów, Kubernetes, CI/CD i IaC.

Oryginalny opis (EN)

Use when reviewing or asked to review code quality, a codebase or pasted code for DevOps readiness, security issues and missing best practices (secrets, containers, Kubernetes, CI/CD, IaC, observability)

Jak działa

  1. Works In Both Modes
  2. Audit Categories
  3. Reporting Format
Sekcje z nagłówków SKILL.md, w oryginale · 79 linii, 410 słów
Podgląd SKILL.md
---
name: code-audit
description: Use when reviewing or asked to review code quality, a codebase or pasted code for DevOps readiness, security issues and missing best practices (secrets, containers, Kubernetes, CI/CD, IaC, observability)
---

# Code Audit

## Works In Both Modes

- **Repo mode** — scan actual files in the working directory
- **Chat mode** — audit pasted code snippets or configs

## Audit Categories

Run through each category. Report findings as: **CRITICAL**, **WARNING**, or **INFO**.

---

### 1. Secrets & Security

- [ ] Hardcoded API keys, passwords, tokens, or credentials in code
- [ ] `.env` files committed to git (check `.gitignore`)
- [ ] Secrets passed as plain environment variables in CI configs
- [ ] Insecure base images (e.g., `FROM ubuntu:latest` without pinned version)
- [ ] Running containers as root when not needed
- [ ] World-readable file permissions on sensitive configs

### 2. Container Readiness

- [ ] Dockerfile present
- [ ] `.dockerignore` present (prevents leaking local files into image)
- [ ] Base image pinned to a specific version (not `latest`)
- [ ] Multi-stage build used to minimize final image size
- [ ] Health check defined (`HEALTHCHECK` in Dockerfile or K8s `livenessProbe`)
- [ ] Non-root user defined in Dockerfile

### 3. Kubernetes / Orchestration

- [ ] Resource `requests` and `limits` set for CPU and memory
- [ ] `livenessProbe` and `readinessProbe` defined
- [ ] `replicas` > 1 for production workloads
- [ ] Namespace defined (not running in `default`)
- [ ] Secrets stored in K8s Secrets, not ConfigMaps
- [ ] `imagePullPolicy: Always` for mutable tags

### 4. CI/CD

- [ ] CI config present (`.github/workflows/`, `.gitlab-ci.yml`, `Jenkinsfile`)
- [ ] Tests run in CI before deploy
- [ ] Linting/formatting check in CI
- [ ] Secrets injected via CI secret store, not hardcoded
- [ ] Deployment gated on test pass

### 5. Infrastructure as Code

- [ ] IaC files present (Terraform, Ansible, Pulumi, etc.)
- [ ] State backend configured (not local state for production)
- [ ] Variables used instead of hardcoded values
- [ ] Least-privilege IAM/RBAC roles
- [ ] Resource tagging for cost tracking

### 6. Observability

- [ ] Application logs written to stdout/stderr (not to files inside container)
- [ ] Structured logging (JSON preferred)
- [ ] Health check endpoint exposed (`/health`, `/ready`)
- [ ] Metrics endpoint exposed if applicable (`/metrics`)

---

## Reporting Format

For each finding:

```
[SEVERITY] Category — Description
  File: path/to/file (or "pasted code")
  Why it matters: ...
  Fix: ...
```

End with a summary count: X critical, Y warnings, Z info items.

Wersje

RepozytoriumWynikLicencja
Ta strona · nikospavlopoulos/devops-mutant-powers100MIT
Nubaeon/empirica100MIT
EpicenterHQ/epicenter100MIT
tspry/superpowers-devops100MIT
glnds/glnds-cc-marketplace100Apache-2.0
omexit/claude-skills-pack100MIT
JasonAiassist/public-skills100MIT
zhaoxuya520/reverse-skill100MIT
arcasilesgroup/ai-engineering90Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki 044a0b06aaae (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100infrastructure-coder
    Generuje, przegląda, porównuje pod względem kosztów i skanuje pod kątem bezpieczeństwa kod infrastruktury w Terraform, Kubernetes i Docker; nie obejmuje CI/CD ani kodu aplikacji.
  • 90devops-cloud
    Projektuje, zabezpiecza i prowadzi infrastrukturę chmurową oraz potoki dostarczania: kontenery, Kubernetes, IaC, sekrety i reagowanie na incydenty.
  • 90check-devops
    Audytuje projekt według listy 312 punktów z backendu, bazy, bezpieczeństwa i DevOps oraz pisze raport z dowodami gotowości produkcyjnej.
  • 90ck:devops
    Wdraża aplikacje na Cloudflare, w Dockerze, GCP i Kubernetes, z CI/CD, GitOps i przeglądem bezpieczeństwa.
  • 100kubernetes-secrets-manager
    Prawdopodobnie pomaga zarządzać sekretami Kubernetes i uruchamia się automatycznie przy pracy nad takim zarządzaniem.
  • 100devops-deployment
    Konfiguruje potoki CI/CD, kontenery i infrastrukturę jako kod, np. GitHub Actions, Docker, Kubernetes, Helm i Terraform.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.