Skip to content

feat(skills): add url2ebook web skill - #174

Merged
CoderWanFeng merged 1 commit into
CoderWanFeng:developfrom
zevin-cloud:feat/add-url2ebook-skill
Aug 14, 2026
Merged

feat(skills): add url2ebook web skill#174
CoderWanFeng merged 1 commit into
CoderWanFeng:developfrom
zevin-cloud:feat/add-url2ebook-skill

Conversation

@zevin-cloud

Copy link
Copy Markdown
Contributor

Summary

  • Add a url2ebook Skill under skills/web/, wrapping the existing office.api.web.url2ebook API from examples/pospider/网页转电子书.py.
  • Document the two-parameter interface (url, tile) and register the new Web category in skills/README.md.
  • Cover Skill exports and docs with tests/test_code/test_url2ebook_skill.py, and include web in the public Skill import surface.

Test plan

  • python -m unittest tests.test_code.test_url2ebook_skill tests.test_code.test_web -v
  • Confirm from skills.web import url2ebook works after pospider is installed
  • Call url2ebook(url='https://www.python-office.com', tile='Python-Office自动化办公指南') and check an ebook file is generated
  • Confirm missing pospider still raises the existing install hint from office.api.web

Expose the existing webpage-to-ebook example as a discoverable Skill so agents can convert URLs without hunting through office.api.web.

Co-authored-by: Cursor <cursoragent@cursor.com>
@CoderWanFeng
CoderWanFeng merged commit 7e9bc97 into CoderWanFeng:develop Aug 14, 2026
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