Skip to content
kazma.
ع Star 6 Get Started

Code Style

  • Python 3.11+
  • Type hints required
  • Line length: 100 characters
  • Formatter: Ruff
  • Linter: Ruff + MyPy
# Standard library first
import asyncio
from pathlib import Path
# Third-party
import yaml
import aiosqlite
# Local
from kazma_core.hub.manifest_schema import SkillManifest
async def process(message: str, agent_id: str | None = None) -> dict:
...
def parse_skill_id(skill_id: str) -> tuple[str, str, str]:
...
  • 2-space indentation
  • kebab-case for keys
  • No trailing whitespace
  • Functional components
  • TypeScript strict mode
  • CSS modules for styling