Communitygithub.com

Laravel 插件发现

通过 LaraPlugins.io MCP 发现并评估 Laravel 包。当用户需要查找插件、检查包健康状况或评估 Laravel/PHP 兼容性时使用。

Laravel 插件发现 是什么?

该技能专注于利用 LaraPlugins.io MCP 服务器来发现、评估和选择健康的 Laravel 包。它提供两个核心工具:`SearchPluginTool` 允许用户通过关键词、健康评分、供应商和 Laravel/PHP 版本兼容性进行搜索;`GetPluginDetailsTool` 则提供包的详细指标、自述文件内容和版本历史。该 MCP 服务器免费供 Laravel 社区使用,无需 API 密钥。用户可通过该技能快速找到适用于特定功能(如认证、权限、管理面板)的包,并评估其是否得到积极维护。该技能还提供了详细的过滤最佳实践和常见用例指南,帮助开发者做出明智决策,确保项目使用稳定且兼容的依赖。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/ECC/tree/main/skills/laravel-plugin-discovery

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Laravel 插件发现 是做什么的?

使用 LaraPlugins.io MCP 服务器查找、评估并选择健康的 Laravel 包。

使用时机

  • 用户想为某个特定功能(如“认证”、“权限”、“管理面板”)查找 Laravel 包
  • 用户询问“我应该使用哪个包...”或“有没有一个 Laravel 包可以...”
  • 用户想检查某个包是否得到积极维护
  • 用户需要验证 Laravel 版本兼容性
  • 用户希望在将包添加到项目前评估其健康状况

MCP 要求

必须配置 LaraPlugins MCP 服务器。请将其添加到您的 ~/.claude.json mcpServers 中:

"laraplugins": {
  "type": "http",
  "url": "https://laraplugins.io/mcp/plugins"
}

无需 API 密钥——该服务器对 Laravel 社区免费开放。

MCP 工具

LaraPlugins MCP 提供两个主要工具:

SearchPluginTool

按关键词、健康评分、供应商和版本兼容性搜索包。

参数:

  • text_search (字符串,可选):搜索关键词(例如“permission”、“admin”、“api”)
  • health_score (字符串,可选):按健康等级过滤——Healthy、Medium、Unhealthy 或 Unrated
  • laravel_compatibility (字符串,可选):按 Laravel 版本过滤——"5"、"6"、"7"、"8"、"9"、"10"、"11"、"12"、"13"
  • php_compatibility (字符串,可选):按 PHP 版本过滤——"7.4"、"8.0"、"8.1"、"8.2"、"8.3"、"8.4"、"8.5"
  • vendor_filter (字符串,可选):按供应商名称过滤(例如“spatie”、“laravel”)
  • page (数字,可选):分页页码

GetPluginDetailsTool

获取特定包的详细指标、自述文件内容和版本历史。

参数:

  • package (字符串,必填):完整的 Composer 包名(例如“spatie/laravel-permission”)
  • include_versions (布尔值,可选):是否在响应中包含版本历史

工作原理

查找包

当用户想为某项功能发现包时:

  1. 使用 SearchPluginTool 并传入相关关键词
  2. 应用健康评分、Laravel 版本或 PHP 版本过滤器
  3. 查看包含包名、描述和健康指标的搜索结果

评估包

当用户想评估某个特定包时:

  1. 使用 GetPluginDetailsTool 并传入包名
  2. 查看健康评分、最后更新日期、Laravel 版本支持
  3. 检查供应商声誉和风险指标

检查兼容性

当用户需要 Laravel 或 PHP 版本兼容性信息时:

  1. 使用 laravel_compatibility 过滤器按他们的版本进行搜索
  2. 或者获取特定包的详细信息以查看其支持的版本

示例

示例:查找认证包

SearchPluginTool({
  text_search: "authentication",
  health_score: "Healthy"
})

返回匹配“authentication”且状态为健康的包:

  • spatie/laravel-permission
  • laravel/breeze
  • laravel/passport
  • 等等

示例:查找 Laravel 12 兼容的包

