mirror of
https://github.com/tiennm99/penny-pincher-provider.git
synced 2026-04-17 13:21:32 +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)"
|
||||
]
|
||||
}
|
||||
}
|
||||
22
CLAUDE.md
Normal file
22
CLAUDE.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# CLAUDE.md
|
||||
|
||||
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
||||
|
||||
## Project Overview
|
||||
|
||||
This is a curated list of budget-friendly LLM providers. It's a documentation-only project (no code) maintained in README.md.
|
||||
|
||||
## Adding New Providers
|
||||
|
||||
When adding a new provider to README.md, include:
|
||||
- Provider name with link to homepage
|
||||
- Pricing/plan details (if applicable)
|
||||
- Free tier limits or usage restrictions
|
||||
- Source link for verification
|
||||
- Footnote with the date information was verified (format: `[^providername]: Check at MMM DD YYYY`)
|
||||
|
||||
## Structure
|
||||
|
||||
README.md is organized into sections:
|
||||
- **Providers support coding plans**: Subscription-based coding plans
|
||||
- **Free providers**: Providers with free tiers or trials
|
||||
Reference in New Issue
Block a user