Skip to content

Commit 6d67e0e

Browse files
docs: update CLAUDE.md with development workflow and package management guidelines
- Added development workflow section with best practices - Included package management instructions for frontend and backend - Clarified Claude Code configuration for commands directory
1 parent 6019a0c commit 6d67e0e

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.claude/commands

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../agentic/commands

CLAUDE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,23 @@ For detailed project documentation (architecture, commands, workflows, etc.), se
2828
- Serena: Understanding codebase structure, refactoring, finding usages, editing code
2929
- Context7: Checking correct API usage, finding library-specific patterns, debugging library issues
3030

31+
## Development Workflow
32+
33+
- **Verify working directory** - Always verify the correct working directory before running commands (especially frontend dev servers, package managers). Use `pwd` before executing build/serve commands.
34+
- **Keep plans simple** - Do not over-scope by adding extra modes, elaborate multi-step processes, or spawning teams when a direct approach is requested. Ask for clarification before expanding scope. Only do exactly what was asked.
35+
- **Proper lint fixes only** - Always apply proper fixes for lint/code quality issues. Never use disable comments (`eslint-disable`, `noqa`, etc.) unless explicitly approved by the user.
36+
- **Fix formatting when editing docs** - When formatting or improving markdown files, actually fix formatting issues (headings, lists, code blocks, structure) — don't just analyze the content.
37+
38+
## Package Management
39+
40+
- **Frontend**: Use `yarn` (not npm). Run `cd app && yarn` for installs, `cd app && yarn dev` for dev server.
41+
- **Backend**: Python dependencies managed via `pyproject.toml`. For transitive dependencies, update the lock file directly — do not add constraints to `pyproject.toml`.
42+
- **Scripts**: Use `uv run` for running Python scripts.
43+
44+
## Claude Code Configuration
45+
46+
- **Commands directory**: Commands live in `agentic/commands/` (agent-agnostic). A symlink `.claude/commands/ → ../agentic/commands/` ensures Claude Code slash-command resolution works. Do not create commands directly in `.claude/commands/`.
47+
3148
## CRITICAL: Mandatory Workflow for New Specs and Implementations
3249

3350
**NEVER bypass the automated workflow!** All specifications and implementations MUST go through the GitHub Actions pipeline.

0 commit comments

Comments
 (0)