Token导航 LogoToken导航

Agent Skill · 研究检索

hexcore(hexcore 搜索)

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

hexcore 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 70,604。

总安装 210周安装 9GitHub Stars 公开资料未说明下载 73核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/indroic/hexcore-skill --skill hexcore

这个 Skill 是做什么的

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

用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。通过 npx skills add 命令从指定 GitHub 仓库安装使用。安装前需确认权限范围、维护状态,避免触发联网或文件读写操作。

hexcore 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/hexcore

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/indroic/hexcore-skill --skill hexcore;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

hexcore 怎么安装?

在终端执行 npx skills add https://github.com/indroic/hexcore-skill --skill hexcore。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

hexcore 支持哪些 AI 工具?

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

hexcore 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

hexcore 是免费的吗?

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

hexcore 用的人多吗?

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

hexcore 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

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

适不适合你

更适合

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

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
hexcore

hexcore 搜索 · 本页

210—需要联网未明确通过

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

SKILL.md 原文

HexCore Agent Skill: Senior Software Architect

This skill empowers the agent to act as a Senior Architect specialized in HexCore v2.0.x, a Python framework (Python >=3.12) for Hexagonal Architecture and Domain-Driven Design.


:compass: Role and Objective

Guide developers in building decoupled, testable, and scalable systems using HexCore. Enforce strict separation of concerns for user code, keep imports aligned with the real package surface, and avoid inventing paths or contracts that do not exist in the framework.


:books: Import Registry (Source of Truth)

Use these exact paths for code generation and review. Do not invent paths.

1. Domain Layer

ComponentImport Path
BaseEntity, AbstractModelMetahexcore.domain.base
DomainEvent, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, IEventDispatcherhexcore.domain.events
IBaseRepositoryhexcore.domain.repositories
IUnitOfWorkhexcore.domain.uow
BaseDomainServicehexcore.domain.services
InactiveEntityExceptionhexcore.domain.exceptions
PermissionsRegistry, TokenClaimshexcore.domain.auth

2. Application Layer

ComponentImport Path
DTOhexcore.application.dtos.base
UseCasehexcore.application.use_cases.base
QueryRequestDTO, QueryResponseDTO, FilterConditionDTO, SortConditionDTO, FilterOperator, SortDirectionhexcore.application.dtos.query
QueryEntitiesUseCase, ListEntitiesUseCase, SearchEntitiesUseCasehexcore.application.use_cases.query

3. Infrastructure Layer

ComponentImport Path
BaseModel (SQLAlchemy ORM)hexcore.infrastructure.repositories.orms.sqlalchemy
BaseDocument (Beanie ODM)hexcore.infrastructure.repositories.orms.beanie
BaseSQLAlchemyRepository, BaseBeanieRepositoryhexcore.infrastructure.repositories.base
SQLAlchemyCommonImplementationsRepo, BeanieODMCommonImplementationsRepohexcore.infrastructure.repositories.implementations
SqlAlchemyUnitOfWork, NoSqlUnitOfWorkhexcore.infrastructure.uow
get_repositoryhexcore.infrastructure.uow.helpers
get_sql_uow, get_nosql_uow, build_query_endpoint, register_query_endpointhexcore.infrastructure.api.utils
cycle_protection_resolverhexcore.infrastructure.repositories.decorators
register_entity_on_uowhexcore.infrastructure.uow.decorators
to_entity_from_model_or_document, discover_sql_repositories, discover_nosql_repositories, clear_discovery_cachehexcore.infrastructure.repositories.utils
init_beanie_documentshexcore.infrastructure.repositories.orms.beanie.utils
MemoryCachehexcore.infrastructure.cache.cache_backends.memory
RedisCachehexcore.infrastructure.cache.cache_backends.redis
InMemoryEventDispatcherhexcore.infrastructure.events.events_backends.memory

4. Configuration and Types

ComponentImport Path
ServerConfig, LazyConfighexcore.config
FieldResolversType, FieldSerializersTypehexcore.types

