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

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を確認する。

### 決定理由

同期生成中は、接続切断の可能性がある。キューを使った非同期処理なら、APIの受付とPDF生成を分離できる。45秒を超える生成時間でも、API接続を維持せずに済むためである。

### 代替案

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

### 結果

- APIはPDFそのものではなく、受付IDを返す。
- 利用者はPDFの完成まで待つ必要がある。
- PDF生成の処理状況と完成結果を、受付IDに関連付けて扱う必要がある。
- 再試行の上限は未決定であり、このADRでは定めない。

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.