Receber por email
← Voltar para o catálogo

recap-integration

Integra o pacote Swift Recap em aplicativos SwiftUI, permitindo a criação de markdown de lançamentos compatível com Recap e a personalização de RecapDisplayPolicy e RecapScreen. Utilize ao adicionar o Recap a um app, atualizar o Releases.md ou customizar o comportamento de uma tela Recap.

267estrelas
Atualizado há 7 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add mergesort/Recap

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/recap-integration/svg)](https://www.skillteca.com.br/skills/recap-integration)

Alerta por categoria

Receba novas skills de Design e Frontend toda segunda

1 email curto, só com as skills novas de Design e Frontend. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Recap Integration

Use this skill when integrating, configuring, or using the Recap library.

What to read first

Start with these files:

  • README.md
  • Sources/Recap/Public/RecapScreen.swift
  • Sources/Recap/Public/View+Recap.swift
  • Sources/Recap/Public/RecapDisplayPolicy.swift
  • Sources/Recap/Public/RecapDisplayPolicy.Trigger.swift
  • Demo/Demo/Assets/Releases.md
  • Demo/Demo/DemoRecapScreen.swift

Read additional public API files in Sources/Recap/Public/ only if the task touches a specific type.

Core workflow

  1. Identify whether the task is about integration, release authoring, display policy, or screen customization.
  2. Prefer Recap's public APIs over custom implementations.
  3. Match existing Recap naming and examples from the README and demo app.
  4. Keep examples and release content user-facing and concise.

Integration rules

  • Prefer ReleasesParser(fileName:) for bundled release markdown.
  • Prefer RecapScreen(releases:) as the entry point for presentation.
  • Prefer RecapDisplayPolicy and RecapDisplayPolicy.Trigger over hand-rolled version gating.
  • Prefer .recapScreenPaginationStyle(.automatic) unless the user explicitly wants forced .labeled or .compact.
  • When customizing behavior, use View+Recap modifiers instead of editing internal implementation unless the task is explicitly a library change.

Release markdown rules

When creating or editing a Recap releases markdown file:

  • Keep the newest release first.
  • Follow the schema documented in README.md.
  • Use one release section per app version.
  • Use user-facing feature titles and descriptions, not commit-style summaries.
  • Choose the semantic change type (Major, Minor, Patch) based on product impact, not commit count.
  • Reuse the style and structure of Demo/Demo/Assets/Releases.md.

Mac Catalyst guidance

If the task touches Mac Catalyst:

  • Preserve the distinction between automatic pagination, labeled buttons, and compact buttons.
  • Be careful not to regress iPhone or iPad behavior while changing Catalyst presentation.

Avoid

  • Do not invent a different release markdown format.
  • Do not parse releases manually if ReleasesParser is sufficient.
  • Do not replace RecapDisplayPolicy with custom version-comparison logic unless the user explicitly needs behavior outside the public API.
Compartilhar X LinkedIn