Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add Anshin-Health-Solutions/superpai --skill "claude-md-generator"
Install specific skill from multi-skill repository
# Description
Auto-detect project stack and generate a tailored CLAUDE.md
# SKILL.md
name: claude-md-generator
description: "Auto-detect project stack and generate a tailored CLAUDE.md"
triggers:
- generate claude.md
- init claude.md
- create claude.md
- project setup
- setup instructions
CLAUDE.md Generator Skill
Detect the current project's technology stack and generate a tailored CLAUDE.md file.
Detection Logic
Check for these files to identify stack:
| File | Stack |
|---|---|
next.config.* + package.json |
Next.js |
remix.config.* |
Remix |
go.mod |
Go |
Cargo.toml |
Rust |
requirements.txt + manage.py |
Django |
requirements.txt + main.py OR pyproject.toml |
FastAPI/Python |
turbo.json OR nx.json |
Monorepo |
package.json (plain) |
Generic TypeScript |
Generated CLAUDE.md Structure (200-400 lines target)
- Project Overview β Auto-populated from package.json/go.mod/Cargo.toml
- Critical Rules β Framework-specific constraints
- File Structure β Scanned from actual directory layout
- Key Patterns β Framework-specific (API responses, error handling, state)
- Testing β Detected test framework and conventions
- Git Workflow β Conventional commits, PR process
Process
- Scan project root for stack indicators
- Read existing package manifests for metadata
- Scan directory structure for conventions
- Generate CLAUDE.md using appropriate template
- Present to user for review before writing
Rules
- Never overwrite existing CLAUDE.md without user confirmation
- Keep under 400 lines (200-300 ideal)
- Include only rules relevant to detected stack
- Scan for existing patterns before inventing new ones
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.