repository-detection

Community

Instantly identify repo type, adapt AI behavior.

Authormetasaver
Version1.0.0
Installs0

System Documentation

What problem does it solve?

AI agents need to dynamically adapt their behavior and apply context-specific rules based on the type and structure of the repository they are working in (e.g., library, consumer, monorepo). This skill automates that detection, ensuring agents operate effectively without manual configuration.

Core Features & Use Cases

  • Repository Type Detection: Classifies repositories as library, consumer, or standalone based on directory structure and package.json patterns.
  • Monorepo Tool Identification: Detects common monorepo tools like Turborepo, Nx, Lerna, or pnpm-workspace.
  • Library Consumption Patterns: Identifies if a repository consumes @metasaver or similar library packages.
  • Use Case: A configuration agent can use this skill to determine if it should apply strict consumer-repo standards or allow for intentional differences in a library repository.

Quick Start

Detect the type and monorepo tool of the current repository.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: repository-detection
Download link: https://github.com/metasaver/claude-marketplace/archive/main.zip#repository-detection

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository