1

Project Rules for Claude Code

This repository contains coding standards, style guidelines, and best practices for use with Claude Code.

Usage

Merging Rules

Run the merge script to combine all rules into a single file:

./merge

This creates RULES.md with all rules separated by ---.

Using with Claude Code

Copy the contents of RULES.md and paste it into Claude Code's system prompt or custom instructions. These rules will guide Claude's behavior across all coding sessions.

Rules Overview

File Description
00-AI_BEHAVIOR.md General AI behavior and operational guidelines
01-OPTIMIZED_RESPOPNSE.md Response optimization for concise communication
02-DIRECTORY_STRUCTURE.md Project directory organization standards
03-LICENSE.md ISC license template
04-FILE_HEADINGS.md File header and shebang conventions
05-GITIGNORE.md Git ignore file guidelines
06-README.md README documentation standards
07-ENV.md Environment variable handling
08-PYTHON-GENERAL.md General Python guidelines
09-PYTHON-IMPORTS.md Python import organization
10-PYTHON-FUNCTIONS.md Python function conventions
11-PYTHON-STYLE.md Python code style and alignment
12-PYTHON-MEMORY.md Memory-safe data handling
13-PYTHON-LOGGING.md Logging with APV library
14-PYTHON-PROJECT.md Python project examples

Editing Rules

Rules are organized in separate markdown files in the PROJECT_RULES/ directory for easy maintenance. After making changes, run ./merge.sh to regenerate the merged file.

Structure

  • PROJECT_RULES/ - Individual rule files
  • merge.sh - Script to combine all rules
  • MERGED_RULES.md - Combined rules file for Claude Code
Description
Initial training data for IDE code generation & project structure.
Readme 78 KiB
Languages
Shell 100%