Skip to content

Contentrain/ai

[email protected] scope: contentrain Breaking

This release includes 3 breaking changes for platform teams planning a safe upgrade.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-agents claude-code content-governance contentrain cursor developer-tools
+8 more
git i18n mcp mcp-server model-context-protocol sdk typescript windsurf

Affected surfaces

auth deps

Summary

AI summary

Migration to Agent Skills standard format reduces always‑loaded context size by 97%.

Full changelog

Minor Changes

  • 2bf3f65: feat(rules,skills,cli): migrate to Agent Skills standard format

    @contentrain/rules:

    • Add essential/contentrain-essentials.md — compact always-loaded guardrails (~86 lines)
    • Remove ide/ directory and scripts/build-rules.ts (IDE-specific build system)
    • Replace ALL_SHARED_RULES, IDE_RULE_FILES exports with ESSENTIAL_RULES_FILE
    • Always-loaded context reduced from 2,945 lines to 86 lines (97% reduction)

    @contentrain/skills:

    • Add skills/ directory with 15 Agent Skills (SKILL.md + references/) following agentskills.io standard
    • Add AGENT_SKILLS catalog export for Tier 1 discovery (name + description)
    • New contentrain-sdk skill for @contentrain/query usage (local + CDN)
    • Existing workflows/ and frameworks/ kept for backward compatibility

    contentrain (CLI):

    • Rewrite installRules() with generic IDE installer supporting Claude Code, Cursor, Windsurf, and GitHub Copilot
    • Install one compact essential guardrails file per IDE (always-loaded) + Agent Skills directories (on-demand)
    • Automatic cleanup of old granular rule files from previous versions

Patch Changes

Breaking Changes

  • Removed `ide/` directory and `scripts/build-rules.ts` from @contentrain/rules (IDE‑specific build system eliminated).
  • Replaced exports `ALL_SHARED_RULES`, `IDE_RULE_FILES` with `ESSENTIAL_RULES_FILE` in @contentrain/rules.
  • Reduced always‑loaded context lines from 2,945 to 86 (~97% reduction) as part of the migration.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Contentrain/ai

Get notified when new releases ship.

Sign up free

About Contentrain/ai

Local-first MCP server for AI content governance — 13 tools for model/content CRUD, validation, normalization, and i18n across any framework.

All releases →

Related context

Beta — feedback welcome: [email protected]