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 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-bb213982/badge)](https://www.skillsdirectory.com/skills/iwasa-kosui-documents-bb213982)

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はPDFそのものを待って返さず、受付IDを返す。利用者は受付IDを使って、PDFの完成を確認する。

## 判断理由

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

この方式では、利用者はPDFの完成まで待つ必要がある。これは非同期処理に伴う制約として受け入れる。

## 影響

- PDF生成の受付と完成が別の処理になる。
- APIの応答には受付IDを含める。
- 利用者は受付IDを使って完成を確認する必要がある。
- PDF生成に失敗した場合の再試行上限は未決定である。

## 未決定事項

PDF生成の再試行上限は、別途決定する。上限が未決定のため、再試行回数に依存する運用条件はこのADRでは定めない。

## 根拠

原資料の作業メモに記録された、2026-08-20時点の判断と処理時間の情報に基づく。

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.