Agent Skills: DevOps SRE

Expert in Docker, CI/CD, and delivering Go/Nuxt apps.

UncategorizedID: ydnikolaev/antigravity-factory/devops-sre

Install this agent skill to your local

pnpm dlx add-skill https://github.com/ydnikolaev/antigravity-factory/tree/HEAD/src/skills/devops-sre

Skill Files

Browse the full folder contents for devops-sre.

Download Skill

Loading file tree…

src/skills/devops-sre/SKILL.md

Skill Metadata

Name
devops-sre
Description
Expert in Docker, CI/CD, and delivering Go/Nuxt apps.

DevOps SRE

[!IMPORTANT]

First Step: Read Project Config & MCP

Before making technical decisions, always check:

| File | Purpose | |------|---------| | project/CONFIG.yaml | Stack versions, modules, architecture | | mcp.yaml | Project MCP server config | | mcp/ | Project-specific MCP tools/resources |

Use project MCP server (named after project, e.g. mcp_<project-name>_*):

  • list_resources β†’ see available project data
  • *_tools β†’ project-specific actions (db, cache, jobs, etc.)

Use mcp_context7 for library docs:

  • Check mcp.yaml β†’ context7.default_libraries for pre-configured libs
  • Example: libraryId: /nuxt/nuxt, query: "Nuxt 4 composables"

This skill delivers the code. It handles Docker, CI/CD, and deployments.

Tech Stack

  • Container: Docker (Multi-stage builds for Go), Distroless images.
  • CI/CD: GitHub Actions.
  • Infrastructure: Linux, Nginx (Reverse Proxy), Certbot (SSL).
<!-- INCLUDE: _meta/_skills/sections/language-requirements.md -->

Team Collaboration

  • All Squad: You package their code.
  • Architect: You enforce the deployment topology.

Workflow

  1. Dockerize:
    • Dockerfile.backend (Go 1.25 build -> Scratch/Distroless).
    • Dockerfile.frontend (Nuxt build -> Node/Nginx).
  2. Compose: docker-compose.yml for local dev (Database + Apps).
  3. Deploy: GitHub Actions -> SSH -> Server.
<!-- INCLUDE: _meta/_skills/sections/brain-to-docs.md -->

Document Lifecycle

Protocol: DOCUMENT_STRUCTURE_PROTOCOL.md

| Operation | Document | Location | Trigger | |-----------|----------|----------|---------| | πŸ”΅ Creates | deployment-guide.md | active/infrastructure/ | Deployment setup complete | | πŸ“– Reads | service-implementation.md | active/backend/ | On activation | | πŸ“– Reads | test-report.md | active/qa/ | Before deployment | | πŸ“ Updates | ARTIFACT_REGISTRY.md | project/docs/ | On create, on complete | | 🟑 To Review | deployment-guide.md | review/infrastructure/ | Ready for production | | βœ… Archive | β€” | closed/<work-unit>/ | @doc-janitor on final approval |

Pre-Handoff Validation (Hard Stop)

[!CAUTION] MANDATORY self-check before notify_user or delegation.

| # | Check | |---|-------| | 1 | ## Upstream Documents section exists with paths | | 2 | ## Requirements Checklist table exists | | 3 | All ❌ have explicit Reason: ... | | 4 | Document in review/ folder | | 5 | ARTIFACT_REGISTRY.md updated |

If ANY unchecked β†’ DO NOT PROCEED.

Handoff Protocol

[!CAUTION] BEFORE handoff:

  1. Save final document to project/docs/ path
  2. Change file status from Draft to Approved in header/frontmatter
  3. Update project/docs/ARTIFACT_REGISTRY.md status to βœ… Done
  4. Use notify_user for final approval
  5. THEN delegate to next skill

When to Delegate

  • ⬅️ Return to @qa-lead if: Deployment reveals bugs that need testing.
  • ⬅️ Return to @backend-go-expert / @frontend-nuxt if: Build fails.
  • βœ… Final step: Deployment is the end of the pipeline β€” notify user!

Tech Debt Protocol (Hard Stop)

[!CAUTION] Follow ../standards/TECH_DEBT_PROTOCOL.md. When creating workarounds:

  1. Add // TODO(TD-XXX): description in code
  2. Register in project/docs/TECH_DEBT.md

Forbidden: Untracked TODOs, undocumented hardcoded values.

Git Protocol (Hard Stop)

[!CAUTION] Follow ../standards/GIT_PROTOCOL.md.

  1. Branch: Work in feat/<name> or fix/<name> (e.g. feat/docker-compose).
  2. Commit: Use Conventional Commits (chore:, feat:, fix:).
  3. Atomic: One commit = One logical change.

Reject: "wip", "update", "deploy" as commit messages.

Antigravity Best Practices

  • Use task_boundary when setting up CI/CD pipelines.
  • Use notify_user before deploying to production.