Install
openclaw skills install adapter-auditUse this skill to audit CLI adapter projects (like opencli) for missing output fields, then batch-generate fixes and submit PRs. Turns AI agents into adapter quality reviewers.
openclaw skills install adapter-auditUse this skill when you want to systematically audit and fix CLI adapter projects — for example, scanning all search adapters in opencli for missing url fields and batch-generating patches.
Scan all adapters in the target project and classify each by:
Standard fields to check:
url — direct link to the content itemtitle — content titleauthor — creator/author nametimestamp / date — publish or capture timeFor each missing field, determine the fix strategy:
| Situation | Fix strategy |
|---|---|
Field is computed internally but not in columns | Add to columns list |
Field is computed but stripped by a map step | Pass through the map step + add to columns |
| Field is not computed but can be constructed from existing data | Add construction logic + add to columns |
| Field requires external data not available in the API response | Skip or mark as "needs upstream API change" |
Apply fixes using the minimum change principle:
After fixing, run the project's existing tests:
npm run build # ensure TS compiles
npm test # ensure nothing breaks
Create a single well-documented PR with:
This skill was used to audit opencli's 33 search adapters:
url in outputurl in outputThe audit output should include:
url for dictionary word lookup)Use /adapter-audit to scan all search adapters in this CLI project for missing url fields, fix them, and prepare a PR.
请用 /adapter-audit 扫描这个 CLI 项目里所有 search adapter 的缺失字段,批量修复并准备 PR。