Skip to content
Back to skills

2144 Scenario List Source Refactor 2c56e4c4

ASecurity

This document outlines the refactoring process to move the `from_X` methods from `ScenarioList` to child classes of `Source`.

  • 11 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 11, 2026
code-qualitygosqlrefactoring

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2144-scenario_list_source_refactor_2c56e4c4 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2144 Scenario List Source Refactor 2c56e4c4?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2144 Scenario List Source Refactor 2c56e4c4
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2144-scenario-list-source-refactor-2c56e4c4/badge)](https://www.skillsdirectory.com/skills/tools-only-2144-scenario-list-source-refactor-2c56e4c4)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# ScenarioList Source Refactoring Checklist

This document outlines the refactoring process to move the `from_X` methods from `ScenarioList` to child classes of `Source`.

## Refactoring Process

For each source type, follow these steps:

1. Create a new child class of `Source` in `scenario_source.py`
2. Add a deprecated classmethod in `ScenarioList` that references the new source class
3. Run pytest to confirm everything works correctly
4. Move to the next source type

## Source Types Checklist

- [x] `urls` - Already implemented as `URLSource`
- [x] `list` - Already implemented as `ListSource`
- [x] `directory` - Implemented as `DirectorySource`
- [x] `list_of_tuples` - Implemented as `TuplesSource`
- [x] `sqlite` - Implemented as `SQLiteSource`
- [x] `latex` - Implemented as `LaTeXSource`
- [x] `google_doc` - Implemented as `GoogleDocSource`
- [x] `pandas` - Implemented as `PandasSource`
- [x] `dta` - Implemented as `StataSource`
- [x] `wikipedia` - Implemented as `WikipediaSource`
- [x] `excel` - Implemented as `ExcelSource`
- [x] `google_sheet` - Implemented as `GoogleSheetSource`
- [x] `delimited_file` - Implemented as `DelimitedFileSource`
- [x] `csv` - Implemented as `CSVSource` (extending `DelimitedFileSource`)
- [x] `tsv` - Implemented as `TSVSource` (extending `DelimitedFileSource`)
- [ ] `dict` - Implement as `DictSource`
- [ ] `nested_dict` - Implement as `NestedDictSource`
- [x] `parquet` - Implemented as `ParquetSource`
- [x] `pdf` - Implemented as `PDFSource`
- [x] `pdf_to_image` - Implemented as `PDFImageSource`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in code-quality →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.