shipping-artifacts

phuryn/pm-skills

Набор документации, делающий приложение, собранное с помощью ИИ, проверяемым перед релизом: архитектура, потоки пользователей и прав, переменные и секреты, карта покрытия тестами.

Звёзды28 119
Авторphuryn
Установок1,9K

Установка

SKILL.md

Shipping Artifacts: The Docs That Make AI-Built Code Reviewable

Purpose

AI agents write code fast, but they leave no durable record of intent — what the system is supposed to do, who is allowed to do what, where the secrets live, which rules are actually verified. Without that record, no human (and no auditing agent) can tell whether the code is safe to ship. This skill defines the small set of documents that restore reviewability.

These docs live in documentation/ at the repo root and are written for two readers: a human reviewer and the next AI coding agent. They are the intended-state half of every later audit — a security or performance review is only as good as the intent it can compare the code against.

How the set is organized

The set is not a fixed list — it is a small core plus conditional docs you add only when the capability exists.

  • Core docs — every reviewable app has these surfaces, so always produce them.
  • Conditional docs — include one only if the app actually has that capability. If it doesn't, write a single line in architecture.md ("No scheduled work — no cron.md.") rather than inventing an empty document. Reviewability comes from an honest map, and "we don't do X" is part of the map.
  • Most docs are reverse-engineered from code by /document-app. The one exception is tests.md, which is derived from the other docs by /derive-tests — it is the verification map, not a description of a subsystem.

Be brutally honest about the current state without being paranoid. The job is an accurate map, not a clean bill of health. Each doc is short, table-and-bullet heavy, and skips generic theory.

Core documents

Each entry: file · one-line purpose · what it must capture · how a reviewer uses it.

  1. architecture.md — what the system is and how it hangs together.

    • Must capture: product overview + key assumptions; tech stack; how auth/sessions/claims flow end to end; the trust boundaries (e.g. service-role vs. client); a short Known risks / assumptions list (each entry backed by where it shows up in the code, not a generic checklist); a "Related Documents" index of every other doc produced.
    • Reviewer use: the root document — everything else is cross-referenced from here.
  2. flows.md — the journeys where permissions and side effects are actually exercised.

    • Must capture: each load-bearing flow as actor + precondition + success outcome; the step-by-step sequence across UI → server → data → jobs → providers → agents; the authz check at each protected step (which claim/role/scope, on which resource, and the expected deny case); the trust-boundary crossings (browser→server, server→provider, job→app, agent→tool, webhook→app); the state changes and side effects each step causes (writes, emails queued, jobs triggered, outbound calls).
    • Reviewer use: the runtime view a static permissions.md matrix can't show — where and in what order authorization is enforced, and where it can be skipped.
    • Anti-PRD rule: a flow that doesn't touch permissions, data integrity, external side effects, money, privacy, or operational safety does not belong here. This is a security/operations map, not a feature spec.
  3. permissions.md — who is allowed to do what.

    • Must capture: roles/claims; where scope is derived (token vs. DB); a resource × operation × role matrix; which tables have row-level security and which rely on code-enforced checks.
    • Reviewer use: the baseline an access-control audit compares the code against. flows.md shows it in motion; this is the static reference.
  4. variables.md — configuration and secrets, mapped to risk.

    • Must capture: a table of Name · used-by · scope (server/client) · source · rotation · risk; explicit confirmation that no secret is bundled client-side; a pre-go-live checklist.
    • Reviewer use: the secrets/PII-leak surface and the rotation plan during incident response.
  5. tests.md — the verification map: which documented rules are actually checked, which are only proposed, and which are checked by nothing.

    • Must capture, in three clearly separated sections so the map can't read falsely green:<!-- -->
      • Existing coverage — tests that are in the repo today, each tied to the rule it pins (so the map reflects reality, not a wish-list).
      • Proposed tests — recommended cases not yet written, marked by test type (automated unit/integration · guarded live · manual review).
      • Gaps — documented rules with no verification at all, ranked by what crossing them exposes.
    • Each row carries: use-case → rule → expected behavior (including the deny/negative case) → evidence source (doc + code) → status (existing / proposed / none). It also notes which checks are CI-required and gate merges to main.
    • Reviewer use: the operational form of "documented == implemented" — it shows whether each rule the other docs claim is actually pinned by a test today, only proposed, or unverified.
    • Produced by /derive-tests (not /document-app), because it is derived from the other docs and the existing test suite rather than read off a subsystem.

Conditional documents (include only when the capability exists)

  1. emails.md — every notification the system sends. Include only if the app sends transactional or automated email.

    • Must capture: the queue → processor → provider path; templates and the variables they accept; retry/backoff behavior; where to look when a send fails.
    • Reviewer use: spotting unvalidated template inputs and PII exposure boundaries.
  2. cron.md — all scheduled work and how to operate it safely. Include only if scheduled or background jobs exist.

    • Must capture: an inventory table (job → schedule → function → secrets → limits → retry); how each job stays idempotent; how internal calls authenticate; where to see last runs.
    • Reviewer use: finding forgeable triggers and unbounded background jobs.
  3. seo.md — how a single-page app handles SEO and social previews. Include only if there are public/indexable or bot-facing routes.

    • Must capture: the preview approach (static meta / prerender / edge HTML); a route → needs-SEO → public-data-only table; how dynamic metadata is sanitized; bot-vs-human routing.
    • Reviewer use: catching public-data-only violations and metadata injection on bot routes.
  4. automation.md — embedded agents and other automation paths. Include only if the app embeds AI agents, LLM workflows, tool-calling, webhooks, or external automation.

    • Must capture, per automation/agent: trigger + owner + whether it runs automatically or only after approval; the inputs it may read and the exact tools/APIs it may call (the tool surface is itself a hard guardrail); where steering lives (the prompt) vs. the non-prompt hard guardrails; the output contract back to the app (schema, validation, failure handling); app-owned side effects vs. agent-owned suggestions; and the controls — approval gates, audit/timeline logging, rate limits, retries, kill switch.
    • Reviewer use: makes hidden automation paths visible and draws the line between what an agent proposes and what the app enforces — the highest-risk surface in modern AI-built apps.

