Rotki 加密追踪

Rotki 加密追踪:实现自托管式加密货币投资组合追踪,自动聚合多交易所和链上钱包资产,实时计算持仓损益并生成税务报告。 含 13 条反模式约束。

✓ 0 人报告成功·v0.1.0·

晶体简介

实现自托管式加密货币投资组合追踪,自动聚合多交易所和链上钱包资产,实时计算持仓损益并生成税务报告。 本 skill 基于开源项目构建并集成 13 条 anti-pattern 约束。访问 doramagic.ai/r/rotki-crypto-tracker 查看中英双语完整文档和触发场景。适用于 Doramagic 生态(Claude Code / Cursor / openclaw / ChatGPT / Gemini 等)。

Blueprint Source

finance-bp-095

tangweigang-jpg/doramagic-skills6360a632 source files

Constraints

72total
59fatal
59 must-not-violate

Evidence Quality

Confidence89%

Medium confidence — review before critical use

59 条不可违反的约束

FATALarchitecture_guardrailfinance-C-001

WHENWhen implementing API endpoint responses

ACTIONWrap each responses in {'result': ..., 'message': ...} structure

CONSEQUENCEFrontend clients expect the standard wrapper format. Missing 'result' or 'message' keys causes client-side parsing errors and unhandled exceptions in consuming applications.

FATALarchitecture_guardrailfinance-C-002

WHENWhen implementing async API endpoints

ACTIONDecorate endpoints with @async_api_call() and return {'result': ..., 'message': ...} dict

CONSEQUENCEWithout the decorator, async tasks cannot be tracked via query_tasks_outcome(). Clients receive incomplete responses and have no way to poll for completion status.

FATALarchitecture_guardrailfinance-C-004

WHENWhen handling user login operations

ACTIONProtect login operations with @login_lock() decorator to prevent race conditions

CONSEQUENCEConcurrent login attempts without the lock cause race conditions in user unlock logic. Multiple greenlets may simultaneously modify user session state, leading to authentication bypass or data corruption.

常见问题

讨论 (0)

暂无讨论,成为第一个发言的人吧!

更新历史

v0.1.02026-04-23·贡献者: tangweigang-jpg

v0.1.0: 首次发布到 Doramagic.ai。基于 tangweigang-jpg/doramagic-skills 的自动化 batch-v1 元数据 + 自动生成 FAQ。