Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问clear审计未展示

laravel_effective-contextLaravel effective context 搜索

Agent Skill

laravel_effective-context 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

931

周安装

40

GitHub Stars

公开资料未说明

下载量

326
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:laravel_effective-context(Laravel effective context 搜索)
来源仓库:https://github.com/jpcaparas/superpowers-laravel
仓库路径:skills/laravel_effective-context
安装命令:
npx skills add jpcaparas/superpowers-laravel --skill "laravel:effective-context"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add jpcaparas/superpowers-laravel --skill "laravel:effective-context"

简介

Laravel effective context 工具,用于提取项目关键上下文信息。

  • 适合在 AI 宿主中快速理解代码库结构与技术栈构成。
  • 通过 npx skills add 命令安装,输出范围由配置决定,可能存在遗漏。
  • 使用前应确认扫描深度与忽略规则,避免将临时文件纳入核心上下文。
  • laravel_effective-context 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Effective Context

Give the AI assistant the right context to generate accurate, relevant code. Missing context leads to generic solutions that don't fit your project.

What to Include

Files and Structure

  • Reference specific files: app/Models/User.php, routes/api.php
  • Mention relevant directories: "working in app/Services/Payment"
  • Share project structure when it matters: "using repository pattern with interfaces in app/Contracts"

Current State

  • Show existing code you're modifying or extending
  • Describe what works and what doesn't
  • Include relevant configuration: .env settings, config/ values

Laravel Context

  • Version: "Laravel 11.x" or "Laravel 12.x"
  • Dependencies: Mention packages like Sanctum, Horizon, Telescope
  • Patterns in use: "using Form Requests", "jobs with Horizon", "API resources"
  • Runner: Specify if using Sail or host commands

Monorepo Projects

  • Specify which app: "working in apps/api" vs "working in apps/admin"
  • Mention shared packages if relevant: "using shared packages/common"

Describing Problems

Errors

BAD: "Getting an error with users"

GOOD: "Getting error when creating user:
  Illuminate\Database\QueryException: SQLSTATE[23000]:
  Integrity constraint violation: 1062 Duplicate entry

  In UserController@store, line 45:
  $user = User::create($request->validated());

  Using Laravel 11.x with MySQL 8.0"

Stack Traces

Include the full stack trace, especially:

  • The exception class and message
  • File paths and line numbers
  • The method chain that led to the error

Reproduction Steps

1. POST to /api/users with email that exists
2. Validation passes (should catch this)
3. Database throws constraint violation

Vague vs Specific

Vague

"Add validation to the user form"

Specific

"Add validation to UserStoreRequest:

  • Email must be unique in users table
  • Password min 12 chars, requires uppercase + number
  • Name required, max 255 chars
  • Optional phone field, must match E.164 format"

Vague

"Need to handle payments"

Specific

"Implement Stripe payment processing:

  • Create PaymentService with charge() method
  • Store payment records in payments table (user_id, amount, stripe_id, status)
  • Dispatch ProcessPaymentJob to queue
  • Handle webhook for payment.succeeded
  • Using Laravel 11.x with Cashier"

Quick Checklist

Before sending a prompt, verify:

  • Mentioned Laravel version and relevant packages
  • Included file paths or directory context
  • Shared error messages and stack traces (if debugging)
  • Specified validation rules, relationships, or business logic
  • Noted if using Sail or host commands
  • Identified which app (if monorepo)

More context = better results. When in doubt, include it.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.93%
按下载量换算98

Antigravity

23.21%
按下载量换算76

windsurf

19.04%
按下载量换算62

OpenCode

13.74%
按下载量换算45

Gemini CLI

7.99%
按下载量换算26

Codex

3.26%
按下载量换算11

安全审计

暂无安全审计结果可展示。

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills