agentleFS
0-shiv0-shiv/secondstep-claude-skills/skills/product-feed-claude/CLAUDE.md

secondstep-claude-skills / product-feed-claude

CLAUDE.md2 starsChanged 9 months agoMITView on GitHub

A Claude Code skill suite for auditing and optimizing Google Merchant Center product feeds. Eight sub-skills cover every aspect of feed quality: titles, descriptions, images, attributes, custom labels, disapprovals, supplemental feeds, and health reporting. Weighted scoring across 5 dimensions: - Title Quality: 30% - Attribute Completeness: 25% - Image Compliance: 20% - Description Quality: 15% - Data Accuracy: 10% Grades: A (90-100), B (80-89), C (70-79), D (60-69), E (50-59), F (0-49) Shivendra Rawat (@0-shiv) | [Second Step](ht

The file

We split this CLAUDE.md into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All Google Merchant Center specs must be current: When in doubt, reference Google's official product data specification.

    line 68
  2. Distinctive:

    Scripts use only stdlib + pandas/openpyxl: No unnecessary dependencies.

    line 71
  3. Distinctive:

    Output format is consistent: All sub-skills follow the same report structure: summary, details, recommendations.

    line 73
  4. Distinctive:

    Recommendations are specific: Never output vague advice like "improve your titles." Always specify what to change, on how many products, …

    line 74
  5. Distinctive:

    Policy references are accurate: When citing Google Shopping policies, use exact policy names and current requirements.

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Product Feed Claude — Architecture

What This Is

A Claude Code skill suite for auditing and optimizing Google Merchant Center product feeds. Eight sub-skills cover every aspect of feed quality: titles, descriptions, images, attributes, custom labels, disapprovals, supplemental feeds, and health reporting.

Repository Structure

product-feed-claude/
  SKILL.md                    # Master orchestrator — routes /feed commands to sub-skills
  CLAUDE.md                   # This file — architecture and dev rules
  README.md                   # Public-facing documentation

  skills/                     # 8 sub-skill modules
    feed-title-optimization/  # /feed titles — title formula + scoring
    feed-description/         # /feed descriptions — keyword-rich copy
    feed-images/              # /feed images — compliance + quality
    feed-attributes/          # /feed attributes — required + recommended validation
    feed-labels/              # /feed labels — custom label strategy
    feed-disapprovals/        # /feed disapprovals — diagnosis + fixes
    feed-supplemental/        # /feed supplemental — override feeds
    feed-report/              # /feed report — health report generation

  agents/                     # AI agent configurations
    feed-quality.md           # Analyzes title/description/image quality
    feed-compliance.md        # Checks policy violations and disapprovals

  scripts/                    # Python analysis tools
    feed_analyzer.py          # Parses CSV/TSV, scores products, outputs stats
    feed_report.py            # Generates formatted health report

  docs/                       # Reference documentation
    INSTALLATION.md           # Setup instructions
    COMMANDS.md               # Command reference
    SCORING.md                # Scoring methodology

  feed/                       # User places feed files here (gitignored)
  assets/                     # Templates and sample data

Commands

CommandSub-SkillScript
/feed auditMaster SKILL.mdfeed_analyzer.py
/feed titlesfeed-title-optimization—
/feed descriptionsfeed-description—
/feed imagesfeed-images—
/feed attributesfeed-attributes—
/feed labelsfeed-labels—
/feed disapprovalsfeed-disapprovals—
/feed reportfeed-reportfeed_report.py

Scoring Model

Weighted scoring across 5 dimensions:

  • Title Quality: 30%
  • Attribute Completeness: 25%
  • Image Compliance: 20%
  • Description Quality: 15%
  • Data Accuracy: 10%

Grades: A (90-100), B (80-89), C (70-79), D (60-69), E (50-59), F (0-49)

Dev Rules

  1. All Google Merchant Center specs must be current. When in doubt, reference Google's official product data specification.
  2. Scoring must be deterministic. Same input feed must produce same scores every time.
  3. Sub-skills are independent. Each sub-skill SKILL.md is self-contained and can be used standalone.
  4. Scripts use only stdlib + pandas/openpyxl. No unnecessary dependencies.
  5. Feed files are never committed. The feed/ directory is gitignored — it contains user data.
  6. Output format is consistent. All sub-skills follow the same report structure: summary, details, recommendations.
  7. Recommendations are specific. Never output vague advice like "improve your titles." Always specify what to change, on how many products, with estimated impact.
  8. Policy references are accurate. When citing Google Shopping policies, use exact policy names and current requirements.

Testing

# Run analyzer on a test feed
python scripts/feed_analyzer.py feed/test-feed.csv --output test-scores.csv

# Generate a full report
python scripts/feed_report.py feed/test-feed.csv --output test-report.txt

# Compare with previous run
python scripts/feed_report.py feed/test-feed.csv --previous test-scores.csv

Author

Shivendra Rawat (@0-shiv) | Second Step

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.