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.
npx claudepluginhub publicala/feed-claude-md-files-skill --plugin feed-claude-md-filesThis skill uses the workspace's default tool permissions.
Read recent git history (commits + diffs), the current conversation's user corrections and feedback, and all existing CLAUDE.md files in the project.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Builds production-ready Apache Airflow DAGs with patterns for operators, sensors, testing, and deployment. For data pipelines, workflow orchestration, and batch jobs.
Share bugs, ideas, or general feedback.
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.