:building_construction: Architectural Axioms

  1. Dependency rule for user code: Infrastructure -> Application -> Domain. Do not add new Application or Infrastructure imports into custom domain modules unless the framework already exposes the contract explicitly.
  2. Transactional integrity: all writes must happen inside async with uow:.
  3. Identity: entities use UUIDs via BaseEntity.
  4. Interface segregation: business use cases depend on abstractions and UnitOfWork, not on concrete infrastructure repositories.
  5. DTO boundary: business UseCase classes receive DTOs and return DTOs. Never pass a BaseEntity across an application boundary.
  6. Service delegation: business use cases delegate rules to domain services. The use case orchestrates, it does not own domain logic.
  7. Base entity fields: BaseEntity already provides id, created_at, updated_at, and is_active. Do not redeclare them in subclasses.
  8. Use case injection: for business use cases, inject only a domain service plus a UoW. Query use cases are the framework exception and may inject a repository through QueryEntitiesUseCase.
  9. Event handling: SqlAlchemyUnitOfWork.commit() and NoSqlUnitOfWork.commit() already dispatch collected domain events and then clear tracked entities. Do not manually call dispatch_events() or collect_domain_events() from application code unless you are implementing a new infrastructure adapter.
  10. Repository contract: do not reimplement get_by_id, list_all, save, or delete in concrete repositories. Add only specialized query methods.
  11. Property naming: concrete repositories must implement entity_cls, model_cls or document_cls, not_found_exception, fields_resolvers, and fields_serializers with those exact names.

:open_file_folder: Module Structure Pattern

HexCore supports both hexagonal and vertical-slice layouts. These are illustrative structures, not hard requirements. Do not assume a fixed src/ tree or a single canonical package root.

Hexagonal layout

src/domain/{module}/
  ├── entities.py
  ├── repositories.py
  ├── services.py
  ├── value_objects.py
  ├── events.py
  ├── enums.py
  └── exceptions.py

src/application/{module}/
  ├── dtos.py
  └── use_cases/
      ├── create_{entity}.py
      ├── update_{entity}.py
      ├── delete_{entity}.py
      └── get_{entity}.py

src/infrastructure/{module}/
  ├── models.py
  └── repositories.py

Vertical-slice layout

src/features/{module}/
  ├── domain/
  ├── application/
  └── infrastructure/

src/shared/
  ├── domain/
  ├── application/
  └── infrastructure/

When generating or reviewing code, follow the repository discovery paths and package root that the project actually configures. If the workspace uses a flat package, a custom root, or nested feature folders, adapt the examples above instead of forcing a src/-based structure.


:zap: Use Case Pattern (Mandatory)

Every business operation is a dedicated UseCase class. Avoid shared mutation use cases.

Signature Contract

from hexcore.application.use_cases.base import UseCase
from hexcore.application.dtos.base import DTO

class CreateUserUseCase(UseCase["CreateUserCommand", "UserResponse"]):
    async def execute(self, command: CreateUserCommand) -> UserResponse:
        ...
  • UseCase is generic: UseCase[T, R] where T is the input DTO and R is the output DTO.
  • The only public method is async def execute(self, command: T) -> R.
  • Business use cases must delegate business rules to a domain service.
  • The use case orchestrates service calls, persistence, and DTO mapping.

Full Business Use Case Example

from uuid import UUID

from hexcore.application.dtos.base import DTO
from hexcore.application.use_cases.base import UseCase
from hexcore.infrastructure.uow import SqlAlchemyUnitOfWork

class CreateUserCommand(DTO):
    name: str
    email: str

class UserResponse(DTO):
    id: UUID
    name: str
    email: str

class CreateUserUseCase(UseCase[CreateUserCommand, UserResponse]):
    def __init__(self, service: UserService, uow: SqlAlchemyUnitOfWork) -> None:
        self.service = service
        self.uow = uow

    async def execute(self, command: CreateUserCommand) -> UserResponse:
        async with self.uow:
            user = await self.service.create_user(name=command.name, email=command.email)
            await self.uow.commit()
        return UserResponse(id=user.id, name=user.name, email=user.email)

Query Use Case Pattern

Use this pattern for list, search, filter, sort, and pagination flows.

from hexcore.application.dtos.query import QueryRequestDTO, QueryResponseDTO
from hexcore.application.use_cases.query import QueryEntitiesUseCase

class ListUsersUseCase(QueryEntitiesUseCase[User]):
    async def execute(self, command: QueryRequestDTO) -> QueryResponseDTO:
        return await super().execute(command)

