Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

codeprobe-framework代码探针框架

Agent Skill

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

总安装

661

周安装

27

GitHub Stars

4

下载量

212
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:codeprobe-framework(代码探针框架)
来源仓库:https://github.com/nishilbhave/codeprobe
仓库路径:skills/codeprobe-framework
安装命令:
npx skills add https://github.com/nishilbhave/codeprobe --skill codeprobe-framework
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/nishilbhave/codeprobe --skill codeprobe-framework

简介

用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位结果。
  • 通过 npx 命令安装,具体用法需结合原始 README 进一步确认。
  • 使用前应确认权限范围、维护状态及是否触发联网或命令执行。
  • codeprobe-framework 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Standalone Mode

If invoked directly (not via the orchestrator), you must first:

  1. Read ../codeprobe/shared-preamble.md for the output contract, execution modes, and constraints.
  2. Load applicable reference files from ../codeprobe/references/ based on the project's tech stack.
  3. Default to full mode unless the user specifies otherwise.

Framework-Specific Best Practices

Domain Scope

This sub-skill detects framework-specific anti-patterns and convention violations. Unlike other sub-skills that apply universal principles, this one loads framework-specific reference guides and checks against framework idioms.

Supported frameworks:

  1. PHP / Laravel — Eloquent ORM, routing, validation, queues, events, configuration
  2. React / Next.js — Component design, hooks, data fetching, type safety
  3. Python / Django / FastAPI — PEP conventions, ORM patterns, async handling

Important: If no supported framework is detected at the target path, emit zero findings and return an empty summary with a note: "No supported framework detected — skipping framework-specific checks."

Version Awareness: When checking framework conventions, attempt to determine the framework version:

  • Laravel: check composer.json for laravel/framework version. Laravel 9+ uses attribute-based accessors instead of getXAttribute().
  • Next.js: check next.config.* and package.json for Next.js version. 13+ uses App Router with app/ directory.
  • Django: check requirements.txt or setup.py for Django version.

What It Does NOT Flag

  • Issues already covered by other sub-skills even if they appear in framework code. Specifically:

- Security issues in framework code → covered by codeprobe-security (SEC) - SOLID violations in framework classes → covered by codeprobe-solid (SRP/OCP/etc.) - Performance issues like N+1 queries → covered by codeprobe-performance (PERF) - Error handling in framework middleware → covered by codeprobe-error-handling (ERR)

  • This sub-skill focuses exclusively on framework idiom violations — using the framework incorrectly or ignoring its conventions.
  • When this sub-skill and another sub-skill flag the same file:line range, the orchestrator's deduplication step (Section 7A) will keep the finding in whichever category is most relevant and mark the framework finding as a duplicate.
  • Framework-generated boilerplate files (migration stubs, config defaults, scaffolded controllers).
  • Intentional deviations from framework conventions with clear comments explaining the reason.
  • Test files — test-specific framework usage has different conventions.

Detection Instructions

PHP / Laravel

ID PrefixAreaWhat to DetectHow to DetectSeverity
FWKEloquentRaw queries where Eloquent query builder worksSearch for DB::select(), DB::statement(), raw SQL strings in model/service code where Eloquent's query builder (where(), join(), whereHas()) would be cleaner and safer. Exclude complex reporting queries that genuinely need raw SQL.Minor
FWKEloquentMissing $casts on modelModel attributes that should be cast (dates, booleans, arrays, JSON) accessed without $casts definition. Look for manual casting in accessors or repeated (bool), (int), json_decode() on model attributes.Minor
FWKEloquentRepeated WHERE conditions without scopesSame where() condition chain used in 3+ locations on the same model. Should be extracted into a named scope (scopeActive(), scopePublished()).Minor
FWKRoutingLogic in route closures instead of controllersRoute definitions in routes/web.php or routes/api.php with closure handlers exceeding 3 lines. Should be moved to controller methods.Minor
FWKRoutingMissing route model bindingRoutes that accept an ID parameter and manually call Model::find($id) or Model::findOrFail($id) instead of using route model binding in the method signature.Minor
FWKValidationValidation in controller instead of Form RequestController methods with inline validation rules ($request->validate([...]) exceeding 5 rules). Should use a dedicated Form Request class.Minor
FWKQueuesLong-running tasks in request cycleOperations likely to take > 5 seconds (sending emails, generating PDFs, calling external APIs, processing uploads) executed synchronously in a controller/request handler. Should be dispatched to a queue.Major
FWKQueuesQueue jobs without retry configurationJob classes missing $tries, $timeout, or $backoff properties. Jobs will retry indefinitely on failure without these.Minor
FWKEventsTight coupling where events would decoupleAfter a state change (create, update, delete), a method directly calls 3+ other services. Should dispatch an event and let listeners handle side effects.Minor
FWKConfigenv() called outside config filesUsing env() helper directly in service classes, controllers, or blade templates. env() returns null when config is cached. Must be wrapped in a config/ file.Major

