Skip to content
DevBuildKit
AgentsSkillsCommandsPacksPricingDocsBlogTools
Log inGet DevBuildKit

/detect-stack

Detect a repository's languages, frameworks, package manager, test and lint tooling, database, CI and deployment setup with file-level evidence and confidence, then map it to matching ForgeKit packs. Read-only.

CommandFreev1.0.0
  1. Commands
  2. /detect-stack

What it does

Detect a repository's languages, frameworks, package manager, test and lint tooling, database, CI and deployment setup with file-level evidence and confidence, then map it to matching ForgeKit packs. Read-only.

Category
coreanalysisonboarding
Platforms
generic
Capabilities
analysis

Example tasks

  • /detect-stack
  • /detect-stack packages/mobile
  • /detect-stack which test runner and database does this repo use?

Works with

Related skills

  • Repository Understanding· skill

Recommended alongside

  • Context Librarian· agent

Permissions summary

  • Files

    Reads files only

  • Shell

    Runs a limited set of commands

  • Network

    No network

Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.

Supported environments

ClientSupportInstalled as
Claude CodeNative.claude/commands/<id>.md
OpenAI CodexAdapter.codex/prompts/<id>.md
CursorNative.cursor/commands/<id>.md
VS Code (Copilot)Native.github/prompts/<id>.prompt.md
Generic markdownAdapterdocs/forgekit/commands/<id>.md

Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.

Included in packs

  • engineering

Full command (free preview)

This is a free component, so its complete content is public. It is exactly what gets installed (before client-specific formatting).

Detect the technology stack of this repository. Scope or question from the user (empty means the whole repo): $ARGUMENTS

This command is read-only. Every claim needs evidence (a file path and the relevant key); never infer a version or tool from memory.

  1. CLI cross-check. If command -v forge succeeds, run forge detect and keep its output to compare with your own findings. If it is not installed, say so and continue manually.
  2. Map the tree. Use git ls-files (or Glob when not a git repo) to find manifests at every level: package.json, pnpm-workspace.yaml, turbo.json, nx.json, pyproject.toml, requirements*.txt, go.mod, Cargo.toml, build.gradle(.kts), settings.gradle(.kts), Package.swift, *.xcodeproj, pubspec.yaml, pom.xml, Gemfile, composer.json, *.csproj, ProjectSettings/ProjectVersion.txt.
  3. Read, do not guess. Open each manifest and lockfile and extract: language and runtime version (engines, .nvmrc, .tool-versions, go directive, requires-python, compileSdk), frameworks, package manager (from lockfile and packageManager), monorepo tool, test runner, linter/formatter/type checker config, ORM or migration tool, database and cache (docker-compose services, connection env var names in .env.example), CI (.github/workflows, .gitlab-ci.yml), containers, deploy targets (vercel.json, fly.toml, Terraform, Helm).
  4. Find the real commands for install, build, test, lint, typecheck, and dev from scripts, Makefile, or CI. Mark each as declared (found in a file) and never as verified unless you executed it.
  5. Rate confidence per row: high (declared in a manifest and used in code), medium (declared only), low (inferred from file extensions or folder names).
  6. Recommend ForgeKit packs for the detected stack, citing which row justifies each; call out stacks you could not classify instead of forcing a match.

Do not modify any file, install dependencies, or run builds. Allowed shell: command -v, forge detect, git ls-files, ls.

Output: a Markdown table Area | Finding | Evidence | Confidence, then Commands (declared), Monorepo layout (package -> stack, if applicable), Recommended ForgeKit packs, and Unknowns / conflicts (for example two lockfiles, or a CI Node version that differs from .nvmrc).

Version and changelog

Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.

Changelog — /detect-stack

1.0.0

  • Initial release.

Build with this command

Create Demo Project

Install in CLI

$ devbuild add command detect-stack

Dependencies are resolved automatically.

Free. Needs a free account: run devbuild login once.

IDdetect-stack
Version1.0.0
TierFree
Arguments[subdirectory or question]
DevBuildKit

Your entire AI development team. One install.

DevBuildKit never uploads your source code. Telemetry is opt-in and anonymous.

Product

  • Agents
  • Skills
  • Commands
  • Packs
  • Features
  • Live demo
  • Pricing

Learn

  • Documentation
  • Getting started
  • CLI reference
  • Blog
  • Changelog
  • Compare

Free tools

  • All tools
  • Agent generator
  • Config converter
  • Stack detector
  • Context analyzer

Use cases

  • Android development
  • iOS development
  • SaaS development
  • Backend development
  • App Factory
  • Game development

Company

  • Terms
  • Privacy
  • Refunds
  • Log in
  • Sign up

© 2026 DevBuildKit. All rights reserved.

DevBuildKit is an independent product. Claude, Claude Code, Anthropic, OpenAI, Codex, ChatGPT, Cursor, Visual Studio Code, GitHub Copilot, Microsoft and all other product names are trademarks of their respective owners. DevBuildKit is not affiliated with, endorsed by or sponsored by any of them; names are used only to describe compatibility.