This file is the always-on context for agents working in this repository. Keep it high-signal and evergreen.
Kinemotion provides video-based kinematic analysis for athletic performance.
Supported jump analyses:
Current pose estimator:
src/kinemotion/
cli.py
api.py
core/
drop_jump/
countermovement_jump/
squat_jump/
tests/
frontend/
backend/
High-level flow:
frontend -> backend -> src/kinemotion analysis engine -> Supabase -> frontend
Setup:
asdf install
uv sync
Development checks:
uv run ruff check --fix
uv run ruff format
uv run pyright
uv run pytest
Useful test commands:
uv run pytest tests/core/
uv run pytest tests/countermovement_jump/
uv run pytest tests/drop_jump/
uv run pytest tests/squat_jump/
CLI examples:
uv run kinemotion dropjump-analyze video.mp4
uv run kinemotion cmj-analyze video.mp4
uv run kinemotion sj-analyze video.mp4 --mass 75.0
pyright).99 (source of truth: pyproject.toml).<type>(<scope>): <description>.Video processing:
Counter Movement Jump:
Squat Jump:
--mass or mass_kg).Project subagents live in .claude/agents/.
Use them for domain-heavy tasks (biomechanics, CV, backend, QA, docs, DevOps).
Reference:
docs/development/agents-guide.mdRead these only when task-relevant (progressive disclosure):
docs/technical/implementation-details.mddocs/development/testing.mddocs/development/testing-standards.mddocs/guides/cmj-guide.mddocs/guides/drop-jump-guide.mddocs/guides/sj-guide.mddocs/strategy/1-STRATEGIC_SUMMARY.mddocs/strategy/MVP_VALIDATION_CHECKPOINTS.mddocs/development/claude-context-reference.mdWhen instructions in this file conflict with executable config or scripts:
pyproject.toml, workflow files, tool configs).Avoid hard-coding volatile values (test counts, temporary percentages, release-only numbers).
Refresh this file:
Checklist for refresh: