本文へ移動
cccskills
無料GitHub で公開

laravel-feeds-target-outputs

Implement independent Laravel Feeds outputs for partners, stores, locales, or other business keys with target-specific queries and collision-free filenames.

日本語の概要は準備中です。原文の説明を表示しています。

実行スコア 未検証

インストール方法を見る

含まれるファイル(3)

  • SKILL.md2.6 KB
  • examples/LOCALE-FEED.md6.0 KB
  • references/TARGET-CONTRACT.md5.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Implement business-specific output files

Build one registered feed with a separate filtered output for each business key. Use this skill when implementing target discovery, lookup, query filtering, and filenames. Produce a complete targeted feed, selection examples, and checks that target datasets and paths stay independent.

Workflow

  1. Identify the registration, business key, selection conditions, output contract, and expected target count. Choose targets for business variants, perFile() for count-based parts, or both when each variant needs parts.
  2. Inspect the existing feed and callers. Keep one registration for the class. Implement HasFeedTargets with InteractsWithFeedTargets; keep targets() lazy and make findTarget() resolve explicit keys directly.
  3. Design stable non-empty keys and small serializable parameter snapshots. Keys are visible in output and errors and are not sanitized. Use controlled path-safe keys, identifiers instead of models, and no secrets.
  4. Use target()->parameters to filter builder() and a deterministic distinct filename() for every target. Return a lazy Eloquent builder. Resolve only required relationships and fields.
  5. Exercise full enumeration, selected-key lookup, unknown keys, clone independence, dataset filtering, and filename uniqueness. For parts, verify suffixes and total counts independently per target.
  6. Show the registration slug and repeatable --target commands. For direct service calls, resolve a target and pass forTarget($target); GeneratorService never enumerates targets.

Use the target contract for execution and failure rules. Use the complete locale example for code, invocation, and a small assertion check.

Artifact ownership and config policy

Read current feed definitions, model schema, registrations, application storage/config, and call sites. Write only requested target implementation and relevant application tests or reproducible registration changes. Do not create one registration per target. Generation and queue dispatch change application state; perform them only within the requested scope. Retain the existing format, disk, and unrelated query rules unless the output contract requires a change. Do not expose secrets in keys, snapshots, logs, or filenames. This skill does not write AI Factory context or config.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。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 のスキルをすべて見る

このスキルの問題を報告する