跳到正文
cccskills
免费在 GitHub 公开

laravel-feeds-build-presets

Build Sitemap, Instagram catalog, Yandex catalog, and RSS feeds with Laravel Feeds presets. Use when a feed must match one of these service contracts, including metadata, categories, namespaces, and registration.

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

集成工具Instagram

实测评分 未实测

查看安装方法

包含的文件(4)

  • SKILL.md2.8 KB
  • examples/catalogs.md5.1 KB
  • examples/navigation-news.md3.9 KB
  • references/preset-contracts.md6.3 KB

SKILL.md(原文)

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

Build preset feeds

Create a registered preset subclass with the right query, item mapping, metadata, destination, and output checks. Use this for a named preset or service integration; produce implementation changes and the measured generation result.

Workflow

  1. Inspect the installed package version, existing feed definitions, registration mechanism, models, relationships, and destination disk. Verify APIs against that installed version before editing.
  2. Choose the preset in preset contracts. Confirm the required fields and receiver contract. An RSS preset with an Atom namespace still emits RSS 2.0.
  3. Reuse an existing definition or run php artisan make:feed <name>. Extend the chosen preset. Implement builder() and item(Model $model); call parent::item() to keep its item type and defaults. Add info() only for needed metadata.
  4. Filter or reject invalid source data deliberately. Eager-load relationships used per item. Map scalar category names or IDs rather than passing relationship objects to string setters.
  5. Keep preset headers, namespaces, root order, and footers unless the receiver requires a supported change. Validate raw XML directive arrays before passing them through additional() or rawCategory().
  6. Review the generated registration migration or deploy operation, apply the mechanism the application uses, and inspect the stored slug. Generate that slug and check output paths, XML structure, required fields, counts, and split files.
  7. Report the preset, changed artifacts, registration slug, generated files, checks performed, and receiver checks still pending. Successful XML generation alone does not establish acceptance by an external service.

Use navigation and news examples for Sitemap and RSS, or catalog examples for Instagram and Yandex.

Artifact ownership and config policy

Own only requested feed definitions, supporting item/info classes, registration migrations or operations, and their focused tests. Read config/feeds.php, config/filesystems.php, and model contracts first; change them only when the requested destination or generation behavior requires it. Merge settings rather than replacing application configuration. Write generated output only to the chosen disk. Publish public symlinks or edit a root sitemap only when public discovery is part of the task. Treat unrelated application and agent artifacts as read-only.

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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月24日 更新

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月24日 更新

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月24日 更新

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月24日 更新

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月24日 更新

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月24日 更新

查看 TheDragonCode 的全部技能

报告此技能的问题