Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add noartem/skills --skill "laravel-performance-select-columns"
Install specific skill from multi-skill repository
# Description
Select only required columns to reduce memory and transfer costs; apply to base queries and relations
# SKILL.md
name: laravel-performance-select-columns
description: Select only required columns to reduce memory and transfer costs; apply to base queries and relations
Select Only Needed Columns
Reduce payloads by selecting exact fields:
User::select(['id', 'name'])->paginate();
Post::with(['author:id,name'])->select(['id','author_id','title'])->get();
- Avoid
*; keep DTOs/resources aligned with selected fields - Combine with eager loading to avoid N+1
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.