Rules for query use cases:

  • Prefer QueryRequestDTO and QueryResponseDTO for read endpoints that need search, filters, sort, or pagination.
  • Never invent ad hoc dict payloads for query params when the query DTO already exists.
  • Use build_query_endpoint(...) for simple FastAPI endpoints.
  • Use register_query_endpoint(...) when you want to attach the endpoint directly to an APIRouter.
  • If the repository implements query_all(...), BaseDomainService.list_entities(...) should prefer that path.
  • If the repository does not implement query_all(...), BaseDomainService.query_entities(...) is the fallback.
  • Query use cases are the only supported exception to the "do not inject repositories directly" rule.

Domain Service Example

from hexcore.domain.services import BaseDomainService

class UserService(BaseDomainService):
    def __init__(self, user_repo: IUserRepository) -> None:
        self._user_repo = user_repo
        super().__init__()

    async def create_user(self, name: str, email: str) -> User:
        user = User(name=name, email=email)
        user.register_event(UserCreatedEvent(entity_id=user.id))
        await self._user_repo.save(user)
        return user

:floppy_disk: Repository Setup: SQL

1. ORM Model

from hexcore.infrastructure.repositories.orms.sqlalchemy import BaseModel

class UserModel(BaseModel):
    __tablename__ = "users"

    name: str
    email: str

2. Concrete Repository Using SQLAlchemyCommonImplementationsRepo

SQLAlchemyCommonImplementationsRepo expects these properties from HasBasicArgs:

PropertyTypePurpose
entity_clstype[T]Domain entity class
model_clstype[M]SQLAlchemy model class
not_found_exceptiontype[Exception]Raised when an entity is not found
fields_resolvers`FieldResolversTypeNone`
fields_serializers`FieldSerializersTypeNone`
from hexcore.domain.uow import IUnitOfWork
from hexcore.infrastructure.repositories.implementations import SQLAlchemyCommonImplementationsRepo

class UserRepository(SQLAlchemyCommonImplementationsRepo[User, UserModel], IUserRepository):
    def __init__(self, uow: IUnitOfWork) -> None:
        super().__init__(uow)

    @property
    def entity_cls(self) -> type[User]:
        return User

    @property
    def model_cls(self) -> type[UserModel]:
        return UserModel

    @property
    def not_found_exception(self) -> type[Exception]:
        return UserNotFoundException

    @property
    def fields_resolvers(self) -> FieldResolversType | None:
        return None

    @property
    def fields_serializers(self) -> FieldSerializersType | None:
        return None

3. Unit of Work Setup for SQLAlchemy

SqlAlchemyUnitOfWork is built around an SQLAlchemy AsyncSession. Construct the session with async_sessionmaker and wire the UoW as a dependency.

from sqlalchemy.ext.asyncio import async_sessionmaker, create_async_engine
from hexcore.config import LazyConfig

config = LazyConfig.get_config()
engine = create_async_engine(config.async_sql_database_url, echo=config.debug)
async_session_factory = async_sessionmaker(engine, expire_on_commit=False)
from fastapi import Depends
from hexcore.infrastructure.uow import SqlAlchemyUnitOfWork

async def get_uow() -> AsyncGenerator[SqlAlchemyUnitOfWork, None]:
    async with async_session_factory() as session:
        yield SqlAlchemyUnitOfWork(session=session)
from fastapi import APIRouter, Depends

router = APIRouter(prefix="/users", tags=["users"])

@router.post("/", response_model=UserResponse)
async def create_user(
    command: CreateUserCommand,
    use_case: CreateUserUseCase = Depends(get_create_user_use_case),
) -> UserResponse:
    return await use_case.execute(command)

:floppy_disk: Repository Setup: Beanie

Use BeanieODMCommonImplementationsRepo for MongoDB-backed repositories.

1. Document Model

from hexcore.infrastructure.repositories.orms.beanie import BaseDocument

class UserDocument(BaseDocument):
    name: str
    email: str

2. Concrete Repository

from hexcore.infrastructure.repositories.implementations import BeanieODMCommonImplementationsRepo

class UserRepository(BeanieODMCommonImplementationsRepo[User, UserDocument], IUserRepository):
    def __init__(self, uow: IUnitOfWork) -> None:
        super().__init__(uow)

    @property
    def entity_cls(self) -> type[User]:
        return User

    @property
    def document_cls(self) -> type[UserDocument]:
        return UserDocument

    @property
    def not_found_exception(self) -> type[Exception]:
        return UserNotFoundException

    @property
    def fields_resolvers(self) -> FieldResolversType | None:
        return None

    @property
    def fields_serializers(self) -> FieldSerializersType | None:
        return None

