Skip to content

Add Docker-focused implementation skill for Dockerfiles, image hardening, and secret-safe builds#375

Merged
nicobistolfi merged 1 commit intomainfrom
vigilante/issue-363-add-a-docker-focused-vigilante-implementation-skill-for-dockerfiles-image-hardening-and-secret-safe-builds
Apr 2, 2026
Merged

Add Docker-focused implementation skill for Dockerfiles, image hardening, and secret-safe builds#375
nicobistolfi merged 1 commit intomainfrom
vigilante/issue-363-add-a-docker-focused-vigilante-implementation-skill-for-dockerfiles-image-hardening-and-secret-safe-builds

Conversation

@nicobistolfi
Copy link
Copy Markdown
Collaborator

Summary

  • Adds TechStackDocker detection to repository classification — recognizes Dockerfile*, docker-compose.yml/compose.yml, and .dockerignore as Docker signals, recorded in ProcessHints.DockerFiles.
  • Creates a dedicated vigilante-issue-implementation-on-docker skill with SKILL.md covering pinned base images, multi-stage builds, explicit WORKDIR, secret-safe builds (no ARG/ENV secrets, BuildKit secret mounts), non-root runtime, .dockerignore, and validation.
  • Adds Docker security guidance to the prompt injection layer (security.go) so Docker-detected repos receive container-specific guidance alongside any language-specific guidance.
  • Skill selection: traditional + Docker (no Go) → Docker skill; traditional + Go + Docker → Go skill with Docker guidance injected; monorepo → monorepo skill with Docker guidance injected.
  • Comprehensive test coverage: 5 detection tests in repo_test.go, 8 skill selection and guidance tests in skill_test.go.

Test plan

  • go test ./internal/repo/... -race -count=1 — Docker detection tests pass
  • go test ./internal/skill/... -race -count=1 — skill selection and guidance injection tests pass
  • go test ./... -race -count=1 — full suite passes with no regressions
  • go vet ./... — clean
  • gofmt — no formatting issues

Closes #363

…s, image hardening, and secret-safe build guidance
@nicobistolfi nicobistolfi force-pushed the vigilante/issue-363-add-a-docker-focused-vigilante-implementation-skill-for-dockerfiles-image-hardening-and-secret-safe-builds branch from 5eae0dc to 08d8a92 Compare April 2, 2026 00:42
@nicobistolfi nicobistolfi merged commit 34226b7 into main Apr 2, 2026
1 check passed
@nicobistolfi nicobistolfi deleted the vigilante/issue-363-add-a-docker-focused-vigilante-implementation-skill-for-dockerfiles-image-hardening-and-secret-safe-builds branch April 2, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Docker-focused Vigilante implementation skill for Dockerfiles, image hardening, and secret-safe builds

1 participant