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.

SKILL.md

≈89 tokens for metadata: the name and description. ≈1.1k when used: this file. ≈908 more on demand in 1 file.

Description uses 4.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈358 characters, or 4.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Pre-pipeline review

Review the current SuperPlane diff for correctness and reuse, then run only the fast Make targets that match touched paths. Goal: catch pipeline failures from lint, format, and build without running slow unit or E2E suites.

Do not duplicate clean-code, ui-copy, simplified-technical-english, or commit-and-pr-messages. Point at them when relevant. Read AGENTS.md in full when you need setup or command facts. For UI or models work, also read web_src/AGENTS.md or pkg/models/AGENTS.md.

Path-to-target matrix and skip list: checks.md.

Workflow

Copy this checklist and track progress:

Pre-pipeline review:
- [ ] 1. Scope the diff
- [ ] 2. Review for correctness and reuse
- [ ] 3. Map paths to Make targets (checks.md)
- [ ] 4. Ensure app container is up
- [ ] 5. Format, then run matching checks
- [ ] 6. Fix failures and re-run until green or blocked
- [ ] 7. Report findings and check results

1. Scope the diff

Run git status and git diff (staged and unstaged). If the user named a branch or PR, include that range. Note which areas changed: Go, JS/TS, protos, models, gRPC actions, components, migrations, docs-only.

2. Review for correctness and reuse

Review the change against the bar below. Search the repo before flagging or accepting new helpers, components, or patterns. Prefer existing code over new abstractions.

3. Map paths to Make targets

Open checks.md. Select only the targets that match touched paths. Do not run the skip list unless the user explicitly asks.

4. Ensure app container is up

make dev.test.is.running

If that fails, run make dev.up and wait. Do not run make dev.setup unless deps or protos clearly need it. Never drop or recreate databases (db.delete, dev.setup.no.cache, etc.).

5. Format, then run matching checks

Use make only. Do not invent host go / npm commands when a Make target exists.

  1. Run format for the languages you touched (make format.go, make format.js).
  2. Run the matching check.* / lint targets from checks.md.
  3. Prefer parallel independent checks when safe.

6. Fix and re-run

If a check fails:

  • Fix the underlying issue (format drift, lint, type error, missing auth wire-up).
  • Re-run format if you edited files, then re-run the failed check.
  • Do not expand the ESLint budget, skip checks, or hand-edit generated artifacts to get green.

Stop and report if you hit a real blocker (missing setup, unrelated infra, needs user decision).

7. Report

Use this structure:

## Review

### Critical
- …

### Suggestions
- …

(If none: say so.)

## Checks

| Target | Result |
| --- | --- |
| `make lint` | pass / fail / skipped (reason) |

## Blockers
- … (or "None")

Review bar

Must catch:

  • Wrong or missing behavior, broken edge cases, inconsistent state across callers of changed APIs.
  • Duplication or reinventing the wheel: before accepting new helpers or UI, search web_src/src/lib, web_src/src/hooks, web_src/src/components/ui, and nearby packages under pkg/.
  • No new web_src/src/utils/ folders or utils.ts files.
  • Do not hand-edit generated files: pkg/protos/, pkg/openapi_client/, web_src/src/api-client/, api/. Edit protos/ and run make pb.gen.
  • Do not hand-write migrations; use make db.migration.create NAME=<name>.
  • Proto request enums mapped via pkg/grpc/actions/common.go (Proto* / *ToProto). New workers registered in cmd/server/main.go. New gRPC endpoints covered in pkg/authorization/interceptor.go.
  • User-facing product name is SuperPlane (capital P).
  • When UI strings changed, follow ui-copy and STE skills.

Severity:

  • Critical: Must fix before merge (bugs, CI-breaking issues, policy violations above).
  • Suggestion: Improve if cheap; not a merge blocker.

Related skills

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