Към всички skills

create-issue-interaction-ui

paperclipai · DevOps

Developer/maintainer skill for adding a new issue-thread interaction kind to the Paperclip codebase end-to-end: shared contract, server service/routes, UI card, fixtures/Storybook, CLI/MCP/plugin SDK helpers, agent guidance, and tests. Use when a Paperclip contributor is asked to introduce a new int

Оригинален текст · няма потвърден превод на български

Първо прочетете инструкцията.

Файлът се зарежда от посочения източник само по ваше действие. Можете да го прочетете тук, да го копирате или да го запазите като .md.

Оригинален SKILL.md
GitHub хранилище
Звезди на репото
69 991
Лиценз
Не е посочен. Проверете в репозитория.
Последна проверка на записа
Няма посочена дата

Добавете в своя инструмент.

Командата отваря избора на skills от репозитория. Прочетете файла и условията на автора преди изпълнение.

npx skills add paperclipai/paperclip

Страницата копира текст. Не инсталира и не изпълнява нищо на устройството ви.

Откъс от SKILL.md

Началото на файла на автора, без превод.

Create a new issue-thread interaction UI (Developer/maintainer skill)

Developer/maintainer skill. Do NOT install this on production Paperclip agents.

This skill walks a Paperclip contributor through introducing a new issue-thread interaction kind from shared contract to issue-detail wiring, helpers, and docs. It is intentionally a developer/maintainer skill: the audience is a human or coding agent making code changes inside paperclipai/paperclip, not the operational agents that run inside a deployed Paperclip company.

Do NOT install this on production Paperclip agents. This guide is for repository contributors changing Paperclip itself.

When to use

  • A new interaction kind is being introduced (compact picker, structured rating, in-thread approval card, etc.).
  • An existing interaction needs a parallel variant with a distinct payload shape, validation, or resolution outcome (and ask_user_questions is the wrong fit because option count, target binding, or result shape differs).
  • A reviewer asks for "the same audit, staleness, supersede, and continuation semantics as the other interactions" on a new card.

When NOT to use

  • Adding fields to an existing interaction kind that does not need a new payload schema. Patch the existing validators/UI in place instead.
  • Changing how Paperclip agents call interactions. Update skills/paperclip or references/api-reference.md; that is agent guidance, not card work.
  • Building a non-thread UI (issue detail sidebar, project board widget, etc.). Those have their own component conventions.

Mental model

Every issue-thread interaction has four moving parts:

LayerOwns
SharedKind constant, payload/result interfaces, Zod validators, exported types, shared-test coverage.
ServerService create/accept/reject/respond, staleness, supersede, idempotency, activity log, wake send.
UICard pending/resolved/stale states, fixtures, Storybook, issue-thread/IssueDetail wiring.
Helpers/DocsCLI command, MCP tool, plugin SDK type+host+testing path, skills/paperclip guidance.

Целият SKILL.md в GitHub