All skills
egonex-ai avatar

/understand

@a84b3db
by EgonexAIegonex-ai/understand-anything85k stars
7,160

Analyze a codebase to produce an interactive knowledge graph for understanding architecture, components, and relationships

Use this Skill: https://skilld.dev/gh/egonex-ai/understand-anything/understand

This session only. Nothing lands on disk.

languagesdockerfile.md

≈495 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Dockerfile Language Prompt Snippet

Key Concepts

  • Multi-Stage Builds: Multiple FROM statements to separate build and runtime stages, reducing image size
  • Layer Caching: Each instruction creates a layer; order instructions from least to most frequently changing for cache efficiency
  • Base Images: FROM image:tag selects the starting image; prefer slim/alpine variants for smaller images
  • COPY vs ADD: COPY for local files (preferred), ADD for URLs and tar extraction
  • Build Arguments: ARG for build-time variables, ENV for runtime environment variables
  • Health Checks: HEALTHCHECK instruction for container orchestrator readiness probes
  • Entry Point vs CMD: ENTRYPOINT sets the executable, CMD provides default arguments
  • User Permissions: USER instruction to run as non-root for security
  • Ignore Patterns: .dockerignore excludes files from the build context (like .gitignore)

Notable File Patterns

  • Dockerfile — Primary container image definition (at project root)
  • Dockerfile.dev / Dockerfile.prod — Environment-specific Dockerfiles
  • docker-compose.yml — Multi-container application orchestration
  • docker-compose.override.yml — Local development overrides
  • .dockerignore — Build context exclusion patterns

Edge Patterns

  • Dockerfile deploys the application entry point it packages (COPY/CMD target)
  • docker-compose depends_on Dockerfile(s) it references for building
  • Dockerfile depends_on package manifests (package.json, requirements.txt) it copies for dependency installation
  • docker-compose services create related edges between co-deployed components

Summary Style

"Multi-stage Docker build producing a minimal Node.js production image with N build stages." "Docker Compose configuration orchestrating N services with shared networking and persistent volumes." "Development Dockerfile with hot-reload support and mounted source volumes."

Source: SKILL.md on GitHub

No alerts19d3 checks · Risk SAFE
  • Gen Agent Trust Hub19d

    This skill is a sophisticated codebase analysis tool used to generate interactive architectural knowledge graphs. It leverages a series of deterministic Node.js and Python scripts alongside AI sub-agents to perform tasks like file scanning, import resolution, and relationship mapping. The skill incorporates strong security practices by explicitly instructing its agents to treat project data (such as READMEs and manifests) as untrusted and ignore any prompt-like directives within them. All script behaviors, including shell command execution and local dependency builds, are consistent with its primary purpose and follow least-privilege principles.

  • Socket19d

    No alerts

  • Snyk19d

    Risk: LOW · No issues

Signed by skilld at a84b3db. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 4 weeks ago
Other metadata
argument-hint
[
  "[path] [--full|--auto-update|--no-auto-update|--review|--language <lang>|--exclude <patterns>]"
]

README badge

README badge for egonex-ai/understand-anything/understand