analyze-repo

Detects technical stacks, dependencies, and environment variables in a repository for containerization readiness.

41|17|Updated Mar 27, 2025
One-click install
npx skills add https://github.com/Azure/containerization-assist --skill analyze-repo-azure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-repo
Source: https://github.com/Azure/containerization-assist/tree/main/skills/analyze-repo
Command: npx skills add https://github.com/Azure/containerization-assist --skill analyze-repo-azure

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps identify the technical stack, dependencies, and environment variables within a repository, enabling users to prepare for containerization or cloud deployment efficiently.

Core Features & Use Cases

  • Stack Detection: Automatically detects languages, frameworks, build systems, and dependencies.
  • Environment Variable Analysis: Identifies environment variables relevant for containerization.
  • Database Detection: Discovers databases being used in the project.
  • Use Case: Before generating a Dockerfile or Kubernetes manifests, use this Skill to understand the repository's structure and dependencies for optimal containerization.

Quick Start

Analyze the repository stack by running 'analyze-repo <repositoryPath>'.

Frequently Asked Questions about analyze-repo

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

FAQPage Schema
How do I analyze a repository for containerization readiness?

To analyze repository readiness for containerization, you need to detect the technical stack, dependencies, and environment variables. This process identifies languages, frameworks, and build systems to prepare the project for cloud deployment.

What is repository stack detection and how does it work?

Repository stack detection automatically identifies languages, frameworks, build systems, and databases by parsing configuration files. It provides a comprehensive overview of the technical stack to ensure accurate containerization preparation.

Can I automatically detect environment variables needed for Docker containerization?

Yes, environment variable detection identifies configuration variables required for containerization by parsing repository files. This ensures all necessary runtime settings are captured before generating Docker or Kubernetes manifests.

Does repository analysis detect database dependencies for cloud deployment?

Yes, repository analysis detects database dependencies within the project. By scanning configuration files, it identifies database usage to ensure all data services are mapped correctly before containerization.

What is the best way to identify technical stacks before generating Kubernetes manifests?

The best way to identify technical stacks is by automating the detection of frameworks, dependencies, and build systems within the repository. This provides a complete structural overview required for optimal Kubernetes manifest generation.

Do I need local repository files to parse configuration files for stack detection?

Yes, stack detection requires direct access to repository files to accurately parse configuration files. This access enables the identification of languages, dependencies, and environment variables for containerization.