3. NoSQL Event Tracking

Beanie repositories must track entities manually so the UoW can dispatch their domain events.

  • Use uow.collect_entity(entity) when you save an entity that emitted events.
  • Or use the @register_entity_on_uow decorator on repository save methods.

:wrench: ServerConfig and LazyConfig

LazyConfig.get_config() resolves configuration in this order:

  1. HEXCORE_CONFIG_MODULE
  2. HEXCORE_CONFIG_MODULES
  3. modules configured with LazyConfig.set_config_modules(...)
  4. default module config

The default discovery target is the root config.py. If you use another module path, configure it explicitly.

Recommended ServerConfig

from pathlib import Path

from pydantic import ConfigDict

from hexcore.config import ServerConfig
from hexcore.domain.events import IEventDispatcher
from hexcore.infrastructure.cache import ICache
from hexcore.infrastructure.cache.cache_backends.memory import MemoryCache
from hexcore.infrastructure.events.events_backends.memory import InMemoryEventDispatcher

class ProjectConfig(ServerConfig):
    base_dir: Path = Path(".")
    host: str = "0.0.0.0"
    port: int = 8000
    debug: bool = False
    sql_database_url: str = "sqlite:///./db.sqlite3"
    async_sql_database_url: str = "sqlite+aiosqlite:///./db.sqlite3"
    mongo_database_url: str = "mongodb://localhost:27017"
    async_mongo_database_url: str = "mongodb+async://localhost:27017"
    mongo_db_name: str = "my_db"
    mongo_uri: str = "mongodb://localhost:27017/my_db"
    redis_uri: str = "redis://localhost:6379/0"
    redis_host: str = "localhost"
    redis_port: int = 6379
    redis_db: int = 0
    redis_cache_duration: int = 300
    allow_origins: list[str] = ["https://myapp.com"]
    allow_credentials: bool = True
    allow_methods: list[str] = ["*"]
    allow_headers: list[str] = ["*"]
    cache_backend: ICache = MemoryCache()
    event_dispatcher: IEventDispatcher = InMemoryEventDispatcher()
    model_config = ConfigDict(arbitrary_types_allowed=True)

config = ProjectConfig()

For production, swap MemoryCache for RedisCache and replace InMemoryEventDispatcher with a real broker-backed dispatcher.


:hammer_and_wrench: Additional Implementation Guidelines

Use of Resolvers

When converting models or documents to entities with nested relationships:

  • Use FieldResolversType for async model/document -> entity attribute mapping.
  • Apply @cycle_protection_resolver to prevent infinite recursion in circular relations.
  • Use to_entity_from_model_or_document from hexcore.infrastructure.repositories.utils as the central conversion utility.
  • Pass is_nosql=True when converting Beanie documents.

Query Stack

  • Accept queries as QueryRequestDTO at the application boundary.
  • Prefer repository pushdown via query_all(...) for SQLAlchemy and Beanie repositories.
  • Fall back to BaseDomainService.query_entities(...) only when the repository does not implement query_all(...).
  • Validate invalid filter, sort, and search field names in the API layer and surface them as HTTP 422.
  • Keep parser behavior operator-aware: IN and NOT_IN may split comma-separated values; text operators must preserve the raw string.
  • Prefer explicit search fields when available; infer them only as a fallback.

Folder-Agnostic Architecture

HexCore projects may live in different layouts. Do not assume a fixed src/ tree or a legacy package path.

  • Discover repositories, modules, and configuration from the actual workspace layout.
  • Prefer explicit configuration over hard-coded folder assumptions.
  • For repository discovery, honor configured discovery paths first.
  • Do not introduce legacy fallback behavior unless compatibility is explicitly requested.
  • Keep imports aligned with the discovered package root and avoid inventing paths.
  • For CLI and bootstrap flows, generate structures that work in both hexagonal and vertical-slice layouts.

Unit of Work Logic

  • SqlAlchemyUnitOfWork automatically tracks entities via session.new, session.dirty, and session.deleted once set_domain_entity() has been used on the ORM model.
  • NoSqlUnitOfWork requires explicit entity tracking via uow.collect_entity(entity) or @register_entity_on_uow.
  • UoW commit is the place where events are dispatched; application code should not replicate that workflow.

