<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://zhudanya.github.io/</id><title>Zhudanya's Blog</title><subtitle>Game developer sharing insights on Go microservices, Unity, AI agents, and Harness Engineering.</subtitle> <updated>2026-04-07T18:43:22+08:00</updated> <author> <name>zhudanyang</name> <uri>https://zhudanya.github.io/</uri> </author><link rel="self" type="application/atom+xml" href="https://zhudanya.github.io/feed.xml"/><link rel="alternate" type="text/html" hreflang="zh-CN" href="https://zhudanya.github.io/"/> <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator> <rights> © 2026 zhudanyang </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>Danya 完全使用指南 — 游戏开发 AI 编程助手</title><link href="https://zhudanya.github.io/posts/danya-complete-guide/" rel="alternate" type="text/html" title="Danya 完全使用指南 — 游戏开发 AI 编程助手" /><published>2026-04-07T10:00:00+08:00</published> <updated>2026-04-07T10:00:00+08:00</updated> <id>https://zhudanya.github.io/posts/danya-complete-guide/</id> <content type="text/html" src="https://zhudanya.github.io/posts/danya-complete-guide/" /> <author> <name>zhudanyang</name> </author> <category term="AI Agent" /> <category term="Game Development" /> <summary>什么是 Danya Danya 是一个运行在终端中的 AI 编程助手，专门为游戏开发场景设计。它不是通用的代码补全工具，而是一个理解游戏项目架构、强制执行质量标准、能自动化整个开发工作流的 Agent。 开箱即用 — 进入游戏项目启动 Danya，它会自动检测引擎类型（Unity / Unreal / Godot / Go 服务端 / C++ 服务端 / Java 服务端 / Node.js 服务端），生成完整的 Harness 治理体系（规则、命令、Hook、记忆），不需要手动搭建任何环境。 核心定位：将经过验证的 Game Harness Engineering 内置到 AI Agent 中，让游戏开发者开箱即用。 GitHub: https://github.com/Zhudanya/danya npm: npm install -g @danya-ai/cli ...</summary> </entry> <entry><title>Danya Complete Guide — Game Dev AI Coding Assistant</title><link href="https://zhudanya.github.io/posts/danya-complete-guide-en/" rel="alternate" type="text/html" title="Danya Complete Guide — Game Dev AI Coding Assistant" /><published>2026-04-07T10:00:00+08:00</published> <updated>2026-04-07T10:00:00+08:00</updated> <id>https://zhudanya.github.io/posts/danya-complete-guide-en/</id> <content type="text/html" src="https://zhudanya.github.io/posts/danya-complete-guide-en/" /> <author> <name>zhudanyang</name> </author> <category term="AI Agent" /> <category term="Game Development" /> <summary>What is Danya Danya is an AI coding assistant that runs in the terminal, designed specifically for game development. It is not a generic code completion tool — it is an Agent that understands game project architecture, enforces quality standards, and can automate entire development workflows. 中文版 Out of the box — enter a game project and launch Danya, and it will automatically detect the...</summary> </entry> <entry><title>游戏开发 Harness Engineering 教学：为什么这套配置能让 AI Agent 高效写代码</title><link href="https://zhudanya.github.io/posts/game-harness-engineering-tutorial/" rel="alternate" type="text/html" title="游戏开发 Harness Engineering 教学：为什么这套配置能让 AI Agent 高效写代码" /><published>2026-03-30T22:00:00+08:00</published> <updated>2026-03-30T22:00:00+08:00</updated> <id>https://zhudanya.github.io/posts/game-harness-engineering-tutorial/</id> <content type="text/html" src="https://zhudanya.github.io/posts/game-harness-engineering-tutorial/" /> <author> <name>zhudanyang</name> </author> <category term="AI" /> <category term="Engineering" /> <summary>这篇文章拆解我为一个 Unity + Go 微服务游戏项目搭建的完整 Harness。不讲理论，只讲这套配置为什么有效、删了哪个会出什么问题、每个目录到底干什么。 先说结论：为什么高效 一句话：把人的经验变成 Agent 的约束，把重复的判断变成机械化检查。 没有这套 Harness 时： Agent 改了自动生成的代码 → 下次 generate 全覆盖，白改 Agent 用 Debug.Log 打日志 → 上线后日志混乱 Agent 改完代码说”我改完了” → 你手动启动服务、手动测试、5-10 分钟 Agent 修了一个 bug 引入两个新 bug → 没人发现，推上去了 Agent 犯过的错下次还犯 → 因为它不记得 有了这套 Harness 后： Agent 碰自动生成的代码 → Hook 直接拦截，改不了 Agent 写 Debu...</summary> </entry> <entry><title>learn-claude-code 学习笔记（完结）：12 课全景总结</title><link href="https://zhudanya.github.io/posts/learn-claude-code-summary/" rel="alternate" type="text/html" title="learn-claude-code 学习笔记（完结）：12 课全景总结" /><published>2026-03-30T21:00:00+08:00</published> <updated>2026-03-30T21:00:00+08:00</updated> <id>https://zhudanya.github.io/posts/learn-claude-code-summary/</id> <content type="text/html" src="https://zhudanya.github.io/posts/learn-claude-code-summary/" /> <author> <name>zhudanyang</name> </author> <category term="AI" /> <category term="learn-claude-code" /> <summary>learn-claude-code 系列 12 课学完了。这篇做一个全景总结——每课解决了什么问题、怎么解决的、加了什么机制。 核心论点 Agent = Model（大脑）+ Harness（身体 + 环境） 模型提供智能，Harness 提供表达智能的空间。12 课教的都是 Harness——循环从未改变。 12 课总览 课程 问题 解决方案 核心机制 工具数 s01 Agent Loop 模型碰不到真实世界 while 循环 + bash 工具 stop_reason 控制退出 1 s02 Tool Use bash 干什么都不精准（截断、转义、安全） ...</summary> </entry> <entry><title>learn-claude-code 学习笔记（十二）：Worktree + Task Isolation —— 各干各的目录，互不干扰</title><link href="https://zhudanya.github.io/posts/learn-claude-code-s12-worktree-task-isolation/" rel="alternate" type="text/html" title="learn-claude-code 学习笔记（十二）：Worktree + Task Isolation —— 各干各的目录，互不干扰" /><published>2026-03-30T20:00:00+08:00</published> <updated>2026-03-30T20:00:00+08:00</updated> <id>https://zhudanya.github.io/posts/learn-claude-code-s12-worktree-task-isolation/</id> <content type="text/html" src="https://zhudanya.github.io/posts/learn-claude-code-s12-worktree-task-isolation/" /> <author> <name>zhudanyang</name> </author> <category term="AI" /> <category term="learn-claude-code" /> <summary>这是 learn-claude-code 系列学习笔记的最后一篇。s11 让队友自组织，但所有人共享一个目录。s12 给每个任务一个独立的工作空间——从此并行不冲突。 问题：共享目录导致文件冲突 到 s11，Agent 已经能自主认领和完成任务了。但所有 Agent 共享一个工作目录。两个 Agent 同时重构不同模块——A 改 config.py，B 也改 config.py，未提交的改动互相污染，谁也没法干净回滚。 任务板管”做什么”，但不管”在哪做”。 解决方案：控制面 + 执行面分离 控制面（.tasks/） 执行面（.worktrees/） +-------------------+ +------------------------+ | task_1.json | | auth-...</summary> </entry> </feed>
