Loading...
Loading...
Documentation-driven development specification that requires Agent to consult official documentation and examples before generating code or fixing bugs, including API verification processes, search strategies and MCP invocation rules. It is applicable to scenarios such as accessing third-party libraries, troubleshooting API errors, and version changes.
npx skill4agent add qiao-925/qiao-skills doc-driven-developmentWhen generating code or fixing bugs, consult official documentation and examples first before starting implementation.
AttributeErrorTypeErrorContext7DuckDuckGoContext7DuckDuckGo| Problem Type | Feature | Handling Method |
|---|---|---|
| API does not exist | | Find the correct API |
| Parameter error | | Find the correct parameters |
| Abnormal behavior | Results do not meet expectations | Find the correct usage |
| Version issue | API changed after a certain version | Find version differences |
# 错误:基于猜测实现
index.query(question, top_k=10) # 可能参数名不对
# 正确:基于文档实现
# 查阅文档后确认正确的参数名
index.query(question, similarity_top_k=10)references/api-verification.mdreferences/search-strategy.mdreferences/mcp-usage-rules.md