Skip to content
Back to skills

Artifacts

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 artifacts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Artifacts?

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

Security grade badge for Artifacts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iwasa-kosui-artifacts-61fab875/badge)](https://www.skillsdirectory.com/skills/iwasa-kosui-artifacts-61fab875)

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を安定して返却できない。

一方、非同期処理を採用すると、利用者はPDFの完成まで待つ必要がある。

## 決定

請求書PDFの生成をキューに投入し、非同期で処理する。APIは生成完了を待たず、受付IDを返す。

利用者および呼び出し側は、受付IDを使って生成状況や結果を確認し、完成後にPDFを取得する。

## 却下した選択肢

### 同期生成

同期生成は採用しない。最大45秒の処理中にAPI接続が切れる可能性があり、安定性に問題があるためである。

### トレードオフ

非同期化によって接続切断の問題を回避できる。ただし、API呼び出し時点でPDFを返せず、利用者は完成まで待つ必要がある。

## 未決定事項

生成ジョブの再試行回数の上限は、2026-08-20時点で未決定である。運用上の失敗時対応とあわせて、別途決定する。

## 保守時の注意

キュー投入後にAPIが返す受付IDと、後続の状態確認・PDF取得処理との対応関係を維持すること。同期処理へ戻す場合は、最大45秒の処理時間と接続切断リスクを再評価すること。

Files in this skill

  • adr-boundary.1.with_skill.md664 B
  • adr-boundary.1.without_skill.md1.1 KB
  • adr-boundary.2.with_skill.md534 B
  • adr-boundary.2.without_skill.md1.5 KB
  • canonical-reference.1.with_skill.md257 B
  • canonical-reference.1.without_skill.md318 B
  • canonical-reference.2.with_skill.md318 B
  • canonical-reference.2.without_skill.md296 B
  • comparison-rfc.1.with_skill.md1.3 KB
  • comparison-rfc.1.without_skill.md1.3 KB
  • comparison-rfc.2.with_skill.md929 B
  • comparison-rfc.2.without_skill.md1.2 KB
  • design-tradeoff.1.with_skill.md1.3 KB
  • design-tradeoff.1.without_skill.md4.9 KB
  • design-tradeoff.2.with_skill.md1.4 KB
  • design-tradeoff.2.without_skill.md2.9 KB
  • incident-record.1.with_skill.md517 B
  • incident-record.1.without_skill.md661 B
  • incident-record.2.with_skill.md546 B
  • incident-record.2.without_skill.md689 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.