saas-dev:detect-framework

Detect React, Vite, Tailwind, and shadcn/ui stacks from package.json and repository files.

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/antonyfmunoz/OS --skill saas-dev-detect-framework
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: saas-dev:detect-framework
Source: https://github.com/antonyfmunoz/OS/tree/main/skills/saas-dev-skill/.claude/skills/saas-dev/skills/detect-framework
Command: npx skills add https://github.com/antonyfmunoz/OS --skill saas-dev-detect-framework

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you automatically identify which frontend framework stack a SaaS project uses so you can choose the right integration and code generation approach without guessing.

Core Features & Use Cases

  • Package-based framework detection: Reads a project’s package.json dependencies and devDependencies to determine whether React, Vite, Tailwind, and shadcn/ui are present.
  • shadcn/ui detection with strong signals: Uses the presence of components.json as a definitive indicator, with a Radix UI package heuristic fallback.
  • Confidence scoring and gap reporting: Produces a structured FrameworkDetectionResult including a confidence level and a list of missing stack elements for partial matches.

Quick Start

Ask the AI to detect whether a SaaS repo uses React, Vite, Tailwind, and shadcn/ui by analyzing the repo’s package.json and whether components.json exists.

Frequently Asked Questions about saas-dev:detect-framework

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

FAQPage Schema
How do I detect if a SaaS project uses React, Vite, and Tailwind?

Detect a SaaS frontend framework stack by analyzing the project's package.json dependencies and devDependencies. You can identify whether React, Vite, Tailwind, and shadcn/ui are present to determine the correct UI and tooling configuration for integration planning.

How does shadcn/ui detection work when analyzing a repository?

Shadcn/ui detection works by checking for a components.json file as a definitive indicator. If components.json is missing, it falls back to a Radix UI package heuristic in the package.json dependencies to determine if the UI library is present.

Can I get a confidence score for detected frontend frameworks?

You can get a confidence score for detected frontend frameworks. The detection process returns a structured FrameworkDetectionResult that includes confidence levels, detected flags, and a missing-elements list for partial matches.

What is the best way to automate framework-specific code generation for React stacks?

Automate framework-specific code generation by running deterministic detection against package.json and repository files. This provides the exact UI and tooling configuration needed for pipelines to select the correct setup across modern React-based stacks.

Does this framework detection work for partial matches or missing stack elements?

Framework detection works for partial matches by generating a missing-elements list. It evaluates predefined checks against repository files and returns missing stack elements alongside detected flags in the FrameworkDetectionResult.

Why do I need to check both package.json and components.json for frontend stack detection?

Checking both package.json and components.json ensures accurate frontend stack detection. While package.json reveals dependencies like React and Vite, components.json provides a strong, definitive signal for shadcn/ui integration that dependency names alone might not capture.