본문으로 건너뛰기
cccskills
무료GitHub에 공개

laravel-feeds-create-feed

Create and register Laravel Feeds exports with lazy Eloquent queries, explicit item fields, item date formats, and application-specific registration models. Use when adding a first feed or changing its data source and registration schema.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md3.6 KB
  • examples/create-feed.md7.6 KB
  • references/feed-contract.md7.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Create a Feed

Build a registered export from an application's Eloquent models. Use this for installation, scaffolding, query selection, item mapping, or registration-model changes. Produce the feed and item classes, required registration/schema changes, and a verification result.

Workflow

  1. Inspect the installed package version, Composer constraints, existing feeds, registration model, database connection, and storage disk. Establish the consumer's format, fields, filters, date requirements, and permitted data exposure.
  2. For a new installation, install and publish the package. Check feeds.table.connection and feeds.table.table before migrating. For an existing installation, inspect applied migrations and upgrade only the missing schema; do not republish a second create-table migration.
  3. Scaffold with php artisan make:feed Product --item. Add --info only for required feed-level metadata. Inspect and apply the generated registration migration or deploy operation before generation. Avoid duplicate manual registration.
  4. Implement builder(): Builder with filters, selected columns, and only the relationships the item reads. Keep the primary key and required relation keys selected. Return the builder directly; do not call get() or collect all records.
  5. Implement item(Model $model): FeedItem and an explicit toArray() schema. Return raw date-cast values for date formatting. Use OptionalData for absent fields when omission is required. Do not rely on the base item exporting the entire model array.
  6. Choose the feed's format and disk explicitly when the XML and public defaults do not fit. Use an item DateFormat attribute for item-only dates. Recognize the package's Config attribute for per-feed converter options; consult the serialization workflow for its format-specific parameters.
  7. Keep registration titles distinct after slug normalization. Use model saves or FeedQuery::create(). Extend the package registration model only when additional application attributes are required; add their schema, fillable entries, and casts together.
  8. Validate syntax, registration, representative item output, and the query on more than one chunk. Check row eligibility, required fields, absent values, dates, relation query counts, and destination visibility. Measure memory/query costs before changing the default chunk size of 1000.

Read the feed contract for defaults and failure checks. Adapt the complete patterns and checks to the application's schema.

Output

Report the changed classes and registration/schema artifacts, output format and disk, eligible records, checks run, and any environment-dependent checks left open. Claim generation success only after verifying the published artifact.

Artifact Ownership and Config Policy

Write only the requested application's feed/item/info classes, registration migration or deploy operation, custom registration model, required schema, and focused tests. Edit existing configuration keys only when needed for this feed; preserve unrelated settings. Read the package configuration and Composer lock as context. Do not change other feeds, production data, application-wide date/converter settings, or deployment schedules without task authorization.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 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월 21일 업데이트

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월 21일 업데이트

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월 21일 업데이트

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월 21일 업데이트

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월 21일 업데이트

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월 21일 업데이트

TheDragonCode의 스킬 모두 보기

이 스킬의 문제 신고