Skip to content
Back to skills

Pr

ASecurity

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

  • 6,875 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
toolsgoapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add flexprice/flexprice --skill pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/flexprice-flexprice-flexprice/badge)](https://www.skillsdirectory.com/skills/flexprice-flexprice-flexprice)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pr
description: >-
  FlexPrice PR self-review checklist — security, layering, migrations, tests. Trigger:
  pr check, ship review, pre-PR.
---

# **`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”).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.