Shared starter template configuration and CLAUDE.md memory bank system for Claude Code
Shared starter template configuration and CLAUDE.md memory bank system for Claude Code
May 4, 2026 — CLAUDE.md template updated. The
CLAUDE.mdtemplate has been modernized with 3 new variants (CLAUDE-template-1.md,CLAUDE-template-2.md,CLAUDE-template-3.md) following official Anthropic best practices — including dual-memory architecture, progressive disclosure, and standalone behavioral rules. Existing users: useCLAUDE-migrate-to-new-template.mdas an AI prompt to migrate your current CLAUDE.md to any of the new templates while preserving all your project-specific content. See the CLAUDE.md Templates section for details.
The beauty of using AI is that I can get AI to generate alternate Read Me guides using different formats and styles to suit different readers and learners. So I asked Claude Code to generate alternate Read Me guides in different styles - pick one that suits you best or read all of them to get a better understanding of how to use this project.
My Claude Code project's starter settings and Claude Code hooks and slash commands are provided in this repository for users to try out. The CLAUDE.md is setup as set of memory bank files to better retain context over many chat sessions. The repo now includes 3 CLAUDE.md templates following official Anthropic best practices with progressive disclosure, dual-memory architecture, and a migration guide for existing users. Be sure to read the official Claude Code docs first at https://docs.anthropic.com/en/docs/claude-code/overview and sign up for a paid Claude AI account to use Claude Code. You can pay for Claude Pro $20/month, Claude Max $100/month or Claude Max $200/month. The paid Claude tier plans will include varying quotas for usage and rate limits outlined here. You can also use Claude Code with Z.AI to get higher token usage quotas and get access to Z.AI GLM-4.7 LLM models within Claude Code. Use Z.AI invite code for additional 10% discount which can stack with current 50-60% yearly discounts.
to your liking. .claude/settings.jsonneeds to install Terminal-Notifier for macOS https://github.com/centminmod/terminal-notifier-setup. If you're not using macOS, you can remove.claude/settings.json`./init so that Claude Code analyses your code base and then populates your memory bank system files as per CLAUDE.md` instructions.brew install ripgrep fd jqdangerously_skip_permissions enabled and Codex CLI with sandbox_mode = danger-full-access etc..worktreeinclude file as outlined here.CLAUDE-cloudflare.md or CLAUDE-cloudflare-mini.md supplementary reference docs and update CLAUDE.md referencing either file to help AI understand Cloudflare and ClerkOS platforum documentation and products. Edit documentation templates as needed i.e. if you do not use ClerkOS platform, you can remove those sections.CLAUDE-convex.md supplementary reference docs for building Next.js and React apps with Convex backend deployed on Cloudflare Pages.CLAUDE.md uses a memory bank system of files for Claude Code to better retain context over many chat sessions. Example of Claude Code thinking output when I ask it to update memory bank after a successful task completion and git commit:
…This repo provides 3 modernized CLAUDE.md templates following official Anthropic best practices:
| Template | Lines | Philosophy | Best For |
|---|---|---|---|
CLAUDE-template-1.md |
~101 | Compact self-contained + memory resilience | Quick starts, small projects |
CLAUDE-template-2.md |
~153 | Memory bank headline + dual memory | Existing memory bank users |
CLAUDE-template-3.md |
~105 | Progressive disclosure native | Teams, max context efficiency |
The current CLAUDE.md uses the Template 3 format. All templates include:
~/.claude/CLAUDE.md)Migrating an existing CLAUDE.md? See CLAUDE-migrate-to-new-template.md — paste it as a prompt and Claude Code will migrate your content to your chosen template format.
Tip: HTML comments (``) in CLAUDE.md are stripped from context at runtime and cost zero tokens. The templates use them for guidance notes — you can add your own without impacting Claude's context window.
Companion rules file: Template 3 requires .claude/rules/core-rules.md for behavioral rules. Templates 1 and 2 have rules inline but can optionally use it.
I also install the following MCP servers (install commands):
Browser and install Claude Code plugins from official marketplace https://code.claude.com/docs/en/discover-plugins.
/plugin install plugin-name@claude-plugins-officialTo update official Claude Code plugin marketplace:
/plugin marketplace update claude-plugins-officialInstall code simplifier plugin.
Agent that simplifies and refines code for clarity, consistency, and maintainability while preserving functionality. Focuses on recently modified code.
/plugin install code-simplifierInstall frontend design plugin.
Create distinctive, production-grade frontend interfaces with high design quality. Generates creative, polished code that avoids generic AI aesthetics.
/plugin install frontend-design@claude-code-pluginsInstall feature dev plugin.
The Feature Development Plugin provides a systematic 7-phase approach to building new features. Instead of jumping straight into code, it guides you through understanding the codebase, asking clarifying questions, designing architecture, and ensuring quality—resulting in better-designed features that integrate seamlessly with your existing code.
/plugin install feature-dev@claude-code-pluginsInstall Ralph Wiggum plugin. Details https://paddo.dev/blog/ralph-wiggum-autonomous-loops/. Update: currently seems broken on some systems.
Interactive self-referential AI loops for iterative development. Claude works on the same task repeatedly, seeing its previous work, until completion.
/plugin install ralph-wiggum@claude-code-pluginsHow to use Ralph Wiggum plugin YouTube by Greg Isenberg and Ryan Carson https://www.youtube.com/watch?v=RpvQH0r0ecM and GitHub repo https://github.com/snarktank/ralph.
Claude Code Safety Net plugin https://github.com/kenryu42/claude-code-safety-net to prevent destructive commands being run by Claude Code i.e. https://www.reddit.com/r/ClaudeAI/comments/1pgxckk/claude_cli_deleted_my_entire_home_directory_wiped/
A Claude Code plugin that acts as a safety net, catching destructive git and filesystem commands before they execute.
/plugin marketplace add kenryu42/cc-marketplace
/plugin install safety-net@cc-marketplaceZ.AI usage query plugin for querying Z.AI usage statistics.
Query your current quota and usage statistics for the GLM Coding Plan directly within Claude Code.
/plugin marketplace add zai/zai-coding-plugins
/plugin install glm-plan-usage@zai-coding-pluginsCloudflare Skills marketplace for building applications on Cloudflare's platform, Workers, and the Agents SDK.
Collection of Age
No open issues yet, or sync has not completed.