React / Next.js

ID PrefixAreaWhat to DetectHow to DetectSeverity
FWKComponentsComponents exceeding 200 LOCSingle component files with more than 200 lines of code. Should be decomposed into smaller, focused components.Minor
FWKComponentsProp drilling more than 3 levels deepProps passed through 3+ intermediate components that don't use them. Should use Context, state management, or composition. Trace prop names through component hierarchy.Minor
FWKHooksuseEffect with missing or incorrect dependency arrayuseEffect hooks where variables used inside the effect are not listed in the dependency array. Also flag useEffect with empty [] that references props/state that can change.Major
FWKHooksState updates inside renderCalling setState/state setter outside of event handlers or effects — directly in the component body during render, causing infinite re-render loops.Major
FWKHooksCustom hooks exceeding 50 LOCCustom hooks that do too much. Should be composed from smaller hooks.Minor
FWKData FetchingClient-side fetch where SSR/SSG is appropriateuseEffect + fetch() for data that is available at build time or request time. In Next.js, should use getServerSideProps, getStaticProps, or server components.Minor
FWKData FetchingMissing error and loading statesData fetching without corresponding loading indicator and error handling in the UI.Minor
FWKType Safetyany type usage in TypeScriptExplicit any type annotations in .tsx/.ts files. Should use proper types, unknown, or generics.Minor
FWKType SafetyMissing return types on exported functionsExported functions without explicit return type annotations. Rely on inference for internal, but exported API surfaces should be explicitly typed.Minor

Python / Django / FastAPI

ID PrefixAreaWhat to DetectHow to DetectSeverity
FWKDjangoviews.py exceeding 500 LOCSingle view module with too many views. Should be split into separate view modules or use ViewSets.Minor
FWKDjangoMissing model Meta classDjango models without Meta class for ordering, verbose names, or constraints.Minor
FWKDjangoN+1 in templatesTemplate tags accessing related objects without select_related()/prefetch_related() in the view.Major
FWKFastAPISync database calls in async viewsUsing synchronous ORM calls (Django ORM, SQLAlchemy sync) inside async def view functions. Blocks the event loop.Major
FWKPythonNon-PEP 8 namingcamelCase for functions/variables (should be snake_case), snake_case for classes (should be PascalCase).Minor

ID Prefix & Fix Prompt Examples

All findings use the FWK- prefix, numbered sequentially: FWK-001, FWK-002, etc.

Fix Prompt Examples

  • "Move the validation rules from OrderController@store (lines 15-30) into a new StoreOrderRequest form request class: run php artisan make:request StoreOrderRequest, move the validation array, and type-hint StoreOrderRequest in the controller method signature."
  • "Replace the env('MAIL_HOST') call at line 12 of app/Services/MailService.php with config('mail.mailers.smtp.host'). The env() function returns null when the config is cached. Move the env lookup to config/mail.php where it belongs."
  • "The ProductList component at src/components/ProductList.tsx (220 LOC) should be decomposed: extract ProductCard (lines 50-90), ProductFilters (lines 100-140), and ProductPagination (lines 160-200) into separate components in the same directory."
  • "Add missing dependency userId to the useEffect dependency array at src/hooks/useProfile.ts:15. The current empty array [] means the effect runs once with the initial userId and never refetches when it changes."

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

32.09%
按下载量换算68

Claude

31.11%
按下载量换算66

Cursor

18.91%
按下载量换算40

Gemini CLI

9.24%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills