repo-classify

Classify codebase files by type and route them into repository-specific directories.

168|13|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/npc-live/clawfirm --skill repo-classify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo-classify
Source: https://github.com/npc-live/clawfirm/tree/main/app/assets/skills/repo-classify
Command: npx skills add https://github.com/npc-live/clawfirm --skill repo-classify

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps automate the organization and classification of files in large codebases. When users upload codebases, commit to GitHub, perform code classification, or tidy up files, it automatically places files into the correct directories by type and keeps the local runtime store synchronized with the source repository.

Core Features & Use Cases

  • automatic file-type based classification and routing for code, docs, and configurations
  • maintains a consistent repository structure to improve collaboration and release efficiency
  • supports quick cleanup and reorganization during build, release, and maintenance tasks

Quick Start

Classify and organize all files in your repository by type and sync results to the local runtime store

Frequently Asked Questions about repo-classify

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

FAQPage Schema
How do I automatically organize codebase files by type?

Automatically organize codebase files by routing them into repository-specific directories based on content type. This skill classifies code, docs, configurations, and assets to maintain a consistent repository structure during build and release workflows.

What is the best way to classify and route files in a large repository?

Classify and route files in a large repository using rule-based decision logic that identifies file content types. This approach enables cross-file-type routing and dual-synchronization to both runtime and source locations for automated codebase management.

Can I sync files to both runtime and source locations during repository cleanup?

You can sync files to both runtime and source locations during repository cleanup using dual-synchronization logic. This ensures the local runtime store remains consistent with the source repository when reorganizing code, docs, and configurations.

Does automated file classification work for both build and release tasks?

Automated file classification works for build and release tasks by applying rule-based decision logic to sort repository assets. It supports quick cleanup and reorganization workflows, ensuring files are correctly routed before deployment processes begin.

When do I need rule-based code classification for my project structure?

You need rule-based code classification when your project structure contains mixed code, docs, and configurations requiring cross-file-type routing. It is essential for maintaining consistent directory organization during automated GitHub commits and maintenance tasks.