Documentation Index
Fetch the complete documentation index at: https://docs.cowboy.lat/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
Consistent naming improves discoverability, maintainability, and collaboration. These conventions apply to all Cowboy documentation, code, and assets.File Naming
Documentation Files (.mdx)
Format:kebab-case.mdx
Rules (short):
- Lowercase; use hyphens between words
- Be descriptive; avoid overly generic names
Diagram Files
Format:category-description.[svg|mmd|excalidraw|drawio]
Examples:
Image Files
Format:kebab-case.[png|jpg|svg]
Examples:
Directory Naming
Documentation Directories
Format:kebab-case/ (match existing IA)
Examples:
Code Naming (Python)
Files
Format:snake_case.py
Classes
Format:PascalCase
Functions/Methods
Format:snake_case
Variables
Format:snake_case (constants use UPPER_SNAKE_CASE)
Terminology Standards
Cowboy-Specific Terms
Always Use (capitalized when referring to Cowboy concepts):| Concept | ✅ Correct | ❌ Avoid |
|---|---|---|
| Compute unit | Actor | contract, smart contract |
| Off-chain worker | Runner | oracle, worker |
| Compute gas | Cycles | gas, compute |
| Data gas | Cells | bytes, data |
| Native token | CBY | Cowboy, token |
Abbreviations (minimal)
Use common, project-wide forms (see Style Guide): VM, API, SDK, CLI, CBY, PoS, DoS, CIP.API Endpoints
Format:/api/v1/resource-name
Quick Reference Table
| Context | Convention | Example |
|---|---|---|
| Documentation files | kebab-case.mdx | actor-vm-overview.mdx |
| Diagram files | category-name.svg | architecture-overview.svg |
| Python files | snake_case.py | token_actor.py |
| Python classes | PascalCase | class TokenActor |
| Python functions | snake_case | def transfer() |
| Python constants | UPPER_SNAKE_CASE | MAX_CYCLES |
| Directories | kebab-case/ | getting-started/ |
| URLs | /kebab-case | /architecture/actor-vm |
| Git commits | type: description | docs: add guide |
| Git branches | type/issue-desc | feat/123-new-api |
| Version tags | vX.Y.Z | v0.1.0 |
This v0.1 guide focuses on the essentials to keep contributions fast and consistent. We will expand with edge cases in later milestones.

