AGENT SKILL

tech-stack-detection

Systematically scans project config files to identify tech stack composition, version info, and engineering tooling. Should be used when the user needs to understand what technologies a project uses — onboarding, evaluating upgrade feasibility, or troubleshooting build issues. Distinguished from explore which investigates project structure and problems, this skill focuses on identifying technology stacks.

使用场景前端开发
License 许可
MIT
最近更新
2026-04-18
Stars
★ 0
Forks
0

01 前言 Front Matter

name
tech-stack-detection
boundary
{ "vs_explore": "explore investigates project structure and problems, this skill focuses on identifying technology stacks" }
category
coding
description
Systematically scans project config files to identify tech stack composition, version info, and engineering tooling. Should be used when the user needs to understand what technologies a project uses — onboarding, evaluating upgrade feasibility, or troubleshooting build issues. Distinguished from explore which investigates project structure and problems, this skill focuses on identifying technology stacks.

03 SKILL.md 正文

Frontend Project Tech Stack Detection

Core Capability

Given a project path, systematically scan config files in a predefined order, identify tech stack composition, and output a clear tech stack report.

When to Use

  • Onboarding to a new project, quickly understand tech choices
  • Evaluating project upgrade/migration feasibility
  • Aligning team understanding of project tech stack
  • Understanding toolchain config before troubleshooting build/runtime issues

File Reading Order

Read files in this priority order. Skip files that don't exist.

Layer 1: Project Basics

Order File Extract
1 package.json Framework, core dependencies, scripts
2 package-lock.json / yarn.lock / pnpm-lock.yaml Package manager type

Layer 2: Build Tool Config

Order File Extract
3 vite.config.ts / vite.config.js Vite plugins, alias, proxy
4 webpack.config.js / webpack.config.ts Webpack loader, plugin
5 next.config.js / next.config.ts Next.js SSR/SSG mode
6 craco.config.js / react-scripts CRA project identifier
7 rollup.config.js Rollup config

Layer 3: Language & Type Config

Order File Extract
8 tsconfig.json / tsconfig.base.json TypeScript, compile target, path aliases
9 babel.config.js / .babelrc Babel presets, plugins

Layer 4: Code Standards Config

Order File Extract
10 .eslintrc* / eslint.config.js ESLint rule set
11 .prettierrc / prettier.config.js Code formatting config
12 stylelint.config.js CSS lint rules

Layer 5: Git & Commit Standards

Order File Extract
13 .husky/ directory Git Hooks config
14 commitlint.config.js Commit message rules

Layer 6: Environment & Deployment

Order File Extract
15 .env* files Environment variables, API addresses
16 Dockerfile / docker-compose.yml Containerized deployment
17 nginx.conf Deployment server config

Tech Stack Identification Rules

Framework

Key package Conclusion
react React project
vue Vue project (check version for Vue2 / Vue3)
next Next.js (React SSR/SSG)
nuxt Nuxt.js (Vue SSR/SSG)
@angular/core Angular project
@tarojs/taro Taro mini-program project
remix Remix (React full-stack)

Build Tool

Key package/file Conclusion
vite in devDeps Vite
webpack in devDeps Webpack
react-scripts in deps CRA
@vue/cli-service Vue CLI
turbo Turborepo (Monorepo)
rsbuild Rspack (Rust build tool)

State Management

Key package Conclusion
redux / @reduxjs/toolkit Redux
zustand Zustand
mobx MobX
pinia Pinia (Vue)
jotai / recoil Atomic state management

CSS Solution

Key package Conclusion
tailwindcss Tailwind CSS
styled-components / @emotion/react CSS-in-JS
sass / less Preprocessor
@mui/material / antd / @arco-design UI component library

Testing Framework

Key package Conclusion
jest / vitest Unit testing framework
@testing-library/react React testing utility
cypress / playwright E2E testing framework

Output Format

## Tech Stack Detection Report: `[project name/path]`

### Overview

- **Project type**: Web app / Mini-program / SSR app / Monorepo
- **Main framework**: [framework name] [version]
- **Build tool**: [tool name] [version]
- **Language**: TypeScript / JavaScript

### Core Tech Stack

| Category          | Choice                     | Version | Notes  |
| ----------------- | -------------------------- | ------- | ------ |
| Framework         | React / Vue / ...          | x.x.x   |        |
| Build tool        | Vite / Webpack / ...       | x.x.x   |        |
| Language          | TypeScript / JavaScript    | x.x     |        |
| Package manager   | pnpm / yarn / npm          | x.x.x   |        |
| State management  | Zustand / Redux / ...      | x.x.x   | If any |
| CSS solution      | Tailwind / CSS-in-JS / ... | —       |        |
| UI library        | Ant Design / MUI / ...     | x.x.x   | If any |
| Testing framework | Jest / Vitest / ...        | x.x.x   | If any |

### Engineering Config

| Tool       | Status                            | Notes              |
| ---------- | --------------------------------- | ------------------ |
| ESLint     | ✅ Configured / ❌ Not configured | Using xxx rule set |
| Prettier   | ✅ Configured / ❌ Not configured | —                  |
| Husky      | ✅ Configured / ❌ Not configured | —                  |
| TypeScript | ✅ Configured / ❌ Not configured | target: ESNext     |

### Key Scripts

| Command         | Description      |
| --------------- | ---------------- |
| `npm run dev`   | Start dev server |
| `npm run build` | Production build |

### Detection Basis

**Read**: package.json ✅, vite.config.ts ✅, tsconfig.json ✅

**Not found**: webpack.config.js ⚠️, .eslintrc ⚠️

### Next Steps

1. [Improvement suggestions based on detection results]
2. [Tech stack upgrade or optimization directions]

Output Principles

  • Conclusions first — Core tech stack table before details
  • Versions explicit — Extract exact version numbers from package.json when possible
  • Missing means skip — Don't error on missing files, don't guess, just skip
  • Actionable suggestions — Include specific next-step recommendations

04 同仓库更多 Skills

ImaginerLabs
ImaginerLabs/skill-manager

meeting-minutes

Generate concise, actionable meeting minutes for internal meetings. Includes metadata, attendees, agenda, decisions, action items (owner + due date), and follow-up steps.

行政与办公人员Skill与智能体开发
★ 0
ImaginerLabs
ImaginerLabs/skill-manager

documentation-writer

Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework.

★ 0
ImaginerLabs
ImaginerLabs/skill-manager

doc-coauthoring

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

内容创作者写作与文案Skill与智能体开发
★ 0
ImaginerLabs
ImaginerLabs/skill-manager

code-review-workflow

Executes comprehensive 4-phase code review: basic review, quality check, bundle analysis, and test coverage. Should be used when the user mentions comprehensive code review, checking code quality, or reviewing staged changes with multi-phase analysis. This is the comprehensive review workflow, distinct from focused skills like frontend-code-review, staged-code-review, or code-change-test-designer.

开发工程师代码审查测试与质量
★ 0
ImaginerLabs
ImaginerLabs/skill-manager

code-change-test-designer

Analyzes code changes and designs comprehensive test cases. Reads diffs, summarizes capability changes, and designs test cases covering main flows and edge cases. Should be used when the user mentions test coverage, designing tests for code changes, or analyzing diff/commit for testing purposes. Distinguished from code-review-workflow which provides comprehensive review, this skill focuses on test case design for code changes.

开发工程师设计师测试与质量视觉设计
★ 0
ImaginerLabs
ImaginerLabs/skill-manager

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

Skill与智能体开发
★ 0