跳到正文
cccskills
免费在 GitHub 公开

pr

Use this checklist to review a FlexPrice change before opening a pull request. It guides checks for code layering, tenant scope, secrets, migrations, API and SDK updates, tests, and documentation, and helps summarize risks and test evidence for reviewers.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

FlexPrice PR self-review checklist — security, layering, migrations, tests. Trigger: pr check, ship review, pre-PR.

flexprice/flexprice星标 6,876(GitHub 6,876 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • Reviewing a change before opening a pull request
  • Checking security and tenant scoping
  • Verifying migration and API updates
  • Preparing a clear reviewer summary

包含的文件(1)

  • SKILL.md1.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

pr — pre-merge checklist

Run mentally or out loud through this list; fix gaps before requesting review.

Scope & layering

  • Change lives in correct layer (handler vs service vs domain vs repo per docs/ARCHITECTURE.md).
  • No new hidden globals unless unavoidable and documented (HOTSPOTS.md patterns).
  • Tenant/environment scoping preserved for multi-tenant data paths.

Security & config

  • No secrets, tokens, or production URLs committed (.env, keys in tests).
  • Auth/RBAC-sensitive routes still behind correct middleware (internal/api/router.go patterns).

Data & migrations

  • Ent schema edits accompanied by make generate-ent and migration plan (make migrate-ent / make generate-migration per deployment).
  • ClickHouse changes have matching files under migrations/clickhouse/ when applicable.

API & clients

  • Swagger annotations updated for new/changed endpoints; run make swagger.
  • If public SDK contract changes: make sdk-all (or agreed subset) and api/custom merged.

Quality

  • gofmt, go vet on affected scope.
  • go test -race on touched packages or make test for broad changes.
  • Prefer table-driven tests for multiple cases (internal/ee/service/*_test.go conventions).

Docs & graph

  • Structural change updates docs/REPO_MAP.md / DEPENDENCY_GRAPH.md / FLOWS/* when behavior or topology changes.
  • If Graphify is used: graphify update . at repo root (see repo-architecture-intelligence personal skill).

Tone for reviewers

Summarize intent, risk, and test evidence in the PR body (not “fixed stuff”).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

apitest

免费

Run local HTTP API checks with a staged workflow: confirm the environment, gather credentials interactively, probe endpoints with curl, and record status codes and response excerpts. For large suites, it can divide independent endpoint groups among workers and merge their results.

中文简介正在准备中。当前显示英语简介。

  • Smoke-checking a local API
  • Testing authenticated endpoints with curl
  • Organizing checks across many endpoints
flexprice/flexprice68762026年10月29日 更新

arch

免费

Navigate FlexPrice’s codebase using its architecture maps, dependency graphs, hotspot notes, and flow documents. Trace a feature across layers and async systems, assess likely change impact, and identify documentation that should be updated after structural edits.

中文简介正在准备中。当前显示英语简介。

  • Getting oriented in the FlexPrice codebase
  • Tracing a feature across code layers
  • Assessing impact before a refactor
flexprice/flexprice68762026年10月29日 更新

compose

免费

Use this skill to set up or manage FlexPrice’s local Docker environment. It provides commands to start and stop services, launch Kafka UI, and follow application logs while troubleshooting.

中文简介正在准备中。当前显示英语简介。

  • Setting up the local development environment
  • Starting or stopping FlexPrice services
  • Opening Kafka UI during development
flexprice/flexprice68762026年10月29日 更新

Use this skill to check whether repository AGENTS.md context files have fallen behind code changes. It compares tracked file ownership with Git revisions, prepares focused update bundles for affected layers, and advances sync markers after the context is updated.

中文简介正在准备中。当前显示英语简介。

  • Checking whether AGENTS.md files are stale
  • Refreshing context after code changes
  • Updating one layer’s context file
flexprice/flexprice68762026年10月29日 更新

devenv

免费

Plan a local development setup by mapping which services run in Docker Compose and which use hosted endpoints such as RDS or managed Kafka. The skill guides environment configuration, service checks, migrations, and choosing an application mode.

中文简介正在准备中。当前显示英语简介。

  • Preparing a hybrid local and hosted development setup
  • Starting an API, consumer, or Temporal worker locally
  • Checking environment settings before migrations
flexprice/flexprice68762026年10月29日 更新

gh

免费

Use the GitHub CLI to review pull requests and issues, inspect CI check results and failed logs, and prepare a pull request with a summary and test plan. The skill also outlines the repository review steps before creation.

中文简介正在准备中。当前显示英语简介。

  • Reviewing a pull request or issue from the CLI
  • Finding the cause of a failed CI check
  • Preparing and creating a pull request
flexprice/flexprice68762026年10月29日 更新

查看 flexprice 的全部技能

报告此技能的问题