Skip to content

feat: initialize CLAUDE.md from template on project creation#52

Merged
quick-sort merged 1 commit into
mainfrom
feat/default-claude-md
Jun 12, 2026
Merged

feat: initialize CLAUDE.md from template on project creation#52
quick-sort merged 1 commit into
mainfrom
feat/default-claude-md

Conversation

@hilr

@hilr hilr commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add a default CLAUDE.md template at data/default_claude_md with two guidelines: plan before executing large tasks, and persist memory in CLAUDE.md
  • SessionManager.create() now copies the template into new project directories (skips if CLAUDE.md already exists)
  • Template path is configurable via DEFAULT_CLAUDE_MD_PATH env var

Test plan

  • All 147 existing tests pass
  • Create a new project and verify CLAUDE.md is generated with the project name filled in
  • Create a project that already has a CLAUDE.md and verify it is not overwritten

Closes #51

🤖 Generated with Claude Code

When a new project is created, copy a default CLAUDE.md template into
the project directory. The template includes guidelines for planning
before executing and persisting memory in CLAUDE.md. Template path is
configurable via DEFAULT_CLAUDE_MD_PATH env var.

Closes #51

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@quick-sort
quick-sort merged commit d06874b into main Jun 12, 2026
1 check passed
@quick-sort
quick-sort deleted the feat/default-claude-md branch June 12, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: default CLAUDE.md template for new project initialization

2 participants