market-research
Conduct market research, competitive analysis, investor due diligence, and industry intelligence with source attribution and decision-oriented summaries. Use when the user wants market sizing, competitor comparisons, fund research, technology scans, or research that informs business decisions.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- be-clean-code
- description
- Audit code for DRY, KISS, YAGNI, naming, and refactoring opportunities.
- allowed-tools
- Read, Glob, Grep
- argument-hint
- [file-or-directory-path]
- user-invocable
- true
03 SKILL.md 正文
Clean Code Audit
Audit Java source code for clean code principles: DRY, KISS, YAGNI, naming, and structure.
Instructions
Step 0: Validate Configuration
- Read
.claude/backend-springboot-plugin.json - If missing, tell the user to run
/backend-springboot-plugin:be-initfirst and stop
Step 1: Determine Scope
- If argument provided: audit the specified file or directory
- If no argument: audit all Java files in
{sourceDir}/{basePackage}/
Step 2: Scan for Issues
DRY (Don't Repeat Yourself)
- Duplicate code blocks across classes (>5 lines of similar logic)
- Copy-pasted validation logic that should be extracted to a shared validator
- Repeated DTO-to-entity mapping that could use a shared mapper method
KISS (Keep It Simple)
- Overly complex conditional logic (>3 nested if/else)
- Method doing too many things (>30 lines)
- Unnecessary abstraction layers (interface with single implementation that will never change)
- Complex stream operations where a simple loop would be clearer
YAGNI (You Ain't Gonna Need It)
- Unused methods (defined but never called)
- Unused fields in classes
- Over-engineered factory patterns for simple object creation
- Generic implementations for single-use cases
- Unused imports
Naming
- Single-letter variable names (except loop counters
i,j,k) - Generic names:
data,info,temp,result,obj,item - Boolean variables without
is/has/canprefix context - Methods that don't describe their action
- Classes that don't describe their responsibility
- Inconsistency with naming conventions table in CLAUDE.md
Structure
- God classes: files exceeding 300 lines
- Deep nesting: more than 3 levels of indentation
- Long parameter lists: methods with >5 parameters
- Missing
recordusage: classes that should be records (immutable DTOs with only fields and constructor) - Mutable state where immutable would suffice
Step 3: Report
Display findings in the working language:
Clean Code Audit
================
Files scanned: {count}
DRY Issues ({count}):
{file}:{line} — {description}
KISS Issues ({count}):
{file}:{line} — {description}
YAGNI Issues ({count}):
{file}:{line} — {description}
Naming Issues ({count}):
{file}:{line} — {description}
Structure Issues ({count}):
{file}:{line} — {description}
If no issues found:
"Clean code audit passed. Code is clean and well-structured."
04 同仓库更多 Skills
remotion-video-creation
Best practices for Remotion - Video creation in React. 29 domain-specific rules covering 3D, animations, audio, captions, charts, transitions, and more.
hotcook-recipes
暂无简介
code-helper
Code review and assistance skill
research-assistant
Web research assistant skill using Brave Search MCP
x-api
X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.
workspace-surface-audit
Audit the active repo, MCP servers, plugins, connectors, env surfaces, and harness setup, then recommend the highest-value ECC-native skills, hooks, agents, and operator workflows. Use when the user wants help setting up Claude Code or understanding what capabilities are actually available in their environment.