Notes

  • Each produced doc adds a reference to itself in architecture.md under a "Related Documents" section, so the set stays discoverable.
  • Skip any conditional document that doesn't apply, and say so in one line rather than inventing content.
  • Keep examples and finished templates out of these docs — they describe this system, not the general method.
  • The agent operating-context file (CLAUDE.md / AGENTS.md) is a different artifact — instructions derived from these docs, not system documentation. It is produced at the handoff step by /ship-check, not here.
  • tests.md is produced by /derive-tests; the rest are produced by /document-app.
  • Do not include an "updated date" line; the file's history is the source of truth.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: shipping-artifacts](https://darkplay.ru/ai/skills/phuryn-pm-skills-shipping-artifacts)

Из того же репозитория

test-scenarios Создаёт тест-сценарии из user stories: цели тестирования, начальные условия, роли, пошагов ★28,1K north-star-metric Определяет North Star Metric и 3–5 поддерживающих input-метрик. Классифицирует бизнес-игру ★28,1K positioning-ideas Генерирует идеи позиционирования продукта с отличием от конкурентов. Определяет ключевых к ★28,1K prioritize-features Приоритизирует бэклог фич по влиянию, трудозатратам, риску и стратегическому соответствию ★28,1K product-vision Формулирует вдохновляющее, достижимое и эмоциональное видение продукта, мотивирующее коман ★28,1K beachhead-segment Определяет первый beachhead-сегмент для запуска продукта. Оценивает сегменты по остроте бо ★28,1K competitive-battlecard Создаёт конкурентные battlecards для отдела продаж: позиционирование, сравнение фич, работ ★28,1K brainstorm-experiments-existing Проектирует эксперименты для проверки гипотез существующего продукта: прототипы, A/B-тесты ★28,1K

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

E2e Runneraffaan-m · Специалист по E2E-тестам на Vercel Agent Browser и Playwright: генерация, запуск и…
225 587 ★
jfroganthropics · Использование платформы JFrog из Claude Code: репозитории и артефакты Artifactory…
100 комп.
knowledge-cataloganthropics · Подключение к Knowledge Catalog для поиска, управления, мониторинга и контроля данных и…
100 комп.
migration-to-awsanthropics · Планирование миграции с Google Cloud Platform (и AI-нагрузок OpenAI/Gemini) на AWS…
100 комп.
SE: UX Designergithub · Анализ Jobs-to-be-Done, карты пользовательских путей и материалы UX-исследований для…
36 140 ★
handoff-engineeringalirezarezvani · Генератор документов передачи контекста. Сжимает текущую сессию в markdown-хендофф для…
510 комп.
pm-ai-shippingphuryn · AI Shipping Kit для PM и основателей, отвечающих за код, написанный ИИ: документирование…
110 комп.
Startup CTOalirezarezvani · Технический сооснователь с опытом двух стартапов. Принимает архитектурные решения…
19 821 ★
workflowsgamedev-skills · Процесс и релиз: геймджем, быстрое прототипирование, Steam, itch.io.
134 комп.
agent4santhropics · Анализ кода Scala для ИИ-агентов. 35 команд: поиск, переход к определению, поиск ссылок…
38 комп.

Лучшие ИИ-инструменты для программирования

ИИ для программирования

Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные

GenAPIGenapi
По запросу
5.0
Notepad++ AINotepad-plus-plus
По запросу
4.9
GitHub CopilotGitHub
По подписке
4.9
Creatium MaxCremax
По запросу
4.8
Emacs AIGnu
По запросу
4.8
KiteKite
По запросу
4.8
Amazon Q DeveloperAmazon
По запросу
4.8
VECTA
Есть бесплатный тариф
4.8
SoftPractice
Есть бесплатный тариф
4.8
VibeForge
Есть бесплатный тариф
4.7

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8

Лучшие ИИ-инструменты для автоматизации и ассистентов

Ассистенты и автоматизация

Подборка ИИ-ассистентов для автоматизации рутины и ускорения рабочих процессов. Сервисы, которые берут на себя переписку, анализ данных, ведение базы знаний и подготовку продаж, эк

Give Me Public
Есть бесплатный тариф
5.0
AITunnelAitunnel
По запросу
5.0
STIVAStiva
По запросу
5.0
Wikibot (Викибот)Wikibot
По запросу
4.9
mymeet.aiMymeet
По запросу
4.9
InsighterInsighter
По запросу
4.9
TGHuntTghunt
Есть бесплатный тариф
4.9
LegiscanLegiscan
По запросу
4.9
RouterAIRouterai
По запросу
4.9
Wikibot 1.0 (Викибот)Wikibot
По запросу
4.9