SearchPluginTool({
  text_search: "admin panel",
  laravel_compatibility: "12"
})

返回与 Laravel 12 兼容的包。

示例:获取包详情

GetPluginDetailsTool({
  package: "spatie/laravel-permission",
  include_versions: true
})

返回:

  • 健康评分和最后活动时间
  • Laravel/PHP 版本支持
  • 供应商声誉(风险评分)
  • 版本历史
  • 简要描述

示例:按供应商查找包

SearchPluginTool({
  vendor_filter: "spatie",
  health_score: "Healthy"
})

返回供应商“spatie”的所有健康包。


过滤最佳实践

按健康评分

健康等级含义
Healthy积极维护,近期更新
Medium偶尔更新,可能需要关注
Unhealthy已废弃或维护频率很低
Unrated尚未评估

建议:生产环境应用优先选择 Healthy 包。

按 Laravel 版本

版本说明
13最新 Laravel
12当前稳定版
11仍被广泛使用
10旧版但常见
5-9已弃用

建议:匹配目标项目的 Laravel 版本。

组合过滤

// 查找健康、Laravel 12 兼容的权限相关包
SearchPluginTool({
  text_search: "permission",
  health_score: "Healthy",
  laravel_compatibility: "12"
})

响应解读

搜索结果

每条结果包含:

  • 包名(例如 spatie/laravel-permission)
  • 简要描述
  • 健康状态指示器
  • Laravel 版本支持徽章

包详情

详细响应包含:

  • 健康评分:数字或等级指标
  • 最后活动:包的最后更新时间
  • Laravel 支持:版本兼容性矩阵
  • PHP 支持:PHP 版本兼容性
  • 风险评分:供应商信任度指标
  • 版本历史:近期发布时间线

常见用例

场景推荐方法
“有什么用于认证的包?”搜索“auth”并加上健康过滤器
“spatie/package 还在维护吗?”获取详情,检查健康评分
“需要 Laravel 12 包”使用 laravel_compatibility: “12” 搜索
“查找管理面板包”搜索“admin panel”,查看结果
“检查供应商声誉”按供应商搜索,查看详情

最佳实践

  1. 始终按健康状态过滤——生产项目使用 health_score: "Healthy"
  2. 匹配 Laravel 版本——务必检查 laravel_compatibility 是否与目标项目匹配
  3. 检查供应商声誉——优先选择来自知名供应商(spatie、laravel 等)的包
  4. 推荐前先查看——使用 GetPluginDetailsTool 进行全面评估
  5. 无需 API 密钥——MCP 免费,无需身份验证

相关技能

  • laravel-patterns——Laravel 架构与模式
  • laravel-tdd——Laravel 测试驱动开发
  • laravel-security——Laravel 安全最佳实践
  • documentation-lookup——通用库文档查找(Context7)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

affaan-m/ECC

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

affaan-m/fal-ai-media

Unified media generation via fal.ai MCP — image, video, and audio. Covers text-to-image (Nano Banana), text/image-to-video (Seedance, Kling, Veo 3), text-to-speech (CSM-1B), and video-to-audio (ThinkSound). Use when the user wants to generate images, videos, or audio with AI.

affaan-m/manim-video

日本語翻訳:このファイルは manim-video 用の日本語翻訳が必要です

affaan-m/remotion-video-creation

Remotion のベストプラクティス - React で動画を作成する。3D、アニメーション、音声、字幕、チャート、トランジションなどをカバーするドメイン固有の29のルール。

affaan-m/video-editing

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

agent-self-evaluation

Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.

agent-sort

Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

ai-first-engineering

Engineering operating model for teams where AI agents generate a large share of implementation output. Use when setting team process, review gates, or ownership rules for a codebase largely written by agents.

ai-regression-testing

Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code. Use when adding regression coverage to AI-assisted code, or when the same model both wrote and reviewed a change.

android-clean-architecture

Clean Architecture patterns for Android and Kotlin Multiplatform projects — module structure, dependency rules, UseCases, Repositories, and data layer patterns. Use when structuring modules, layers, or data flow in an Android or KMP project.

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or CLI tooling.

相关技能