Skip to main content

phase-2-convention

Skill for defining coding rules and conventions. Ensures consistent code style and specifies coding standards. Use proactively when starting a new project or when coding standards are needed. Triggers: convention, coding style, naming rules, 컨벤션, 코딩 스타일, 네이밍 규칙, コンベンション, コーディングスタイル, 编码风格, 命名规则, convención, estilo de código, convention, style de codage, Konvention, Coding-Stil, convenzione, stile di codice Do NOT use for: existing projects with established conventions

跳到安装

来源信息

仓库
ww-w-ai/bkit-gemini
最近来源活动
2026年3月11日 04:41
检测到的 SKILL.md 语言
英语
星标
66
分支
16

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
phase-2-convention
classification
C
description
Skill for defining coding rules and conventions. Ensures consistent code style and specifies coding standards. Use proactively when starting a new project or when coding standards are needed. Triggers: convention, coding style, naming rules, 컨벤션, 코딩 스타일, 네이밍 규칙, コンベンション, コーディングスタイル, 编码风格, 命名规则, convención, estilo de código, convention, style de codage, Konvention, Coding-Stil, convenzione, stile di codice Do NOT use for: existing projects with established conventions
user-invocable
true
argument-hint
allowed-tools
["read_file","write_file","replace","glob","grep_search"]
imports
[]
agents
{}
context
session
memory
project
pdca-phase
plan
# Phase 2: Convention Definition > Establish coding standards and conventions ## Categories ### 1. Naming Conventions | Type | Convention | Example | |------|------------|---------| | Components | PascalCase | `UserProfile.tsx` | | Functions | camelCase | `getUserById()` | | Constants | UPPER_SNAKE | `MAX_RETRY_COUNT` | | Files | kebab-case | `user-service.ts` | | CSS Classes | kebab-case | `user-card` | ### 2. File Structure ``` src/ ├── components/ # UI components ├── hooks/ # Custom hooks ├── lib/ # Utilities ├── services/ # API services ├── types/ # TypeScript types └── utils/ # Helper functions ``` ### 3. Git Conventions ``` feat: Add user login fix: Resolve password reset bug docs: Update README style: Format code refactor: Extract auth service test: Add login tests chore: Update dependencies ``` ### 4. Code Style - Max line length: 100 - Indentation: 2 spaces - Quotes: Single quotes - Semicolons: Required - Trailing commas: ES5 ## Output Save to: `docs/01-plan/conventions.md` ## Next Phase After completion: `/phase-3-mockup`
在 GitHub 查看