Skip to content
Back to skills

Documents

ASecurity

請求書のPDF生成には最大45秒かかる。同期生成では、その間にAPI接続が切れるため、利用者が生成結果を安定して受け取れない。

  • 50 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add iwasa-kosui/tanteki --skill documents --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Documents?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Documents
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iwasa-kosui-documents-eb55ab40/badge)](https://www.skillsdirectory.com/skills/iwasa-kosui-documents-eb55ab40)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# ADR: 請求書PDF生成を非同期キューで処理する

## 状態

採用

## 判断日

2026-08-20

## 背景

請求書のPDF生成には最大45秒かかる。同期生成では、その間にAPI接続が切れるため、利用者が生成結果を安定して受け取れない。

## 判断

請求書のPDF生成はキューに登録して非同期で処理する。APIは生成完了を待たず、受付IDを返す。利用者は受付IDを使って、PDFの完成を待ってから結果を確認する。

## 不採用案

同期生成は採用しない。最大45秒の処理中にAPI接続が切れるためである。

## 結果

非同期処理により、PDF生成の完了をAPI接続中に待つ必要がなくなる。一方、利用者はPDFが完成するまで待つ必要がある。また、生成処理の再試行回数には上限を設ける必要があるが、その値は未決定である。

この判断はPDF生成の受付と処理方式を定める。受付IDの状態確認方法、完成通知の方法、失敗時の利用者向けの扱いは、このADRでは定めない。

## 未決定事項

- PDF生成の再試行回数の上限

Files in this skill

  • adr-boundary.1.with_skill.md1.4 KB
  • adr-boundary.1.without_skill.md2.1 KB
  • adr-boundary.2.with_skill.md1.2 KB
  • adr-boundary.2.without_skill.md3 KB
  • canonical-reference.1.with_skill.md290 B
  • canonical-reference.1.without_skill.md321 B
  • canonical-reference.2.with_skill.md306 B
  • canonical-reference.2.without_skill.md289 B
  • comparison-rfc.1.with_skill.md1.3 KB
  • comparison-rfc.1.without_skill.md1.4 KB
  • comparison-rfc.2.with_skill.md1.3 KB
  • comparison-rfc.2.without_skill.md1.6 KB
  • design-tradeoff.1.with_skill.md3.9 KB
  • design-tradeoff.1.without_skill.md9.9 KB
  • design-tradeoff.2.with_skill.md3.9 KB
  • design-tradeoff.2.without_skill.md6.3 KB
  • incident-record.1.with_skill.md517 B
  • incident-record.1.without_skill.md535 B
  • incident-record.2.with_skill.md557 B
  • incident-record.2.without_skill.md500 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.