Skip to content

Commit f0d6f6d

Browse files
committed
增加文档
1 parent 318f0a5 commit f0d6f6d

10 files changed

Lines changed: 259 additions & 2 deletions

File tree

Agent.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,35 @@
66

77
### Links
88

9-
- [微信::觉学社::智能体软件工程 #3 |重新思考版本控制](https://mp.weixin.qq.com/s/-kZ-xyj_RZgCB7JgMkAeOw)
9+
- [微信::觉学社::智能体软件工程 #3 |重新思考版本控制](https://mp.weixin.qq.com/s/-kZ-xyj_RZgCB7JgMkAeOw)
10+
11+
12+
13+
## features
14+
15+
- context engineering
16+
- state
17+
- Agent loop(Agent Runtime)
18+
- ReAct Loop
19+
- Native Tool Call
20+
- 工具是一等公民
21+
- 事件驱动
22+
- 工具调用
23+
- 生命周期(lifetime)
24+
- MCP
25+
- Skills
26+
- Agents.md
27+
- 全局指令: 约束, 边界, 命令
28+
29+
## skills
30+
31+
### Links
32+
33+
- [docs::official::agent-skills](https://agentskills.io/home)
34+
35+
### what
36+
37+
- A skill is a set of instructions - packaged as a simple folder - that teaches Claude how to handle specific tasks or workflows. Skills are one of the most powerful ways to customize Claude for your specific needs.
38+
39+
40+

LLM.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,13 @@ https://www.tensorflow.org/tutorials/images/data_augmentation?hl=zh-cn
853853
854854
- [李宏毅:一堂课搞懂生成式人工智能原理](https://speech.ee.ntu.edu.tw/~hylee/GenAI-ML/2025-fall-course-data/LLM.pdf)
855855
856+
857+
858+
## 认知
859+
860+
- 大模型就是文字接龙
861+
- 大模型本身没有记忆, 不知道过去发生了什么
862+
856863
## 通过问题引导
857864
858865
- 大模型的本质是什么?

ReadNotes

16 Bytes
Binary file not shown.

Rust最佳实践.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,10 @@ cargo install --path . # cargo.toml 指定install.root = " ~/.local"
11081108
# create workspace package
11091109
cargo new —lib
11101110

1111+
# cargo tree
1112+
1113+
cargo tree
1114+
11111115

11121116

11131117
```

agentic-engineering.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Agentic Engineering
3+
description: Agentic Engineering(aka. agentic coding)
4+
tags:
5+
- architecture
6+
keywords:
7+
- vibe coding
8+
- agentic coding
9+
- context engineering
10+
---
11+
12+
# Agentic Engineering
13+
14+
15+
16+
## Principle
17+
18+
- Parallel agent conversation
19+
- 从技术转向了对审美和创意的关注
20+
- transfer
21+
22+
## concerns
23+
24+
- 测试
25+
- 文档
26+
- 质量
27+
- 评估
28+
- 错误处理
29+
- 调试
30+
- 功能
31+
- 审美和创意(aesthetic and creative)
32+
-
33+
34+
## Agentic Coding最佳实践
35+
36+
> AI提效手册, 思维方式迁移
37+
38+
39+
40+
41+
42+
43+
44+
45+

openclaw.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# OpenClaw
2+
3+
4+
5+
6+
7+
## 特性
8+
9+
- 自主运行, 运行在本地
10+
- 能帮你干活
11+
12+
13+
14+
15+
16+
17+
18+
## 核心
19+
20+
- LLM
21+
22+
- LLM Agent
23+
24+
- 网关(控制访问层)
25+
26+
- 记忆(Memory)
27+
- 技能(Skills)
28+
- 操作流程, 规范, 注意事项
29+
- 自动化办公, 创作, 编码等
30+
- 工具(Tools)
31+
- 外部功能支持
32+
33+
- 插件(plugin)
34+
35+
- 能力扩展
36+
37+
- 通讯软件接入(聊天控制, 频道隔离)
38+
39+
- 钉钉
40+
- 飞书
41+
42+
43+
44+
45+
46+
## 安全相关
47+
48+
49+
50+
容器部署(docker/podman)
51+
52+
53+
54+
55+
56+
brew
57+
58+
59+
60+
docker
61+
62+
Cmd-line -tool
63+
64+
65+
66+
67+
68+
## 条件限制
69+
70+
71+
72+
- 长期运行
73+
- caffeinate
74+
- lungo
75+
76+
77+
78+
## 常见问题
79+
80+
81+
82+
- 平台不一样
83+
-
84+

skills/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Skills
2+
3+
## links
4+
5+
- [Ahthropics/Skills](https://github.com/anthropics/skills)
6+
7+
## 为什么需要skills
8+
9+
- 解决私域知识和专属技能问题

参考手册.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3845,7 +3845,11 @@ note Note NOTE 格式均可
38453845
> [!CAUTION]
38463846
> Negative potential consequences of an action.
38473847
3848-
3848+
> [!example]
3849+
>
3850+
> this is example
3851+
>
3852+
>
38493853
38503854
样式修改
38513855

程序原理.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,28 @@ log, trace, metric
147147

148148
掌握这些基础知识和理论,将有助于你从高层次进行程序和系统设计,确保系统的可靠性、可维护性和性能。
149149

150+
151+
152+
153+
154+
# 概念
155+
156+
157+
158+
## 指针
159+
160+
> "计算机科学中的任何问题都可以通过增加一个间接层来解决。"
161+
162+
指针是一种数据类型, 指针也是一个实体
163+
164+
### 多维视角
165+
166+
- 从硬件层面看
167+
- 从内存模型看
168+
- 从程序
169+
170+
171+
150172
# 编程思想
151173

152174

编程技术.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,12 +591,63 @@ helper
591591

592592
# 代码质量
593593

594+
595+
596+
```markdown
597+
Good code still has a cost #
598+
好的代码仍然有成本 #
599+
600+
- Delivering new code has dropped in price to almost free... but delivering good code remains significantly more expensive than that.
601+
- 交付新代码的成本已经降至几乎免费...但交付好的代码仍然比那贵得多。
602+
603+
Here's what I mean by "good code":
604+
我所说的"好的代码"是指:
605+
606+
The code works. It does what it's meant to do, without bugs.
607+
代码能正常工作。它能完成预期的功能,没有 bug。
608+
We know the code works. We've taken steps to confirm to ourselves and to others that the code is fit for purpose.
609+
我们知道代码是有效的。我们已经采取措施向自己和他人确认代码符合用途。
610+
It solves the right problem.
611+
它解决了正确的问题。
612+
It handles error cases gracefully and predictably: it doesn't just consider the happy path. Errors should provide enough information to help future maintainers understand what went wrong.
613+
它优雅且可预测地处理错误情况:它不只是考虑了顺利的路径。错误应该提供足够的信息,以帮助未来的维护者理解出了什么问题。
614+
It’s simple and minimal - it does only what’s needed, in a way that both humans and machines can understand now and maintain in the future.
615+
它简洁且精简——它只做所需之事,以一种人类和机器现在都能理解并在未来可以维护的方式。
616+
It's protected by tests. The tests show that it works now and act as a regression suite to avoid it quietly breaking in the future.
617+
它受到测试的保护。测试表明它现在可以正常工作,并作为回归测试套件,以避免它在未来悄无声息地失效。
618+
It's documented at an appropriate level, and that documentation reflects the current state of the system - if the code changes an existing behavior the existing documentation needs to be updated to match.
619+
它在适当的层面上有文档记录,并且该文档反映了系统的当前状态——如果代码改变了现有行为,现有的文档需要更新以匹配。
620+
The design affords future changes. It's important to maintain YAGNI - code with added complexity to anticipate future changes that may never come is often bad code - but it's also important not to write code that makes future changes much harder than they should be.
621+
设计允许未来的变更。维护 YAGNI(你永远不需要它)很重要——添加了复杂性的代码以预期可能永远不会发生的未来变更通常是坏代码——但是编写让未来的变更比应该的更难的代码也同样重要。
622+
All of the other relevant "ilities" - accessibility, testability, reliability, security, maintainability, observability, scalability, usability - the non-functional quality measures that are appropriate for the particular class of software being developed.
623+
所有其他相关的"能力"——可访问性、可测试性、可靠性、安全性、可维护性、可观察性、可扩展性、可用性——适用于正在开发的特定类别的软件的非功能性质量指标。
624+
Coding agent tools can help with most of this, but there is still a substantial burden on the developer driving those tools to ensure that the produced code is good code for the subset of good that's needed for the current project.
625+
编码代理工具可以解决大部分问题,但仍然有相当大的负担落在驱动这些工具的开发者身上,以确保生成的代码是当前项目所需的良好代码子集中的良好代码。
626+
627+
We need to build new habits #
628+
我们需要建立新的习惯 #
629+
The challenge is to develop new personal and organizational habits that respond to the affordances and opportunities of agentic engineering.
630+
挑战在于培养新的个人和组织习惯,以应对代理工程提供的便利和机会。
631+
632+
These best practices are still being figured out across our industry. I'm still figuring them out myself.
633+
这些最佳实践仍在整个行业中被探索。我自己仍在探索它们。
634+
635+
For now I think the best we can do is to second guess ourselves: any time our instinct says "don't build that, it's not worth the time" fire off a prompt anyway, in an asynchronous agent session where the worst that can happen is you check ten minutes later and find that it wasn't worth the tokens.
636+
目前我认为我们能做的最好的事情就是反问自己:每当我们的直觉说“不要构建那个,不值得花时间”时,仍然在异步代理会话中发送一个提示,最坏的情况是十分钟后再检查发现不值得消耗代币。
637+
```
638+
639+
640+
594641
## 基本原则
595642

596643
### 模块化
597644

598645
### 分层架构
599646

647+
648+
649+
650+
600651
# 测试
601652

602653
# 开发规范

0 commit comments

Comments
 (0)