Borrowing it
Nothing to install: this file belongs to u9401066/med-paper-assistant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/u9401066/med-paper-assistant/master/.claude/skills/ddd-architect/SKILL.mdgit clone --depth 1 https://github.com/u9401066/med-paper-assistantWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/u9401066/med-paper-assistant/ddd-architect)<a href="https://agentmods.dev/skills/u9401066/med-paper-assistant/ddd-architect"><img src="https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/ddd-architect/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/u9401066/med-paper-assistant/ddd-architect"><img src="https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/ddd-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.00365 |
| Opus 5 | $0.00016 | $0.00182 |
| Sonnet 5 | $0.00006 | $0.00073 |
| Haiku 4.5 | $0.00003 | $0.00036 |
Grade A, and why
ddd-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
DDD 架構輔助技能
觸發:新增功能/模組、架構檢查、建立新檔案時自動檢查
工具:grep_search(搜尋 import)、list_dir、read_file、create_file
層級結構
src/domain/ → entities, value_objects, aggregates, repositories(介面), services
src/application/ → use_cases, dtos
src/infrastructure/ → persistence, services(外部服務實作)
src/interfaces/ → api, mcp
依賴規則
✅ Presentation → Application → Domain ← Infrastructure(實作介面) ❌ Domain → Infrastructure, Domain → Application, Application → Presentation
違規檢查
| 違規 | 修復 |
|---|---|
| Domain → Infrastructure | 使用 Repository 介面 |
| 直接 SQL 在 Domain | 抽出到 Repository |
| Application → DB | 透過 Repository |
檢查方法:grep_search(query="from.*infrastructure.*import", isRegexp=True, includePattern="**/domain/**/*.py")
工作流
A: 新功能腳手架 — 依序建立 Domain(entity+repo介面) → Application(use_case+dto) → Infrastructure(repo實作) B: 架構違規檢查 — grep Domain 層的 Infrastructure import → 有結果即違規
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 40 lines · 32 tokens per session scan A 9f16d2c0be6c
ddd-architect is a skill published in the GitHub repository u9401066/med-paper-assistant (12 stars, last pushed 9d ago), licensed Apache-2.0. It adds 32 tokens to every session and 365 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
backend-endpoint
Create REST/GraphQL API endpoint with validation, error handling, and tests. Auto-invoke when user says "add endpoint", "create API", "new route", or "add route".
backend-test
Generate backend tests (unit, integration, mocks) for existing code. Auto-invoke when user says "write test for", "add test", "test this", or "create test".
api-designer
Design RESTful and RPC APIs — OpenAPI specs, request/response schemas, error codes, versioning, and documentation.
citation-manager
Format and manage citations — APA, MLA, Chicago, IEEE, and Vancouver styles with BibTeX export.
claude-api
Build apps with the Anthropic Claude API — chat completions, tool use, streaming, vision, and multi-turn conversations.
discord-bot
Create Discord bots — slash commands, embeds, voice, roles, threads, and Discord.js/Pycord implementations.