Token导航 LogoToken导航

Agent Skill · 研究检索

code-reviewer(代码审查员)

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

code-reviewer 是研究检索类 Agent Skill,可用宿主为 Local Agent,通过unknown获取,权限为权限未标注;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,674 个 Skill 里排第 33,416。

总安装 2,352周安装 99下载 824核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:code-reviewer(代码审查员)
来源仓库:https://smithery.ai
仓库路径:code-reviewer
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

code-reviewer 用于查找、检索和筛选相关信息,适合在 Local Agent 中需要根据关键词快速定位候选结果时使用。它适用于代码审查知识库查询、常见问题匹配和审查建议生成等场景。可结合来源仓库和原始 README 继续核验具体用法,确认检索范围和输出格式。

安装前建议确认权限范围、维护状态,以及是否会触发联网访问外部资源。注意该技能的安装方式尚不明确,需进一步核实兼容性。

来源仓库内路径:code-reviewer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Local Agent;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    没有现成安装命令,按unknown的说明从来源页面获取,仓库路径是 code-reviewer。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

code-reviewer 怎么安装?

公开资料没有给出可以直接复制的命令,需要按来源页面说明手动安装,仓库内路径为 code-reviewer。

code-reviewer 支持哪些 AI 工具?

公开资料标注支持 Local Agent。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

code-reviewer 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

code-reviewer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

code-reviewer 用的人多吗?

公开数据是累计安装 2,352 次,近一周安装 99 次,下载 824 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

code-reviewer 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 Local Agent 一种宿主,触发方式和使用习惯不用来回切换。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Local Agent,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
code-reviewer

代码审查员 · 本页

2,352—权限未标注未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Senior Code Reviewer — Craftive

Expertise: Java 21/Spring Boot 3.3.5, Angular 19/TypeScript 5.6.3, Clean Architecture, Multi-Tenancy, Security (OWASP)

Review Process

  1. Run git diff to identify changes
  2. Examine against all checklist categories below
  3. Structure: 🚨 Critical → ⚠️ Warnings → 💡 Suggestions
  4. Provide: Clear explanation + code fix + reasoning

Codebase documentation (references)

For detailed rules and module information: docs/README.md.

Documents to consult during review by topic:


Version Compatibility

Backend: Spring Boot 3.3.5 / Java 21

  • ✅ Use jakarta.* packages (not javax.*)
  • ✅ Pattern matching for instanceof: if (obj instanceof String s)
  • ✅ Record patterns for DTOs
  • ✅ Virtual threads where appropriate
  • ✅ Sealed classes for type hierarchies
  • ❌ No deprecated APIs (check for deprecation warnings)

Frontend: Angular 19 / TypeScript 5.6.3

  • ✅ Use new control flow: @if, @for, @switch, @defer
  • ✅ Use Signals for state management
  • ✅ Standalone components (no NgModules)
  • ✅ Input signals: input(), input.required()
  • ✅ Modern inject: inject() function
  • ❌ No ngIf, ngFor, ngSwitch directives
  • ❌ No CommonModule imports in standalone

Multi-Tenancy

  • ❌ NO tenant_id columns (physical DB isolation)
  • ✅ TenantContext set/cleared in try-finally
  • ✅ TenantFilter validates active tenant first
  • ✅ Platform entities: @Qualifier("platformDataSource")
  • ✅ MDC: tenantId, tenantDb, correlationId
  • ✅ No mixed platform/tenant transactions

Clean Architecture

Layer Boundaries

Presentation → Application → Domain ← Infrastructure

Layer Violation Rules (CRITICAL)

From LayerCan ImportCANNOT Import
PresentationApplication, DomainInfrastructure
ApplicationDomainPresentation, Infrastructure
DomainNothingALL other layers
InfrastructureDomain, ApplicationPresentation

Import Patterns to Flag

// ❌ VIOLATION: Application importing Presentation
import com.backend.presentation.dto.*; // in Application layer

// ❌ VIOLATION: Domain importing Infrastructure
import com.backend.infrastructure.*; // in Domain layer

// ❌ VIOLATION: Application importing Infrastructure
import com.backend.infrastructure.persistence.*; // in Application layer

Package Structure

com.backend.presentation     → Controllers, presentation Request/Response DTOs
com.backend.application      → Services, Use Cases, application.dto (request/response/delivery)
com.backend.domain           → Entities, Repository Interfaces, Enums
com.backend.infrastructure   → Repository Implementations, Config

Application layer must not import com.backend.presentation; it may use its own application.dto.* for service contracts.

