sscgen-dsl
CommunityGenerate KDL HTML scraper schemas with lint safety
Software Engineering#data extraction#code generation#kdl#css selectors#html scraping#schema linting#transform pipelines
Authorvypivshiy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Turn an HTML scraping intent into a valid, lint-clean KDL Schema DSL that extracts the right fields reliably, without hand-writing fragile parser code.
Core Features & Use Cases
- Declarative HTML scraping DSL generation: produces KDL v2.1 schemas for
(item)struct,(list)struct,(flat)struct,(table)struct, and(dict)structusing CSS-selector pipelines. - Schema lint loop for correctness: iteratively fixes parse/type/struct issues based on linter output (text or JSON) until the schema is clean.
- Structured extraction patterns: supports table-style key/value extraction with
@table,@rows,@match,@value, and dynamic maps with@key/@value. - Type conversions and fallbacks: enforces string/number/boolean flows using conversions like
to-int,to-float,to-bool, plus typedfallbackfor robustness. - LLM-friendly workflow: guides schema iteration by mapping HTML structure to selectors and by using lint feedback as a tight validation mechanism.
Quick Start
Generate a lint-clean KDL HTML scraping schema by analyzing my provided HTML and extraction requirements, outputting a complete .kdl file that passes ssc-gen check -f json with no errors.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sscgen-dsl Download link: https://github.com/vypivshiy/selector_schema_codegen/archive/main.zip#sscgen-dsl Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.