agentleFS
DobroslavRadosavljevicDobroslavRadosavljevic/cabrakan/.agents/skills/feedsmith/SKILL.md

feedsmith

Skill1 starsChanged 3 months agoMITView on GitHub

Build, review, debug, configure, migrate, or plan Feedsmith v3+ TypeScript/JavaScript feed parsing and generation. Use for feedsmith, parseFeed, parseRssFeed, parseAtomFeed, parseRdfFeed, parseJsonFeed, parseOpml, generateRssFeed, generateAtomFeed, generateJsonFeed, generateOpml, detectRssFeed, RssFeed, AtomFeed, JsonFeed, namespaces (itunes, podcast, media, dc), parseDateFn, maxItems, strict mode, DetectError, MalformedError, ParseError, GenerateError, OPML, and v2→v3 migration.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill for Feedsmith v3+ (feedsmith): parse and generate RSS, Atom, RDF, JSON Feed, and OPML with structure-preserving, typed APIs.

    line 8
  2. Very specific:

    Prefer dedicated parsers when format is known.

    line 17
  3. Very specific:

    Prefer bun / bunx in command examples.

    line 24
  4. Distinctive:

    Prefer repository-owned commands.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
SKILL.md

Feedsmith

Use this skill for Feedsmith v3+ (feedsmith): parse and generate RSS, Atom, RDF, JSON Feed, and OPML with structure-preserving, typed APIs. Docs: v3.feedsmith.dev. Snapshot 3.0.0-rc.3 (2026-08-06).

Workflow

  1. Inspect the local surface:
    • Installed feedsmith version and npm dist-tag (latest may still be 2.x — see source-map.md).
    • Parse vs generate vs OPML vs detect-only usage.
    • Dates: raw strings vs parseDateFn / Date on generate.
    • v2 leftovers: feedsmith/types, { lenient: true }, flat Atom strings, string RSS persons, singular dc.* fields.
  2. Prefer dedicated parsers when format is known; use parseFeed only for unknown/mixed sources.
  3. Refresh docs when tags drift. Start from source-map.md.
  4. Route deeper detail:
    • Parse/detect/dates/errors: parsing.md
    • Generate, strict mode, stylesheets: generating.md
    • Formats, namespaces, types: formats-namespaces.md
    • v2→v3 breaking changes: migration-v2-to-v3.md
  5. Prefer bun / bunx in command examples.

Core Judgment

  • Preserve structure — do not invent a “universal flattened feed” layer; read format-specific fields and namespaces (feed.itunes, item.dc, …).
  • Dates are strings by default on parse. Use parseDateFn to convert; errors from that fn are not swallowed.
  • Generate is lenient by default in v3 (all fields optional). Use { strict: true } for compile-time spec-required fields + Date dates.
  • Atom text/content are objects: title?.value, content?.value (not bare strings).
  • RSS persons are objects: { email?, name?, link? } — not "a@b (Name)" strings.
  • Types from main entry: RssFeed, AtomFeed, JsonFeed, RdfFeed, Opml, AnyFeed. No feedsmith/types.
  • RDF generate is not available yet (parse yes). JSON Feed / RSS / Atom / OPML generate yes.
  • Catch DetectError | MalformedError | ParseError | GenerateError — not only generic Error.
  • Known format → dedicated parser (faster, more reliable than detect heuristics).

Verification

Prefer repository-owned commands. Cover the relevant subset:

  • bun pm ls feedsmith / npm view feedsmith version dist-tags — confirm 3.x.
  • Round-trip: parse fixture → assert key fields → generate → re-parse smoke.
  • Typecheck Atom .value / RSS Person / dc.titles (plural) after upgrades.
  • Strict generate: missing required fields should fail at compile time with { strict: true }.
  • Error-path tests for bad XML / wrong format using dedicated error classes.

Report which checks ran, which did not, and version/tag assumptions that remain.

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.