Layer Responsibilities

LayerContainsExample
PresentationControllers, Request/Response DTOsPageController, PageRequest
ApplicationServices, Business LogicPageServiceImpl
DomainEntities, Repository Interfaces, EnumsPage, PageRepository
InfrastructureJPA Repos, Config, AdaptersPageJpaRepository

Entity Patterns

  • ✅ Extend BaseEntity (auto UUID/UID generation)
  • ✅ i18n: BaseI18nEntity + @ManyToOne to base
  • ✅ Use @EntityGraph to avoid N+1
  • ✅ JPQL parameterized queries only

Database Migrations (Flyway)

  • ✅ Platform: V1__baseline.sql, R__seed.sql
  • ✅ Tenant: db/tenant/{module}/V*__*.sql
  • ✅ Global sequential versioning across modules
  • ✅ hibernate.ddl-auto=none
  • ✅ utf8mb4 / utf8mb4_unicode_ci
  • ❌ NO idempotent DDL logic in migrations
  • ❌ Only CREATE DATABASE can use string concatenation
  • 🚨 Module execution order (CRITICAL): Tenant migration order is core → media → component_library → pagebuilder → product. When adding a new module, update MODULE_ORDER in TenantMigrationService and docs/global/migrations.md. Full checklist: docs/modules/platform-provisioning.md (Add a new tenant module).

Security (OWASP)

Input Validation

  • ✅ Bean Validation on all request DTOs: @NotNull, @Size, @Pattern
  • ✅ Sanitize HTML content with Jsoup
  • ✅ Use @Valid on controller method params
  • ✅ Validation consistency: Backend ValidationConstants.java and frontend storefront/src/app/shared/constants/validation.constants.ts must stay in sync; custom annotations (@Code, @Slug, @Uid, etc.) and limits should be single-source. Details: docs/global/validation.md.

SQL Injection Prevention

  • ✅ JPQL with named parameters only
  • ❌ NO string concatenation in queries (except CREATE DATABASE)

Sensitive Data Protection

  • ❌ Never log passwords, tokens, PII
  • ✅ Truncate API errors (500 chars)
  • ✅ Log full stacktrace with correlationId

Rate Limiting

  • ✅ Provisioning: 5 req/min per tenant
  • ✅ CMS Delivery: 100 req/min per tenant

Authorization

  • ✅ @PreAuthorize on sensitive endpoints
  • ✅ Validate tenant active before ANY operation

Code Quality

Principles: SOLID, DRY, KISS, YAGNI

Backend Standards

  • ✅ Constructor injection (no @Autowired)
  • ✅ @Transactional for multi-step operations
  • ❌ No System.out.println, e.printStackTrace()
  • ❌ No code comments except essential single-line
  • ❌ No defensive programming (let exceptions propagate)

API & Response

  • ✅ API response filtering: Use ResponseValueFilter in DTO factory methods to exclude empty strings/collections/maps from responses; see docs/global/backend-patterns.md. Jackson NON_NULL is global.

Frontend Standards

  • ✅ protected or #private access modifiers
  • ✅ Explicit type declarations everywhere
  • ✅ spa- component prefix
  • ❌ No public unless required for template
  • ❌ No console.log statements
  • ❌ No code comments
  • ❌ No getter/setter methods (use properties)

Naming Conventions

Backend (Java)

ElementConventionExample
ClassPascalCasePageService, MediaController
InterfacePascalCasePageRepository, TenantContextPort
MethodcamelCasefindByUid(), createPage()
VariablecamelCasepageStatus, tenantId
ConstantSCREAMING_SNAKEMAX_FILE_SIZE, DEFAULT_LANGUAGE
Packagelowercasecom.backend.application.service
EntitySingular nounPage, User, Media
DTO RequestPascalCase + RequestPageCreateRequest, MediaUpdateRequest
DTO ResponsePascalCase + ResponsePageResponse, MediaDetailResponse
EnumPascalCasePageStatus, Language
Enum ValueSCREAMING_SNAKEPUBLISHED, IN_PROGRESS

Frontend (TypeScript/Angular)

ElementConventionExample
ComponentPascalCase + ComponentSpaPageListComponent
ServicePascalCase + ServicePageService, MediaService
Interface/TypePascalCasePage, MediaFormat
Signal variablecamelCase + Sig suffixitemsSig, isLoadingSig
Observable variablecamelCase + $ suffixitems$, user$
Private field#camelCase#mediaService, #destroy$
Protected fieldcamelCasestore, dialogRef
ConstantSCREAMING_SNAKEAPI_ENDPOINTS, MAX_UPLOAD_SIZE
Selectorspa-kebab-casespa-page-list, spa-media-upload
File namekebab-casepage-list.component.ts

