跳到正文
cccskills
免费在 GitHub 公开

laravel-feeds-serialize-output

Shape Laravel Feeds output for a consumer schema. Use when changing XML, JSON, JSON Lines, CSV, or RSS converter settings, root and metadata structure, XML directives, optional fields, or value transformers on an existing feed.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(5)

  • SKILL.md2.9 KB
  • examples/extension-patterns.md4.5 KB
  • examples/formats-and-structure.md3.9 KB
  • examples/xml-patterns.md2.8 KB
  • references/serialization-contract.md5.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Shape feed output

Turn an existing feed into the required serialized contract. Produce the smallest feed, item, info, or transformer change, an adapted example, and focused checks of the generated content.

Workflow

  1. Inspect the installed package version, feed, item, info, converter bindings, and consumer schema. Identify required fields, types, escaping, date formats, encoding, and empty-output behavior before changing code.
  2. Read the serialization contract. Select the format with FeedFormatEnum; use package Config attributes for per-feed settings. Keep application defaults when no override is needed.
  3. Map fields explicitly. Use ElementData, FeedInfo, and item hooks for structure; use XML directives only where the selected converter supports them. Never insert untrusted strings as raw XML.
  4. Return raw date objects for date formatting. Prefer item DateFormat for an item-only format; use transformers() for feed-specific value conversion. Check every subsequent matching transformer, not only the first match.
  5. Adapt formats and structure, XML patterns, or extension patterns to the application. Use a direct method before introducing a global macro or converter override.
  6. Check an empty feed, two different records, missing optional values, special characters, and the required date/timezone behavior. Parse complete XML/JSON, decode each JSONL line, or read CSV with the configured dialect. Check the consumer's schema separately from syntactic validity.

Completion checks

  • Report the exact schema/settings changed and the checks actually run.
  • Confirm stable CSV columns and scalar values; a blank optional cell retains its column.
  • Confirm unrelated feeds keep their converter options and transformer behavior.
  • Keep query construction, target routing, registration, and scheduling changes outside this task unless they are necessary for the requested output.

Artifact ownership and config policy

Read the consumer contract and relevant application feed classes, models, tests, and configuration. Edit only the requested feed/item/info/transformer classes and focused tests. Change config/feeds.php or provider bindings only when an application-wide change is requested. Preserve unrelated keys. Do not write generated exports into a live publication location for a diagnostic check. This skill does not use or modify AI Factory configuration or planning artifacts.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

aif

免费

Set up agent context for a project. Analyzes tech stack, installs relevant skills from skills.sh, generates custom skills, and configures MCP servers. Use when starting new project, setting up AI context, or asking "set up project", "configure AI", "what skills do I need".

中文简介正在准备中。当前显示原文说明。

TheDragonCode/laravel-feeds362026年10月23日 更新

Generate architecture guidelines for the project. Analyzes tech stack from DESCRIPTION.md, recommends an architecture pattern, and creates .ai-factory/ARCHITECTURE.md. Use when setting up project architecture, asking "which architecture", or after $aif setup.

中文简介正在准备中。当前显示原文说明。

TheDragonCode/laravel-feeds362026年10月23日 更新

Archive completed plans and roadmap milestones. Moves finished plans to the archive directory and optionally trims closed milestones from ROADMAP.md. Use when user says "archive plans", "clean up plans", "archive completed", or "trim roadmap".

中文简介正在准备中。当前显示原文说明。

TheDragonCode/laravel-feeds362026年10月23日 更新

Code quality guidelines and best practices for writing clean, maintainable code. Covers naming, structure, error handling, testing, and code review standards. Use when writing code, reviewing, refactoring, or asking "how should I name this", "best practice for", "clean code".

中文简介正在准备中。当前显示原文说明。

TheDragonCode/laravel-feeds362026年10月23日 更新

Analyze project and generate or enhance build automation file (Makefile, Taskfile.yml, Justfile, Magefile.go). If a build file already exists, improves it by adding missing targets and best practices. Use when user says "generate makefile", "create taskfile", "add justfile", "setup mage", or "build automation".

中文简介正在准备中。当前显示原文说明。

TheDragonCode/laravel-feeds362026年10月23日 更新

aif-ci

免费

Generate CI/CD pipeline (GitHub Actions / GitLab CI) with linting, static analysis, tests, security. Use when user says "ci", "setup ci", "github actions", "gitlab ci", "pipeline".

中文简介正在准备中。当前显示原文说明。

TheDragonCode/laravel-feeds362026年10月23日 更新

查看 TheDragonCode 的全部技能

报告此技能的问题