Gordon Dockerfile Generator Skill

Generate optimized Dockerfiles for Next.js and FastAPI applications.

Updated Jan 2, 2026
One-click install
npx skills add https://github.com/Sobansaud/Hackhathon---2 --skill gordon-dockerfile-generator-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Gordon Dockerfile Generator Skill
Source: https://github.com/Sobansaud/Hackhathon---2/tree/main/Phase%204/.claude/skills/gordon-dockerfile-generator
Command: npx skills add https://github.com/Sobansaud/Hackhathon---2 --skill gordon-dockerfile-generator-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of production-ready Dockerfiles for Next.js and FastAPI projects, reducing manual configuration and optimizing build performance.

Core Features & Use Cases

  • Generate multi-stage Dockerfiles for Next.js apps with selective file copying and caching optimizations.
  • Create minimal, production-ready FastAPI Dockerfiles using python-slim bases and proper dependency installation.
  • Include healthchecks and port exposure (3000 for Next.js, 8000 for FastAPI) to support reliable deployments.
  • Provide a fallback to standard best-practice Dockerfiles when the Gordon AI Agent is unavailable.

Quick Start

Use this skill to generate a Next.js Dockerfile for a project located at ./next-app or a FastAPI Dockerfile for a project at ./fastapi-app.

Frequently Asked Questions about Gordon Dockerfile Generator Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a production-ready Dockerfile for a Next.js application?

To generate a production-ready Dockerfile for Next.js, this Skill automates multi-stage build patterns with selective file copying, caching optimizations, healthchecks, and port 3000 exposure.

What is the best way to create a FastAPI Dockerfile with healthchecks?

The best way to create a FastAPI Dockerfile is using this Skill to apply python-slim bases, proper dependency installation, integrated healthchecks, and port 8000 exposure for reliable deployments.

Does this Dockerfile generator support multi-stage builds?

Yes, this Dockerfile generator supports multi-stage builds, applying selective file copying and caching optimizations specifically for Next.js and FastAPI projects to optimize build performance.

What happens if the Gordon AI Agent is unavailable when generating a Dockerfile?

If the Gordon AI Agent is unavailable, this Skill provides a fallback to standard best-practice Dockerfile templates to ensure your Next.js and FastAPI container builds proceed without interruption.

Can I use this to automate Docker configuration for both Next.js and FastAPI projects?

Yes, you can automate Docker configuration for both frameworks, generating minimal FastAPI and optimized Next.js containers with proper dependency installation, healthchecks, and correct port exposure.

What ports are exposed when generating Dockerfiles with this automation tool?

This automation tool exposes port 3000 for Next.js applications and port 8000 for FastAPI applications to support reliable container deployments with integrated healthchecks.