Updated preference files
This commit is contained in:
16
CLAUDE.md
16
CLAUDE.md
@@ -34,6 +34,9 @@ See [preferences/communication.md](preferences/communication.md) for full detail
|
||||
- **No credentials in code:** Secrets go in `.env` files; always provide a `.env.example`
|
||||
- **Consistent style:** Follow the conventions for the language in use — see preferences files
|
||||
- **Ask before big changes:** Clarify scope before rewriting or restructuring
|
||||
- Ask clarifying questions before starting — outline the plan for large changes and get confirmation before proceeding
|
||||
- When a request is ambiguous, offer 2–3 specific options rather than an open-ended question
|
||||
- Report failures clearly (what broke, why) and propose an alternative — don't retry the same failing approach
|
||||
|
||||
---
|
||||
|
||||
@@ -43,6 +46,19 @@ See [preferences/communication.md](preferences/communication.md) for full detail
|
||||
- Add features, refactoring, or cleanup beyond what was asked
|
||||
- Put credentials, passwords, or tokens directly in code or config files
|
||||
- Switch to a different stack/library without asking first
|
||||
- Add filler phrases ("Great question!", "Certainly!", "Of course!")
|
||||
- Restate what was just asked before answering
|
||||
- Suggest improvements or refactors beyond what was asked
|
||||
- Propose switching to a different stack or library without being asked
|
||||
|
||||
---
|
||||
|
||||
## Git Workflow
|
||||
|
||||
- Commit directly to `main` — no PR workflow for solo projects
|
||||
- Commit messages: short imperative summary (`Add user auth`, `Fix config loading`)
|
||||
- Never commit `.env` — always commit `.env.example` with placeholders
|
||||
- `.gitignore` must be present and project-appropriate from the start
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user