clean-code-naming
Guidelines for clean naming conventions in this project, forbidding technical abbreviations in source code.
- License 许可
- MIT
- 最近更新
- 2026-06-22
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- clean-code-naming
- description
- Guidelines for clean naming conventions in this project, forbidding technical abbreviations in source code.
03 SKILL.md 正文
Naming Conventions - Banning Technical Abbreviations
To maintain high code readability, readability standards, and self-documenting code, never use short technical abbreviations in this codebase.
Mappings of Technical Abbreviations to Full Names
Variables and Properties
fb➔firebaseInstanceorfirebasedb➔databaser➔roworrecordorresponseorradiusm➔modelel➔elementv➔valuet➔transactionortransactionsac➔assetClassbAmt➔buyAmountbSh➔buySharescfg➔configorconfigurationmsg➔messageerr➔errorbtn➔buttonmn➔minimumValuemx➔maximumValuevav➔volatilityValue(or relevant contextual variable)vx/vy➔velocityX/velocityYcx/cy➔centerX/centerYW/H➔width/heightAlloc➔Allocation
Function and Path Names
- Avoid naming functions with prefixes like
fmtorloadAlloc.fmtEur➔formatEurofmtNum➔formatNumberfmtDate➔formatDateloadAlloc➔loadAllocationsaveAlloc➔saveAllocation
All developers and agents working on this codebase must strictly adhere to these naming conventions.
04 同仓库更多 Skills
xcode-project-setup
Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).
firebase-security-rules-auditor
A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.
firebase-remote-config-basics
Comprehensive guide for Firebase Remote Config, including template management and SDK usage. Use this skill when the user needs help setting up Remote Config, managing feature flags, or updating app behavior dynamically.
firebase-hosting-basics
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
firebase-firestore
Sets up, manages, and executes queries against Cloud Firestore database instances, including advanced native full-text search and relational joins using pipelines. You MUST unconditionally activate this skill if you plan to use Firestore in any way. Use when listing or creating Firestore databases, configuring security rules, designing data models, writing client SDK queries (including search/joins), or checking indexes.
firebase-data-connect
Builds and deploys Firebase SQL Connect (aka Firebase Data Connect) backends with PostgreSQL securely. Use when designing schemas with tables and relations, writing authorized queries and mutations, configuring real-time data updates, or generating type-safe SDKs. Use when you need a relational database with Firebase, or when the user mentions SQL Connect or Data Connect.