Development
Command
/analyze
Deep analysis of code against project standards
Install
$ npx -y skills add huangjia2019/claude-code-engineering --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/analyze
Context preview
What this command does when you run it.
Deep analysis of code against project standards
Command definition
analyze.mddescription: Deep analysis of code against project standards
argument-hint: [file or directory path]
allowed-tools: Read, Grep, Glob
Perform deep analysis on: $ARGUMENTS
Analysis Context
Use our project's coding standards as reference: @.claude/rules/coding-standards.md
Analysis Dimensions
1. Code Quality
- Complexity (cyclomatic, cognitive)
- Duplication
- Dead code
- Naming conventions
2. Architecture
- Separation of concerns
- Dependency direction
- Module boundaries
3. Security
- Input validation
- Authentication/authorization
- Sensitive data handling
4. Performance
- Obvious inefficiencies
- Resource management
- Caching opportunities
5. Maintainability
- Documentation coverage
- Test coverage indicators
- Code readability
Steps
1. Read the target file(s) 2. If a directory, identify key files 3. Analyze against each dimension 4. Compare with project standards (if available) 5. Generate report
Output Format
## Analysis Report: [target]
### Overview
[One paragraph summary]
### Scores
| Dimension | Score | Notes |
|-----------|-------|-------|
| Quality | ⭐⭐⭐⭐☆ | [brief] |
| Architecture | ⭐⭐⭐☆☆ | [brief] |
| Security | ⭐⭐⭐⭐⭐ | [brief] |
| Performance | ⭐⭐⭐☆☆ | [brief] |
| Maintainability | ⭐⭐⭐⭐☆ | [brief] |
### Key Findings
#### Strengths
- [positive points]
#### Areas for Improvement
- [issues with suggested fixes]
### Recommendations
1. [Prioritized action items]
Read more
description: Deep analysis of code against project standards argument-hint: [file or directory path] allowed-tools: Read, Grep, Glob
Perform deep analysis on: $ARGUMENTS
Analysis Context
Use our project's coding standards as reference: @.claude/rules/coding-standards.md
Analysis Dimensions
1. Code Quality
- Complexity (cyclomatic, cognitive)
- Duplication
- Dead code
- Naming conventions
2. Architecture
- Separation of concerns
- Dependency direction
- Module boundaries
3. Security
- Input validation
- Authentication/authorization
- Sensitive data handling
4. Performance
- Obvious inefficiencies
- Resource management
- Caching opportunities
5. Maintainability
- Documentation coverage
- Test coverage indicators
- Code readability
Steps
1. Read the target file(s) 2. If a directory, identify key files 3. Analyze against each dimension 4. Compare with project standards (if available) 5. Generate report
Output Format
## Analysis Report: [target] ### Overview [One paragraph summary] ### Scores | Dimension | Score | Notes | |-----------|-------|-------| | Quality | ⭐⭐⭐⭐☆ | [brief] | | Architecture | ⭐⭐⭐☆☆ | [brief] | | Security | ⭐⭐⭐⭐⭐ | [brief] | | Performance | ⭐⭐⭐☆☆ | [brief] | | Maintainability | ⭐⭐⭐⭐☆ | [brief] | ### Key Findings #### Strengths - [positive points] #### Areas for Improvement - [issues with suggested fixes] ### Recommendations 1. [Prioritized action items]
Ships withclaude-code-engineering
This repository demonstrates how to use Claude Code to do real engineering work, not just writing code. 本项目是极客时间专栏 《Claude Code 工程化实战》 的官方配套示例仓库,目标就是: 👉 把 Claude Code 从“对话式编码工具”,变成 可设计、可复用、可治理的工程系统。
Get the whole plugin
Stats
1,110
Stars
388
Forks
Maintained
Maintenance
JavaScript
Language
1mo ago
Last commit
7mo ago
Created
Repo: huangjia2019/claude-code-engineering
Other commands on claude-code-engineering.
Command
Command
Command
Command
Command
Command

