一键导入
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 职业分类
PPTX to Markdown 转换。Use when (1) 将 .pptx 转换为 .md, (2) 提取 PPT 内容和截图, (3) 需求文档/修改事项 PPTX 解析, (4) 包含标注截图的 PPTX 处理, (5) 批量转换演示文稿
专业的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