decodie-ask
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDecodie — Ask Mode
Decodie — 提问模式
Help the user explore and deepen their understanding of existing learning entries in the directory.
.decodie/This mode is read-only with respect to data.
.decodie/帮助用户探索并加深对目录下现有学习条目的理解。
.decodie/此模式对数据而言是只读的。
.decodie/Entry Resolution
条目解析
Resolve which entry the question targets using this priority:
- Explicit entry ID — If the question contains an entry ID (e.g., ), load it directly.
entry-1711540000-a1b2 - Keyword match — Search active entry titles and topics in . Prefer exact substring matches in titles, then topic tag matches.
index.json - Current session default — If no match, default to the most recently created entry in the current session.
- No match — If no entries exist or match, tell the user and suggest browsing .
index.json
按照以下优先级确定问题所针对的条目:
- 明确的条目ID — 如果问题中包含条目ID(例如),直接加载该条目。
entry-1711540000-a1b2 - 关键词匹配 — 在中搜索活跃条目标题和主题标签。优先匹配标题中的精确子串,其次匹配主题标签。
index.json - 当前会话默认值 — 如果没有匹配结果,默认选择当前会话中最近创建的条目。
- 无匹配结果 — 如果不存在任何条目或没有匹配项,告知用户并建议浏览。
index.json
Context Loading
上下文加载
Once the target entry is identified, load:
- Entry content — Full entry from the session file: ,
explanation,code_snippet,alternatives_considered.key_concepts - Live source code — For files listed in the entry's array, read the referenced sections to provide current-state context.
references - External documentation — URLs from for reference.
external_docs
确定目标条目后,加载以下内容:
- 条目内容 — 会话文件中的完整条目:、
explanation、code_snippet、alternatives_considered。key_concepts - 实时源代码 — 对于条目数组中列出的文件,读取引用部分以提供当前状态的上下文。
references - 外部文档 — 参考中的URL。
external_docs
Response Instructions
响应说明
- Identify the entry — Begin by naming the entry (title and ID).
- Answer the specific question — Use entry content and live source code as primary context.
- Go deeper — Don't repeat the entry. Explain underlying concepts, provide examples, clarify trade-offs.
- Suggest enrichment — If the question reveals a gap in the entry, suggest re-analysis.
- Stay conversational — Tone of a knowledgeable colleague at a whiteboard.
- 标识条目 — 首先说明条目(标题和ID)。
- 回答具体问题 — 以条目内容和实时源代码为主要上下文。
- 深入讲解 — 不要重复条目内容。解释底层概念、提供示例、阐明取舍。
- 建议补充完善 — 如果问题暴露出条目中的不足,建议重新分析。
- 保持对话式语气 — 如同一位知识渊博的同事在白板前讲解的语气。
Important Notes
重要提示
- After answering, the interaction is complete. The user can ask again with another question.
- This mode only reads existing data — it does not generate entries.
- 回答后,交互即完成。用户可以再次提问。
- 此模式仅读取现有数据——不会生成新条目。