domain-detection

Detect project domain from repository file and directory signals.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Kiwi-Home/ai-workflow --skill domain-detection-kiwi-home
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-detection
Source: https://github.com/Kiwi-Home/ai-workflow/tree/main/plugins/structured-workflows/skills/domain-detection
Command: npx skills add https://github.com/Kiwi-Home/ai-workflow --skill domain-detection-kiwi-home

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Domain detection removes guesswork from initial project setup by automatically classifying a repository as coding, marketing, legal, or unknown based on file and directory signals, preventing inappropriate template selection and reducing manual configuration steps.

Core Features & Use Cases

  • Priority Signal Table: Evaluates package managers, config files, directory names, and file extensions in a prioritized order to produce a confidence-weighted classification.
  • Ambiguity Resolution: Aggregates confidence scores, prompts the user when ties occur, and provides a clear explanation of conflicting signals.
  • Fallback Protocols: Offers template choices or a minimal configuration when no clear domain match exists, enabling safe continuation of setup workflows.
  • Use Case: Used during repository setup to select appropriate workflow templates and synthesize project-specific specialists based on detected domain.

Quick Start

Ask the assistant to detect the domain of this repository and recommend whether to use the coding, marketing, legal, or minimal template.

Frequently Asked Questions about domain-detection

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

FAQPage Schema
How do I automatically detect a repository's project domain during setup?

To detect a repository's project domain, the system scans files, directory names, and config files using a prioritized signal table to classify projects as coding, marketing, legal, or unknown. This automated classification removes guesswork and guides workflow template selection during setup.

What happens when repository signals are ambiguous for project classification?

When repository signals conflict during project classification, the system aggregates confidence scores and prompts the user to resolve ties. It provides clear explanations of conflicting signals to ensure accurate domain detection and prevent inappropriate template selection.

Can I classify a mixed-content repository as coding, marketing, or legal automatically?

Yes, you can classify mixed-content repositories by evaluating package managers, config files, directory names, and file extensions in prioritized order. The system produces a confidence-weighted classification to determine if the project is coding, marketing, legal, or unknown.

What's the best way to handle repositories with no clear domain match?

For repositories with no clear domain match, the system provides fallback protocols offering template choices or a minimal configuration. This enables safe continuation of setup workflows when domain detection cannot confidently classify the project.

Do I need a specific file structure for project domain detection to work?

Project domain detection works by evaluating existing repository signals including package managers, config files, directory names, and file extensions. No specific file structure is required, as the system applies fallback protocols when signals are insufficient for classification.