This directory contains the LLM agent rules and documentation for Tupaia.
docs/- Project-specific documentation and contextproject-rules/- Tupaia-specific LLM agent rulescommon-rules/- Shared LLM rules (Git submodule from beyondessential/llm-rules)
LLM agents should start by loading llm/common-rules/onboard-agent.md. This will start a standard onboarding that in turn loads docs like the project overview and important rules.
When rules conflict:
- Project-specific rules (
project-rules/) take highest priority - Shared rules (
common-rules/) provide the foundation - Always prioritise project-specific rules over generic ones
For detailed submodule usage instructions (setup, updating, contributing), see the common-rules README.
For Tupaia-specific rules: Add them to llm/project-rules/
For rules that could benefit other projects: Add them to the shared repository via the submodule (see common-rules README for the process)