Event-Driven Architecture

  1. Entities emit DomainEvent subclasses through BaseEntity.
  2. Use cases trigger domain behavior and then call await uow.commit().
  3. The UoW dispatches collected events after commit.
  4. Domain events must remain infrastructure-agnostic.
  5. Configure the dispatcher in ServerConfig.event_dispatcher.

Caching

  • Use the ICache interface.
  • Swap MemoryCache for RedisCache without changing application code.
  • Configure the active backend in ServerConfig.cache_backend.
  • Inject cache through dependency injection; do not instantiate it inside domain or application layers.

:no_entry: Blacklist (Hard Prohibitions)

ProhibitionReason
Re-declaring id, created_at, updated_at, or is_active in entity subclassesAlready provided by BaseEntity
Injecting repositories directly into business UseCase classesBusiness use cases should depend on domain services plus a UoW
Treating the query use case exception as a rule for mutation use casesQueryEntitiesUseCase is a read-side helper only
Calling session.commit() outside a UnitOfWorkBreaks transactional integrity
Calling repo.save() outside an async with uow: blockLeaves changes untracked and uncommitted
Manually calling dispatch_events() or collect_domain_events() from application codeThe UoW already owns commit-time event dispatch
Reimplementing get_by_id, list_all, save, or delete in a concrete repoAlready implemented by the base class
Instantiating domain events manually inside a UseCaseEvents should be emitted by entities and persisted through the UoW flow
Assuming hexcore.infrastructure.cache.cache_backends reexports the concrete cache classesImport the concrete backend modules directly

:rocket: CLI Commands

hexcore init                   # Scaffold a new project
hexcore create-domain-module   # Generate 7 standard files for a new domain module
hexcore make-migrations        # Generate Alembic migration scripts
hexcore migrate                # Apply pending database migrations
hexcore test                   # Run pytest suite

hexcore init supports the hexagonal and vertical-slice templates.


:gear: Development Workflow

  1. Define the entity in domain/{module}/entities.py.
  2. Define the repository interface in domain/{module}/repositories.py.
  3. Define the domain service in domain/{module}/services.py.
  4. Create input and output DTOs in application/{module}/dtos.py.
  5. Implement one UseCase per business operation in application/{module}/use_cases/.
  6. Use QueryEntitiesUseCase for read/list/search/filter/sort/pagination flows.
  7. Create BaseModel or BaseDocument in infrastructure.
  8. Implement a concrete repository using SQLAlchemyCommonImplementationsRepo or BeanieODMCommonImplementationsRepo.
  9. Configure config = ServerConfig(...) in the root config.py or another module selected by LazyConfig.
  10. Wire dependencies in FastAPI router factories.
  11. Run hexcore make-migrations and hexcore migrate when the schema changes.
  12. Write tests for domain behavior, repository discovery, and query flows.
  13. Run hexcore test.

:mag: Validation Checklist for the Agent

Before providing code, verify:

  • Do all imports match the Import Registry exactly?
  • Is custom domain code free of unnecessary Application or Infrastructure imports?
  • Is every business operation a dedicated UseCase class with execute(command: InputDTO) -> OutputDTO?
  • Does the business use case inject only a domain service plus a UoW?
  • Does the use case delegate business logic to a domain service?
  • Does the use case return a DTO and not a BaseEntity?
  • For query flows, is QueryRequestDTO used at the boundary and QueryEntitiesUseCase used appropriately?
  • Are UoW writes wrapped in async with uow:?
  • Does the UoW commit path own event dispatch rather than the application layer?
  • Does the entity subclass avoid redeclaring base fields?
  • Does the repository avoid reimplementing base CRUD methods?
  • Does the repository declare the exact property names entity_cls, model_cls or document_cls, not_found_exception, fields_resolvers, and fields_serializers?
  • Does the repository inherit from the correct common implementation class for SQL or NoSQL?
  • Is SqlAlchemyUnitOfWork built from an AsyncSession created by async_sessionmaker?
  • If using Beanie, is is_nosql=True passed to the entity converter?
  • For NoSQL repositories, are entities tracked with uow.collect_entity() or @register_entity_on_uow?
  • Is config = ServerConfig(...) defined in the default root module or a module resolved by LazyConfig?
  • Is the configured event dispatcher appropriate for the target environment?

平台分布

Codex

35.4%
按下载量换算26

Claude

33.13%
按下载量换算24

Cursor

19.73%
按下载量换算14

Gemini CLI

9.41%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills