Skip to content

Commit 735a576

Browse files
Phil-Fanclaude
andcommitted
chore: 更新 lint 配置并修复文档格式问题
- 迁移 markdownlint 配置从 JSON 到 YAML 格式 - 添加 pre-commit 配置用于自动化检查 - 禁用 MD013/MD033/MD046 规则以适应文档需求 - 修复 claude.md 首行标题和图片 alt 属性 - 优化代码块格式和文档结构 - 完善 issue 模板的标题结构 - 添加 awesome-claude-code 技能资源 Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2b9b6c1 commit 735a576

9 files changed

Lines changed: 44 additions & 20 deletions

File tree

.claude/commands/add.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,14 @@ allowed-tools: [Read, Edit, Bash]
3535
## 添加规则
3636

3737
1. **格式化**
38-
```
38+
39+
```text
3940
- [名称](链接): 描述
4041
```
42+
4143
或无描述:
42-
```
44+
45+
```text
4346
- [名称](链接)
4447
```
4548

@@ -66,7 +69,7 @@ allowed-tools: [Read, Edit, Bash]
6669

6770
## 示例
6871

69-
```
72+
```text
7073
/add uv https://github.com/astral-sh/uv 快速的 Python 包管理器
7174
→ 添加到 后端 → Python 下
7275

.github/.markdownlint.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/.markdownlint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MD013: false
2+
MD033: false
3+
MD046: false

.github/ISSUE_TEMPLATE/add_resource.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,16 @@ name: "Add Resource"
44
labels: Resource
55
---
66

7+
# Add Resource
8+
79
## Resource Name
810

11+
Name of the resource to add.
12+
913
## Resource Description
1014

15+
Description of the resource to add.
16+
1117
## Resource Link
18+
19+
Link to the resource to add.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ about: 告知我们仓库中的 bug、链接失效或描述错误
44
labels: bug
55
---
66

7+
# Bug Report
8+
79
## 描述 Description
810

911
清晰描述问题以及你预期的行为/结果。

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ about: 建议新增分类、资源或自动化能力
44
labels: enhancement
55
---
66

7+
# Feature Request
8+
79
## 背景 Background
810

911
为什么需要这个功能/资源?解决什么痛点?

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: markdownlint
5+
name: markdownlint (local)
6+
entry: markdownlint
7+
args: ["--fix", "--config", ".github/.markdownlint.yaml"]
8+
language: system
9+
types_or: [markdown]
10+
11+
- id: autocorrect
12+
name: autocorrect (local)
13+
entry: autocorrect
14+
language: system
15+
args: ["--fix"]
16+
types_or: [markdown, text]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ be very in-depth and continue interviewing me continually until it's complete, t
9191
- [ui-ux-pro-max-skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill): 多平台专业 UI/UX 设计智能
9292
- [notebooklm-skill](https://github.com/PleasePrompto/notebooklm-skill): Claude Code 与 Google NotebookLM 通信,查询上传文档并获取基于引用的答案
9393
- [obsidian-skills](https://github.com/kepano/obsidian-skills): Obsidian 的 Claude Skills 集合
94+
- [awesome-claude-code](https://github.com/hesreallyhim/awesome-claude-code): Claude Code 精选命令、文件和工作流列表
9495

9596
### 知识库
9697

docs/AI/claude.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1+
# Claude Agent SDK
12

23
[Claude Agent SDK [Full Workshop] — Thariq Shihipar, Anthropic - YouTube](https://www.youtube.com/watch?v=TqC1qOfiVcQ&t=356s)
34

4-
1. it should use Bash & file system
5+
1. it should use Bash & file system
56
2. it should have containters
67

7-
Agents are like Claude Code
8+
Agents are like Claude Code
89

910
Workflows are like GitHub Actions
1011

11-
Agent SDK Loop
12-
13-
![](https://philfan-pic.oss-cn-beijing.aliyuncs.com/web_pic/20260109191832998.webp)
12+
Agent SDK Loop
1413

14+
![Agent SDK Loop 架构图](https://philfan-pic.oss-cn-beijing.aliyuncs.com/web_pic/20260109191832998.webp)
1515

1616
interacting with the agent is not like Mr.Beast's game: imagine you are locked in a separate room, you definetely would want a computer with google rather than a bunch of papers and says "hey, dive deep into these papers"
1717

1818
do verification as much as possible, at every point
1919

20-
2120
- tool
2221
- agent
23-
- codegen
22+
- codegen

0 commit comments

Comments
 (0)