Back to skills
SKILL.md
Documents
ASecurity採用。判断日:2026-08-20
- 50 stars
- 0 votes
- 0 copies
- 0 views
- Added November 7, 2026
Works with
Security analysis
100/100Pro scans all 21 files and shows the line behind each finding
npx -y skills add iwasa-kosui/tanteki --skill documents --agent claude-codeAre you the author of Documents?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/iwasa-kosui-documents-bb213982)# 請求書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.md
- adr-boundary.1.without_skill.md
- adr-boundary.2.with_skill.md
- adr-boundary.2.without_skill.md
- canonical-reference.1.with_skill.md
- canonical-reference.1.without_skill.md
- canonical-reference.2.with_skill.md
- canonical-reference.2.without_skill.md
- comparison-rfc.1.with_skill.md
- comparison-rfc.1.without_skill.md
- comparison-rfc.2.with_skill.md
- comparison-rfc.2.without_skill.md
- design-tradeoff.1.with_skill.md
- design-tradeoff.1.without_skill.md
- design-tradeoff.2.with_skill.md
- design-tradeoff.2.without_skill.md
- incident-record.1.with_skill.md
- incident-record.1.without_skill.md
- incident-record.2.with_skill.md
- incident-record.2.without_skill.md
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.