Install
openclaw skills install @liuwei1125/repo-mini-practiceUse when a user wants to learn a GitHub or local codebase by understanding its implementation principles, creating a minimal runnable practice version, or tu...
openclaw skills install @liuwei1125/repo-mini-practiceTurn a real repository into a small, runnable learning project. The goal is not to summarize every file; it is to extract one core mechanism and rebuild it as a clear mini-practice/ inside the target repository.
Do not use this for ordinary code review, bug fixing, or feature implementation unless the user's goal is explicitly learning through a minimal reproduction.
Create a runnable teaching artifact, not just an explanation. If the real project depends on external services, databases, model APIs, queues, browsers, or infrastructure, mock those parts and preserve the core logic flow.
Default documentation is bilingual: write the learning guide in Chinese and English unless the user asks for a single language.
Code comments follow the user's prompt language. If the user asks in Chinese, write function comments in Chinese; if the user asks in English, write them in English. If the prompt mixes languages, use the dominant language or the language explicitly requested by the user.
Confirm the target
Read the public contract
Map the source
rg or language-native symbol tools.Choose one mechanism
Design the mini-practice
Create mini-practice/
mini-practice/ without inspecting it and preserving user work.Verify it runs
Write the learning guide
mini-practice/README.md, include:
Prefer this structure, adapting names to the language ecosystem:
mini-practice/
├── README.md
├── src/
├── tests/ or demo/
├── mocks/ or fixtures/
└── minimal package/config files
README.md should default to this shape:
mini-practice/ directory.