From feed-claude-md-files
Surfaces recurring patterns in recent commits and in-session corrections, proposes them as new CLAUDE.md rules in the right file (root or scoped subdir), and writes them only after approval. The inverse of bake-claude-md-files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/feed-claude-md-files:feed-claude-md-filesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Read recent git history (commits + diffs), the current conversation's user corrections and feedback, and all existing CLAUDE.md files in the project.
Read recent git history (commits + diffs), the current conversation's user corrections and feedback, and all existing CLAUDE.md files in the project.
Cluster recurring patterns into candidate rules. A pattern is anything that recurs: the same correction asked for twice, the same kind of edit across multiple commits, the same nit, the same naming or style choice, the same architectural decision applied repeatedly.
For each candidate, decide:
/bake-claude-md-files instead of writing proseUse AskUserQuestion to propose each rule with:
Only write after approval. Create the target file if it does not exist. Append under an appropriate heading; never duplicate or near-duplicate an existing rule.
feedback*.md (and any file with type: feedback in its frontmatter) under ~/.claude/projects/*/memory/ — both the user-home-encoded directory and the project-cwd-encoded directory if present. Treat these like prior corrections but with lower confidence (they may be older or stale). Skip silently if none exist.This skill writes only to CLAUDE.md files inside the current project tree. Never write to:
~/.claude/ — global skills, settings, or user memory~/.claude/projects/*/memory/ — auto-memory files (read-only input)Reads from ~/.claude/projects/*/memory/ are fine; writes only ever land in the project's root CLAUDE.md or a scoped subdir CLAUDE.md.
/bake-claude-md-filesDefault to the smallest scope that still captures the rule. Promote to root only when the rule genuinely cuts across the project.
Examples:
src/components/CLAUDE.mdapp/Models/CLAUDE.mdtests/CLAUDE.mdCLAUDE.mdCLAUDE.mdWhy: line when the reason is non-obvious — future-you will thank you when judging edge casesfeed and bake are a loop:
feed adds prose rules from observed patternsbake converts crystallized prose rules into tooling and removes them from CLAUDE.mdRun feed after a working session; run bake once enough rules have accumulated to be worth automating.
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub publicala/feed-claude-md-files-skill --plugin feed-claude-md-files