/copilot-native-workflows:stack-detectorfrom copilot-native-workflows
Scans project files (package.json, lockfiles, config files) to detect the tech stack and recommends relevant skills and rules from the collection. Useful when onboarding to an unfamiliar codebase or auditing a project.
Ships in copilot-native-workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill is specific to the everything-copilot-cli collection: the recommendation table maps detected technologies to skill and rule file paths that only exist in this repository. Other AI agents can also inspect file systems, but this skill's value is the curated mapping to this specific collection's skills and rules — not the file-scanning mechanics itself.
context-primecontext-prime loads broad context; stack-detector targets specific recommendations)No shell access? In tools that deny shell commands by default (for example headless
agy -por Cursor--mode=ask), skip the PowerShell snippets below. List the project root with your file-listing tool and readpackage.json, lockfiles, and config files directly; the detection rules and the recommendation table apply unchanged.
# Check for Node.js project
if (Test-Path "package.json") {
$pkg = Get-Content "package.json" | ConvertFrom-Json
Write-Host "Node.js project detected"
Write-Host "Name: $($pkg.name)"
}
# Detect package manager from lockfile
$lockfiles = @{
"pnpm-lock.yaml" = "pnpm"
"yarn.lock" = "yarn"
"package-lock.json" = "npm"
"bun.lockb" = "bun"
}
foreach ($file in $lockfiles.Keys) {
if (Test-Path $file) { Write-Host "Package manager: $($lockfiles[$file])"; break }
}
# Python
if ((Test-Path "pyproject.toml") -or (Test-Path "requirements.txt")) {
Write-Host "Python project detected"
}
# Go
if (Test-Path "go.mod") { Write-Host "Go project detected" }
# Java / Kotlin
if ((Test-Path "build.gradle") -or (Test-Path "pom.xml")) {
Write-Host "JVM project detected"
}
if (Test-Path "package.json") {
$pkg = Get-Content "package.json" | ConvertFrom-Json
$deps = @()
if ($pkg.dependencies) { $deps += $pkg.dependencies.PSObject.Properties.Name }
if ($pkg.devDependencies) { $deps += $pkg.devDependencies.PSObject.Properties.Name }
$frontendMap = @{
"next" = "Next.js"
"react" = "React"
"vue" = "Vue"
"nuxt" = "Nuxt"
"@angular" = "Angular"
"svelte" = "Svelte"
"astro" = "Astro"
}
foreach ($key in $frontendMap.Keys) {
if ($deps -match $key) { Write-Host "Framework: $($frontendMap[$key])" }
}
$backendMap = @{
"express" = "Express"
"@nestjs" = "NestJS"
"hono" = "Hono"
"fastify" = "Fastify"
}
foreach ($key in $backendMap.Keys) {
if ($deps -match $key) { Write-Host "Backend: $($backendMap[$key])" }
}
$dbMap = @{
"prisma" = "Prisma"
"drizzle" = "Drizzle ORM"
"@supabase" = "Supabase"
"typeorm" = "TypeORM"
}
foreach ($key in $dbMap.Keys) {
if ($deps -match $key) { Write-Host "Database/ORM: $($dbMap[$key])" }
}
$testingMap = @{
"vitest" = "Vitest"
"playwright" = "Playwright"
"jest" = "Jest"
"cypress" = "Cypress"
}
foreach ($key in $testingMap.Keys) {
if ($deps -match $key) { Write-Host "Testing: $($testingMap[$key])" }
}
$cloudMap = @{
"wrangler" = "Cloudflare Workers"
"vercel" = "Vercel"
"@aws-sdk" = "AWS SDK"
}
foreach ($key in $cloudMap.Keys) {
if ($deps -match $key) { Write-Host "Cloud: $($cloudMap[$key])" }
}
}
$configMap = @{
"next.config.*" = "Next.js"
"vite.config.*" = "Vite"
"tailwind.config.*" = "Tailwind CSS"
"vitest.config.*" = "Vitest"
"playwright.config.*" = "Playwright"
"wrangler.toml" = "Cloudflare Workers"
"vercel.json" = "Vercel"
"astro.config.*" = "Astro"
"drizzle.config.*" = "Drizzle ORM"
"tsconfig.json" = "TypeScript"
}
foreach ($pattern in $configMap.Keys) {
if (Get-ChildItem -Filter $pattern -ErrorAction SilentlyContinue) {
Write-Host "Config detected: $($configMap[$pattern])"
}
}
Based on the detected stack, recommend the following from this repository:
| Detected Technology | Recommended Skills | Recommended Rules |
|---|---|---|
| TypeScript | tdd-workflow, code-review | rules/languages/typescript.md |
| Next.js | commit-workflow, release | rules/frameworks/nextjs.md |
| React | code-review, refactor-clean | rules/frameworks/react.md |
| Prisma / Drizzle | evaluate-repository | rules/frameworks/prisma.md |
| Playwright | test-coverage, e2e-testing | rules/frameworks/playwright.md |
| Vitest | tdd-workflow, eval-harness | rules/frameworks/vitest.md |
| NestJS / Express | security-scan | rules/frameworks/nestjs.md |
| Cloudflare Workers | cost-audit | rules/frameworks/cloudflare-workers.md |
| Python | security-scan, evaluate-repository | rules/languages/python.md |
| Go | security-scan | rules/languages/golang.md |
| Java / JVM | security-scan, evaluate-repository | rules/languages/java.md |
| Any project | security-scan | rules/common/supply-chain-security.md |
| Next.js + Prisma | nextjs-prisma | rules/frameworks/nextjs.md, rules/frameworks/prisma.md |
| React + Vitest | react-vitest | rules/frameworks/react.md, rules/frameworks/vitest.md |
| NestJS + Prisma | nestjs-prisma | rules/frameworks/nestjs.md, rules/frameworks/prisma.md |
Note: See
README.mdfor the current full list of available skills and rules.
Write-Host ""
Write-Host "=== Stack Detection Complete ==="
Write-Host "Recommended skills for this project:"
Write-Host " /context-prime -- load live project context"
Write-Host " /commit-workflow -- if Git workflow needed"
Write-Host " /security-scan -- if security audit needed"
Write-Host "(Add detected framework-specific skills as available)"
context-prime for a complete session initializationWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub drvoss/everything-copilot-cli --plugin copilot-native-workflows9 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/autopilot-patternsUse when you're ready to let Copilot execute a multi-step plan autonomously — configures appropriate guardrails, handles plan-to-autopilot transitions, and sets safety boundaries./background-agentUse when a task is too long to block the current session or should run autonomously — delegates to a cloud background agent via & or /delegate so work can continue on GitHub while you keep moving locally, not in a local async PowerShell session./cross-session-memoryUse when you need to recover context, decisions, or artifacts across multiple Copilot CLI sessions — search prior session history and resume with the right files, notes, and state./github-pr-workflowUse when creating, updating, or managing pull requests — reads PRs and reviews with `gh` (the default when installed) or the built-in GitHub MCP server when exposed, and opens, updates, or merges them with /pr or gh/ide-switchingUse when moving between VS Code and Copilot CLI in the same session — transfers context between environments so you don't lose state when switching from editor to terminal.2 plugins in one repository ship this exact skill · first indexed Oct 27, 2026
Other plugins' skills for the same job