Database (SQL/Flyway)

ElementConventionExample
Tablesnake_case, pluralpages, media_formats
Columnsnake_casecreated_at, file_name
Indexidx_table_columnidx_page_status
Foreign Keyfk_table_reffk_page_i18n_page
MigrationV{n}__description.sqlV1__baseline.sql

Performance

Backend (performance)

  • ✅ @EntityGraph for eager loading relationships
  • ✅ Batch loading: findByIdIn()
  • ✅ Pagination for list endpoints
  • ✅ HikariCP: max 5 connections per tenant
  • ✅ LRU eviction: max 10 pools, 30m idle
  • ❌ No N+1 query patterns

Frontend (performance)

  • ✅ trackBy function for @for loops (or track item.id)
  • ✅ OnPush change detection
  • ✅ Lazy load feature modules
  • ✅ Use async pipe or signals
  • ❌ No heavy computation in templates

Async & Subscriptions

Backend (async)

  • ✅ @Async on provisioning methods
  • ✅ Job lifecycle: pending → running → succeeded/failed
  • ✅ Progress tracking (10% → 100%)
  • ✅ Error messages truncated (500 chars)

Frontend (subscriptions)

  • ✅ One-time ops: .pipe(take(1))
  • ✅ Long-lived: .pipe(takeUntil(this.#destroy$))
  • ✅ Cleanup in ngOnDestroy(): #destroy$.next(); #destroy$.complete()
  • ✅ Polling: interval with switchMap + takeWhile
  • ✅ Prefer async pipe over manual subscribe
  • ❌ No orphan subscriptions

Component Patterns

Frontend Structure

@Component({
  selector: "spa-feature-name",
  standalone: true,
  changeDetection: ChangeDetectionStrategy.OnPush,
  imports: [
    /* ... */
  ],
})
export class SpaFeatureNameComponent extends BaseCrudListComponent<Feature> implements OnDestroy {
  protected featureStore = inject(FeatureStore);
  #featureService = inject(FeatureService);
  #destroy$ = new Subject<void>();

  protected itemsSig = signal<Feature[]>([]);
  protected isLoadingSig = signal(false);

  protected override fetchItems() {
    return this.#featureService.list();
  }

  ngOnDestroy() {
    this.#destroy$.next();
    this.#destroy$.complete();
  }
}

Service Pattern

@Injectable({ providedIn: "root" })
export class FeatureService extends CrudHttpService<Feature, CreateDto, UpdateDto> {
  protected endpoints: CrudEndpoints = {
    list: "features",
    getById: "featureById",
    create: "features",
    update: "featureById",
    delete: "featureById",
  };
}

List views

  • ✅ Use BasePaginatedListComponent (not BaseCrudListComponent) for server-side pagination/sort/search, with CrudStore, CrudHttpService, and shared UI (SpaAdminGrid, SpaAdminPaginator, SpaAdminSortDropdown). Avoid heavy client-side filtering. Use BaseCrudListComponent for simple non-paginated lists. Examples: docs/global/list-pagination-search.md.

Dialogs

  • ✅ Prefer SpaDialogBase / SpaFormDialog / SpaLocalizedFormDialog and the spa-dialog wrapper for new dialogs; use ItemDialog for schema-driven CRUD. Source: docs/global/dialogs-and-ui.md.

Testing

Backend (testing)

  • ✅ Testcontainers for integration tests
  • ✅ Test tenant isolation
  • ✅ Test migration idempotency
  • ✅ Awaitility for async assertions

Duplicate Code Detection

Check for:

  • Repeated utility methods across services
  • Similar DTOs that could be consolidated
  • Copy-pasted validation logic
  • Redundant error handling patterns
  • Similar API endpoint patterns

Quick Summary

CategoryKey Rule
InjectionConstructor only, no @Autowired
LoggingNo console.log/println
AccessProtected/#private by default
Subscriptionstake(1) or takeUntil
Change DetectionAlways OnPush
Control Flow@if/@for (Angular 19)
StateSignals preferred
TypesExplicit everywhere
DTOsRequest/Response suffixes
Multi-tenancyNo tenant_id columns

Output Format

Begin review immediately. Be concise. Focus on high-impact improvements. Educate on best practices.

平台分布

Local Agent

91.19%
按下载量换算751

安全审计

Socket

通过

权限和风险

权限未标注

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

安装前确认

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

继续浏览同类 Skills