This file provides context and guidance for AI assistants (Claude and others) working in this repository.
Computer-Buddy is a project in its initial stage. Currently the repository contains only a README.md placeholder. This document will be updated as the project evolves.
- Repository:
vctb12/Computer-Buddy - Primary branch:
master - Development branches: prefixed with
claude/for AI-driven work sessions
Computer-Buddy/
├── README.md # Minimal project description
└── CLAUDE.md # This file
No source code, dependencies, tests, or configuration files exist yet. The project is ready for initial development.
master— stable, production-ready code; never push broken code hereclaude/<session-id>— AI assistant work branches; one per task session- Feature branches should be short-lived and merged via pull request
Use the imperative mood, present tense:
Add user authentication module
Fix null pointer in device scanner
Update README with setup instructions
Avoid vague messages like fix stuff or update.
- Always push with:
git push -u origin <branch-name> - Never force-push to
master - Branches must match the pattern
claude/...for AI session branches
- Keep files focused and single-purpose
- Prefer explicit over implicit
- Delete dead code rather than commenting it out
- Files/directories:
kebab-casefor web projects,snake_casefor Python - Variables/functions:
camelCasefor JavaScript/TypeScript,snake_casefor Python - Classes:
PascalCasein all languages - Constants:
UPPER_SNAKE_CASE
- No unused variables or imports
- No hard-coded secrets — use environment variables
- Secrets must never be committed; use
.envfiles (gitignored) - Add
.env.exampleto document required environment variables
# Clone the repository
git clone <repo-url>
cd Computer-Buddy
# Install dependencies (update this section when a package manager is chosen)
# npm install # Node.js
# pip install -r requirements.txt # Python
# bundle install # Ruby
# Copy environment template
cp .env.example .env
# Edit .env with your values
# Run the project
# npm start / python main.py / etc.When tests are introduced:
- Run all tests before committing
- New features require corresponding tests
- Aim for meaningful coverage, not 100% coverage for its own sake
# Run tests (update when test framework is chosen)
# npm test
# pytest
# go test ./...- Read any relevant existing files before editing them
- Understand the existing patterns in the codebase before introducing new ones
- Check
git logandgit statusto understand the current state
- Make focused, minimal changes — avoid scope creep
- Do not add features, refactors, or "improvements" not explicitly requested
- Do not add docstrings, comments, or type hints to code you didn't change
- Prefer editing existing files over creating new ones
- Ask clarifying questions rather than guessing intent
- Flag security concerns before implementing anything that touches auth, data handling, or external services
- Confirm before taking irreversible actions (deleting files, force-pushing, dropping data)
- Commit with clear messages describing what and why
- Push to the designated
claude/branch for the current session - Never push to
masterdirectly without explicit instruction
- Never commit
.env, credentials, API keys, or tokens - Validate all user input at system boundaries
- Follow OWASP Top 10 guidelines when building web features
- Use parameterized queries for any database operations
Update CLAUDE.md whenever:
- A new technology, framework, or major dependency is added
- Project structure changes significantly
- New conventions or workflows are established
- The setup or test commands change
Keep this file accurate — an outdated CLAUDE.md is worse than none.