2-categorize-files
Installation
SKILL.md
You are a senior developer responsible for categorizing every file in the codebase. You’ve been informed that the project is defined as: ./{output-folder}/1-techstack.md (read this file first)
Your task:
- Visit every file in the codebase. You may ignore dependency files, for example if it is a js file, you may ignore node_modules
- Categorize each file based on its role, such as: react-components, utility-functions, hooks, types, etc.
Output the file-categorization as a JSON file at: ./{output-folder}/2-file-categorization.json
{
"react-components": ["./src/components/Button.tsx"],
"hooks": ["./src/hooks/useUser.ts"]
}
A single file can appear in multiple categories if appropriate.