Skip to content
Back to skills

Documents

ASecurity

- 状態: 採用 - 決定日: 2026-08-20

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

Works with

  • api

Security analysis

A100/100

Pro scans all 9 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-05627649/badge)](https://www.skillsdirectory.com/skills/iwasa-kosui-documents-05627649)

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
# 請求書PDF生成を非同期キュー処理にする

- 状態: 採用
- 決定日: 2026-08-20

## 背景

請求書のPDF生成には最大45秒かかる。同期生成では、その間に接続が切れるため、APIの応答を完了まで維持できない。

## 決定

請求書のPDF生成はキューで非同期に処理する。APIは生成完了を待たず、受付IDを返す。利用者は、PDFが完成するまで待つ必要がある。

## 決定理由

同期生成では、最大45秒の処理中に接続が切れるため採用しない。非同期処理なら、PDF生成とAPIの受付を分離できるため、生成処理の完了までAPIの接続を維持する必要がない。

## 影響

利用者はAPIの応答だけではPDFを受け取れず、受付IDに対応する生成結果が完成するまで待つ必要がある。保守者は、受付IDとキュー処理を前提に、生成中と生成完了後の扱いを実装・運用する必要がある。

再試行の上限は未決定である。再試行処理を追加・変更する場合は、この上限を決めたうえで、キュー処理の設計と整合させる。

## 代替案

同期生成は、最大45秒の処理中に接続が切れるため不採用とした。

Files in this skill

  • adr-boundary.1.with_skill.md1.3 KB
  • adr-boundary.1.without_skill.md1.7 KB
  • adr-boundary.2.with_skill.md1.1 KB
  • adr-boundary.2.without_skill.md2.1 KB
  • design-tradeoff.1.with_skill.md3.9 KB
  • design-tradeoff.1.without_skill.md8.2 KB
  • design-tradeoff.2.with_skill.md3.7 KB
  • design-tradeoff.2.without_skill.md5.8 KB

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.