legado-book-source

Develop, test, and debug Legado book source rules with a TDD workflow.

55|6|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/z1131392774/legado-book-source-skill --skill legado-book-source
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legado-book-source
Source: https://github.com/z1131392774/legado-book-source-skill/tree/main
Command: npx skills add https://github.com/z1131392774/legado-book-source-skill --skill legado-book-source

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the difficulty of creating, maintaining, and debugging complex book source rules for the Legado reader, ensuring high-quality and reliable parsing through a strict Test-Driven Development (TDD) workflow.

Core Features & Use Cases

  • TDD Workflow: Enforces a cycle of defining expectations, writing selectors, and verifying outputs to prevent broken rules.
  • Comprehensive Debugging: Provides a dedicated Python script to test search, discovery, detail, table of contents, and content parsing phases against a live Legado instance.
  • Use Case: When a book source stops working due to a website structure change, use this Skill to systematically isolate the failing tag, verify the selector output, and apply a fix that is guaranteed to work before deployment.

Quick Start

Send the following command to your agent to begin creating a new book source: 创建书源。小说网站: https://www.example.com,手机ip地址:你的手机局域网IP地址

Frequently Asked Questions about legado-book-source

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug Legado book sources when website structure changes break parsing rules?

To debug Legado book sources, you run a dedicated Python script against a live Legado instance to test search, discovery, detail, and content parsing phases, systematically isolating failing selectors to apply guaranteed fixes.

Can I use test-driven development to create Legado book sources?

Yes, you can use test-driven development to create Legado book sources by enforcing a cycle of defining expectations, writing selectors, and verifying outputs, which prevents broken rules and ensures reliable parsing before deployment.

Do I need Python and PyYAML to test Legado reader parsing rules?

Yes, you need Python 3.10 or higher and the PyYAML library to execute debugging scripts that test parsing rules against a connected Legado reader instance within your local network environment.

What is the best way to automate testing for Legado book source extraction?

The best way to automate testing for Legado book source extraction is using a Python script that verifies search, discovery, table of contents, and content parsing phases against a live Legado instance through a strict TDD workflow.

Why does my Legado book source fail to extract book details after a website update?

Your Legado book source fails to extract book details because website structure changes break existing selectors, requiring you to isolate the failing tag, verify the selector output, and apply a TDD-verified fix.

How to start creating a new Legado book source for a specific novel website?

To start creating a new Legado book source, send your agent the website URL and your phone's local network IP address to begin the automated TDD-driven creation and debugging workflow.