원클릭으로
code-standards
代码规范检查与自动修正。Use when (1) 创建新项目/模块需要规范目录结构, (2) 检查文件命名是否符合规范, (3) 验证代码组织是否合理, (4) 重构现有代码结构
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
代码规范检查与自动修正。Use when (1) 创建新项目/模块需要规范目录结构, (2) 检查文件命名是否符合规范, (3) 验证代码组织是否合理, (4) 重构现有代码结构
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Complete software development lifecycle from requirements to deployment. Use when (1) starting a new project from scratch, (2) need structured end-to-end development process, (3) require comprehensive documentation and quality gates at each phase.
专业的AI Agent(AI Agents)顾问助手,探索 AI Agent 框架和应用。当用户询问以下问题时使用:(1) 技术选型和对比 (2) 使用指南和最佳实践 (3) 问题诊断和解决 (4) 资源推荐 (5) 常见问题解答
Comprehensive CV learning assistant. Use when studying image processing, object detection, segmentation, or any CV tasks. Helps with algorithm understanding, implementation, and model optimization.
Comprehensive DL learning assistant. Use when studying neural networks, CNN, RNN, LSTM, Transformer, or any DL architectures. Helps with network design, training strategies, debugging, and optimization techniques.
Comprehensive LLM learning assistant. Use when studying transformer architecture, attention mechanisms, pre-training, fine-tuning, or prompt engineering. Helps with understanding LLM principles and practical applications.
Comprehensive ML learning assistant. Use when studying supervised learning, unsupervised learning, regression, classification, clustering, or any ML concepts. Helps with algorithm understanding, implementation guidance, model evaluation, and practical applications.
| name | code-standards |
| description | 代码规范检查与自动修正。Use when (1) 创建新项目/模块需要规范目录结构, (2) 检查文件命名是否符合规范, (3) 验证代码组织是否合理, (4) 重构现有代码结构 |
project/
├── src/ # Source code
│ ├── core/ # Core business logic
│ ├── api/ # API endpoints
│ ├── models/ # Data models
│ ├── services/ # Business services
│ └── utils/ # Utility functions
├── tests/ # Test files (mirror src structure)
├── scripts/ # Utility scripts
│ ├── scrapers/ # Data collection
│ ├── organizers/ # Data processing
│ └── utils/ # Script utilities
├── docs/ # Documentation
└── pyproject.toml # Dependencies
project/
├── src/
│ ├── components/ # React components (PascalCase)
│ ├── hooks/ # Custom hooks (use*.ts)
│ ├── services/ # API services
│ ├── types/ # TypeScript types
│ ├── utils/ # Utility functions
│ └── pages/ # Page components
├── public/ # Static assets
└── package.json
snake_case.pyPascalCasesnake_caseUPPER_SNAKE_CASE_leading_underscorekebab-case.ts or PascalCase.tsx (components)PascalCasecamelCaseUPPER_SNAKE_CASEPascalCaselowercase or kebab-case.eslintrc.js, pyproject.toml)UPPERCASE.md (README, CHANGELOG) or kebab-case.md# Verify standard directories exist
required_dirs = ["src", "tests", "docs"]
optional_dirs = ["scripts", "config", "data"]
# Check for anti-patterns
bad_patterns = [
"utils/utils.py", # Redundant naming
"helpers/helper.py", # Vague naming
"misc/", "temp/", "old/" # Unclear purpose
]
test_*.py or *.test.ts)utils.py, helpers.py, common.py)# Good: Clear dependency hierarchy
from src.core.models import User
from src.services.auth import AuthService
# Bad: Circular imports, unclear boundaries
from src.utils import everything
When violations are found:
Example output:
❌ backend/scripts/helpers.py
Issue: Generic filename in wrong location
Fix: Move to backend/scripts/utils/file_helpers.py
❌ frontend/src/components/button.tsx
Issue: Component file should use PascalCase
Fix: Rename to Button.tsx
✓ Apply all fixes? (y/n)
# Before: services.py (800 lines)
# After:
services/
├── __init__.py
├── auth_service.py
├── user_service.py
└── email_service.py
# Before: Mixed in main module
# After:
utils/
├── validators.py # Input validation
├── formatters.py # Data formatting
└── converters.py # Type conversion
# Feature-based (preferred for large projects)
features/
├── auth/
│ ├── models.py
│ ├── services.py
│ └── api.py
└── users/
├── models.py
├── services.py
└── api.py
Check for project-specific conventions in:
.kiro/steering/naming-conventions.mddocs/development-principles.mddocs/dependency-rules.mdLoad these files first to understand project context.
Before completing:
Trigger this skill when:
For detailed naming rules: See project docs in docs/naming-conventions.md
For dependency guidelines: See docs/dependency-rules.md
m