mirror of
https://github.com/tiennm99/penny-pincher-provider.git
synced 2026-04-17 15:21:12 +00:00
chore: add CLAUDE.md and project memory for Claude Code
Add CLAUDE.md with project guidance for adding new LLM providers. Add .claude/memory/ with feedback rules: - Preserve markdown quotes when editing - Save memories in project directory Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
4
.claude/memory/MEMORY.md
Normal file
4
.claude/memory/MEMORY.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Memory Index
|
||||
|
||||
- [Preserve markdown quotes](feedback_markdown_quotes.md) — Don't edit blockquote content unless explicitly requested or fetching fresh info from source
|
||||
- [Project-local memory](feedback_memory_location.md) — Always save memories to `.claude/memory/` in project, not user global location
|
||||
13
.claude/memory/feedback_markdown_quotes.md
Normal file
13
.claude/memory/feedback_markdown_quotes.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
name: Preserve markdown quotes
|
||||
description: Do not edit quoted content in markdown unless explicitly requested
|
||||
type: feedback
|
||||
---
|
||||
|
||||
When editing markdown files, never modify content in blockquotes (lines starting with `>`) unless:
|
||||
1. The user explicitly requests changes to that content in the prompt, OR
|
||||
2. The content is being updated from a website the user wants crawled for fresh information
|
||||
|
||||
**Why:** Quoted content often represents exact citations or official documentation that should remain verbatim.
|
||||
|
||||
**How to apply:** When tuning/editing markdown, skip over any blockquote sections and leave them unchanged. Only modify quotes if the user specifically asks or when fetching updated info from a source URL.
|
||||
11
.claude/memory/feedback_memory_location.md
Normal file
11
.claude/memory/feedback_memory_location.md
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
name: Project-local memory
|
||||
description: Always save memories inside the project, not user global location
|
||||
type: feedback
|
||||
---
|
||||
|
||||
Always save memory files to the project's `.claude/memory/` directory, not to the user's global memory location (`~/.claude/projects/`).
|
||||
|
||||
**Why:** Keeps project-specific knowledge alongside the codebase for portability and version control.
|
||||
|
||||
**How to apply:** When creating or updating memories, always write to `.claude/memory/` within the project root.
|
||||
7
.claude/settings.json
Normal file
7
.claude/settings.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Write(*.md)"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user