본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)48k · #5027

laravel-development-workflow

하는 일

이 도구는 Laravel 애플리케이션에서 올바르고 유지보수하기 쉬운 변경을 만들도록 돕습니다. 수정 사항과 새 기능이 기존 프로젝트에 맞고, 제대로 테스트되도록 합니다.

사용하는 경우

  • ✓Laravel 프로젝트에 새 기능을 추가할 때.
  • ✓Laravel 애플리케이션의 버그를 고칠 때.
  • ✓변경이 시스템의 다른 부분을 망가뜨리지 않는지 테스트해야 하는 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/laravel-development-workflow/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/laravel-development-workflow/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“사용자가 로그인할 수 없는 버그를 고치고, 이 문제가 다시 생기지 않도록 테스트를 추가해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 먼저 애플리케이션이 어떻게 작동하는지 이해하고, 문제의 정확한 원인이나 새 기능을 넣을 올바른 위치를 찾습니다. 그다음 프로젝트 규칙에 따라 변경하고, 모든 것이 기대대로 작동하는지 확인하는 테스트를 추가합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Laravel Development Workflow

Make the requested Laravel behavior correct, maintainable within the existing application, and supported by evidence that matches the change's risk.

When to Use

  • Use when implementing a feature in an existing Laravel application.
  • Use when diagnosing and fixing a Laravel bug at its actionable root cause.
  • Use when a Laravel change needs regression coverage and proportionate verification.
  • Use when the project already has architectural or testing conventions that must be preserved.

Establish the Contract

Before editing:

  • Read the repository instructions and inspect the relevant routes, models, controllers, actions or services, requests, policies, jobs, events, tests, and schema.
  • Trace the current behavior far enough to identify the actual change boundary and existing conventions.
  • Turn the request into a compact set of scenarios, important edge cases, and verifiable acceptance criteria. Keep this analysis in the working notes unless the user requests a separate artifact.
  • Identify authorization, validation, transaction, queue, cache, and concurrency concerns only where they can affect this behavior.

Scale the analysis to the task. A focused validation fix does not need the same ceremony as a new multi-role workflow.

Fix Bugs at the Cause

For a bug:

  1. Reproduce the failure through the narrowest reliable path.
  2. Trace the data and control flow to the actionable root cause.
  3. Add or update a regression test that fails for that cause when practical.
  4. Implement the smallest fix that restores the intended invariant.
  5. Demonstrate that the regression test passes and that nearby behavior still works.

Do not substitute retries, broad exception handling, disabled validation, extra timeouts, or error suppression for a root-cause fix. If the failure cannot be reproduced locally, state what evidence is missing and use the strongest available static or targeted verification.

Build Features in the Existing Shape

  • Reuse the application's established patterns and naming.
  • Keep business rules in the layer where this codebase already places comparable rules.
  • Use Eloquent relationships, form requests, policies, actions, services, events, or jobs when they improve this change or match local conventions—not as mandatory ceremony.
  • Treat authorization and validation as explicit behavior at the system boundary.
  • Preserve backwards compatibility unless the request requires a breaking change.
  • Keep migrations reversible and safe for the application's supported database engines.

Create factories, seeders, fixtures, or a disposable command only when realistic data is needed for development or durable test coverage. Do not leave one-off scaffolding in the product solely to exercise a small change.

Verify Proportionately

Discover the project's supported commands from its configuration and documentation. Prefer this order:

  1. Run the narrowest affected test or reproduce the original failure.
  2. Run the relevant feature, unit, or integration test group.
  3. Run static analysis, formatting, and linting configured by the repository.
  4. Run the broader suite when the change's reach or project policy warrants it.

Cover the critical observable behavior, including the happy path and whichever edge cases, validation rules, permissions, database effects, events, notifications, jobs, or API contracts are actually affected. Avoid tests that only mirror implementation details.

Common commands may include:

php artisan test --filter=RelevantTest
vendor/bin/pest --filter=RelevantTest
vendor/bin/phpstan analyse
vendor/bin/pint --dirty

Use the commands the project provides; do not install or configure tools merely because they appear in this example.

Preserve the User's Environment

  • Keep the change inside the requested application behavior and preserve unrelated working-tree changes.
  • Do not run destructive database operations, production commands, deployments, credential changes, or external account actions unless the user or repository instructions explicitly place them in scope.
  • Avoid exposing secrets in commands, logs, test output, or completion evidence.
  • Prefer local, reversible verification and narrowly targeted data changes.

Completion Evidence

Before handing off, verify each acceptance criterion against current behavior. Report:

  • what changed and why it fixes or implements the requested behavior;

…

자주 묻는 질문

Laravel이란 무엇인가요?

PHP 프로그래밍 언어로 웹 애플리케이션을 만들기 위한 인기 있는 '프레임워크'(작업 구조)입니다.

'근본 원인 진단'은 무엇을 뜻하나요?

증상만 다루는 것이 아니라, 문제가 일어나는 진짜 이유를 찾는 것을 뜻합니다.

'회귀 테스트'란 무엇인가요?

한 부분의 코드를 바꾼 것이 이미 잘 작동하던 다른 부분을 망가뜨리지 않았는지 확인하는 테스트입니다.

상세 정보

작성자의 원본 설명

Build and fix existing Laravel applications through root-cause diagnosis, repository-native implementation, regression coverage, and risk-based verification.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5027
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