PaddlePaddlePaddlePaddleOfficialยท7 Agent Skills Included

docs

Align Paddle APIs with PyTorch behavior automatically

Aligns PaddlePaddle APIs with PyTorch equivalents so torch.* calls work as paddle.* with identical results. Analyzes API differences, applies decorators or C++ changes, adds compatibility tests, and updates Chinese documentation. Removes manual cross-framework comparison, repetitive test writing, and error-prone doc syncing across three repositories.
npx skills add PaddlePaddle/docs --all -g -y
Available:

Instructs the agent to autonomously run the five-step Paddle-to-PyTorch API alignment workflow, routing each step to the correct sub-skill with strict ordering, rollback, and retry rules.

All Skills in This Repository (7)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install PaddlePaddle docs skills?โ–ผ

Run `npx skills add PaddlePaddle/docs --all -g -y` in your terminal to install all skills in this suite globally.

How to make Paddle APIs match PyTorch?โ–ผ

Provide a list of PyTorch APIs and the suite analyzes differences, picks a modification strategy, edits Paddle code, and verifies identical behavior.

What does the API alignment workflow include?โ–ผ

It covers five steps: solution selection, code modification via decorators or C++ changes, compatibility testing, PyTorch verification tests, and documentation updates.

Does it handle testing and documentation automatically?โ–ผ

Yes. It writes compatibility unit tests, runs PyTorch comparison tests via PaConvert, and updates the Chinese API docs to match the new behavior.

Do I need deep learning framework expertise to use it?โ–ผ

No. The agent executes the full alignment pipeline autonomously, including error rollback after repeated failures, based on your plain API list.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’