Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

record-gotchas

БесплатноБез исполняемых скриптовНе проверен

Capture surprises, workarounds, and rough edges hit while *consuming* the public surface of Prisma 8, Prisma Compute, or Prisma Postgres — anything a real…

prismaот prisma★ 47 814 звёзд на GitHub

Об этом скилле

Record a gotcha

A gotcha is friction that a consumer of Prisma 8, Prisma Compute, or Prisma Postgres would feel — something an external user of those products would also experience: a surprising failure mode, an undocumented behaviour, a workaround you wrote, a mental model mismatch with the CLI / runtime / docs. The signal is the consumer's perspective, not the project context — you can hit a gotcha while writing an extension, working in an example app, reproducing a customer report, running an integration test against the public surface, or building anything that consumes the product from the outside.

A gotcha is not a bug in code your team maintains. If you own the surface and you can fix it, that's a normal product bug, filed in the regular product backlog — not a gotcha.

This skill is the canonical workflow for capturing gotchas. When the trigger fires:

  1. Determine whether you're in a product-team repo or somewhere else — the escalation mode depends on it (see § Escalation mode).
  2. Write a short entry to the matching gotchas log (gotchas.md or a per-product file).
  3. File a Triage-state ticket in the matching *-gotchas Linear project.
  4. Cross-link the two so future readers can navigate either way.

When in doubt about whether something is gotcha-worthy, capture it. The cost of a near-duplicate entry is trivial; the cost of losing the learning is permanent.

This skill is not optional for qualifying gotchas. If you wrote a workaround, consulted source code, or hit a behaviour that didn't match the docs while consuming the product, run this skill before the conversation ends.


Consuming vs. maintaining — the boundary

The trigger depends on the role the operator is wearing in the moment, not on the repo they're sitting in.

You're doing… Role Trigger fires?
Writing a new extension that uses PN's authoring API Consuming Yes
Working in an example app under examples/ and hitting a CLI / runtime rough edge Consuming Yes
Reproducing a customer's bug report against the public surface Consuming Yes
Running an integration test that exercises the public CLI / runtime Consuming Yes
Building an internal demo with PN / Compute / PPg Consuming Yes
Fixing a bug in PN core Maintaining No — file a normal bug
Adding a feature to PN's runtime Maintaining No
Refactoring an internal package Maintaining No

Worked example. You change schema.prisma, run prisma migration plan, and the CLI reports "No changes detected" — because the contract was stale and you hadn't run contract emit. The CLI's mental model didn't match yours; a real user would hit this. That's a gotcha, even though you're sitting in prisma-8-ws and could fix it: you were consuming the migration workflow, not maintaining it.

Ambiguous cases default to capture. If you can't tell which role you were in, capture the gotcha. The team filters at triage.


Hard prerequisite: Linear MCP

This skill requires the Linear MCP plugin to be installed and authenticated. Without it, ticket filing is impossible and the workflow is incomplete.

If the Linear MCP plugin is not available or not authenticated, halt and tell the operator something like:

I just hit a gotcha I'd like to record, but the Linear MCP plugin isn't available. Please install and authenticate the Linear MCP plugin (plugin:linear:linear in Claude Code; the Linear plugin for Cursor), then re-run the request. The skill needs to file a Triage-state ticket in the matching Prisma gotchas project.

Do not proceed. Do not write the file entry without the ticket. The two halves are intentionally coupled — the file is the local record; the ticket is the team's signal. Both must exist for the pipeline to work.


The three products and their Linear projects

Each product has a single Linear project for all tickets — both gotchas and normal bugs. Gotchas and normal bugs are distinguished by status / labels, not by which project they're filed in.

Product Linear project
Prisma 8 ORM (@internal/*, schema, generated client, migration tooling) pn-gotchas
Prisma Compute (@prisma/compute-cli, deploy, runtime, env management) compute-gotchas
Prisma Postgres (PPg, @prisma/dev, dialect behaviour) ppg-gotchas

Filing convention.

  • Gotcha: status Triage, no priority, no labels — the project itself is the dogfood filter.
  • Normal bug: filed in the same project, but follow the product team's regular conventions (status, priority, labels). Used when the operator's team owns the issue and wants it
Полный SKILL.md на GitHub

Установить record-gotchas в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл record-gotchas?

Capture surprises, workarounds, and rough edges hit while *consuming* the public surface of Prisma 8, Prisma Compute, or Prisma Postgres — anything a real user of these products would experience. Fires whenever an operator (or agent) writes a workaround, hits a surprising failure mode, or finds undocumented behaviour while using one of these three products from the outside (extension authoring, example apps, integration tests, customer reproductions, internal demos, manual repros). Does NOT fire on bugs in code the operator's own team maintains — those are normal product-backlog bugs. In product-team repos (e.g. `prisma-8-ws`), surfaces the gotcha and offers the operator three paths (capture-as-gotcha, file a normal bug, or note-and-move-on). Outside product-team repos (pet projects, hackathon entries, customer codebases), silent-captures into the project's gotchas log AND a Triage-state Linear ticket in the matching gotchas project — no operator escalation. Do not skip the recording step.

Как установить скилл record-gotchas?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл record-gotchas запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить record-gotchas с