From 82410fa95a3ad7edf5c505f18b5b87ad2f5776e1 Mon Sep 17 00:00:00 2001 From: Craig Date: Wed, 23 Apr 2025 15:55:31 +0100 Subject: [PATCH] Get claude to make a claude file --- CLAUDE.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..bf4df00 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,20 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Commands +- Run the backup script: `python3 backup.py` +- No formal testing framework is used + +## Code Style Guidelines +- **Imports**: Standard library imports first, then third-party libraries +- **Formatting**: 4-space indentation, max line length ~100 characters +- **Types**: Python type hints for function parameters and returns +- **Naming**: Snake_case for variables and functions, CamelCase for classes +- **Error Handling**: Prefer explicit error handling with try/except blocks +- **Documentation**: Use docstrings for functions +- **Config Files**: JSON format with "outputDir", "inputs", and "ignorePatterns" keys + +## Project Structure +- `/configs/`: JSON configuration files for different backup jobs +- `backup.py`: Main script for creating tar.gz archives of specified directories \ No newline at end of file