add-content-type

Register new file formats in the file-search-on tool by implementing a ContentType interface.

5|1|Updated May 3, 2026
One-click install
npx skills add https://github.com/richardwooding/file-search-on --skill add-content-type
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-content-type
Source: https://github.com/richardwooding/file-search-on/tree/main/.claude/skills/add-content-type
Command: npx skills add https://github.com/richardwooding/file-search-on --skill add-content-type

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The Skill simplifies the process of adding support for new file formats to the file-search-on tool, making it easier to identify and categorize different file types.

Core Features & Use Cases

  • File Format Registration: Automates the registration of new file formats by providing a structured template and instructions.
  • Attributes Definition: Facilitates the definition of file-specific attributes for more detailed file analysis.
  • Use Case: For instance, if you want to add support for a new image format like SVG, this Skill guides you through the process of creating the necessary files and implementing the required methods.

Quick Start

To register a new content type, follow these steps:

  1. Copy the template to internal/content/.
  2. Fill in the necessary details for your new format.
  3. Implement the required methods.
  4. Run the necessary build and test commands.

Frequently Asked Questions about add-content-type

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

FAQPage Schema
How do I add support for new file formats in content-type detection?

To add new file formats for content-type detection, you copy a template to the internal/content/ directory, define the format attributes, and implement the required methods. This automates the registration of new file types for detection and categorization.

What is the process for registering a custom image format like SVG for file detection?

Registering a custom image format involves copying a structured template into internal/content/, filling in format-specific attributes, and implementing the required methods. This enables the file-search-on tool to accurately detect and categorize SVG files.

Does plain text content-type registration require implementing a specific interface?

Yes, plain text content-type registration requires implementing a ContentType interface. This interface defines the attributes and methods needed for the file-search-on tool to successfully identify and categorize plain text formats.

What do I need to set up before registering a new file type for detection?

Before registering a new file type, you need access to the internal/content/ directory and a template for the format. You must also be prepared to define file-specific attributes and run the necessary build and test commands to verify detection.

Are there limitations when adding new plain text and image formats to the detection tool?

The primary limitation is that adding new plain text and image formats requires manual implementation of the ContentType interface. You must correctly define file-specific attributes and run build and test commands to ensure accurate detection without breaking existing categorization.