Skip to content

docs: add CLAUDE.md and agent_docs for AI-assisted development#17770

Draft
scyyh11 wants to merge 8 commits intoPaddlePaddle:mainfrom
scyyh11:docs/add-claude-md-and-agent-docs
Draft

docs: add CLAUDE.md and agent_docs for AI-assisted development#17770
scyyh11 wants to merge 8 commits intoPaddlePaddle:mainfrom
scyyh11:docs/add-claude-md-and-agent-docs

Conversation

@scyyh11
Copy link
Collaborator

@scyyh11 scyyh11 commented Mar 5, 2026

Add concise CLAUDE.md with project overview, build/verify commands, architecture map, and 3.x API guidance. Detailed inference and training docs live in agent_docs/ for progressive disclosure.

Add concise CLAUDE.md with project overview, build/verify commands,
architecture map, and 3.x API guidance. Detailed inference and training
docs live in agent_docs/ for progressive disclosure.
@scyyh11 scyyh11 requested a review from Bobholamovic March 5, 2026 08:30
@paddle-bot
Copy link

paddle-bot bot commented Mar 5, 2026

Thanks for your contribution!


## Available Pipelines

All imported from `paddleocr`:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些内容可能频繁变化,是否意味着可能经常更新。如果这里的指示和实际情况适配,怎么办?我想是否可以告诉AI一个可靠的方式获取产线信息,或者通过某种自动化机制监测,确保新增/改动产线时一定要修改这个位置。


| Model | Purpose |
|-------|---------|
| `TextDetection` | Detect text regions |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

@@ -0,0 +1,38 @@
# CLAUDE.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感觉内容还可以再丰富一些,可以参考这里获取更多灵感:https://github.com/langchain-ai/langchain/blob/master/AGENTS.md

…for pipelines/models

- CLAUDE.md: add project structure tree, code style conventions, testing
  guidance, PR guidelines, and dynamic discovery section (inspired by
  langchain AGENTS.md)
- inference_api.md: replace hardcoded pipeline/model tables with
  instructions to read __all__ from source __init__.py files, avoiding
  staleness when pipelines/models are added or removed
@scyyh11 scyyh11 force-pushed the docs/add-claude-md-and-agent-docs branch from 80dd6ed to f8f9c97 Compare March 11, 2026 09:43
scyyh11 and others added 4 commits March 11, 2026 02:44
- New agent_docs/config_system.md covering YAML config structure,
  CLI overrides, architecture composition, optimizer/LR schedulers,
  dataset/transform pipelines, and builder flow
- Update CLAUDE.md and AGENTS.md to reference the new doc
- Remove Claude-specific references from AGENTS.md
- Slim down CLAUDE.md to just link to AGENTS.md for easier maintenance
@@ -0,0 +1,213 @@
# Config System
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里主要介绍的其实是traning的config,是否需要和inference的区分一下?inference的config其实就是paddlex的config格式了

…tem.md

Address PR review feedback — the config doc previously only covered training
configs. Now clearly separates into Part 1 (Training Config) and Part 2
(Inference Config / PaddleX), since they are two unrelated systems.
Add contribution policy (duplicate-work checks, no-busywork rule, accountability),
expand build instructions into detailed development workflow with environment setup,
test commands, and linter usage, and reorganize into numbered sections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants