AGENT SKILL

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 ➔ firebaseInstance or firebase
  • db ➔ database
  • r ➔ row or record or response or radius
  • m ➔ model
  • el ➔ element
  • v ➔ value
  • t ➔ transaction or transactions
  • ac ➔ assetClass
  • bAmt ➔ buyAmount
  • bSh ➔ buyShares
  • cfg ➔ config or configuration
  • msg ➔ message
  • err ➔ error
  • btn ➔ button
  • mn ➔ minimumValue
  • mx ➔ maximumValue
  • vav ➔ volatilityValue (or relevant contextual variable)
  • vx / vy ➔ velocityX / velocityY
  • cx / cy ➔ centerX / centerY
  • W / H ➔ width / height
  • Alloc ➔ Allocation

Function and Path Names

  • Avoid naming functions with prefixes like fmt or loadAlloc.
    • fmtEur ➔ formatEuro
    • fmtNum ➔ formatNumber
    • fmtDate ➔ formatDate
    • loadAlloc ➔ loadAllocation
    • saveAlloc ➔ saveAllocation

All developers and agents working on this codebase must strictly adhere to these naming conventions.

04 同仓库更多 Skills

SirHarveyBix
SirHarveyBix/portefeuille-tracker

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).

★ 1
SirHarveyBix
SirHarveyBix/portefeuille-tracker

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.

★ 1
SirHarveyBix
SirHarveyBix/portefeuille-tracker

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.

★ 1
SirHarveyBix
SirHarveyBix/portefeuille-tracker

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.

★ 1
SirHarveyBix
SirHarveyBix/portefeuille-tracker

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.

★ 1
SirHarveyBix
SirHarveyBix/portefeuille-tracker

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.

★ 1