Multi-language SOLID detection rules. Project type detection, interface locations, file size limits per language.
/plugin marketplace add fusengine/claude-code-plugins/plugin install fuse:solid@fusengine-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Detect project type from configuration files:
# Next.js
[ -f "package.json" ] && grep -q '"next"' package.json
# Laravel
[ -f "composer.json" ] && grep -q '"laravel' composer.json
# Swift
[ -f "Package.swift" ] || ls *.xcodeproj
# Go
[ -f "go.mod" ]
# Rust
[ -f "Cargo.toml" ]
# Python
[ -f "pyproject.toml" ] || [ -f "requirements.txt" ]
| Rule | Value |
|---|---|
| File limit | 150 lines |
| Interface location | modules/cores/interfaces/ |
| Forbidden | Interfaces in components/, app/ |
Pattern detection:
^(export )?(interface|type) \w+
| Rule | Value |
|---|---|
| File limit | 100 lines |
| Interface location | app/Contracts/ |
| Forbidden | Interfaces outside Contracts |
Pattern detection:
^interface \w+
| Rule | Value |
|---|---|
| File limit | 150 lines |
| Interface location | Protocols/ |
| Forbidden | Protocols outside Protocols/ |
Pattern detection:
^protocol \w+
| Rule | Value |
|---|---|
| File limit | 100 lines |
| Interface location | internal/interfaces/ |
| Forbidden | Interfaces outside interfaces/ |
Pattern detection:
^type \w+ interface \{
| Rule | Value |
|---|---|
| File limit | 100 lines |
| Interface location | src/interfaces/ |
| Forbidden | ABC outside interfaces/ |
Pattern detection:
class \w+\(.*ABC.*\)
| Rule | Value |
|---|---|
| File limit | 100 lines |
| Interface location | src/traits/ |
| Forbidden | Traits outside traits/ |
Pattern detection:
^pub trait \w+
Exclude from count:
//, /* */, #, """)# TypeScript/Go/Rust/Swift
grep -v '^\s*$\|^\s*//\|^\s*/\*\|^\s*\*' file
# PHP
grep -v '^\s*$\|^\s*//\|^\s*#\|^\s*/\*\|^\s*\*' file
# Python
grep -v '^\s*$\|^\s*#\|^\s*"""' file
| Severity | Action |
|---|---|
| Interface in wrong location | BLOCK (exit 2) |
| File over limit | WARNING (exit 0) |
| Missing documentation | WARNING |
Set by detect-project.sh:
SOLID_PROJECT_TYPE=nextjs|laravel|swift|go|rust|python|unknown
SOLID_FILE_LIMIT=100|150
SOLID_INTERFACE_DIR=path/to/interfaces
This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.