Index of every page on this site: llms.txt
All skills
superplanehq avatar

/pre-pipeline-review

@9512845
by SuperPlanesuperplanehq/superplane10k stars
718
Run it yourself

Reviews SuperPlane code changes for correctness and reuse, then runs fast Make targets (lint, format, build) that Semaphore CI runs so easy checks do not fail in the pipeline. Use when the user asks to review a change, finish a PR, preflight CI, check that the pipeline will pass, or run easy/quick checks before opening a pull request.

  • 2 files
  • 8.2 KB
  • Updated 3 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/superplanehq/superplane/pre-pipeline-review

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

checks.md

≈908 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Fast checks matrix

Use only make targets. Source of truth for CI jobs: .semaphore/semaphore.yml and the "After editing" section of AGENTS.md.

Run a row when any listed path pattern matches the scoped diff. Deduplicate targets across rows. Skip a row when nothing in that column changed.

Run when paths match

Touched paths Targets (in order)
*.go under cmd/, pkg/, test/ (non-generated) make format.go → make lint → make check.build.app → make check.format.go
web_src/** (TS/JS/CSS, not web_src/src/api-client/) make format.js → make check.format.js → make check.fast.security → make check.lint.ui → make check.build.ui
protos/** make pb.gen → make check.proto.field.numbers (never hand-edit generated output)
pkg/models/** Also: make check.models.tx.debt
pkg/grpc/actions/** Also: make check.grpc.actions.status
New gRPC / API endpoints Confirm coverage in pkg/authorization/interceptor.go (manual review; no Make target)
Components, triggers, example payloads, or configuration field scripts / related packages make check.components.docs, make check.example.payloads, make check.configuration.fields as applicable
db/migrations/** or migration-related scripts make check.db.migrations (never db.delete / recreate)
Any non-docs code change make check.generated.artifacts

Notes

  • App container: all exec-based targets need a running app container (make dev.test.is.running). If down: make dev.up only.
  • Go build: use make check.build.app only. Do not run go build ./... (scripts/ has multiple main packages).
  • Protos: after pb.gen, generated trees stay gitignored; a clean git status for those paths is expected. Do not commit them.
  • Fast security: make check.fast.security is a static scan of tool configs, known dropper markers, and package install hooks. Run it before jobs that load Vite, Vitest, Storybook, or ESLint. It does not load eslint.config.js. Semaphore runs the same scans in the Security block.
  • ESLint: make check.lint.ui fails when the budget grows. Fix violations; do not update the baseline unless the user explicitly requests it.
  • DB structure: make check.db.structure is CI-only for this skill unless migrations or db/structure.sql are in the diff and the user wants that check. Prefer check.db.migrations for migration PRs.

Skip list (not "easy")

Do not run unless the user explicitly asks:

Target Why skip
make test / make test.coverage.autoparallel Slow backend unit suite
make test.e2e / make test.e2e.autoparallel Slow E2E suite
make check.test.ui / make check.test.ui.shard Slow frontend unit shards
make check.build.storybook Slow Storybook build
make check.lint.ui.knip Dead-file check; slower and often noisy

Suggested command batches

Go-only change:

make format.go
make lint
make check.build.app
make check.format.go
make check.generated.artifacts

Frontend-only change:

make format.js
make check.format.js
make check.fast.security
make check.lint.ui
make check.build.ui
make check.generated.artifacts

Proto change:

make pb.gen
make check.proto.field.numbers
make check.generated.artifacts

Models change (add to Go batch):

make check.models.tx.debt

gRPC actions change (add to Go batch):

make check.grpc.actions.status

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 9512845. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago

README badge

README badge for superplanehq/superplane/pre-pipeline-review